Skip to content
Skills Library
Programming · Planning

sparc-methodology

/sparc-methodology

Pick this over `bhil-methodology` when the deliverable is WORKING CODE moved through phases (Specification, Pseudocode, Architecture, Refinement, Completion). `bhil- methodology` owns the artefact trail and traceability; this owns the build cycle. SPARC — a systematic 5-phase development lifecycle (Specification, Pseudocode, Architecture, Refinement, Completion) run through Claude Flow multi-agent orchestration. Use when driving a feature from spec through review and deployment with coordinated agents, or when you want a structured spec→design→TDD→review→completion pipeline rather than ad-hoc

Repository
agentbox ↗
Licence
AGPL-3.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What it does and when to use it

Pick this over `bhil-methodology` when the deliverable is WORKING CODE moved through phases (Specification, Pseudocode, Architecture, Refinement, Completion). `bhil- methodology` owns the artefact trail and traceability; this owns the build cycle. SPARC — a systematic 5-phase development lifecycle (Specification, Pseudocode, Architecture, Refinement, Completion) run through Claude Flow multi-agent orchestration. Use when driving a feature from spec through review and deployment with coordinated agents, or when you want a structured spec→design→TDD→review→completion pipeline rather than ad-hoc

Original author description

Pick this over `bhil-methodology` when the deliverable is WORKING CODE moved through phases (Specification, Pseudocode, Architecture, Refinement, Completion). `bhil- methodology` owns the artefact trail and traceability; this owns the build cycle. SPARC — a systematic 5-phase development lifecycle (Specification, Pseudocode, Architecture, Refinement, Completion) run through Claude Flow multi-agent orchestration. Use when driving a feature from spec through review and deployment with coordinated agents, or when you want a structured spec→design→TDD→review→completion pipeline rather than ad-hoc

How it works

  1. When to use
  2. When not to use
  3. Core philosophy
  4. The five phases
  5. Quick path
  6. References
  7. Working principles
Original SKILL.md headings · 86 lines, 587 words
SKILL.md preview
---
name: sparc-methodology
description: >-
  Pick this over `bhil-methodology` when the deliverable is WORKING CODE moved through
  phases (Specification, Pseudocode, Architecture, Refinement, Completion). `bhil-
  methodology` owns the artefact trail and traceability; this owns the build cycle.
  SPARC — a systematic 5-phase development lifecycle (Specification, Pseudocode,
  Architecture, Refinement, Completion) run through Claude Flow multi-agent
  orchestration. Use when driving a feature from spec through review and deployment
  with coordinated agents, or when you want a structured
  spec→design→TDD→review→completion pipeline rather than ad-hoc edits.
version: 2.7.0
category: development
tags:
  - sparc
  - tdd
  - architecture
  - orchestration
  - methodology
  - multi-agent
author: Claude Flow
---

# SPARC Methodology

SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) is a
systematic development lifecycle wired into Claude Flow's multi-agent
orchestration. It offers 17 specialized modes covering research, architecture,
TDD, review, and deployment. This guide is the quick-path; the deep detail lives
in `references/`.

## When to use

Reach for SPARC when a task benefits from a structured, multi-phase lifecycle with
coordinated agents — e.g. building a feature from requirements through tested,
reviewed, deployed code, or running a spec→design→TDD→review pipeline.

## When not to use

- Full quality engineering with 34 agents, coverage gates, and defect prediction — use **build-with-quality**.
- GitHub-specific code-review swarms on PRs — use **github-code-review**.
- Queen-led hive-mind / Byzantine consensus without a full dev lifecycle — use **hive-mind-advanced**.
- PRD-to-documentation generation without the SPARC lifecycle — use **prd2build**.
- Raw swarm-coordination primitives (quick mesh/star/ring, load balancing) without methodology overhead — use **swarm-advanced**.
- Simple single-file changes that need no multi-phase orchestration — edit directly.

## Core philosophy

Specification before code · design before implementation · tests before features ·
review everything · document continuously. Emphasises TDD, parallel agent
execution, persistent Memory sharing across agents/sessions, and modular design.

## The five phases

| Phase | Goal | Key modes |
|-------|------|-----------|
| 1. Specification | Requirements, constraints, success criteria, pseudocode planning | `researcher`, `analyzer`, `memory-manager` |
| 2. Architecture | System structure, interfaces, schema, API contracts, infra | `architect`, `designer`, `orchestrator` |
| 3. Refinement (TDD) | Failing tests → minimum code → pass → refactor → iterate | `tdd`, `coder`, `tester` |
| 4. Review | Quality, security, performance, best-practice validation | `reviewer`, `optimizer`, `debugger` |
| 5. Completion | Integration, deployment, monitoring, docs, knowledge capture | `workflow-manager`, `documenter`, `memory-manager` |

The 17 modes span core orchestration (`orchestrator`, `swarm-coordinator`,
`workflow-manager`, `batch-executor`), development (`coder`, `architect`, `tdd`,
`reviewer`), analysis/research (`researcher`, `analyzer`, `optimizer`), and
creative/support (`designer`, `innovator`, `documenter`, `debugger`, `tester`,
`memory-manager`). Full per-mode capabilities, quality standards, and usage
snippets: **[references/modes.md](references/modes.md)**.

## Quick path

`mcp__claude-flow__sparc_mode` is the primary, verified path — run a single mode:

```javascript
mcp__claude-flow__sparc_mode { mode: "coder", task_description: "implement JWT auth" }
```

Claude Code only: the MCP tool above requires an MCP client. On Codex / GPT-6 Astra:
run the phase sequentially in one session using the mode's prompt from
[references/modes.md](references/modes.md) instead.

Historical (v2, not current): earlier docs showed a `claude-flow sparc modes|run|tdd|
pipeline|batch` CLI. The installed ruflo v3.38.21 binary has no `sparc` subcommand
(`claude-flow sparc --help` → "Unknown command: sparc") — that surface does not exist
in this image. Use the MCP tool above.

For complex work, initialize a swarm first, then spawn agents and monitor:

```javascript
mcp__claude-flow__swarm_init { topology: "hierarchical", strategy: "adaptive", maxAgents: 8 }
mcp__claude-flow__sparc_mode { mode: "orchestrator", task_description: "coordinate feature dev" }
mcp__claude-flow__swarm_status { swarmId: "current" }
```

## References

- **[references/modes.md](references/modes.md)** — the five phases in depth and all 17 modes (capabilities, quality standards, usage snippets).
- **[references/orchestration.md](references/orchestration.md)** — activation methods (MCP / NPX / local), the five swarm topologies, and the complete TDD + red-green-refactor workflows.
- **[references/cookbook.md](references/cookbook.md)** — best practices (Memory, batching, hooks, coverage, file layout), worked integration examples (full-stack, innovation, legacy refactor), common CLI workflows, advanced features (neural training, cross-session memory, GitHub, monitoring), and performance context.

## Working principles

- **Memory for coordination**: store architectural decisions and share across agents/sessions (`memory_store` / `memory_retrieve`).
- **Batch related operations** in a single message rather than one call per message.
- **Wire hooks** (`pre-task` / `post-edit` / `post-task`) for lifecycle coordination.
- **Target ~90% coverage** and document as you build.
See `references/cookbook.md` for the full detail on each.
Files in this package (4)
  • SKILL.md 5 KB
  • references/cookbook.md 10 KB
  • references/modes.md 8 KB
  • references/orchestration.md 5 KB

Versions

RepositoryScoreLicence
This page · dreamlab-ai/agentbox100AGPL-3.0
frankxai/claude-skills-library100MIT
ruvnet/ruflo100MIT

Database snapshot: 13.11.2026 · package version c67d2af9f9b3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100bhil-methodology
    Pick this over `sparc-methodology` when the deliverable is the ARTEFACT TRAIL — PRD/SPEC/ADR/TASK traceability, AI-native decision records, eval suites and guardrails. `sparc-methodology` is the five-phase build cycle that produces code; this is the governance spine around it.…
  • 100sparc
    Run an engineering goal through the gated SPARC phases when the user wants a new implementation, integration, redesign, or other substantial delivery workflow.
  • 100sparc-review
    Audit an existing SPARC run without changing it when the user asks for gate readiness, trace integrity, evidence coverage, or an independent delivery review.
  • 90design-pseudocode
    Design a routine by stepwise refinement — pseudocode the intent before coding, then promote it to comments. Use when designing a complex function or non-trivial algorithm.
  • 100flow-next-spec-completion-review
    Spec completion review - verifies all spec tasks implement the spec requirements. Triggers on /flow-next:spec-completion-review.
  • 100tdd-cycle
    Strict red-green-refactor discipline with observed failures. Read when running /tdd, /sparc refinement, or whenever implementing behavior test-first, or when a test passes suspiciously on its first run.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.