story-readiness
它能做什么
这个技能检查故事文件,确保开发者在编写代码之前已经具备所需的一切。适合希望避免基于模糊或不完整故事进行开发的负责人和开发者。
适用场景
- ✓当有人询问某个故事或冲刺中的故事是否已经可以开始的时候。
- ✓当开发者想在构建前确认没有未解决的设计问题的时候。
- ✓当某个故事依赖于其他尚未完成的故事或决策的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/story-readiness/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“本冲刺中的故事是否都可以开始了?还是有哪些故事存在未解决的问题?”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能会读取故事及其引用的决策,然后给出诸如阻塞、需要完善、未评估或就绪之类的结论。它是只读的,并可以在对话中提出修复草稿。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,review_gate,automation,workflow,qa.level,gate_level,story_granularity,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 Readiness
Checks that a story file holds everything a developer needs before writing code: no design questions mid-build, no guessing, no vague acceptance criteria.
Read-only. It never writes or edits a file. It reports, and offers to draft fixes in the conversation.
Verdicts, one per story. The first that matches wins, in this order:
- BLOCKED: a finding the reader can clear. A referenced ADR is missing,
Proposed,DeprecatedorSuperseded; a dependency story is missing orDraft; or a criterion holds an UNRESOLVED design question with no owner. - NEEDS WORK: a blocking checklist item fails. The story can be fixed now.
- NOT ASSESSED: the story could not be evaluated. The file is unreadable,
a referenced ADR has no readable
## Status, or the design document it names cannot be found. Name what could not be read. It is never READY: a story nobody could check has not been shown ready. It ranks below the two failures, because a known blocker is more useful than an unknown. - READY: every item passes, is N/A with a reason, or is advisory. Advisory gaps are still listed.
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).
Phase 1: Scope
The scope is the text typed after the skill name, with any --review <mode> pair
removed. What remains is one value; a path may contain spaces. With nothing typed,
the story, epic or sprint the user's request names is the scope.
- A story path: that story.
sprint: the stories the current sprint lists (Phase 2 reads them).all: everystory-*.mdunderproduction/epics/.- An epic (a slug or its folder): the
story-*.mdfiles in that folder. - Blank: Ask: "What would you like to check?" Options: A specific story file / All stories in the current sprint / All stories in production/epics/ / The stories of one epic.
Zero stories in scope: stop with NOT ASSESSED — no stories in scope. Name the
scope and the path that was empty, and route to /create-stories (at standard
and full, /create-epics first). Never print a Ready: 0 / Needs Work: 0 summary
over an empty list: it reads as a clean result. For sprint, "no sprint plan
found" and "the sprint plan lists no stories" are different reports; say which.
Say "Checking [N] story files." before going on.
Phase 2: Facts, read once for the run
- Stories. Run the story helper over the scope, with the
story_granularityresolved above:
Eachbash .claude/scripts/story-facts.sh --lint --granularity <story_granularity> [--sprint | --all | <path> ...]STORYrow gives a story's status, type, layer, estimate, TR-IDs, ADRs, acceptance-criteria count, test-evidence line and dependencies. EachLINTrow is a rule the story trips. Rows are observations; the verdict is yours. Exit 3 means a file was not found. WithNOT_FOUNDrows, each names a sprintfile:entry or a path that is not a file: report each as a missing story and check the rest. With noNOT_FOUNDrow and--sprint, there is noproduction/sprint-status.yaml: report "no sprint plan found". Read each story file too: the testability, scope and asset items below need its words. - ADRs. One call gives every ADR's status and layer:
bash .claude/scripts/adr-status.sh. Ano_statusorUNFILLEDstatus is a malformed ADR: never treat an absent status as a failed one (route:/architecture-decision retrofit [file]). An ADR a story cites with no row is missing. - Control manifest. Only its
Manifest Versionline indocs/architecture/control-manifest.md. Missing file: note it once. - TR registry. Look up each story's TR-IDs, with their
status, indocs/architecture/tr-registry.yaml. Missing file: note it once; the TR-ID item passes for every story. - Sprint priority (
sprintscop
常见问题
它会更改故事文件吗?
不会。这个技能是只读的,只报告它的发现。
阻塞是什么意思?
它表示必须先清除某项缺失或未完成的决策或依赖,故事才能开始构建。
为什么故事会被评为未评估?
当故事或其提到的设计无法读取时,就会使用这一结论,因此这类故事不会默认被标记为就绪。
详情
作者的原始描述
Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.
热度
- GitHub 星标
- 33k
- 排名
- #8490
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …