sparc-methodology

Orchestrates multi-agent software development using the SPARC phased methodology with TDD workflows.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/derbalimajd04-dot/al-wasat --skill sparc-methodology-derbalimajd04-dot
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sparc-methodology
Source: https://github.com/derbalimajd04-dot/al-wasat/tree/main/.agents/skills/sparc-methodology
Command: npx skills add https://github.com/derbalimajd04-dot/al-wasat --skill sparc-methodology-derbalimajd04-dot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating complex software development across specification, architecture, implementation, testing, and review phases is error-prone and slow when done ad hoc. This Skill provides a structured SPARC methodology with 17 specialized agent modes and multi-agent orchestration patterns to systematize the entire development lifecycle. ## Core Features & Use Cases - Phased Development Framework: Guides work through Specification, Architecture, Refinement (TDD), Review, and Completion phases with dedicated modes like researcher, architect, coder, tdd, and reviewer. - Multi-Agent Orchestration: Supports hierarchical, mesh, ring, and star swarm topologies with parallel execution for 2.8-4.4x speed improvements and cross-agent memory sharing. - TDD Workflows: Enforces red-green-refactor cycles with coverage targets of 90%+ across unit, integration, and end-to-end tests. - Use Case: Building a full-stack authentication feature—run the researcher mode to gather JWT best practices, architect mode to design the API, tdd mode to implement with tests, and reviewer mode to validate security, all coordinated through a single orchestrated pipeline. ## Quick Start Ask the AI to run the SPARC pipeline for your feature, for example: use the sparc methodology to design, implement, and test a user authentication module with JWT.

Frequently Asked Questions about sparc-methodology

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a SPARC development workflow?▼

Run a SPARC workflow via MCP tools using mcp__claude-flow__sparc_mode with a mode and task description, or via CLI with npx claude-flow sparc run <mode> "task". For a full pipeline, use npx claude-flow sparc pipeline "task description" to execute research through documentation automatically.

What agent modes are available in the SPARC methodology?▼

SPARC provides 17 modes across four groups: orchestration (orchestrator, swarm-coordinator, workflow-manager, batch-executor), development (coder, architect, tdd, reviewer), analysis (researcher, analyzer, optimizer), and support (designer, innovator, documenter, debugger, tester, memory-manager).

How does SPARC implement test-driven development?▼

SPARC's tdd mode follows the red-green-refactor cycle: write a failing test, implement minimal code to pass it, then refactor for quality. It targets 90%+ coverage and supports Jest, Mocha, Vitest for unit tests and Playwright or Cypress for end-to-end testing.

Can SPARC coordinate multiple AI agents in parallel?▼

Yes, SPARC supports parallel multi-agent execution using swarm topologies including hierarchical, mesh, ring, and star. Agents are spawned concurrently in a single message and coordinated through shared memory, achieving 2.8-4.4x speed improvements over sequential execution.

What is the difference between MCP tools and NPX CLI for SPARC?▼

MCP tools (mcp__claude-flow__*) are the preferred method for integrated Codex workflows with full orchestration capabilities like swarm monitoring and memory. The NPX CLI (npx claude-flow sparc) serves as a fallback for terminal usage when MCP tools are unavailable.

When should I not use the SPARC methodology?▼

SPARC's multi-phase, multi-agent approach adds overhead that is unnecessary for trivial single-file scripts or quick one-off fixes. It is designed for substantial features, system design, and refactoring efforts where structured phases and test coverage justify the coordination cost.