Skip to content
ruvnet avatar

Sparc Refine

Run the SPARC Refinement and Completion phases: code review, test coverage, validation, and documentation.

CCM score
59 of 100
skills.sh installs
730
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Phase 4 (review, test coverage, performance, iteration) and Phase 5 (regression, traceability, documentation, deployment readiness)
  • Includes a traceability matrix mapping each acceptance criterion to its tests, code files, and pass/fail status
  • Enforces a Phase 4 gate of passing acceptance tests, approved review, and coverage of at least 80%, with a final gate before completion
  • Designed for feature work that follows an completed SPARC Architecture phase, using mcp__plugin_ruflo-core_ruflo__memory_store and related tools for state

Install

$ npx -y skills add ruvnet/ruflo --skill sparc-refine -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SPARC Refinement + Completion

Run Phases 4 and 5 of the SPARC methodology: iteratively improve through code review and testing, then finalize with validation, documentation, and deployment readiness.

When to use

After the Architecture phase is complete and its gate has been passed. This skill covers the final two phases that bring a feature from implemented to production-ready.

Steps

Phase 4 — Refinement

  1. Retrieve all prior artifacts — call mcp__plugin_ruflo-core_ruflo__memory_search with namespace sparc-phases and query for the feature slug. Load spec (acceptance criteria), pseudocode, and architecture.

  2. Retrieve phase state — call mcp__plugin_ruflo-core_ruflo__memory_retrieve with namespace sparc-state and exact key current-phase-{feature-slug} to confirm we are in Phase 4 (or Phase 5 when resuming completion). If status === "complete", report the existing completion and do not write again; stop on missing/malformed state.

Details

Repository
github.com/ruvnet/ruflo
Categories
Agent Workflow & Planning, Code Review & Quality, Testing & QA
First seen
Jun 3, 2026

Questions

What does the sparc-refine skill do?

The sparc-refine skill runs the Refinement and Completion phases of the SPARC methodology. It reviews code against the specification, improves test coverage, validates performance, and generates documentation and a deployment readiness checklist.

When should I use sparc-refine?

Use sparc-refine after the Architecture phase is complete and its gate has been passed. It takes a feature from implemented to production-ready.

How do I install the sparc-refine skill?

Run npx -y skills add ruvnet/ruflo --skill sparc-refine -y in your project. The skill then lets the agent retrieve prior spec, pseudocode and architecture artifacts and run the review, testing and completion steps.

Which other skills are in its category?

The sparc-refine skill sits in the Agent Workflow and Planning category, alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. It is focused on the final two SPARC phases rather than planning or questioning the requirements.

More from ruvnet/ruflo

All 236

Similar to Sparc Refine

More Agent Workflow & Planning