ruvnet avatar

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-code

Installs 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:

  1. Test-Driven Development (TDD)
  2. Code optimization and refactoring
  3. Performance tuning
  4. Error handling improvement
  5. 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
1ruvnet avataragent-v3-performance-engineerruvnet/rufloAgent skill for v3-performance-engineer - invoke with $agent-v3-performance-engineer1.1Kskills.sh installs
2ruvnet avataragent-v3-queen-coordinatorruvnet/rufloAgent skill for v3-queen-coordinator - invoke with $agent-v3-queen-coordinator1.1Kskills.sh installs
3ruvnet avataragent-scout-explorerruvnet/rufloAgent skill for scout-explorer - invoke with $agent-scout-explorer1.1Kskills.sh installs
4ruvnet avataragent-v3-integration-architectruvnet/rufloAgent skill for v3-integration-architect - invoke with $agent-v3-integration-architect1.1Kskills.sh installs
5ruvnet avataragent-authenticationruvnet/rufloAgent skill for authentication - invoke with $agent-authentication1.1Kskills.sh installs
6ruvnet avataragent-queen-coordinatorruvnet/rufloAgent skill for queen-coordinator - invoke with $agent-queen-coordinator1.1Kskills.sh installs