This document describes how the 9 agents in claude-superpowers work together to handle complex development tasks.
Coordinates the 9-agent claude-superpowers system to handle complex development workflows. Use it to plan multi-step tasks like feature implementation, bug fixes, security audits, and refactoring that require coordinated agent handoffs.
/plugin marketplace add mjohnson518/claude_superpowers/plugin install mjohnson518-claude-superpowers@mjohnson518/claude_superpowersThis document describes how the 9 agents in claude-superpowers work together to handle complex development tasks.
| Agent | Purpose | Primary Trigger |
|---|---|---|
orchestrator | Coordinate multi-step tasks | Complex features, "improve" |
git-executor | Git operations | Commits, branches |
code-reviewer | Quality assessment | Code changes, PRs |
security-auditor | Vulnerability detection | Auth, data handling |
debugger | Bug investigation | Errors, failures |
docs-writer | Documentation | READMEs, API docs |
test-runner | Test execution | Validation, CI |
refactorer | Code improvement | Technical debt |
test-architect | Test strategy | Coverage gaps |
User Request
│
▼
┌─────────────────┐
│ orchestrator │ Plans the feature implementation
└────────┬────────┘
│
┌────┴────┐
▼ ▼
┌───────┐ ┌───────────────┐
│ Write │ │ test-architect│ Design tests
│ Code │ └───────┬───────┘
└───┬───┘ │
│ ▼
│ ┌─────────────┐
│ │ test-runner │ Run initial tests
│ └──────┬──────┘
│ │
└──────┬──────┘
▼
┌─────────────────┐
│ code-reviewer │ Quality check
└────────┬────────┘
│
┌────────┴────────┐
▼ ▼
┌───────────────┐ ┌─────────────────┐
│security-auditor│ │ docs-writer │
└───────┬───────┘ └────────┬────────┘
│ │
└────────┬─────────┘
▼
┌─────────────┐
│ git-executor│ Commit changes
└─────────────┘
Bug Report
│
▼
┌─────────────┐
│ debugger │ Investigate root cause
└──────┬──────┘
│
▼
┌──────────────┐
│ Fix Code │
└──────┬───────┘
│
▼
┌─────────────┐
│ test-runner │ Verify fix
└──────┬──────┘
│
▼
┌─────────────────┐
│ code-reviewer │ Review fix
└────────┬────────┘
│
▼
┌─────────────┐
│ git-executor│ Commit
└─────────────┘
Audit Request
│
▼
┌───────────────────┐
│ security-auditor │ Scan for vulnerabilities
└─────────┬─────────┘
│
┌─────┴─────┐
│ Findings? │
└─────┬─────┘
│ Yes
▼
┌───────────┐
│ debugger │ Investigate each finding
└─────┬─────┘
│
▼
┌───────────────┐
│ Fix Critical │
└───────┬───────┘
│
▼
┌─────────────┐
│ test-runner │ Verify fixes
└──────┬──────┘
│
▼
┌─────────────┐
│ docs-writer │ Document security changes
└──────┬──────┘
│
▼
┌─────────────┐
│ git-executor│ Commit
└─────────────┘
Refactor Request
│
▼
┌─────────────┐
│ test-runner │ Establish baseline
└──────┬──────┘
│
▼
┌─────────────┐
│ refactorer │ Improve code structure
└──────┬──────┘
│
▼
┌─────────────┐
│ test-runner │ Verify no regression
└──────┬──────┘
│
▼
┌─────────────────┐
│ code-reviewer │ Review changes
└────────┬────────┘
│
▼
┌─────────────┐
│ docs-writer │ Update documentation
└──────┬──────┘
│
▼
┌─────────────┐
│ git-executor│ Commit
└─────────────┘
git-executortest-runner - Tests must passcode-reviewer - For significant changessecurity-auditor - For auth/data changes| Gate | Required Agent | Blocking? |
|---|---|---|
| Pre-commit | test-runner | Yes |
| Security check | security-auditor | Yes for critical |
| Code review | code-reviewer | Yes if score < 7 |
| Documentation | docs-writer | No |
These agents can run in parallel:
security-auditor + code-reviewerdocs-writer + test-runner (after implementation)test-architect + initial explorationIMPORTANT: The git-executor agent uses your locally configured git identity.
Configure before use:
git config user.name "Your Name"
git config user.email "your-email@example.com"
Commit message rules:
When using ralph-loop workflow, agents are typically:
Example ralph-loop integration:
REQUIRED AGENTS:
- Use orchestrator for task planning
- Use code-reviewer before committing
- Use security-auditor for any auth changes
| Agent | Trigger Phrases |
|---|---|
| orchestrator | "improve", "refactor codebase", "implement feature" |
| code-reviewer | "review code", "check quality", "before commit" |
| security-auditor | "security scan", "check vulnerabilities", "audit" |
| debugger | "bug", "error", "not working", "fix" |
| docs-writer | "document", "README", "API docs" |
| test-runner | "run tests", "validate", "check CI" |
| refactorer | "clean up", "technical debt", "simplify" |
| test-architect | "test strategy", "coverage", "what tests" |
| git-executor | "commit", "push", "create branch" |
agents/test-runner to verify stateYou are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.