跳到正文
Skillpedia
任务与项目33k · #8490

story-readiness

它能做什么

这个技能检查故事文件,确保开发者在编写代码之前已经具备所需的一切。适合希望避免基于模糊或不完整故事进行开发的负责人和开发者。

适用场景

  • ✓当有人询问某个故事或冲刺中的故事是否已经可以开始的时候。
  • ✓当开发者想在构建前确认没有未解决的设计问题的时候。
  • ✓当某个故事依赖于其他尚未完成的故事或决策的时候。

技能链接

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

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

使用方法

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

可直接粘贴的消息

请用这个技能帮我:https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/story-readiness/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,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:

  1. BLOCKED: a finding the reader can clear. A referenced ADR is missing, Proposed, Deprecated or Superseded; a dependency story is missing or Draft; or a criterion holds an UNRESOLVED design question with no owner.
  2. NEEDS WORK: a blocking checklist item fails. The story can be fixed now.
  3. 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.
  4. 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: every story-*.md under production/epics/.
  • An epic (a slug or its folder): the story-*.md files 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

  1. Stories. Run the story helper over the scope, with the story_granularity resolved above:
    bash .claude/scripts/story-facts.sh --lint --granularity <story_granularity> [--sprint | --all | <path> ...]
    
    Each STORY row gives a story's status, type, layer, estimate, TR-IDs, ADRs, acceptance-criteria count, test-evidence line and dependencies. Each LINT row is a rule the story trips. Rows are observations; the verdict is yours. Exit 3 means a file was not found. With NOT_FOUND rows, each names a sprint file: entry or a path that is not a file: report each as a missing story and check the rest. With no NOT_FOUND row and --sprint, there is no production/sprint-status.yaml: report "no sprint plan found". Read each story file too: the testability, scope and asset items below need its words.
  2. ADRs. One call gives every ADR's status and layer: bash .claude/scripts/adr-status.sh. A no_status or UNFILLED status 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.
  3. Control manifest. Only its Manifest Version line in docs/architecture/control-manifest.md. Missing file: note it once.
  4. TR registry. Look up each story's TR-IDs, with their status, in docs/architecture/tr-registry.yaml. Missing file: note it once; the TR-ID item passes for every story.
  5. Sprint priority (sprint scop
常见问题

它会更改故事文件吗?

不会。这个技能是只读的,只报告它的发现。

阻塞是什么意思?

它表示必须先清除某项缺失或未完成的决策或依赖,故事才能开始构建。

为什么故事会被评为未评估?

当故事或其提到的设计无法读取时,就会使用这一结论,因此这类故事不会默认被标记为就绪。

详情

作者的原始描述

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.

repo: Donchitos/Claude-Code-Game-Studios

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能