Specswarm
SDD Specification driven development orchestration plugins for Claude Code.
Install / Use
/learn @MartyBonacci/SpecswarmQuality Score
Category
Development & EngineeringSupported Platforms
README
SpecSwarm v5.2.0
Complete Software Development Toolkit
Build, fix, maintain, and analyze your entire software project with one unified plugin.
Overview
SpecSwarm is a comprehensive Claude Code plugin for the complete software development lifecycle across any language or framework Claude supports:
- ✅ Spec-Driven Development - Specification to implementation
- 🐛 Bug Management - Systematic fixing with regression testing
- 🔧 Code Maintenance - Refactoring and feature modification
- 📊 Quality Assurance - Automated validation (0-100 scoring)
- 🗣️ Natural Language - Talk to SpecSwarm like a teammate
- 🔌 MCP Auto-Detection - Configures MCP servers for your tech stack
10 Commands | MCP Integration | Production Ready
Installation
# 1. Add the marketplace
/plugin marketplace add MartyBonacci/specswarm
# 2. Install the plugin
/plugin install specswarm@specswarm-marketplace
# 3. (Optional) Install /ss: shortcuts
/plugin install ss@specswarm-marketplace
Restart Claude Code to activate the plugin.
Quick Start
One-Command Workflow
# Initialize your project
/specswarm:init
That's it! Now you can use natural language:
"Build user authentication with JWT"
"Fix the login button on mobile"
"Change authentication from session to JWT"
"Ship this feature"
SpecSwarm automatically runs the right workflow based on your intent.
Core Commands
These 5 commands handle the vast majority of daily development work.
1. /specswarm:init
Initialize SpecSwarm in your project
/specswarm:init
Creates .specswarm/ directory with:
tech-stack.md- Prevent technology driftquality-standards.md- Quality gates and budgetsconstitution.md- Project governance
Use when: First-time project setup, or to refresh tech-stack and constitution after external changes
2. /specswarm:build
Build new features from specification to implementation
/specswarm:build "feature description"
Natural language:
"Build user authentication with JWT"
"Create a payment processing system"
"Add dashboard analytics"
Complete workflow:
- Creates specification
- Asks clarifying questions
- Generates implementation plan
- Breaks down into tasks
- Implements all tasks
- Validates quality (0-100 score)
Quick mode for small tasks:
/specswarm:build "add loading spinner" --quick
Skips clarification, auto-generates micro-spec, and executes immediately.
Use when: Building any new feature
3. /specswarm:fix
Fix bugs with regression testing and auto-retry
/specswarm:fix "bug description"
Natural language:
"Fix the login button on mobile"
"Images don't load"
"Tailwind styles not showing up"
Complete workflow:
- Creates regression test
- Analyzes root cause
- Implements fix
- Validates with tests
- Auto-retries on failure (max 2 attempts)
Use when: Fixing any bug or broken functionality
4. /specswarm:modify
Change existing feature behavior with impact analysis
/specswarm:modify "modification description"
Natural language:
"Change authentication from session to JWT"
"Add pagination to user list API"
"Update search to use full-text search"
Complete workflow:
- Analyzes impact on existing code
- Identifies breaking changes
- Creates migration plan
- Updates specification and plan
- Implements modifications
- Validates against regression tests
Use when:
- Features that work but need to work differently
- NOT for bugs (use
/specswarm:fix) - NOT for code quality (use
/specswarm:modify "..." --refactor)
5. /specswarm:ship
Validate quality, merge to parent branch, and complete feature
/specswarm:ship
Natural language:
"Ship this feature" ⚠️ (requires confirmation)
"Deploy to production" ⚠️ (requires confirmation)
Complete workflow:
- Runs comprehensive quality analysis
- Checks quality threshold (default 80%)
- Shows merge plan with confirmation
- Merges to parent branch
- Deletes feature branch
⚠️ DESTRUCTIVE OPERATION - Always requires explicit "yes" confirmation
Use when:
- Feature is complete and tested
- Quality score meets threshold
- Ready to merge to main/production
Natural Language Commands
Just Talk to SpecSwarm
Instead of memorizing slash commands, describe what you want in plain English:
Build a Feature:
"Build user authentication with JWT"
"Create a payment processing system"
Fix a Bug:
"Fix the login button"
"Images don't load"
"Styles not showing up"
Modify Existing Features:
"Change authentication to use JWT"
"Add pagination to the API"
Ship Features:
"Ship this feature" ⚠️ (always requires confirmation)
"Merge to main" ⚠️ (always requires confirmation)
Skill-Based Routing
SpecSwarm uses keyword matching to route natural language to the right workflow:
- Clear intent (e.g., "build", "fix", "ship"): Routes directly to the matching command
- Ambiguous intent: Asks for clarification before proceeding
Safety Features
🛡️ SHIP Protection: SHIP commands ALWAYS require explicit confirmation — destructive operations are never auto-executed
🎯 Slash Commands Still Work: All slash commands work exactly as before
Additional Commands
Beyond the 5 core commands, SpecSwarm provides 5 more visible commands for distinct workflows:
| Command | Purpose |
|---------|---------|
| /specswarm:release | Version bump + changelog + tag + publish |
| /specswarm:upgrade | Dependency/framework upgrades with compatibility analysis |
| /specswarm:rollback | Undo a failed feature safely |
| /specswarm:status | Check background session progress |
| /specswarm:metrics | Feature analytics dashboard (--export for CSV) |
Flags on Core Commands
Many workflows that were previously separate commands are now flags:
| Flag | On Command | Replaces |
|------|-----------|----------|
| --analyze | build | Cross-artifact consistency analysis |
| --checklist | build | Requirements validation checklist |
| --coordinate | fix | Multi-bug orchestrated debugging |
| --refactor | modify | Behavior-preserving quality improvement |
| --deprecate | modify | Phased feature sunset |
| --analyze-only | modify | Impact analysis without implementation |
| --security-audit | ship | Comprehensive security scan before merge |
Internal Commands
11 commands are available for re-running individual steps but hidden from the main listing:
specify, clarify, plan, tasks, implement, validate, analyze-quality, bugfix, hotfix, complete, constitution
See complete documentation: COMMANDS.md
/ss: Commands
Requires the ss plugin: /plugin install ss@specswarm-marketplace
Migration notice:
/specswarm:commands are being migrated to/ss:equivalents. Both work identically today. In a future major version,/ss:will become the primary plugin.
Every visible command has an /ss: equivalent:
| Shortcut | Equivalent |
|----------|-----------|
| /ss:build | /specswarm:build |
| /ss:fix | /specswarm:fix |
| /ss:modify | /specswarm:modify |
| /ss:ship | /specswarm:ship |
| /ss:init | /specswarm:init |
| /ss:release | /specswarm:release |
| /ss:upgrade | /specswarm:upgrade |
| /ss:rollback | /specswarm:rollback |
| /ss:status | /specswarm:status |
| /ss:metrics | /specswarm:metrics |
All flags work identically: /ss:build "feature" --quick
Key Features
Quality Validation (0-100 Points)
Automated scoring across 4 dimensions:
- Unit Tests (30 pts) - Proportional by pass rate
- Code Coverage (30 pts) - Proportional by coverage %
- Integration Tests (20 pts) - API/service testing
- Browser Tests (20 pts) - E2E user flows
See details: Features: Quality System
Tech Stack Management
Drift prevention through automatic validation:
# .specswarm/tech-stack.md
## Core Technologies
- React Router v7
- PostgreSQL 17.x
## Approved Libraries
- Zod v4+ (validation)
## Prohibited
- ❌ Redux (use React Router loaders/actions)
SpecSwarm validates at plan, task, and implementation phases.
See details: Features: Tech Stack
MCP Server Auto-Detection
/ss:init detects your tech stack and configures MCP servers automatically:
- Context7 — Version-specific docs for all dependencies (prevents outdated API usage)
- Supabase/Firebase — Direct database and auth management
- Playwright — Browser automation for visual validation and E2E testing
- GitHub/GitLab — PR management and issue tracking
- Dynamic discovery — Searches for official MCP servers for any detected dependency
Commands automatically leverage configured MCP servers:
/ss:builduses Context7 to look up current framework docs before implementing/ss:fixuses Context7 for API verification + Playwright for before/after screenshots/ss:shipuses Playwright for browser smoke tests before merging
Language Agnostic
SpecSwarm's core workflow (specify, clarify, plan, tasks, implement, ship) works with any language or framework Claude can read. There is no language-specific tooling — Claude handles the code understanding and generation.
The quality analysis step includes test runner detection for common frameworks (Vitest, Jest, Pytest, go test, RSpec, PHPUnit, cargo test, JUnit) as a convenience for automated scoring.
Best Practices
- Run
/ss:initfirst — Sets up foundation + configures MCP servers - Define tech-stack.md early — Prevents technology drift
- Install MCP servers — Context7 alone preve
