一键导入
plan
Plan how to build it. Decompose specs into milestones with dependencies and risk mitigations. Run after /spec.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan how to build it. Decompose specs into milestones with dependencies and risk mitigations. Run after /spec.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | plan |
| description | Plan how to build it. Decompose specs into milestones with dependencies and risk mitigations. Run after /spec. |
| argument-hint | spec-output-or-issue-number |
| allowed-tools | Task, Skill, Read, Write, Glob, Grep |
| user-invocable | true |
@CLAUDE.md
Plan: $ARGUMENTS
If $ARGUMENTS is empty, check for recent /spec output in the conversation. If none found, ask the user what to plan.
Planning a spec that was never gated manufactures work. If there is no /spec output for this work (no requirement, no design, no testable acceptance criteria), do not decompose it into milestones yet. Run /spec first: it applies the front-gate (the six forcing questions, the front-gate-before-pipeline pattern) and confirms a named blocked user, a documented status quo, and a concrete observation before any downstream step runs. Return here once the spec exists. Skip this only when the user explicitly asks to plan an ungated idea and accepts that trade-off.
Structured plan:
Review before merge. Stage-1 spec-compliance gate, then 11 Stage-2 canonical axes (analyst, architect, qa, security, devops, roadmap, reliability, observability, agent-safety, decision-rigor, code-quality) plus 3 chained skills (code-qualities-assessment, golden-principles, taste-lints). Run after /test. Run for a full pre-merge review. Do NOT invoke code-qualities-assessment, golden-principles, or taste-lints directly for a full review; review chains them.
Build incrementally. Implement changes in thin vertical slices with TDD and atomic commits. Run after /plan.
Ship it. Pre-flight validation, CI check, and PR creation. Run after /review.
Define what to build. Transform a problem into testable requirements with acceptance criteria.
Detect Spec to Code drift. Scan REQ/DESIGN/TASK specs for references to code that no longer exists, then report drift for review. Run after a hand-edit that moved or deleted code.
Prove it works. Multi-dimensional quality validation across functional, non-functional, security, DevOps, DX, and observability. Run after /build.