一键导入
wf-phase1-iterate
Phase 1 iteration - quick 3-agent review of a DRAFT spec before formal Phase 2 review. Catches issues early with specialized perspectives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Phase 1 iteration - quick 3-agent review of a DRAFT spec before formal Phase 2 review. Catches issues early with specialized perspectives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clear the workflow context file to start fresh on a new feature
Initialize the feature workflow for a project — detects tech stack, proposes review agents (asks user to confirm), creates agent files and project-config.json.
Phase 1 - Create an initial feature specification from a roadmap item. Generates a structured spec file ready for Phase 2 review.
Run Phase 2 design review with 2-6 subagents (dynamic selection). Produces a PHASE2_REVIEW.md artifact in the archive directory.
Run Phase 3 consolidation - address Phase 2 feedback, make decisions on open questions, update the spec. Produces PHASE3_CONSOLIDATION.md.
Phase 4 implementation (Opus) - thorough implementation with detailed analysis. Use /wf-phase4-implement-sonnet for faster implementation.
| name | wf-phase1-iterate |
| description | Phase 1 iteration - quick 3-agent review of a DRAFT spec before formal Phase 2 review. Catches issues early with specialized perspectives. |
| model | opus |
| argument-hint | ["spec-file-path"] |
| allowed-tools | Read, Glob, Grep, Write, Task, AskUserQuestion, Bash |
Quick review with 3 specialized agents to catch issues before committing to formal Phase 2 review.
Purpose: Specialized critical review to find gaps the spec creator may have missed.
$ARGUMENTS
.claude/workflow/project-config.jsonspecDir = docs/specsarchiveDir = docs/specs/archive{specDir} and {archiveDir} throughout this skillIf no spec path was provided in arguments:
.claude/workflow/phase-context.json existslastPhase is wf-phase1-spec (expected previous phase)specPath from contextUse Glob to find specs: {specDir}/*/*.md
Filter for *_SPEC.md files only
For each spec found, check its Status and phase progress:
{archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE2_REVIEW.md existsPhase-aware filtering:
/wf-phase3-consolidate)If no eligible specs found: suggest running /wf-phase1-spec to create one.
If multiple eligible specs found, use AskUserQuestion to ask which to iterate on
If exactly one eligible spec, confirm with user: "Found DRAFT spec: {path}. Review this spec?"
Before proceeding, verify:
{FEATURE-ID}_PHASE2_REVIEW.md exists in archiveIf Phase 2 review already exists:
⚠️ This spec has already completed Phase 2 review.
- To address Phase 2 feedback: /wf-phase3-consolidate
- To re-review after major changes: Delete the Phase 2 review first
Aborting iteration.
.claude/agents/*.mdname: and description: frontmatter from each agent fileSelection guidance: Choose agents whose descriptions best match the spec's concerns.
For example, a spec touching API design should include an api-designer or backend-dev
if available; a spec with database changes should include database-dev if available.
qa-engineer is almost always one of the 3 if available.
Use the Task tool to spawn the 3 selected agents in parallel.
For each agent, provide the full spec content and ask for a focused quick review:
After all agents complete, display the full results:
Spec: {spec path} Status: {DRAFT}
{List any critical issues that must be fixed, or "None found"}
| Agent | Verdict | Key Concern |
|---|---|---|
| {agent1} | {PROCEED/REVISE} | {one-liner or "None"} |
| {agent2} | {PROCEED/REVISE} | {one-liner or "None"} |
| {agent3} | {PROCEED/REVISE} | {one-liner or "None"} |
Strengths: {full list from agent} Concerns: {full list from agent} Recommendations: {full list from agent} Full Rationale: {agent's reasoning}
{same structure}
{same structure}
Then proceed to the Next Step section.
Create/update .claude/workflow/phase-context.json:
{
"specPath": "{full spec file path}",
"featureId": "{FEATURE-ID}",
"lastPhase": "wf-phase1-iterate",
"timestamp": "{current ISO datetime}",
"context": {
"agentVerdicts": {
"{agent1}": "{PROCEED/REVISE}",
"{agent2}": "{PROCEED/REVISE}",
"{agent3}": "{PROCEED/REVISE}"
},
"blockingIssues": {count or 0},
"topSuggestions": ["{list top 3 suggestions}"],
"areasOfAgreement": ["{what all agents agreed on}"]
}
}
.claude/templates/context-reminder.md if it exists and display it; otherwise display: "Context Management: Consider starting a new conversation before the next phase to free up context window for better performance."{If any REVISE verdicts or blocking issues}: → Use AskUserQuestion with:
{If all PROCEED and no blocking issues}: → Use AskUserQuestion with:
If user selects "Clear context and stop", delete .claude/workflow/phase-context.json