一键导入
wf-phase5-6-complete
Combined Phase 5+6 - verify implementation and write retrospective in one session. Saves ~4-6K tokens by avoiding context reload.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Combined Phase 5+6 - verify implementation and write retrospective in one session. Saves ~4-6K tokens by avoiding context reload.
用 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.
Run Phase 3 consolidation - address Phase 2 feedback, make decisions on open questions, update the spec. Produces PHASE3_CONSOLIDATION.md.
| name | wf-phase5-6-complete |
| description | Combined Phase 5+6 - verify implementation and write retrospective in one session. Saves ~4-6K tokens by avoiding context reload. |
| argument-hint | ["spec-file-path"] |
| allowed-tools | Read, Glob, Grep, Write, Edit, Bash, AskUserQuestion |
| model | sonnet |
Verify implementation matches spec, run tests, and immediately write retrospective if verification passes.
Token Savings: Combines two phases into one session, saving ~4-6K tokens from context reload.
$ARGUMENTS
.claude/workflow/project-config.jsonspecDir = docs/specsarchiveDir = docs/specs/archiveIf no spec path was provided:
.claude/workflow/phase-context.json for recent context{specDir}/*/*.md*_SPEC.md files with Status: "READY FOR IMPLEMENTATION" or "IMPLEMENTED"Read:
Run the project's build and test suite (check CLAUDE.md for the specific commands):
# See CLAUDE.md "Build & Test Commands" section for project-specific commands
Capture:
Check each item from the spec:
If FAILED:
If VERIFIED or ISSUES FOUND: Continue to Part B
Evaluate:
What Went Well: spec clarity, review effectiveness, implementation accuracy, test quality
What Could Be Improved: gaps in spec, missed edge cases, process inefficiencies
Key Learnings: patterns discovered, best practices, pitfalls to avoid
Determine what should be updated in project docs:
Create TWO documents in {archiveDir}/{feature-dir}/:
{FEATURE-ID}_PHASE5_VERIFICATION.md# {FEATURE-ID} Phase 5: Verification
**Date**: {today's date}
**Feature**: {Feature Name}
**Phase**: 5 of 6 (Verification)
---
## Executive Summary
**Status**: ✅ VERIFIED
---
## Verification Checklist
### 1. Files Added
| Expected File | Status | Notes |
|---------------|--------|-------|
| {File} | ✅ | {location} |
### 2. Files Modified
| File | Expected Change | Status |
|------|-----------------|--------|
| {File} | {change} | ✅ |
### 3. Test Coverage
| Test | Focus | Tests | Status |
|------|-------|-------|--------|
| {TestClass} | {focus} | {count} | ✅ |
---
## Test Results
{test output summary}
---
## Deviations from Specification
{List deviations or "None"}
---
**Verification Completed**: {date}
**Status**: ✅ VERIFIED - Proceeding to Retrospective
{FEATURE-ID}_PHASE6_RETROSPECTIVE.md# {FEATURE-ID} Phase 6: Retrospective
**Date**: {today's date}
**Feature**: {Feature Name}
**Phase**: 6 of 6 (Retrospective)
---
## Executive Summary
**Status**: ✅ **COMPLETE**
---
## What Went Well
### 1. {Title} ⭐
**Impact**: {High / Medium / Low}
**Description**: {What went well}
**Learning**: {What to continue doing}
---
## What Could Be Improved
### 1. {Title}
**Impact**: {High / Medium / Low}
**Description**: {What could have been better}
**Improvement**: {What to do differently}
---
## Key Learnings
### For Specifications
1. {Learning}
### For Implementation
1. {Learning}
### For Process
1. {Learning}
---
## Metrics
| Metric | Target | Actual | Status |
|--------|--------|--------|--------|
| Test Count | {target} | {actual} | ✅ |
| Deviations | 0 | {count} | ✅ |
---
## Project Documentation Updates
{List updates made to project docs}
---
**Retrospective Completed**: {date}
**Feature Status**: ✅ COMPLETE
Move the main spec from {specDir}/{feature-dir}/ to {archiveDir}/{feature-dir}/
(if the archive dir differs from spec dir). Update spec status to "IMPLEMENTED".
Mark the feature as complete in all relevant sections.
Delete .claude/workflow/phase-context.json — feature workflow is complete.
Display:
Use AskUserQuestion: