This skill should be used when the user asks about "phase management", "6-phase protocol", "explore phase", "plan phase", "code phase", "test phase", "fix phase", "document phase", "phase transitions", "phase enforcement", or needs guidance on managing the mandatory orchestration phases.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Establish systematic progression through the mandatory 6-phase protocol for all complex tasks, ensuring quality gates and proper transitions.
Every complex task MUST progress through these phases in order:
EXPLORE → PLAN → CODE → TEST → FIX → DOCUMENT
| Phase | Purpose | Min Agents | Outputs |
|---|---|---|---|
| EXPLORE | Understanding & Research | 2+ | Context, requirements, constraints |
| PLAN | Strategy & Design | 1-2 | Architecture, task breakdown, DAG |
| CODE | Implementation | 2-4 | Working code, initial tests |
| TEST | Validation | 2-3 | Test results, coverage reports |
| FIX | Refinement | 1-2 | Bug fixes, improvements |
| DOCUMENT | Knowledge Transfer | 1-2 | Docs, ADRs, vault updates |
Purpose: Gather comprehensive understanding before planning.
code-explorer - Codebase analysisresearch-agent - Documentation gatheringrequirements-analyst - Requirement extractionexplore_output:
requirements: "Detailed requirement specification"
codebase_context: "Relevant files and patterns"
risks: "Identified risks and mitigations"
dependencies: "External and internal dependencies"
Purpose: Design solution and create execution plan.
master-strategist - Overall planningarchitect-supreme - Technical designplan_output:
architecture: "Technical design document"
task_dag: "Directed acyclic graph of tasks"
resource_allocation: "Agent assignments"
checkpoints: "Phase boundary markers"
Purpose: Implement the planned solution.
coder - Implementation (2-4 agents)unit-tester - Test writingintegrator - Component integrationcode_output:
files_created: ["list of new files"]
files_modified: ["list of changed files"]
tests_written: ["list of test files"]
integration_status: "success|partial|failed"
Purpose: Validate implementation quality.
test-runner - Test executioncoverage-analyst - Coverage analysissecurity-scanner - Security validationtest_output:
test_results: "pass|fail with details"
coverage_report: "Coverage percentage by file"
security_findings: "Any vulnerabilities found"
performance_metrics: "Key performance indicators"
Purpose: Address issues found during testing.
debugger - Issue diagnosisfixer - Bug resolutionfix_output:
issues_resolved: ["list of fixed issues"]
regressions_avoided: "Verification status"
final_test_status: "All tests passing confirmation"
Purpose: Create knowledge transfer artifacts.
documentation-expert - Doc writingvault-syncer - Obsidian syncdocument_output:
docs_updated: ["list of documentation files"]
adrs_created: ["architectural decision records"]
vault_entries: ["Obsidian vault updates"]
commit_ready: "Ready for final commit"
checkpoint:
phase: "EXPLORE|PLAN|CODE|TEST|FIX|DOCUMENT"
timestamp: "ISO 8601 timestamp"
status: "completed|partial|blocked"
outputs: "Phase output package"
next_phase: "Next phase to execute"
context: "Preserved context for continuation"
If interrupted, resume from last checkpoint:
The 6-phase protocol is MANDATORY and enforced via hooks:
Phases cannot be skipped:
references/phase-details.md - Extended phase specificationsreferences/checkpoint-format.md - Checkpoint data structuresexamples/phase-outputs.json - Sample outputs by phaseexamples/checkpoint.json - Sample checkpoint structure