/stories:planfrom stories
Decomposes specs or approved designs into epics and stories on the story board, with sizing, dependency ordering, and human approval gates. For projects using the shousper-stories workflow.
Ships in stories. 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.
Turn a spec into board data. Each story file is the complete prompt a future worker — with no memory of this conversation — will implement from. Write for that reader.
Core principle: one story = one context window = one PR. Sizing is the whole game; everything else is bookkeeping.
Read the spec or design in full. Unresolved product decisions go back to your human partner (or kit:brainstorming) — never invent them, and never encode an open question as an acceptance criterion. A genuinely open technical question can become a spike story.
--epic <id>. Epics are never implemented or closed directly — no cascade.| Field | Rule |
|---|---|
| title | Imperative and specific: "Add ×N multiplier gates", not "Gates work" |
| type | feature / bug / chore / spike (projects may extend) |
| priority | P0..P3 — P0 means "the board is blocked without it" |
| depends_on | TRUE sequencing only (producer → consumer of an interface). Preference-ordering kills parallelism |
| touches | Coarse globs of what the story will modify, e.g. src/gates/**. A scheduler hint — conservative, directory-level |
| exclusive | true for sweeping refactors that own the whole repo; use it instead of a giant touches list |
| gates | Omit to accept the type defaults from config; override per story (UI story → add visual). Only names defined in .agents/shousper-stories/config.json |
| complexity | routine (default — omit it) | hard for cross-cutting, ambiguous, or multi-subsystem stories | frontier reserved for the rare story your human partner explicitly wants frontier-model planning on. Proposed here, confirmed by the human at the approval gate |
Body sections:
Do NOT write an Implementation Plan section — planning happens at execution time (stories:work dispatches a planner against the current code); your job is Description pointers and verifiable ACs.
- [ ] GET /health returns 200 with body {"status":"ok"}
- [ ] Health endpoint works correctly
Present the full set for review — a table (placeholder ref, title, type, priority, deps, touches, gates, complexity) plus each story body. Iterate until your human partner explicitly approves. No story create before approval. An unapproved board pollutes provenance and wastes every worker that claims from it.
Never write story files by hand (a hook denies it anyway).
story create --title "Add ×N multiplier gates" --type feature \
--epic st-9c01 --depends-on st-1b3e --touches 'src/gates/**' \
--gates test,e2e --complexity hard --body-file "$SCRATCH/story-body.md"
Write each body to a scratch file for --body-file. The CLI refuses a body whose Description is empty or (for a non-epic) whose Acceptance Criteria has no checkbox, so a placeholder can never reach the board.
story doctor — clean: no dangling deps, no cycles.story board — matches the approved set; report the counts to the human.Board filed. Your job ends here — report the board (counts + story board summary) and STOP. Execution belongs to separate worker sessions: tell your human partner to open one or more worker sessions and say "complete all stories". Never invoke stories:work, story claim, or story loop start from this planning session — planning sessions own no loop, and a loop re-prompt naming a story is addressed to the worker session that started that loop, not to you. Do NOT invoke kit:build-flow directly either — it runs per-story inside stories:work.
Never:
depends_on for ordering preference.exclusive: true.stories/** — the CLI is the only writer.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub shousper/clanker-kit --plugin stories5 skills in this plugin
/cancelStops an active story loop and reports where the board stands. Use when asked to "stop the loop", "cancel the story run", "halt autonomous story work", "kill the worker loop", or when a runaway run must be shut down. DO NOT TRIGGER for closing a single story (that is story done inside stories:work), for deleting or archiving stories, or for removing the story workflow from a project./setupInteractive onboarding that turns a repo into a story-workflow project — merge-mode choice, verification gates with test-runner detection, gitignore wiring, optional project-specific reviewer personas. Use when asked to "set up the story workflow", "adopt stories", "story init", "install the story board", or when stories:plan / stories:work is wanted but .agents/shousper-stories/config.json does not exist yet. DO NOT TRIGGER when .agents/shousper-stories/config.json already exists (use stories:plan to file work, stories:work to execute it), for creating individual stories, or for project scaffolding unrelated to the story workflow./using-storiesCompressed story-workflow rulebook, injected automatically at session start (including after compaction) in projects with .agents/shousper-stories/config.json. Use when unsure of the workflow rules mid-session, when asked "how does the story workflow work here", or for a story CLI quick reference. DO NOT TRIGGER in projects without .agents/shousper-stories/config.json, to set up the workflow (stories:setup), to file stories (stories:plan), or to run the loop (stories:work)./workRuns the story worker loop in a story-workflow project — claim ready stories, implement each in its own worktree, close through verification gates, repeat until the goal is met or the loop stalls. Use when asked to "work the board", "complete all stories", "work on epic st-XXXX", "pick up the next story", "start a worker", or to resume or continue a story run — and when a loop re-prompt names the next story in a session that started the loop. DO NOT TRIGGER without .agents/shousper-stories/config.json (use stories:setup first), for decomposing a spec into stories (stories:plan), or to stop a run (stories:cancel).