Agent-wide rules and workflow guardrails for skill-split development.
Goal: FULL, FINISHED PROJECT - not docs and claims, but WORKING CODE
1. PLAN (3-5 comprehensive plans)
└─> Output: .planning/phases/<phase>/0*-PLAN.md files
2. VERIFY (Each plan independently)
└─> Output: .planning/phases/<phase>/VERIFICATION.md
3. UNIFY (Combine plans)
└─> Output: VERIFICATION.md updated with execution order
4. VERIFY (Unified plan)
└─> Output: Final approval check
5. EXECUTE (With verifier agents)
└─> Wave 1 → /clear → Wave 2 → /clear → Wave 3 → /clear
└─> Each executor → Independent verifier → Approval → Commit
Critical Rule: Use /clear or /compact between major phases
# AFTER planning complete
/clear
# AFTER verification complete
/clear
# AFTER each wave of execution
/clearWhy: Fresh context prevents hallucination, keeps focus on current work
Use YAML for all internal reasoning:
thinking:
step_1: "Understand the requirement"
step_2: "Check existing code"
step_3: "Form solution"
step_4: "Implement with verification"
status: "in_progress|completed|blocked"
next_action: "Specific next step"CRITICAL: No agent ever verifies its own work
Executor Agent (Plan N) ──> Verifier Agent (Independent)
├─> Code quality check
├─> Architecture review
├─> Security check
└─> Approval → Commit
compound-engineering:review:kieran-python-reviewer- Python code qualitycompound-engineering:review:architecture-strategist- Architecture reviewcompound-engineering:review:security-sentinel- Security checkcompound-engineering:review:performance-oracle- Performance analysiscompound-engineering:review:code-simplicity-reviewer- Simplicity check
/gsd:plan-phase --gaps/gsd:execute-phase <phase-name>/gsd:verify-work/gsd:status.planning/
├── phases/
│ ├── <phase-name>/
│ │ ├── 01-PLAN.md # Detailed task list
│ │ ├── 02-PLAN.md # Detailed task list
│ │ ├── VERIFICATION.md # Unified verification
│ │ └── EXECUTE.md # Execution command
│ └── ...
├── research/
│ └── <topic>-investigation.md
├── GSD_WORKFLOW.md # Detailed workflow
├── PROJECT.md
├── ROADMAP.md
└── STATE.md
- 3-5 comprehensive plans
- All tasks fully specified (no stubs)
- Test coverage planned
- Dependencies mapped
- Verification criteria defined
- All plans executed successfully
- All tests pass
- No regressions
- Verifier agents approve
- Documentation complete
- Code works, not just docs
- Tests verify functionality
- User can use the feature
- No TODOs left behind
- Ready for production
See: .planning/GSD_WORKFLOW.md for detailed workflow