Files
claude-engineering-plugin/plugins/compound-engineering/commands/slfg.md
Kieran Klaassen d314d7fa2a fix: resolve first-run workflow failures (2.35.0)
- fix(lfg, slfg): make ralph-loop step optional — graceful fallback
  when ralph-wiggum skill not installed (#154); add explicit
  "do not stop" instruction across all pipeline steps (#134)
- fix(plan): add mandatory "Write Plan File" step with explicit Write
  tool instructions before post-generation options — plan always
  written to disk even in LFG/SLFG pipeline context (#155, #134)
- fix(plan): use full qualified agent name for spec-flow-analyzer
  to prevent Claude prepending wrong 'workflows:' prefix (#193)

Closes #154, #155, #193
Contributing to #134

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 10:42:42 -08:00

33 lines
1.3 KiB
Markdown

---
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. `/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.