/crewforth:spec-planningfrom Crewforth
Creates a structured plan before writing code: splits work into vertical slices, defines acceptance criteria, maps dependencies, and surfaces risks. Activated when users ask about task breakdown, acceptance criteria, or multi-step work.
Ships in Crewforth. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Trigger phrases: "plan", "spec", "task breakdown", "acceptance criteria", "roadmap", "how do we split this"
Before writing code: what will be done, how it counts as "done", and in what order to proceed become clear.
brainstorm/references/asking.md).Before writing: a docs/PLAN.md that still has unchecked tasks for other work is not overwritten. Stop and ask
whether to replace it, add this plan to it, or write this one beside it.
# <Feature> — Plan
commit: <HEAD when the plan was written>
status: active
## Acceptance criteria
- [ ] AC-1: <measurable outcome> — proven by: <the one test level: unit · integration · e2e · a named manual check>
- [ ] AC-2: <measurable outcome> — proven by: <…>
## Constraints
- <a value, limit or name copied word for word from the request or spec>
## Tasks (order)
Progress: tick a task [x] when its check passes, mark the one in work [~]; status: paused above when this work stops.
### Phase 1 — <name> (phases only when the work has stages)
1. [ ] <task> — satisfies: AC-1 — size: <S/M/L> — dependency: <none/#n> — risk: <low/medium/high>
Interfaces: consumes <name: type> · produces <name: type> (only when a later task uses its output)
Current code: <a few lines, verbatim, at the place it changes> (optional)
2. [ ] …
— checkpoint: build and tests green, the criteria so far re-read — (after every 2-3 tasks)
### Phase 2 — <name>
3. [ ] …
## Not covered by tests
- <an input or case no test reaches> → task <n> (five at most)
## Assumptions / Open questions
- ...
[ ] open, [x] done (its check passed, not "written"),
[~] the one in work. Tick it in the same step that finishes the task; the Progress: line keeps that rule in the
plan, where whoever works it reads it. /crew-todo draws the boxes under the status line.docs/PLAN.md in the same step: the panel and Studio read only the file. /crew-todo also brings it up to date.status: line says whether this plan is the work in progress. When the user stops, parks or replaces the
work, set it to paused (dropped when it will not come back, done when it is finished) in that same step; set it
back to active when the work on it resumes. A paused plan gives the panel no count and no tasks, so the work that
replaced it is not shown as this plan's next task. /crew-todo pause and /crew-todo resume set the same line.Current code no longer matches the file, or its files changed after the
plan's commit:, the task stops and reports what moved. It does not improvise a new version of the plan.Every criterion carries a stable id, and every task names the ids it satisfies. The id is what makes the plan checkable later: "AC-2 is only partly built" can be said, argued about and tracked; "the second checkbox" cannot, and renumbering a list silently re-points every reference to it. Never reuse or renumber an id — a dropped criterion keeps its id with a strike-through and a one-line reason. A criterion no task satisfies, and a task that satisfies no criterion, are both findings before a line of code is written: the task is cut, or raised as an open question.
Where a requirement admits more than one reading, write the marker [NEEDS CLARIFICATION: <the question>] at
that exact spot in the plan. Do not resolve it with the likeliest interpretation and move on.
This is the difference between a discipline and a hope. "Stop and ask when unsure" (§1) depends on noticing the uncertainty in the moment; a marker survives into the artifact, where the user, a reviewer and a later session can all see it. A plausible assumption silently written into a spec is indistinguishable from a decision, and that is exactly how the wrong feature gets built correctly.
Rules that keep it honest:
[NEEDS CLARIFICATION: does an expired invite count as used, or can it be re-sent?] is actionable; [NEEDS CLARIFICATION: invites] is noise.Tests prove the code does what the tests say. Nothing so far proves it does what the PLAN said: a criterion can be quietly half-built with every test green, and code nobody asked for can ride along unremarked. So when a plan exists, closing the work includes one pass that reads each criterion against the code as it now stands.
Bound the pass to what the plan names — the criteria, the tasks, and the files and components they point at. Do not
widen the audit into the rest of the codebase. For each AC-n, look at the code in that scope and record a finding
only where there is a gap, classified as exactly one of:
| Gap | Means |
|---|---|
| missing | nothing in the code implements the criterion |
| partial | something does, but not all of what the criterion states |
| contradicts | the code does something that conflicts with the criterion or a plan decision |
| unrequested | the code contains work no criterion or task called for |
unrequested is the one that is easy to skip and should not be: it is scope creep made visible (principle 3,
"surgical change"). It is surfaced, never deleted by this pass — the user decides whether it stays, and if it
does, it gets a criterion.
Report it as a table — AC-n | gap | evidence (file/area) | remaining work — then either:
AC-n, and go back to
producing. Repeat the pass after that work, until it converges or the user accepts a named gap explicitly.This is model discipline, not a gate: no exit code can judge "partially built". What makes it hold is the table — a pass that produced no table did not run.
[NEEDS CLARIFICATION: …] marker; no acceptance criterion contains one.AC-n id and at least one task that satisfies it; at close, a converge pass
has run and either reported Converged or left its remaining items in the plan as tasks.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub crewforth/crewforth --plugin crewforth60 skills in this plugin
/a11yUse when building or changing UI, before shipping a user-facing screen, and when something cannot be
reached with a keyboard, read by a screen reader, or seen at low contrast.
/adrArchitecture Decision Record: context-decision-consequences, for decisions that are expensive to reverse.
Written under docs/adr/.
/api-designUse when an API contract is designed or changed: a new endpoint or resource, how its errors and pages
are returned, a field to add or remove, or a version to cut without breaking a consumer.
Other plugins' skills for the same job