swarm-plan
БесплатноБез исполняемых скриптовНе проверенDecompose a feature into an actionable implementation plan using parallel worker-explorer swarms — a user-invoked Planning Orchestrator workflow.
от dralgorhythm★ 136 звёзд на GitHubОб этом скилле
Planning Orchestrator
Decompose features into actionable plans using parallel exploration swarms.
MCP Tools
Sequential Thinking (structured analysis):
- Complex requirement decomposition
- Trade-off evaluation for approach selection
- Risk assessment for implementation choices
Context7 (library research):
- Research existing patterns in libraries
- Validate technology choices from Tech Strategy
Planning Workflow
- Explore — Launch 3-6 worker-explorer agents to research existing patterns, dependencies, constraints, and prior art
- Classify — Determine decision reversibility (Two-Way Door vs One-Way Door)
- Document — Create appropriate artifacts based on scope
- Decompose — Break into right-sized tasks: roughly 200-400 changed LOC or 15-45 minutes of focused work each — review effectiveness collapses beyond ~400 LOC (SmartBear/Cisco). Shape every unit to be independently mergeable to
main(trunk-based, per core-directives): dependencies resolve by merge order, not by stacking branches - Track — Record tasks in the native task list for implementation tracking
Decision Framework
| Decision Type | Reversibility | Required Artifacts |
|---|---|---|
| Two-Way Door | Easy to reverse | PR description only |
| One-Way Door (Medium) | Moderate effort | RFC + Design excerpt |
| One-Way Door (High) | Expensive/impossible | Full ADR + Stakeholder review |
Artifact Requirements
Small Feature (1-3 days)
plan_[feature].md— Implementation steps only
Medium Feature (1-2 weeks)
prd_[feature].md— Requirementsplan_[feature].md— Implementation steps
Large Feature (2+ weeks)
pr_faq_[feature].md— Vision and customer valueprd_[feature].md— Detailed requirementsadr_[key-decision].md— Architectural decisions (format:writing-adrsskill; template bundled withdesigning-systemsatresources/adr.template.md)plan_[feature].md— Implementation steps
Worker Types
| Worker | Primary Use |
|---|---|
worker-explorer |
Fast codebase search, web research, dependency mapping |
worker-builder |
Implementation, testing, refactoring |
worker-reviewer |
Code review, security audit, quality assessment |
worker-research |
Deep multi-source investigation, technology evaluation |
worker-architect |
Complex design decisions, ADRs, system architecture |
Model tiers are pinned in each agent's frontmatter (.claude/agents/) — that is the single source of truth.
Swarm Patterns
Parallel Exploration
Orchestrator spawns 4-8 worker-explorer agents simultaneously
Each searches different parts of codebase
Results aggregated for next phase
Divide and Conquer
1. worker-architect designs solution
2. Orchestrator decomposes into N tasks
3. N worker-builder agents execute in parallel
4. worker-reviewer validates each output
5. Orchestrator integrates
Security Sweep
worker-reviewer (focus: security) scans all components in parallel
Findings aggregated and prioritized
worker-builder fixes critical/high issues
Parallel Exploration Pattern
# Launch exploration workers in parallel via Task tool
# Each worker focuses on one aspect:
# - Existing patterns in codebase
# - External dependencies and APIs
# - Security and performance constraints
# - Related ADRs and design specs
Task Creation
Use TaskCreate to record implementation tasks, each with clear acceptance criteria:
TaskCreate— "Implement [feature]" (epic-level task)TaskCreate— "[Task 1: Foundation]" with acceptance criteriaTaskCreate— "[Task 2: Core Logic]" with acceptance criteria
Link dependencies with TaskUpdate (addBlockedBy): Task 2 gets Task 1 added to its blockedBy list so it can't start until Task 1 completes.
Performance Tips
- Launch multiple explorers for broad searches
- Use worker-architect for decisions, worker-builder for execution
- Parallelize independent tasks (max 8 concurrent workers)
- For large dispatch batches, declare a token/wave ceiling up front — see
swarm-coordination's Budget & Waves section - Keep worker prompts under 500 tokens for fast startup
Constraints
- NO skipping artifact creation for features > 3 days
- NO creating tasks without clear acceptance criteria
- NO assuming context — explore codebase first
- ALWAYS use parallel workers for research phase
- ALWAYS store artifacts in
./artifacts/ - ALWAYS record implementation tasks with acceptance criteria before declaring planning complete
- ALWAYS validate arguments before using in commands
- NO plans that require stacked PR chains or integration branches — every planned unit merges to
mainon its own; a dependent unit branches frommainafter its prerequisite lands
Output
Every planning session MUST produce:
- Artifact(s) in
./artifacts/following naming conventions - Tasks (via
TaskCreate) for all implementation work, each
Установить swarm-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл swarm-plan?
Decompose a feature into an actionable implementation plan using parallel worker-explorer swarms — a user-invoked Planning Orchestrator workflow.
Как установить скилл swarm-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл swarm-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic