# Planning Code Goal Sparc Phases In Goal Planning

> Sub-skill of planning-code-goal: SPARC Phases in Goal Planning (+2).

- Skill: `vamseeachanta/planning-code-goal-sparc-phases-in-goal-planning` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/planning-code-goal-sparc-phases-in-goal-planning`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/planning-code-goal-sparc-phases-in-goal-planning/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/planning-code-goal-sparc-phases-in-goal-planning

---


# SPARC Phases in Goal Planning (+2)

## SPARC Phases in Goal Planning


| Phase | GOAP Role | Deliverables |
|-------|-----------|--------------|
| Specification | Define goal state | Requirements, acceptance criteria |
| Pseudocode | Plan actions | Algorithms, state transitions |
| Architecture | Structure solution | Components, interfaces |
| Refinement | Iterate with TDD | Tests, implementation |
| Completion | Validate goal | Deployment, metrics |

## Code State Analysis


```javascript
current_state = {
  test_coverage: 45,
  performance_score: 'C',
  tech_debt_hours: 120,
  features_complete: ['auth', 'user-mgmt'],
  bugs_open: 23
}

goal_state = {

*See sub-skills for full details.*

## Milestone Definition


```typescript
interface CodeMilestone {
  id: string;
  description: string;
  sparc_phase: 'specification' | 'pseudocode' | 'architecture' | 'refinement' | 'completion';
  preconditions: string[];
  deliverables: string[];
  success_criteria: Metric[];
  estimated_hours: number;
  dependencies: string[];
}
```

