跳到正文
Skillpedia
通用编程33k · #8489

story-done

它能做什么

这个技能用于收尾已完成的开发故事。它会根据证据检查每条验收标准,并报告与设计不一致之处。适合希望对每个故事都有明确签核的开发者和负责人。

适用场景

  • ✓当开发者说某个故事已经完成、做好或可以关闭的时候。
  • ✓当负责人希望在故事被标记为完成前,检查每条验收标准的时候。
  • ✓当某个故事可能偏离了其设计或架构决策,需要进行报告的时候。

技能链接

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/story-done/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/story-done/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“背包故事已经完成。请检查每条验收标准,如果全部通过就关闭它。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会阅读故事,依据证据检查每条标准,并报告与设计或架构的任何偏差。只有在你确认后,它才会把故事标记为完成。

技术内容(原始 SKILL.md)

作者在 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. The session checkpoint is written at the end of every run, whatever the verdict. Next: the next story (Phase 8).

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
- [ ] 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:

  1. The checkpoint in production/session-state/active.md: its Current task line, when it names a story.
  2. Else the stories in progress: bash .claude/scripts/story-facts.sh --all, rows whose state is IN_REVIEW or IN_PROGRESS. Several: ask "Which story are we closing?" with one option per story.
  3. None: ask for the path. When production/epics/ holds no story file at all, stop: "No stories found in production/epics/ — run /create-stories [epic-slug] to make them (at standard and full, run /create-epics first 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: in docs/architecture/tr-registry.yaml, the lines matching id: <TR-ID>\s*$ and the entry's text below (the anchor keeps TR-combat-001 from matching TR-combat-0010; \s* takes a Windows line ending). Never use text quoted in the story; the GDD's Acceptance Criteria and Detailed D
常见问题

什么算作证据?

根据故事的类型,证据可以包括测试和截图。

没有我的批准,故事也能关闭吗?

不能。只有在你同意后,故事才会被标记为完成。

关闭故事之后会怎样?

这个技能会转到冲刺中的下一个故事。

详情

作者的原始描述

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.

repo: Donchitos/Claude-Code-Game-Studios

热度

GitHub 星标
33k
排名
#8489
许可证
MIT
更新时间
2026/10/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能