SPARC development workflow: Specification, Pseudocode, Architecture, Refinement, Completion. A structured approach for complex implementations that ensures thorough planning before coding. Use when: new feature implementation, complex implementations, architectural changes, system redesign, integration work, unclear requirements. Skip when: simple bug fixes, documentation updates, configuration changes, well-defined small tasks, routine maintenance.
58
66%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/sparc-methodology/SKILL.mdSPARC development workflow: Specification, Pseudocode, Architecture, Refinement, Completion. A structured approach for complex implementations that ensures thorough planning before coding.
Define requirements, acceptance criteria, and constraints
npx @claude-flow/cli hooks route --task "specification: [requirements]"Example:
npx @claude-flow/cli hooks route --task "specification: user authentication with OAuth2, MFA, and session management"Write high-level pseudocode for the implementation
npx @claude-flow/cli hooks route --task "pseudocode: [feature]"Example:
npx @claude-flow/cli hooks route --task "pseudocode: OAuth2 login flow with token refresh"Design system structure, interfaces, and dependencies
npx @claude-flow/cli hooks route --task "architecture: [design]"Example:
npx @claude-flow/cli hooks route --task "architecture: auth module with service layer, repository, and API endpoints"Iterate on the design based on feedback
npx @claude-flow/cli hooks route --task "refinement: [feedback]"Example:
npx @claude-flow/cli hooks route --task "refinement: add rate limiting and brute force protection"Finalize implementation with tests and documentation
npx @claude-flow/cli hooks route --task "completion: [final checks]"Example:
npx @claude-flow/cli hooks route --task "completion: verify all tests pass, update API docs, security review"Spawn SPARC coordinator agent
npx @claude-flow/cli agent spawn --type sparc-coord --name sparc-lead| Script | Path | Description |
|---|---|---|
sparc-init | .agents/scripts/sparc-init.sh | Initialize SPARC workflow for a new feature |
sparc-review | .agents/scripts/sparc-review.sh | Run SPARC phase review checklist |
| Document | Path | Description |
|---|---|---|
SPARC Overview | docs/sparc.md | Complete SPARC methodology guide |
Phase Templates | docs/sparc-templates.md | Templates for each SPARC phase |
b14c79e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.