feat: add /init-template skill for first-time repo setup#23
feat: add /init-template skill for first-time repo setup#23striderZA merged 4 commits intodevelopmentfrom
Conversation
Pull Request Review —
|
| Aspect | init-template |
Other skills (e.g., setup-engine, start, adopt) |
|---|---|---|
| H2 headings | ## 1. Welcome and Prompt (numbered) |
Descriptive names: ## 1. Parse Arguments, ## Phase 1 |
agent: field |
Not present | adopt has it (agent: technical-director), start/brainstorm don't |
| Allowed tools | Bash included |
Consistent — setup-engine doesn't include Bash but needs it too |
Minor inconsistency: other skills use descriptive H2 headings (## 1. Parse Arguments, ## Phase 1: Orientation) rather than ## 1. Welcome and Prompt. Consider aligning heading style with existing skills.
Suggestions
-
Add argument parsing to Phase 1 so
--name,--engine, and--reset-gitare honored as CLI args (matching theargument-hint). -
Guard file deletions with
-for existence checks:rm -f UPGRADING.md CONTRIBUTING.md SECURITY.md CODE_OF_CONDUCT.md -
Make
ccgs-hooks.tsoptional — check if the file exists before preserving the reference. -
Fix the duplicate step 3 in
quick-start.mdwhile you're touching adjacent lines. -
Consider renaming H2 headings to match the descriptive style of other skills for consistency.
Verdict
Needs work. The core logic is sound, but the argument-hint/body mismatch is a real bug, and the missing guards on deletions are a fragility concern. Address items 1, 2, and 3 before merging.
…l plugin ref, fix numbering
|
All review items addressed: 1. argument-hint/body mismatch: Added Phase 1 argument parsing that reads --name, --engine, and --reset-git. If both --name and --engine are provided, skips interactive prompt entirely. 2. Deletion guards: Phase 5 now uses 3. ccgs-hooks.ts conditional: Phase 4 now reads: 'keep the reference only if the file actually exists: 4. Duplicate step 3: Fixed renumbering (was 3,3,4,5,6 → 3,4,5,6,7; rest incremented to match). 5. Heading style: Changed |
|
Verified the full diff between the original and fixed commits. Here's my review: Verdict: Approved with minor issueAll original review items addressed
New issue foundPath A step numbering gap ( This is a trivial fix — the content order is correct, only the numeric labels are wrong. |
|
Confirmed: Path A numbering jumps from Here's my review: Review:
|
3f87990 to
19f147f
Compare
Review:
|




Summary
Adds
/init-templateskill for first-time repo setup, transforming the cloned OCGS template into a clean, ready-to-use game project.Changes
/init-templateskill: 7-phase interactive workflow — gather project identity → replace README → update AGENTS.md → update opencode.json → remove internal files → optional git reset → completion summaryCloses #22