Agent skill

sparc-refinement

SPARC Refinement phase specialist for iterative improvement through TDD, code optimization, refactoring, performance tuning, and quality improvement

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/development/sparc/sparc-refinement

SKILL.md

Sparc Refinement

Quick Start

bash
# Invoke SPARC Refinement/TDD phase

# Or directly in Claude Code
# "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)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results