swarm-plan

Decompose an approved specification into a dependency-ordered swarm plan.

5|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/friedbotstudio/baseline --skill swarm-plan-friedbotstudio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm-plan
Source: https://github.com/friedbotstudio/baseline/tree/main/.claude/skills/swarm-plan
Command: npx skills add https://github.com/friedbotstudio/baseline --skill swarm-plan-friedbotstudio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It converts an approved specification into a clear, dependency-ordered execution plan so complex work can be split safely across multiple contributors.

Core Features & Use Cases

  • Task Decomposition: Breaks one spec into one task per component with explicit ownership and acceptance criteria coverage.
  • Conflict-Free Parallelism: Groups tasks into waves using disjoint write sets so independent work can run in parallel without collisions.
  • Workflow Planning: Supports implementation pipelines that need a validated plan before execution, such as staged feature delivery or multi-module refactors.

Quick Start

Ask the skill to decompose an approved spec for a chosen slug into a swarm plan and save the result in .claude/state/swarm.

Frequently Asked Questions about swarm-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompose a software specification into parallel execution tasks?

Task decomposition for parallel execution breaks an approved specification into one task per component with explicit file ownership. This generates a dependency-ordered swarm plan that assigns deterministic execution waves for conflict-free parallel dispatch across multiple contributors.

How does dependency graph planning prevent file write conflicts during parallel task execution?

Dependency graph planning prevents write conflicts by grouping tasks into execution waves using disjoint write sets. Each component task receives explicit file ownership, ensuring independent work runs in parallel without collisions across the validated swarm plan.

What is a swarm workflow plan and when do I need one for multi-component implementation?

A swarm workflow plan is a dependency-ordered execution structure that splits complex work safely across multiple contributors. You need one for multi-component implementation efforts requiring one task per component, explicit write sets, and parallelizable execution waves before dispatch.

Can I generate a parallel task plan from a spec without pre-approving the specification?

Generating a parallel task plan requires an approved specification as input to decompose it into a dependency-ordered swarm plan. The specification must be approved first to ensure the resulting task decomposition accurately reflects validated acceptance criteria and component boundaries.

What format does the dependency-ordered swarm plan output use for execution wave assignment?

The dependency-ordered swarm plan outputs a validated JSON file saved in the .claude/state/swarm directory. This plan file contains dependency references, explicit file ownership write sets, and deterministic wave assignment structured for conflict-free dispatch.

What are the limitations of using execution waves for multi-module refactoring task planning?

Execution waves for multi-module refactoring require disjoint write sets, meaning tasks with overlapping file dependencies cannot run in the same wave. This limits parallelism when components share significant file ownership, forcing sequential wave execution for conflict avoidance.