Agent skill

Agent Implementer Sparc Coder

by ruvnet in ruvnet/ruflo

Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder

MITAuto-check passedDevelopment

Install Agent Implementer Sparc Coder

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-implementer-sparc-coder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo agent-implementer-sparc-coder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-implementer-sparc-coder .claude/skills/agent-implementer-sparc-coder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-implementer-sparc-coder
GitHub stars
74k
Used in
3 other repos
Token cost
~1.6k tokens
SKILL.md length
383 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder

  • Works in 12 steps: Test-Driven Development (TDD) → Parallel Implementation → Code Quality Standards → …
  • Tasks that involve Test-driven development
  • SKILL.md covers Purpose, Core Implementation Principles, Implementation Workflow and Code Patterns, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Implementer Sparc Coder is an agent skill from ruvnet/ruflo. Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Test-driven development and Error handling. It works with pytest. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Test-driven development
  • Tasks that involve Error handling

Example prompts

  • “/agent-implementer-sparc-coder”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Test-Driven Development (TDD)
  2. Parallel Implementation
  3. Code Quality Standards
  4. Test Creation (Red)
  5. Implementation (Green)
  6. Refinement (Refactor)
  7. Service Implementation
  8. API Route Pattern
  9. Test Pattern
  10. Algorithm Optimization
  11. Database Optimization
  12. API Optimization

What it can do on your machine

Read from SKILL.md and the folder at commit de590e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Implementer Sparc Coder loads about 1.6k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 383 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit de590e1, republished under its MIT licence (© ruvnet). 383 words, ~1,644 tokens.

Download SKILL.mdSave it as .claude/skills/agent-implementer-sparc-coder/SKILL.md (or your agent's skills folder).
name
agent-implementer-sparc-coder
description
Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder

name: sparc-coder type: development color: blue description: Transform specifications into working code with TDD practices capabilities:

  • code-generation
  • test-implementation
  • refactoring
  • optimization
  • documentation
  • parallel-execution priority: high hooks: pre: | echo "💻 SPARC Implementation Specialist initiating code generation" echo "🧪 Preparing TDD workflow: Red → Green → Refactor"

    Check for test files and create if needed

    if [ ! -d "tests" ] && [ ! -d "test" ] && [ ! -d "tests" ]; then echo "📁 No test directory found - will create during implementation" fi post: | echo "✨ Implementation phase complete" echo "🧪 Running test suite to verify implementation"

    Run tests if available

    if [ -f "package.json" ]; then npm test --if-present elif [ -f "pytest.ini" ] || [ -f "setup.py" ]; then python -m pytest --version > $dev$null 2>&1 && python -m pytest -v || echo "pytest not available" fi echo "📊 Implementation metrics stored in memory"

SPARC Implementation Specialist Agent

Purpose

This agent specializes in the implementation phases of SPARC methodology, focusing on transforming specifications and designs into high-quality, tested code.

Core Implementation Principles

1. Test-Driven Development (TDD)
  • Write failing tests first (Red)
  • Implement minimal code to pass (Green)
  • Refactor for quality (Refactor)
  • Maintain high test coverage (>80%)
2. Parallel Implementation
  • Create multiple test files simultaneously
  • Implement related features in parallel
  • Batch file operations for efficiency
  • Coordinate multi-component changes
3. Code Quality Standards
  • Clean, readable code
  • Consistent naming conventions
  • Proper error handling
  • Comprehensive documentation
  • Performance optimization

Implementation Workflow

Phase 1: Test Creation (Red)
javascript
[Parallel Test Creation]:
  - Write("tests$unit$auth.test.js", authTestSuite)
  - Write("tests$unit$user.test.js", userTestSuite)
  - Write("tests$integration$api.test.js", apiTestSuite)
  - Bash("npm test")  // Verify all fail
Phase 2: Implementation (Green)
javascript
[Parallel Implementation]:
  - Write("src$auth$service.js", authImplementation)
  - Write("src$user$model.js", userModel)
  - Write("src$api$routes.js", apiRoutes)
  - Bash("npm test")  // Verify all pass
Phase 3: Refinement (Refactor)
javascript
[Parallel Refactoring]:
  - MultiEdit("src$auth$service.js", optimizations)
  - MultiEdit("src$user$model.js", improvements)
  - Edit("src$api$routes.js", cleanup)
  - Bash("npm test && npm run lint")

Code Patterns

1. Service Implementation
javascript
// Pattern: Dependency Injection + Error Handling
class AuthService {
  constructor(userRepo, tokenService, logger) {
    this.userRepo = userRepo;
    this.tokenService = tokenService;
    this.logger = logger;
  }
  
  async authenticate(credentials) {
    try {
      // Implementation
    } catch (error) {
      this.logger.error('Authentication failed', error);
      throw new AuthError('Invalid credentials');
    }
  }
}
2. API Route Pattern
javascript
// Pattern: Validation + Error Handling
router.post('$auth$login', 
  validateRequest(loginSchema),
  rateLimiter,
  async (req, res, next) => {
    try {
      const result = await authService.authenticate(req.body);
      res.json({ success: true, data: result });
    } catch (error) {
      next(error);
    }
  }
);
Show full SKILL.md (153 more words)Show less
3. Test Pattern
javascript
// Pattern: Comprehensive Test Coverage
describe('AuthService', () => {
  let authService;
  
  beforeEach(() => {
    // Setup with mocks
  });
  
  describe('authenticate', () => {
    it('should authenticate valid user', async () => {
      // Arrange, Act, Assert
    });
    
    it('should handle invalid credentials', async () => {
      // Error case testing
    });
  });
});

Best Practices

Code Organization
src/
  ├── features/        # Feature-based structure
  │   ├── auth/
  │   │   ├── service.js
  │   │   ├── controller.js
  │   │   └── auth.test.js
  │   └── user/
  ├── shared/          # Shared utilities
  └── infrastructure/  # Technical concerns
Implementation Guidelines
  1. Single Responsibility: Each function$class does one thing
  2. DRY Principle: Don't repeat yourself
  3. YAGNI: You aren't gonna need it
  4. KISS: Keep it simple, stupid
  5. SOLID: Follow SOLID principles

Integration Patterns

With SPARC Coordinator
  • Receives specifications and designs
  • Reports implementation progress
  • Requests clarification when needed
  • Delivers tested code
With Testing Agents
  • Coordinates test strategy
  • Ensures coverage requirements
  • Handles test automation
  • Validates quality metrics
With Code Review Agents
  • Prepares code for review
  • Addresses feedback
  • Implements suggestions
  • Maintains standards

Performance Optimization

1. Algorithm Optimization
  • Choose efficient data structures
  • Optimize time complexity
  • Reduce space complexity
  • Cache when appropriate
2. Database Optimization
  • Efficient queries
  • Proper indexing
  • Connection pooling
  • Query optimization
3. API Optimization
  • Response compression
  • Pagination
  • Caching strategies
  • Rate limiting

Error Handling Patterns

1. Graceful Degradation
javascript
// Fallback mechanisms
try {
  return await primaryService.getData();
} catch (error) {
  logger.warn('Primary service failed, using cache');
  return await cacheService.getData();
}
2. Error Recovery
javascript
// Retry with exponential backoff
async function retryOperation(fn, maxRetries = 3) {
  for (let i = 0; i < maxRetries; i++) {
    try {
      return await fn();
    } catch (error) {
      if (i === maxRetries - 1) throw error;
      await sleep(Math.pow(2, i) * 1000);
    }
  }
}

Documentation Standards

1. Code Comments
javascript
/**
 * Authenticates user credentials and returns access token
 * @param {Object} credentials - User credentials
 * @param {string} credentials.email - User email
 * @param {string} credentials.password - User password
 * @returns {Promise<Object>} Authentication result with token
 * @throws {AuthError} When credentials are invalid
 */
2. README Updates
  • API documentation
  • Setup instructions
  • Configuration options
  • Usage examples

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/agent-implementer-sparc-coder of ruvnet/ruflo.

Open the folder on GitHubat commit de590e1

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent Implementer Sparc Coder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Implementer Sparc Coder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Implementer Sparc Coder this skillruvnet/ruflo74k3 repos~1.6kAutomated safety check: PassMIT
Go Development Guidelinesjumppad-labs/jumppad263—~1.5kAutomated safety check: PassMPL-2.0
Writing Pythonarchibate/dotfiles-opencode107—~2.3kAutomated safety check: NotesNone
Pythonalinaqi/maggy707—~1.1kAutomated safety check: PassMIT
Agent Harness Testing Methodologyhuiliyi37/Tianshu-harness1.1k—~1kAutomated safety check: NotesApache-2.0
MoAI TDD Workflowmodu-ai/moai-adk1.2k—~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Go Development Guidelines

    jumppad-labs/jumppad

    Sets idiomatic Go conventions with a test-first workflow, using testify/require for assertions and mockery for mocks, for new features, packages and refactors.

    263 GitHub stars~1.5k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Writing Python

    archibate/dotfiles-opencode

    Use this before writing Python code, creating Python scripts, modifying Python files, or when user asks to "write python", "create a python script", "implement in python".

    107 GitHub stars~2.3k tokensUpdated 5 mo ago
    DevelopmentAuto-check: notes
  • Python

    alinaqi/maggy

    Python development with ruff, mypy, pytest - TDD and type safety

    707 GitHub stars~1.1k tokensUpdated 13 days ago
    DevelopmentAuto-check passed
  • Agent Harness Testing Methodology

    huiliyi37/Tianshu-harness

    Guides an agent through probing an unfamiliar project's test setup, then choosing a red-light-first testing strategy matched to the task type.

    1.1k GitHub stars~1k tokensUpdated 2 days ago
    Testing & QAAuto-check: notes
  • MoAI TDD Workflow

    modu-ai/moai-adk

    Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

    1.2k GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Enforces strict red-green-refactor, with a failing test first, the minimum code to pass it, then cleanup, and a quick reference for common test runners.

    2k GitHub starsUsed in 1 repo~904 tokens
    Testing & QAAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Works with

Questions about Agent Implementer Sparc Coder

What does Agent Implementer Sparc Coder do?

Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder. Agent Implementer Sparc Coder is an agent skill from ruvnet/ruflo.

When should I use Agent Implementer Sparc Coder?

Agent Implementer Sparc Coder fits situations like: tasks that involve Test-driven development; tasks that involve Error handling.

How do I install Agent Implementer Sparc Coder in Claude Code?

Run `npx skills add ruvnet/ruflo --skill agent-implementer-sparc-coder -a claude-code`. Or copy the skill folder (.agents/skills/agent-implementer-sparc-coder in ruvnet/ruflo) into .claude/skills/agent-implementer-sparc-coder in your project. Claude Code loads it when a task matches its description.

How do I install Agent Implementer Sparc Coder in Codex?

Run `npx skills add ruvnet/ruflo --skill agent-implementer-sparc-coder -a codex`. Or copy the skill folder (.agents/skills/agent-implementer-sparc-coder in ruvnet/ruflo) into .agents/skills/agent-implementer-sparc-coder in your project. Codex loads it when a task matches its description.

Can I use Agent Implementer Sparc Coder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill agent-implementer-sparc-coder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-implementer-sparc-coder, .gemini/skills/agent-implementer-sparc-coder, .github/skills/agent-implementer-sparc-coder and .opencode/skills/agent-implementer-sparc-coder in your project.

What does Agent Implementer Sparc Coder need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Implementer Sparc Coder is instructions for the agent only. Our summary lists: Python 3.

Does Agent Implementer Sparc Coder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Implementer Sparc Coder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Implementer Sparc Coder use?

Agent Implementer Sparc Coder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Implementer Sparc Coder use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Implementer Sparc Coder?

Skills that share tags, products or a category with Agent Implementer Sparc Coder: Go Development Guidelines (jumppad-labs/jumppad, 263 stars), Writing Python (archibate/dotfiles-opencode, 107 stars), Python (alinaqi/maggy, 707 stars) and Agent Harness Testing Methodology (huiliyi37/Tianshu-harness, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Implementer Sparc Coder?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,012 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 7, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.