home / skills / everyinc / compound-engineering-plugin / slfg
This skill orchestrates swarm-enabled autonomous engineering workflows to plan, deepen, and execute tasks in parallel, accelerating delivery and reducing risks.
npx playbooks add skill everyinc/compound-engineering-plugin --skill slfgReview the files below or copy the command above to add this skill to your agents.
---
name: slfg
description: Full autonomous engineering workflow using swarm mode for parallel execution
argument-hint: "[feature description]"
disable-model-invocation: true
---
Swarm-enabled LFG. Run these steps in order, parallelizing where indicated. Do not stop between steps — complete every step through to the end.
## Sequential Phase
1. **Optional:** If the `ralph-wiggum` skill is available, run `/ralph-wiggum:ralph-loop "finish all slash commands" --completion-promise "DONE"`. If not available or it fails, skip and continue to step 2 immediately.
2. `/ce:plan $ARGUMENTS`
3. **Conditionally** run `/compound-engineering:deepen-plan`
- Run the `deepen-plan` workflow only if the plan is `Standard` or `Deep`, touches a high-risk area (auth, security, payments, migrations, external APIs, significant rollout concerns), or still has obvious confidence gaps in decisions, sequencing, system-wide impact, risks, or verification
- If you run the `deepen-plan` workflow, confirm the plan was deepened or explicitly judged sufficiently grounded before moving on
- If you skip it, note why and continue to step 4
4. `/ce: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. `/ce: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.
This skill implements a full autonomous engineering workflow that runs sequential and parallel phases using swarm mode for high-parallelism execution. It orchestrates planning, optional plan deepening, distributed work via agent swarms, parallel review and browser testing agents, and final resolution and walkthrough recording. The skill finishes by placing a video walkthrough into the PR and signaling completion.
Run the workflow start-to-finish without pausing between steps. It optionally invokes a housekeeping slash command, creates a plan, conditionally deepens that plan when risk or confidence gaps exist, and then launches a swarm of subagents to execute the work tasks. After work, it spawns parallel background swarm agents for review and browser testing, resolves any findings, records a feature walkthrough video into the PR, and outputs a completion promise.
What happens if the optional housekeeping command fails?
The workflow skips that step and proceeds immediately to planning; failing it does not block execution.
When is deepen-plan required?
Run deepen-plan when the plan is Standard/Deep or when there are high-risk areas or obvious confidence gaps; if skipped, record why and confirm readiness to proceed.