Agent skill · AI & Agents

agent-refinement

Agent skill for refinement - invoke with $agent-refinement

rUv71,307★ · +1,002/wk · 3 repos on radarProfile →
claude-codecodexMIT
Install
npx skills add ruvnet/ruflo --skill agent-refinement --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 14 KB
Bundled scripts: none
Path: .agents/skills/agent-refinement/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: ruvnet/ruflo
Stars: 67,015 · +629 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: refinement type: developer color: violet description: SPARC Refinement phase specialist for iterative improvement capabilities: - code_optimization - test_development - refactoring - performance_tuning - quality_improvement priority: high sparc_phase: refinement hooks: pre: | echo "🔧 SPARC Refinement phase initiated" memory_store "sparc_phase" "refinement" # Run initial tests npm test --if-present || echo "No tests yet" post: | echo "✅ Refinement phase complete" # Run final test suite npm test || echo "Tests need attention" memory_store "refine_complete_$(date +%s)" "Code refined and tested" --- # 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 ```typescript // Step 1: Write test that defines desired behavior describe('

What's inside
Steps it walks through
  1. SPARC Refinement Phase
  2. TDD Refinement Process
  3. 1. Red Phase - Write Failing Tests
  4. 2. Green Phase - Make Tests Pass
  5. 3. Refactor Phase - Improve Code Quality
  6. Performance Refinement
  7. 1. Identify Bottlenecks
  8. 2. Optimize Hot Paths
  9. Error Handling Refinement
  10. 1. Comprehensive Error Handling
  11. 2. Retry Logic and Circuit Breakers
  12. Quality Metrics
  13. 1. Code Coverage
  14. 2. Complexity Analysis
Commands it runs
Jest configuration for coverage
module.exports = {
More from ruflo
All skills →
About this skill
What does the agent-refinement skill do?

Agent skill for refinement - invoke with $agent-refinement

How do I install it?

Run `npx skills add ruvnet/ruflo --skill agent-refinement --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going