Agent Refinement
SPARC Refinement phase agent for TDD, refactoring, and performance tuning of code.
- CCM score
- 59 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the Refinement phase: red-green-refactor test cycles, optimization, error handling, and documentation
- Includes a pre-phase hook that runs
npm testand a post-phase hook that runs the full suite and stores completion in memory - Demonstrates authentication service work, including account lockout after five failed login attempts and session caching
- Designed for developers who need iterative quality improvement after an initial implementation exists
Install
$ npx -y skills add ruvnet/ruflo --skill agent-refinement -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Testing & QA, Agent Workflow & Planning, Code Review & Quality
- First seen
- Jun 3, 2026
More from ruvnet/ruflo
All 236- Agent Sparc Coordinator1.1K
- Agent V3 Performance Engineer1.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 Benchmark Suite1.1K
- Agent Byzantine Coordinator1.1K
- Agent V3 Integration Architect1.1K
- Agent Authentication1.1K
- Agent Queen Coordinator1.1K
- Agent Base Template Generator1.1K
- Cron Schedule903
- Iot Firmware903
- Deep Research894
- Api Docs893
- Session Persist775
- Goal Plan772
- Iot Fleet766
- Pii Detect763
- Browser Scrape762
- Cognitive Pattern758
Similar to Agent Refinement
More Testing & QAagent-implementer-sparc-coderSkillruvnet/ruflo1.1K installsTest-first implementation agent that turns specifications into tested code using Red, Green, Refactor steps.
agent-coderSkillruvnet/ruflo1.1K installsImplementation agent that writes, refactors, and optimizes code under TDD, SOLID, and coordinated memory handoffs.
agent-orchestration-improve-agentSkillsickn33/agentic-awesome-skills572 installsStructured workflow that improves an existing agent through trace analysis, prompt refinement, and gated A/B testing.
tdd-workflowPluginaws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock412 starsTDD workflow with 6 specialized agents for test-first development, red-green-refactor cycle, and comprehensive quality analysis
agent-teams-simplify-and-hardenSkillpskoett/pskoett-ai-skills509 installsImplementation and audit loop that runs parallel agent teams until builds, tests, and auditors all pass.