From project-governor
需求冻结阶段。Use when gathering, clarifying, and freezing project requirements before any design or implementation work begins. 通常由 governor-run 或上一阶段自动调用,除非用户明确只想重做需求阶段。
How this skill is triggered — by the user, by Claude, or both
Slash command
/project-governor:requirements-freezeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Drive requirements from vague idea to a frozen, reviewed spec using brainstorming, then lock it down.
Drive requirements from vague idea to a frozen, reviewed spec using brainstorming, then lock it down.
Prerequisite: project-governor:project-init must be complete.
docs/governor/project.yaml exists with current_phase: init or earlier cycle phase.digraph req_pdca {
rankdir=LR;
node [shape=box, style=filled];
"P: Define requirements scope" [fillcolor="#E3F2FD"];
"D: Brainstorm + write spec" [fillcolor="#E8F5E9"];
"C: Gate-check requirements" [fillcolor="#FFF3E0"];
"A: Freeze or rework" [fillcolor="#F3E5F5"];
"P: Define requirements scope" -> "D: Brainstorm + write spec" -> "C: Gate-check requirements" -> "A: Freeze or rework";
"C: Gate-check requirements" -> "D: Brainstorm + write spec" [label="fail", style=dashed];
}
Load context — Read docs/governor/project.yaml for project type and description
语言要求:本次委托产出的所有文档必须使用中文撰写。如果被委托的 skill 输出英文内容,在保存为 artifact 之前必须翻译为中文。专业术语可在括号内保留英文原文。
增量模式检测:如果 project.yaml 中 existing_project: true,或 docs/governor/specs/ 中存在 *现状分析*.md 文件,则进入增量模式。读取现状分析文档作为 brainstorming 的输入基础。
Delegate to superpowers:brainstorming — Invoke the brainstorming skill to collaboratively refine requirements, 严格遵循渐进式提问原则:
增量模式(已有项目):将现状分析文档作为 brainstorming 的初始上下文。提问策略调整为:
Redirect spec output — When brainstorming produces its spec, move/rewrite it to docs/governor/specs/YYYY-MM-DD-<project-name>-requirements.md
Adapt spec template — Ensure the frozen spec includes:
Dispatch gate-checker agent against shared/gate-templates/requirements-gate.md:
Gate verdict → PASS / CONDITIONAL / FAIL
requirements to phases_completed, set current_phase: requirements. Write gate record to docs/governor/gates/gate-requirements-cycle-N.md. 更新 docs/governor/INDEX.md:更新当前阶段,追加产物记录行(含规格路径和一句话说明)。
auto: true in project.yaml: Automatically invoke project-governor:flow-design.auto: false: Prompt: "Requirements frozen. Next: invoke project-governor:flow-design"The gate-checker agent verifies the requirements spec against shared/gate-templates/requirements-gate.md. If gaps are found, loop back to Do.
Each phase is a self-contained PDCA loop. This phase's Act feeds directly into the next phase's Plan (flow design receives frozen requirements as input).
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub zmyfrank/project-governor --plugin project-governor