ワンクリックで
swarm
General-purpose parallel subagent orchestration. Trigger: swarm, parallel, spawn agents, multi-agent, concurrent
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
General-purpose parallel subagent orchestration. Trigger: swarm, parallel, spawn agents, multi-agent, concurrent
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a new feature using TDD and tracer bullets. Trigger: new feature, add feature, implement feature, build feature
Break features into tracer bullet stories and tasks. Trigger: decompose, break down, split feature, tracer bullet, stories, tasks, decompose feature
Deploy to staging or production with safety checks. Trigger: deploy, ship, release, push to staging, push to production
Build or update .context.md for a module. Trigger: explore module, explore, understand module, what does this module do, context file, update context
Fix a bug with root cause analysis and regression testing. Trigger: fix bug, broken, regression, error, crash, not working, failing
Run linters, formatters, and static analysis. Trigger: lint, format, standards, style check, code quality, lint setup
| name | swarm |
| description | General-purpose parallel subagent orchestration. Trigger: swarm, parallel, spawn agents, multi-agent, concurrent |
Flexibly spawn and manage parallel subagents for any task that benefits from concurrent execution. This is the low-level orchestration skill — use /team-review or /team-implement for those specific workflows.
/team-review or /team-implement/swarm [description] — describe what you need, lead designs the subagent team/swarm research [question] — spawn a research swarm/swarm debug [issue] — spawn competing hypothesis debuggers/swarm migrate [scope] — spawn parallel migration workersBefore spawning, the lead MUST:
Present the plan to the user:
## Swarm Plan
**Objective:** [what the swarm will accomplish]
**Subagents:** [N]
**Estimated scope:** [files/modules affected]
### Subagents
| # | Role | Type | subagent_type | Files Owned | Depends On |
|---|------|------|---------------|-------------|------------|
| 1 | [role] | Writer | production-code-engineer | [files] | — |
| 2 | [role] | Writer | code-shell-expert | [files] | — |
| 3 | [role] | Reader (critic) | senior-code-reviewer | — | 1, 2 |
### Adversarial Checks
- Writers: [list]
- Reviewers: [list] (MUST be disjoint from writers)
Wait for user approval before spawning. (Skip if "just do it" mode is active.)
Use the Task tool with appropriate subagent_type values. Spawn independent subagents in the SAME response for parallel execution.
Available subagent types:
| subagent_type | Best For |
|---|---|
senior-code-reviewer | Code review, architecture review, test review |
security-code-auditor | Security audits, vulnerability analysis |
production-code-engineer | Writing production code, implementing features |
code-shell-expert | Shell scripts, system administration, infra code |
Explore | Codebase research, finding files, understanding patterns |
Plan | Designing implementation approaches |
# Example: Research swarm (all read-only, spawn all at once)
Task(subagent_type="Explore",
prompt="Trace the data flow from API endpoints to database for /users. Report the full path.")
Task(subagent_type="Explore",
prompt="Find all places where UserSession is created or modified. List files and line numbers.")
Task(subagent_type="Explore",
prompt="Check git history for recent changes to the auth module. Summarize what changed and why.")
After all subagents complete:
make check on combined result (if code was written)## Swarm Summary
**Objective:** [what was accomplished]
**Subagents:** [N], [N] rounds of adversarial review
**Quality Score:** [N]/100
### Subagent Results
| # | Role | Status | Key Output |
|---|------|--------|------------|
| 1 | [role] | Complete | [1-line summary] |
| 2 | [role] | Complete | [1-line summary] |
| 3 | [role] | Complete | [1-line summary] |
### Files Modified
- [list with ownership attribution]
### Verification
- make check: PASS/FAIL
- Quality score: [N]/100
### Findings / Deliverables
[Main output — research findings, implemented features, migration report, etc.]
/swarm research "How does the auth system work?"
Spawn 3-4 Explore subagents in parallel (all read-only):
1: Trace code flow from API endpoints
2: Read tests to understand expected behavior
3: Search for configuration and docs
4: Check git history for recent changes
Zero conflict risk. Maximum parallel exploration.
/swarm debug "Login fails intermittently"
Spawn 3-4 Explore subagents in parallel (all read-only):
1: Check for race conditions in session handling
2: Analyze database query patterns for timeouts
3: Review recent changes to auth module via git blame
4: Search for related error patterns
Each forms a hypothesis → lead synthesizes findings.
/swarm migrate "Update all API handlers to new error format"
Phase 1 — Spawn writers in parallel (one per module):
Task(subagent_type="production-code-engineer", prompt="Migrate src/handlers/auth/*...")
Task(subagent_type="production-code-engineer", prompt="Migrate src/handlers/users/*...")
Task(subagent_type="production-code-engineer", prompt="Migrate src/handlers/payments/*...")
Phase 2 — After writers finish, spawn reviewer:
Task(subagent_type="senior-code-reviewer", prompt="Review all migrated files...")
Clear file ownership. Critic reviews AFTER all writers finish.