一键导入
wf-phase4-implement
Phase 4 implementation (Opus) - thorough implementation with detailed analysis. Use /wf-phase4-implement-sonnet for faster implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Phase 4 implementation (Opus) - thorough implementation with detailed analysis. Use /wf-phase4-implement-sonnet for faster implementation.
用 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-phase4-implement |
| description | Phase 4 implementation (Opus) - thorough implementation with detailed analysis. Use /wf-phase4-implement-sonnet for faster implementation. |
| argument-hint | ["spec-file-path"] |
| allowed-tools | Read, Glob, Grep, Write, Edit, Bash, Task, AskUserQuestion |
| model | opus |
Implement a feature according to its specification and Phase 3 consolidation decisions.
For faster implementation: Use /wf-phase4-implement-sonnet instead.
$ARGUMENTS
.claude/workflow/project-config.jsonspecDir = docs/specsarchiveDir = docs/specs/archive{specDir} and {archiveDir} throughout this skillIf no spec path was provided:
.claude/workflow/phase-context.json for recent context (within 24 hours, lastPhase=wf-phase3-consolidate){specDir}/*/*.md*_SPEC.md files with Phase 3 consolidation but no Phase 5 verificationVerify:
{archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE3_CONSOLIDATION.md exists{archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE5_VERIFICATION.md does NOT existIf Phase 3 not complete:
⚠️ This spec has not completed Phase 3 consolidation.
Run /wf-phase3-consolidate first to address Phase 2 feedback.
Read thoroughly:
{specDir}/{feature-dir}/{FEATURE-ID}_*_SPEC.md{archiveDir}/{feature-dir}/{FEATURE-ID}_PHASE3_CONSOLIDATION.mdBefore writing code, outline:
Follow the spec precisely:
Run the project's test suite (see CLAUDE.md or project docs for specific commands):
# Example — replace with your project's actual test command:
# mvn test -pl game-server
# npm test
# pytest
Fix any failures, re-run until passing.
Check off each item from the spec:
## Phase 4 Implementation Complete
**Feature**: {FEATURE-ID} - {Feature Name}
**Spec**: {spec path}
### Files Created
- {file1}
- {file2}
### Files Modified
- {file1} - {what changed}
### Tests
- {X} test classes created
- {Y} tests total
- All passing ✅
### Notes
{Any deviations from spec or issues encountered}
.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."