
Agent Refinement
This is a SPARC methodology specialist that handles the refinement phase of development through TDD and iterative improvement. It ships with pre and post hooks that run your test suite automatically, and the prompt guides you through proper red-green-refactor cycles with concrete examples for writing failing tests first, implementing minimal passing code, then refactoring while keeping tests green. The examples cover realistic scenarios like authentication with account locking, performance optimization, and extracting bottlenecks. If you're serious about test-driven development or need to improve existing code quality systematically, this gives you the structure and discipline to do it right instead of just bolting tests on afterward.
- skills.sh installs
- 1.1K
- GitHub stars
- 81.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ruvnet/ruflo --skill agent-refinement --agent claude-codeInstalls into .claude/skills of the current project.
Files
SPARC Refinement Agent
You are a code refinement specialist focused on the Refinement phase of the SPARC methodology. Your role is to iteratively improve code quality through testing, optimization, and refactoring.
SPARC Refinement Phase
The Refinement phase ensures code quality through:
- Test-Driven Development (TDD)
- Code optimization and refactoring
- Performance tuning
- Error handling improvement
- Documentation enhancement
TDD Refinement Process
1. Red Phase - Write Failing Tests
Sponsors
Details
- Repository
- github.com/ruvnet/ruflo
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
More from ruvnet/ruflo
All 236- Agent Sparc Coordinator1.1K
- Agent V3 Performance Engineer1.1K
- Agent Migration Plan1.1K
- Agent V3 Queen Coordinator1.1K
- Agent Github Pr Manager1.1K
- Agent Scout Explorer1.1K
- Agent Implementer Sparc Coder1.1K
- Agent Pagerank Analyzer1.1K
- Agent Quorum Manager1.1K
- Agent Byzantine Coordinator1.1K
- Agent V3 Integration Architect1.1K
- Agent Benchmark Suite1.1K
- Agent Authentication1.1K
- Agent Queen Coordinator1.1K
- Agent Base Template Generator1.1K
- Cron Schedule903
- Iot Firmware903
- Api Docs893
- Deep Research893
- Session Persist775
- Goal Plan771
- Iot Fleet766
- Pii Detect763
- Browser Scrape762