Planning Code Goal
Quick Start
# Define code goal
Goal: Implement OAuth2 authentication
# SPARC-GOAP generates phased plan:
Phase 1 (Specification): Define requirements, acceptance criteria
Phase 2 (Pseudocode): Design algorithms, state machines
Phase 3 (Architecture): Design components, API contracts
Phase 4 (Refinement): TDD implementation cycles
Phase 5 (Completion): Integration, validation, deployment
# Execute with SPARC commands
When to Use
- Feature implementation requiring systematic breakdown
- Performance optimization with measurable targets
- Testing strategy development with coverage goals
- API development with clear contract definitions
- Database evolution with migration planning
- Technical debt reduction with incremental milestones
Prerequisites
- Understanding of SPARC methodology phases
- Clear definition of desired outcome
- Access to codebase for state analysis
- Measurable success criteria
References
Version History
- 1.0.0 (2026-01-02): Initial release - converted from code-goal-planner agent
Sub-Skills
- Configuration
- Example 1: Feature Implementation Plan (+2)
- Best Practices
Sub-Skills
- Execution Checklist
- Error Handling
Sub-Skills
- SPARC Phases in Goal Planning (+2)
- Implementation Pattern
- Code Quality Metrics (+2)
- MCP Tools (+2)