[2.30.0] Add orchestrating-swarms skill, /slfg command, and swarm mode (#151)

- New skill: orchestrating-swarms — comprehensive guide to multi-agent
  swarm orchestration with TeammateTool operations, spawn backends,
  task dependencies, and orchestration patterns
- New command: /slfg — swarm-enabled variant of /lfg that parallelizes
  review + browser tests after work phase, then resolves and records video
- Updated /workflows:work with optional Swarm Mode section
- Added missing skills (brainstorming, orchestrating-swarms) to README
- Added missing commands (/lfg, /slfg) to README

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kieran Klaassen
2026-02-05 12:25:50 -06:00
committed by GitHub
parent 2429f59529
commit e4ff6a874c
7 changed files with 1851 additions and 5 deletions

View File

@@ -11,8 +11,8 @@
"plugins": [ "plugins": [
{ {
"name": "compound-engineering", "name": "compound-engineering",
"description": "AI-powered development tools that get smarter with every use. Make each unit of engineering work easier than the last. Includes 29 specialized agents, 24 commands, and 16 skills.", "description": "AI-powered development tools that get smarter with every use. Make each unit of engineering work easier than the last. Includes 29 specialized agents, 25 commands, and 16 skills.",
"version": "2.29.0", "version": "2.30.0",
"author": { "author": {
"name": "Kieran Klaassen", "name": "Kieran Klaassen",
"url": "https://github.com/kieranklaassen", "url": "https://github.com/kieranklaassen",

View File

@@ -1,7 +1,7 @@
{ {
"name": "compound-engineering", "name": "compound-engineering",
"version": "2.29.0", "version": "2.30.0",
"description": "AI-powered development tools. 29 agents, 24 commands, 16 skills, 1 MCP server for code review, research, design, and workflow automation.", "description": "AI-powered development tools. 29 agents, 25 commands, 16 skills, 1 MCP server for code review, research, design, and workflow automation.",
"author": { "author": {
"name": "Kieran Klaassen", "name": "Kieran Klaassen",
"email": "kieran@every.to", "email": "kieran@every.to",

View File

@@ -5,6 +5,25 @@ All notable changes to the compound-engineering plugin will be documented in thi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.30.0] - 2026-02-05
### Added
- **`orchestrating-swarms` skill** - Comprehensive guide to multi-agent orchestration
- Covers primitives: Agent, Team, Teammate, Leader, Task, Inbox, Message, Backend
- Documents two spawning methods: subagents vs teammates
- Explains all 13 TeammateTool operations
- Includes orchestration patterns: Parallel Specialists, Pipeline, Self-Organizing Swarm
- Details spawn backends: in-process, tmux, iterm2
- Provides complete workflow examples
- **`/slfg` command** - Swarm-enabled variant of `/lfg` that uses swarm mode for parallel execution
### Changed
- **`/workflows:work` command** - Added optional Swarm Mode section for parallel execution with coordinated agents
---
## [2.29.0] - 2026-02-04 ## [2.29.0] - 2026-02-04
### Added ### Added

View File

@@ -7,7 +7,7 @@ AI-powered development tools that get smarter with every use. Make each unit of
| Component | Count | | Component | Count |
|-----------|-------| |-----------|-------|
| Agents | 29 | | Agents | 29 |
| Commands | 24 | | Commands | 25 |
| Skills | 16 | | Skills | 16 |
| MCP Servers | 1 | | MCP Servers | 1 |
@@ -87,6 +87,8 @@ Core workflow commands use `workflows:` prefix to avoid collisions with built-in
| Command | Description | | Command | Description |
|---------|-------------| |---------|-------------|
| `/lfg` | Full autonomous engineering workflow |
| `/slfg` | Full autonomous workflow with swarm mode for parallel execution |
| `/deepen-plan` | Enhance plans with parallel research agents for each section | | `/deepen-plan` | Enhance plans with parallel research agents for each section |
| `/changelog` | Create engaging changelogs for recent merges | | `/changelog` | Create engaging changelogs for recent merges |
| `/create-agent-skill` | Create or edit Claude Code skills | | `/create-agent-skill` | Create or edit Claude Code skills |
@@ -127,10 +129,17 @@ Core workflow commands use `workflows:` prefix to avoid collisions with built-in
| Skill | Description | | Skill | Description |
|-------|-------------| |-------|-------------|
| `brainstorming` | Guided ideation for exploring requirements and approaches |
| `every-style-editor` | Review copy for Every's style guide compliance | | `every-style-editor` | Review copy for Every's style guide compliance |
| `file-todos` | File-based todo tracking system | | `file-todos` | File-based todo tracking system |
| `git-worktree` | Manage Git worktrees for parallel development | | `git-worktree` | Manage Git worktrees for parallel development |
### Multi-Agent Orchestration
| Skill | Description |
|-------|-------------|
| `orchestrating-swarms` | Comprehensive guide to multi-agent swarm orchestration |
### File Transfer ### File Transfer
| Skill | Description | | Skill | Description |

View File

@@ -0,0 +1,31 @@
---
name: slfg
description: Full autonomous engineering workflow using swarm mode for parallel execution
argument-hint: "[feature description]"
---
Swarm-enabled LFG. Run these steps in order, parallelizing where indicated.
## Sequential Phase
1. `/ralph-wiggum:ralph-loop "finish all slash commands" --completion-promise "DONE"`
2. `/workflows:plan $ARGUMENTS`
3. `/compound-engineering:deepen-plan`
4. `/workflows:work`**Use swarm mode**: Make a Task list and launch an army of agent swarm subagents to build the plan
## Parallel Phase
After work completes, launch steps 5 and 6 as **parallel swarm agents** (both only need code to be written):
5. `/workflows:review` — spawn as background Task agent
6. `/compound-engineering:test-browser` — spawn as background Task agent
Wait for both to complete before continuing.
## Finalize Phase
7. `/compound-engineering:resolve_todo_parallel` — resolve any findings from the review
8. `/compound-engineering:feature-video` — record the final walkthrough and add to PR
9. Output `<promise>DONE</promise>` when video is in PR
Start with step 1 now.

View File

@@ -292,6 +292,76 @@ This command takes a work document (plan, specification, or todo file) and execu
--- ---
## Swarm Mode (Optional)
For complex plans with multiple independent workstreams, enable swarm mode for parallel execution with coordinated agents.
### When to Use Swarm Mode
| Use Swarm Mode when... | Use Standard Mode when... |
|------------------------|---------------------------|
| Plan has 5+ independent tasks | Plan is linear/sequential |
| Multiple specialists needed (review + test + implement) | Single-focus work |
| Want maximum parallelism | Simpler mental model preferred |
| Large feature with clear phases | Small feature or bug fix |
### Enabling Swarm Mode
To trigger swarm execution, say:
> "Make a Task list and launch an army of agent swarm subagents to build the plan"
Or explicitly request: "Use swarm mode for this work"
### Swarm Workflow
When swarm mode is enabled, the workflow changes:
1. **Create Team**
```
Teammate({ operation: "spawnTeam", team_name: "work-{timestamp}" })
```
2. **Create Task List with Dependencies**
- Parse plan into TaskCreate items
- Set up blockedBy relationships for sequential dependencies
- Independent tasks have no blockers (can run in parallel)
3. **Spawn Specialized Teammates**
```
Task({
team_name: "work-{timestamp}",
name: "implementer",
subagent_type: "general-purpose",
prompt: "Claim implementation tasks, execute, mark complete",
run_in_background: true
})
Task({
team_name: "work-{timestamp}",
name: "tester",
subagent_type: "general-purpose",
prompt: "Claim testing tasks, run tests, mark complete",
run_in_background: true
})
```
4. **Coordinate and Monitor**
- Team lead monitors task completion
- Spawn additional workers as phases unblock
- Handle plan approval if required
5. **Cleanup**
```
Teammate({ operation: "requestShutdown", target_agent_id: "implementer" })
Teammate({ operation: "requestShutdown", target_agent_id: "tester" })
Teammate({ operation: "cleanup" })
```
See the `orchestrating-swarms` skill for detailed swarm patterns and best practices.
---
## Key Principles ## Key Principles
### Start Fast, Execute Faster ### Start Fast, Execute Faster

File diff suppressed because it is too large Load Diff