Atlas / Skills / ruvnet / Agent Implementer Sparc Coder

Agent Implementer Sparc CoderCAUTION

skills/ruvnet/agent-implementer-sparc-coder

๐ŸŒŠ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Verdict
CAUTION
Grade
B
Trust score
89 /100
Version
โ€”
Hosts
โ€”
License
MIT
Stars
73,336
01

Overview

๐ŸŒŠ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Read from source at commit 6f6a05ecd222OBSERVED ยท 2026-09-27
02

What it tells the agent

The instruction file, verbatim from the audited commit โ€” this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
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);
    }
  }
);
```

### 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;
03

Trust audit

CAUTIONgrade B ยท trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (4)

MEDIUMInventory / provenance ยท inv.symlink ยท CWE-1104
crates
crates
Why it matters. link not followed
MEDIUMInventory / provenance ยท inv.symlink ยท CWE-1104
plugin/agents
plugin/agents
Why it matters. link not followed
MEDIUMInventory / provenance ยท inv.symlink ยท CWE-1104
plugin/commands
plugin/commands
Why it matters. link not followed
MEDIUMInventory / provenance ยท inv.symlink ยท CWE-1104
plugin/skills
plugin/skills
Why it matters. link not followed

Gates applied: no_behavioural_pass.

Audited 2026-09-27 ยท audit v0.4.1 ยท source sha 6f6a05ecd222full audit observations/trust-audit/skill/ruvnet__agent-implementer-sparc-coder.json ยท Report an issue / request a re-scan
04

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-09-276f6a05ecd222CAUTIONB89first audit
05

Questions

What does the Agent Implementer Sparc Coder skill do?

๐ŸŒŠ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Is Agent Implementer Sparc Coder safe to install?

With care. The audit graded it B (89/100) and found 4 things worth knowing before you trust this skill, listed below with the exact line each was found on.

What can Agent Implementer Sparc Coder access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

How current is this page?

The grade is for one exact copy of the source (6f6a05ecd222), read on 2026-09-27. The repository is watched, and a new audit runs when it changes โ€” this is the first audit.

Advertisement