Loading...
Loading...
Compare original and translation side by side
skills/skills/Task arrives
│
├── Need to author / refine / audit a PRD for AI agents? ─→ ai-driven-prd
│ (triggers: "write a PRD", "spec this feature",
│ "audit my PRD", "is this AI-ready")
│
├── Bootstrapping a repo for Claude Code? ─────────────── → init-claude-project
│ (triggers: "init Claude here", "set up CLAUDE.md",
│ "scaffold docs folder", "/init this project")
│
├── Have a PRD requirement (FR-N), need an executable plan? → generate-dev-plan
│ (triggers: "make a plan for FR-001",
│ "break this PRD into tasks", "/plan FR-N")
│
├── Have a UI requirement, need designs in docs/designs/? → declarative-design
│ (triggers: "import designs for FR-001",
│ "vibe design these screens", "/designs FR-N")
│
└── Have a plan at docs/plans/<FR-N>.md, need to ship it? → execute-plan
(triggers: "execute the plan", "implement FR-001",
"ship FR-001", "/execute FR-N")任务到来
│
├── 需要为AI Agent编写/优化/审核PRD? ─→ ai-driven-prd
│ (触发词: "write a PRD", "spec this feature",
│ "audit my PRD", "is this AI-ready")
│
├── 为Claude Code初始化仓库? ─────────────── → init-claude-project
│ (触发词: "init Claude here", "set up CLAUDE.md",
│ "scaffold docs folder", "/init this project")
│
├── 已有PRD需求(FR-N),需要可执行计划? → generate-dev-plan
│ (触发词: "make a plan for FR-001",
│ "break this PRD into tasks", "/plan FR-N")
│
├── 已有UI需求,需要在docs/designs/中生成设计? → declarative-design
│ (触发词: "import designs for FR-001",
│ "vibe design these screens", "/designs FR-N")
│
└── 已有docs/plans/<FR-N>.md中的计划,需要交付? → execute-plan
(触发词: "execute the plan", "implement FR-001",
"ship FR-001", "/execute FR-N")⚠️ NEEDS INPUT: <specific question>⚠️ NEEDS INPUT: <具体问题>FR-N.MFR-001.2FR-N.MFR-001.2<section><section>generate-dev-planexecute-plangenerate-dev-planexecute-planreferences/checklist.mdai-driven-prdreferences/checklist.mdai-driven-prd| ID | Failure mode | Where it bites |
|---|---|---|
| FM-1 | Inventing a value instead of marking | All skills |
| FM-2 | Chaining phases without the human gate | All skills |
| FM-3 | Writing fuzzy adjectives into requirements or tasks | |
| FM-4 | Missing or broken FR-N ↔ AC-N ↔ test cross-reference | |
| FM-5 | Bundling multiple requirements into one plan or one design file | |
| FM-6 | Plumbing-only tasks that don't end runnable + tested | |
| FM-7 | Marking | |
| FM-8 | Bloated CLAUDE.md (>100 lines, aspirational rules, invented commands) | |
| FM-9 | Silent scope creep — fixing adjacent code inside a plan's commits | |
| FM-10 | Stale designs reused after a PRD change | |
| FM-11 | Auto-opening a PR instead of producing a description for the user | |
| FM-12 | Treating a user's "go ahead" on phase N as approval for phase N+1 | All skills |
| ID | 失败模式 | 影响范围 |
|---|---|---|
| FM-1 | 自行编造内容而非标记 | 所有技能 |
| FM-2 | 未经过人工审核节点就链式执行阶段 | 所有技能 |
| FM-3 | 在需求或任务中使用模糊形容词 | |
| FM-4 | FR-N ↔ AC-N ↔ 测试的交叉引用缺失或断裂 | |
| FM-5 | 将多个需求打包到一个计划或一个设计文件中 | |
| FM-6 | 仅做基础准备的任务,结束时无法运行且未测试 | |
| FM-7 | 测试失败或在单独提交中标记 | |
| FM-8 | CLAUDE.md过于臃肿(超过100行、包含理想化规则、自行发明命令) | |
| FM-9 | 隐性范围蔓延——在计划的提交中修复无关代码 | |
| FM-10 | PRD变更后仍复用过时的设计 | |
| FM-11 | 自动创建PR而非为用户生成描述 | |
| FM-12 | 将用户对第N阶段的*"继续"*视为对第N+1阶段的批准 | 所有技能 |
SKILL.mdai-driven-prdinit-claude-projectgenerate-dev-plandeclarative-designexecute-plangenerate-dev-planexecute-planai-driven-prdSKILL.mdai-driven-prdinit-claude-projectgenerate-dev-plandeclarative-designexecute-plangenerate-dev-planexecute-planai-driven-prd1. ai-driven-prd → docs/prd/prd-<slug>.md (FRs, ACs, tasks, ≥13/15)
2. init-claude-project → CLAUDE.md + docs/ skeleton (one-time per repo)
3. generate-dev-plan → docs/plans/<FR-N>.md (one per requirement)
4. declarative-design → docs/designs/<FR-N>-<slug>.{html,png} (UI only)
5. execute-plan → commits + PR description (loops one task at a time)docs/prd/docs/plans/docs/designs/1. ai-driven-prd → docs/prd/prd-<slug>.md (功能需求、验收标准、任务,≥13/15)
2. init-claude-project → CLAUDE.md + docs/ 骨架结构 (每个仓库仅执行一次)
3. generate-dev-plan → docs/plans/<FR-N>.md (每个需求对应一个计划)
4. declarative-design → docs/designs/<FR-N>-<slug>.{html,png} (仅UI功能)
5. execute-plan → 提交记录 + PR描述 (逐个任务循环执行)docs/prd/docs/plans/docs/designs/| Phase | Skill | One-line summary | Output artifact | Pass threshold |
|---|---|---|---|---|
| 1 | ai-driven-prd | Stakeholder request → AI-readable PRD with ACs and tasks | | ≥ 13/15 |
| 2 | init-claude-project | Bootstrap CLAUDE.md and | | 5/5 |
| 3 | generate-dev-plan | One PRD requirement → checkbox plan of vertical slices | | 7/7 |
| 4 | declarative-design | UI requirement → HTML + PNG pairs traceable to ACs | | 6/6 |
| 5 | execute-plan | Plan + designs → one-task-per-commit implementation + PR | Commits + PR description | 8/8 |
| 阶段 | 技能 | 一句话总结 | 输出工件 | 通过阈值 |
|---|---|---|---|---|
| 1 | ai-driven-prd | 利益相关者请求 → 包含验收标准和任务的AI可读PRD | | ≥ 13/15 |
| 2 | init-claude-project | 根据实际技术栈初始化CLAUDE.md和 | | 5/5 |
| 3 | generate-dev-plan | 单个PRD需求 → 包含垂直切片的复选框式计划 | | 7/7 |
| 4 | declarative-design | UI需求 → 可追溯到验收标准的HTML + PNG文件对 | | 6/6 |
| 5 | execute-plan | 计划 + 设计 → 逐个任务提交的实现 + PR描述 | 提交记录 + PR描述 | 8/8 |
⚠️ NEEDS INPUT⚠️ NEEDS INPUT