spec:create
Plan one spec as three local files and print the commands that launch its goal run.
Inputs
Section titled “Inputs”| Name | Type | Required | Description |
|---|---|---|---|
spec-name |
string | yes | The kebab-case spec name spec:triage created |
Outputs
Section titled “Outputs”In the spec folder, <specsRoot>/todo/<spec-name>/:
overview.md, with the Readiness table firstimplementation-plan.md, with the Completion Status table and Proposed tracker changesgoal-prompt.md, plus two launch commands: whole spec and next batchINDEX.mdupdated to list the spec
How it runs
Section titled “How it runs”- Checks the order. It refuses while the spec’s
After:predecessor hasn’t merged, unless you override, and rebases the spec branch when it has. - Maps the code. Read-only subagents report on affected code, reuse and debt (
spec-miner), on structure, security and APIs when the spec touches them, and on the docs each ticket will affect (code-documenter). - Writes the overview. Header lines first, then the Readiness table: every ticket is Ready, Blocked (question, decision or needs more detail) or Already done with commit evidence. Questions you can answer now go through a Feature Forge interview.
- Waits for your approval. You can ask for a challenge pass with
the-foolfirst. - Writes the plan. Only Ready tickets get plan sections, each with a
Skill:line, aDocs:line, a type and a RED check. - Writes to the tracker. It links related tickets, comments on each Ready ticket naming the spec files, appends an “Implementation plan” section to each Ready ticket and sets story points where the field exists. Each write raises the shared “ask” prompt. With the text tracker these ticket-file edits go in the plan commit.
- Writes the goal prompt and commits. When
.claude/settings.jsonlacks the shared “ask” rules, it proposes them; on your yes they go in the plan commit. The three files,INDEX.mdand any approved settings change are committed together on the spec branch. - Prints the launch commands. Whole spec and next batch, each carrying the writes-only deny set. See Goal Runs.
Rerunning it when an approved overview.md already exists picks up at the plan, so you can regenerate the plan without redoing the overview.
Next Steps
Section titled “Next Steps”Launch the goal run with one of the printed commands, or run ticket:execute by hand.