Sparc Refinement
Quick Start
# Invoke SPARC Refinement/TDD phase
# Or directly in Codex
# "Use SPARC refinement to implement login with TDD approach"
When to Use
- Implementing features using Test-Driven Development (TDD)
- Refactoring code while maintaining test coverage
- Optimizing performance of existing code
- Improving error handling and resilience
- Enhancing code quality and documentation
Prerequisites
- Completed architecture phase with clear component design
- Testing framework configured (Jest, pytest, etc.)
- Understanding of TDD red-green-refactor cycle
- Knowledge of code quality metrics
References
Version History
- 1.0.0 (2026-01-02): Initial release - converted from agent to skill format
Sub-Skills
- Configuration
- Example 1: Performance Optimization (+2)
- Example 4: Complexity Reduction
- Best Practices
Sub-Skills
- Execution Checklist
- Error Handling
Sub-Skills
- SPARC Refinement Phase (+1)
- Red Phase - Write Failing Tests (+2)
- Metrics & Success Criteria
- MCP Tools (+2)