story-done
БесплатноБез исполняемых скриптовНе проверенCloses a finished story: verifies each acceptance criterion, checks for design or ADR deviations and updates its status. Use when the user says a story is…
от Donchitos★ 41 674 звезды на GitHubОб этом скилле
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,review_gate,automation,automation_always_ask,workflow,qa.level,gate_level,system_overrides
Resolved above — use as-is; --review overrides review_mode. No block →
defaults in .claude/docs/config-resolution.md.
Ask with the question tool. Without one, list the options numbered and end your turn to wait. A skipped or dismissed question is not an answer: ask again in plain text.
Story Done
Closes a finished story. Every acceptance criterion is checked against evidence, deviations from the GDD, the ADRs and the story's own scope are reported as facts, and the story is marked Complete only on the user's yes.
Writes, after the user's yes: the story file (Status, Last Updated, a
## Completion Notes section) and its production/sprint-status.yaml entry;
docs/tech-debt-register.md only when the user picks that option; at minimal, the
brief's Features line the story finished; the story's row in its EPIC.md. The close
question names each file it will change. The session
checkpoint is written at the end of every run, whatever the verdict.
Next: the next story (Phase 8). /dev-story and /story-done start only when the person types them, so never offer to start one as an option: print it as a line to type.
Asks follow .claude/docs/automation-modes.md (collaborative always asks, guided
asks on major choices, autonomous logs and goes on; automation_always_ask
categories always ask).
Checklist (copy it and tick as you go):
- [ ] Phase 1: story found, facts and settings read
- [ ] Phase 2: what the story is checked against, loaded for its tier
- [ ] Phase 3: each criterion verified, traceability table built
- [ ] Phase 4: test evidence and run result checked
- [ ] Phase 5: deviations and scope checked; the AI's own calls kept or changed by the person
- [ ] Phase 6: review gates run, or their skip noted
- [ ] Phase 7: report and verdict shown; close asked
- [ ] Phase 8: next story named, checkpoint written, closing block printed
Phase 1: The story and its settings
Which story. The text typed after the skill name, with any --review <mode>
pair removed, is the story path. With nothing typed:
- The checkpoint in
production/session-state/active.md: its Current task line, when it names a story. - Else the stories in progress:
bash .claude/scripts/story-facts.sh --all, rows whose state isIN_REVIEWorIN_PROGRESS. Several: ask "Which story are we closing?" with one option per story. - None: ask for the path. When
production/epics/holds no story file at all, stop: "No stories found inproduction/epics/— run/create-stories [epic-slug]to make them (atstandardandfull, run/create-epicsfirst if there is no epic yet)."
Its facts. bash .claude/scripts/story-facts.sh <story-path> gives the status,
type, layer, TR-IDs, ADRs, criteria count, test-evidence status and dependencies.
Then read the story in full: the criteria text, the Test Evidence path, ## Files,
Out of Scope.
Tier. workflow for the story's system, keyed on the GDD filename stem of its
GDD: path (design/gdd/<stem>.md → <stem>; the [system] of its TR-ID only
when there is no GDD path): that system's system_overrides row if there is one,
else the project value.
What qa.level requires (the evidence rows of .claude/docs/coding-standards.md).
Take the value from the qa.level line above, never from workflow or rigor: the
two are set apart, so workflow: minimal with qa.level: standard still requires a
Logic story's unit test.
| Check | qa.level: minimal |
qa.level: standard |
qa.level: full |
|---|---|---|---|
| Logic, Integration test | waived | required | required |
| Config/Data smoke report | waived | required, advisory by default | required, blocking by default |
| Visual/Feel, UI retained screenshot | required | required | required |
| Untested criteria (Phase 3) | never escalate | more than half block | any blocks |
The look is never waived: a Visual/Feel or UI story needs its screenshot at every
level. Gate level per type is the gate_level line above. At full, a
Config/Data default (config=advisory(default…)) becomes blocking; an explicit
testing.strict.config: false still makes it advisory.
Phase 2: What the story is checked against
By the tier. Read every document by section, never whole.
full: the current requirement text of each TR-ID: indocs/architecture/tr-registry.yaml, the lines matchingid: <TR-ID>\s*$and the entry's text below (the anchor keepsTR-combat-001from matchingTR-combat-0010;\s*takes a Windows line ending). Never use text quoted in the story; the GDD's Acceptance Criteria and Detailed Design (bash .claude/scripts/md-section.sh extract design/gdd/<file>.md "Acceptance Criteria", then the same for"Detailed Design"; exit 3: try `"Detailed Rul
Установить story-done в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepWriteEditAskUserQuestionAgentBash(bash "*/.claude/skills/story-done/../../hooks/yaml-helper.sh" resolve_config *)Bash(bash .claude/scripts/story-facts.sh *)Bash(bash .claude/scripts/story-status.sh*)Bash(bash .claude/scripts/adr-status.sh *)Bash(bash .claude/scripts/md-section.sh *)Bash(bash .claude/scripts/review-receipts.sh check *)Bash(bash .claude/scripts/session-state.sh *)Bash(git status --porcelain*)Bash(git add -- *)Bash(git commit -m *)Вложенные файлы
FAQ
Что делает скилл story-done?
Closes a finished story: verifies each acceptance criterion, checks for design or ADR deviations and updates its status. Use when the user says a story is done, finished or ready to close.
Как установить скилл story-done?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл story-done запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic