一键导入
wf-phase3-consolidate
Run Phase 3 consolidation - address Phase 2 feedback, make decisions on open questions, update the spec. Produces PHASE3_CONSOLIDATION.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Phase 3 consolidation - address Phase 2 feedback, make decisions on open questions, update the spec. Produces PHASE3_CONSOLIDATION.md.
用 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 iteration - quick 3-agent review of a DRAFT spec before formal Phase 2 review. Catches issues early with specialized perspectives.
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.
Phase 4 implementation (Opus) - thorough implementation with detailed analysis. Use /wf-phase4-implement-sonnet for faster implementation.
| name | wf-phase3-consolidate |
| description | Run Phase 3 consolidation - address Phase 2 feedback, make decisions on open questions, update the spec. Produces PHASE3_CONSOLIDATION.md. |
| model | opus |
| argument-hint | ["spec-file-path"] |
| allowed-tools | Read, Glob, Grep, Write, Edit, AskUserQuestion, Bash |
Address feedback from Phase 2 reviews, make decisions on open questions, and update the specification.
$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-phase2-reviewspecPath from context{specDir}/*/*.md*_SPEC.md files{archiveDir}//wf-phase2-review firstRead:
{archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE2_REVIEW.md)From the Phase 2 review, extract:
For each critical issue and open question:
Document each decision with:
Edit the main spec file to:
Create {archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE3_CONSOLIDATION.md:
# {FEATURE-ID} Phase 3: Consolidation & Decisions
**Date**: {today's date}
**Feature**: {Feature Name}
**Phase**: 3 of 6 (Consolidation)
**Specification Version**: v1.1 (Updated)
---
## Purpose
This document addresses feedback from Phase 2 reviews, makes decisions on open questions,
and produces the final specification for implementation.
---
## Critical Decisions
### Decision 1: {Issue Title} ✅
**Issue**: {Description of the issue from Phase 2}
**Decision**: {What we decided}
**Rationale**: {Why this approach}
**Impact**:
- {Change 1 to spec}
- {Change 2 to spec}
---
### Decision 2: {Next Issue} ✅
{same structure for each decision}
---
## Spec Changes Summary
### Updated Sections
1. {Section name} - {What changed}
### New Sections Added
1. {Section name} - {Why added}
### Removed/Changed
1. {What was removed or significantly changed}
---
## Deferred Items
Items intentionally not addressed in this phase:
1. {Item} - {Why deferred, when to address}
---
## Phase 3 Verdict
**Status**: ✅ **READY FOR IMPLEMENTATION**
**Specification Version**: v1.1
**Key Changes from v1.0**:
{numbered list of major changes}
---
**Consolidation Completed**: {date}
**Next Phase**: Phase 4 - Implementation
After completing consolidation, display:
Then proceed to Step 8.
Create/update .claude/workflow/phase-context.json:
{
"specPath": "{full spec file path}",
"featureId": "{FEATURE-ID}",
"lastPhase": "wf-phase3-consolidate",
"timestamp": "{current ISO datetime}",
"context": {
"specVersion": "{version number, e.g., v1.1}",
"decisionsMade": ["{list decision titles}"],
"deferredItems": {count or 0},
"implementationReady": true,
"integrationPoints": ["{key systems to integrate with}"]
}
}
Read .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."
Use AskUserQuestion:
If user selects "Clear context and stop", delete .claude/workflow/phase-context.json