lfg
Skill4 starsChanged 6 months agoMITView on GitHub
Run the full autonomous engineering pipeline end-to-end (recall prior learnings, plan, implement with TDD, review and autofix, verify, commit, push, open PR, watch CI and fix failures, then compound the learning). Use ONLY when the user explicitly requests hands-off execution of a software task and provides a feature description. Do not auto-route casual conversation here.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- klmiing1229-a11y/lfg-prompt-engineertheir own version, first seen Sep 23, 2026
- ashtonhwoi/claude-skillstheir own version, first seen Sep 22, 2026
- chrislacey89/skillstheir own version, first seen Sep 18, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
- shyamsridhar123/kevin-copilottheir own version, first seen Aug 23, 2026
- EveryInc/compound-engineering-plugintheir own version, first seen Jul 24, 2026
Used with
Projects with it also use ce-compound, ce-compound-refresh and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
long0167472Skillce-compound
Document a recently solved problem to compound your team's knowledge
Also in 4 projects that use this
long0167472Skillce-compound-refresh
Consolidate the per-cycle compound learnings of Dev (docs/solutions/), BA (docs/ba-knowledge/), and QC (docs/test-learnings/) and propagate the durable knowledge BACK INTO context/ — the project's canonical source of truth. Reads the three compound folders, maps each learning to the right context doc, folds it into the canonical voice (update / add / consolidate / supersede), syncs the relevant INDEX.md, and records what was propagated. Run when a requirement's release is complete. Use when the user asks to "consolidate the compound into context", "update context from learnings", "refresh the context", or at the close of a release.
Also in 4 projects that use this
- +10 more from long0167472
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- EveryInc/compound-engineering-plugin★ 25ksame name
- ratacat/claude-skills★ 56same name
- shyamsridhar123/kevin-copilot★ 7same name
- chrislacey89/skills★ 3same name
- ashtonhwoi/claude-skills★ 2same name
- klmiing1229-a11y/lfg-prompt-engineer★ 2same name
- long0167472/ClaudeSkill★ 0same name
- MortuisVMain/ai-agent-superpowers★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- blog-generatorSkill
- good-docs-writerSkill
- c4-architectureSkill
- clone-repoSkill
- harden-github-actionsSkill
- orchestrated-reviewSkill
- researchSkill
- screenshotting-appsSkill
- qa-exploreSkill
- checkSkill
- fix-pipelineSkill
- interviewSkill
- learnSkill
- prSkill
- pushSkill
- review-coderabbitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 3 are distinctive, and 16 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Every technique it needs is bundled under references/ next to this file.
- Very specific: line 27
All bundled techniques live as folders under references/, each with its own SKILL.md plus any supporting files (prompt templates, examples) …
- Very specific: line 47
When a bundled file cross-references another (e.g.
- Very specific: line 116
Read references/using-git-worktrees/SKILL.md and follow it to create an isolated worktree/branch for this task.
- Very specific: line 124
Before planning, consult the project's knowledge store for prior learnings relevant to $ARGUMENTS.
- Distinctive: line 133
Read the frontmatter (first ~30 lines) of any strong matches, then fully read the closest 1-3.
- Very specific: line 142
Read references/writing-plans/SKILL.md and follow it to produce a plan for $ARGUMENTS plus the recalled learnings from Step 1.
- Very specific: line 145
GATE: STOP. Verify a plan file was written to disk (typically under docs/plans/ or docs/superpowers/).
- Very specific: line 151
Read references/subagent-driven-development/SKILL.md and follow it to execute the plan.
- Very specific: line 155
If this platform has no subagents, fall back to references/executing-plans/SKILL.md.
- Distinctive: line 157
GATE: STOP. Verify implementation work happened — files created/modified beyond the plan, and tests exist for the new behavior.
- Very specific: line 162
Read references/requesting-code-review/SKILL.md and follow it to review the diff against the plan.
- Very specific: line 163
Read references/receiving-code-review/SKILL.md and follow it to evaluate the feedback with technical rigor and apply the valid fixes (do …
- Very specific: line 173
Read references/verification-before-completion/SKILL.md and follow it.
- Distinctive: line 177
Run the project's test suite and the build.
- Very specific: line 178
Run the app itself wherever a runnable surface exists.
- Very specific: line 188
Read references/finishing-a-development-branch/SKILL.md and follow it.
- Very specific: line 197
Only when an open PR exists.
- Very specific: line 207
Read references/compound/SKILL.md and follow it in headless mode.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LFG — Autonomous Engineering Autopilot (self-contained)
Announce at start: "I'm using the lfg skill to run this task hands-off, end to end."
Overview
/lfg [feature description] runs an entire software task from idea to green CI to documented
learning without stopping to ask the user anything. It is the explicit opt-in autopilot.
This skill is self-contained. It does NOT depend on any plugin or external skill library.
Every technique it needs is bundled under references/ next to this file. Each pipeline step
below tells you which bundled file to Read and follow — you never invoke a Skill tool and
you never rely on a superpowers: namespace being installed.
The autopilot contract: make residuals durable, then exit. Never loop forever, never block on a question. If a gate cannot be satisfied after a reasonable retry, record the residual on the PR (or a tracked fallback file) and still emit DONE.
Bundle layout
All bundled techniques live as folders under references/, each with its own SKILL.md plus any
supporting files (prompt templates, examples) beside it:
references/
using-git-worktrees/SKILL.md
writing-plans/SKILL.md
subagent-driven-development/SKILL.md (+ *-prompt.md templates)
test-driven-development/SKILL.md (+ testing-anti-patterns.md)
requesting-code-review/SKILL.md (+ code-reviewer.md)
receiving-code-review/SKILL.md
verification-before-completion/SKILL.md
systematic-debugging/SKILL.md (+ technique docs)
finishing-a-development-branch/SKILL.md
executing-plans/SKILL.md
dispatching-parallel-agents/SKILL.md
fix-pipeline/SKILL.md
compound/SKILL.md (+ assets/, references/)When a bundled file cross-references another (e.g. references/test-driven-development/SKILL.md),
that path is relative to this skill's root — read it from there.
<CRITICAL>
You MUST execute every step below IN ORDER. Each step has a GATE — do NOT advance past a gate
until its condition is verified. Do NOT jump ahead to coding before a plan exists.This skill deliberately BYPASSES interactive brainstorming. A brainstorming hard-gate ("get user
approval before implementing") is incompatible with hands-off execution. /lfg starts at
planning. Interactive brainstorming remains the right tool for normal, collaborative work — but
not here.
</CRITICAL>
Pipeline at a glance
flowchart TD
Start(["/lfg feature description"]) --> S0
S0["Step 0 · Isolate<br/>using-git-worktrees"] --> G0{Branch / worktree<br/>exists?}
G0 -->|no| S0
G0 -->|yes| S1["Step 1 · Recall<br/>search docs/solutions/"]
S1 --> S2["Step 2 · Plan<br/>writing-plans"]
S2 --> G2{Plan file<br/>written?}
G2 -->|no| S2
G2 -->|yes| S3["Step 3 · Implement<br/>subagent-driven-development + TDD"]
S3 --> G3{Code changed<br/>+ tests exist?}
G3 -->|no| S3
G3 -->|yes| S4["Step 4 · Review + autofix<br/>requesting / receiving-code-review"]
S4 --> S5["Step 5 · Verify<br/>verification-before-completion"]
S5 --> G5{Tests + app<br/>green?}
G5 -->|red| DBG["systematic-debugging<br/>fix root cause"]
DBG --> S5
G5 -->|green| S6["Step 6 · Ship<br/>finishing-a-development-branch → open PR"]
S6 --> G6{PR exists<br/>or branch pushed?}
G6 -->|no| S6
G6 -->|yes| S7["Step 7 · CI watch + autofix<br/>fix-pipeline · max 3 cycles"]
S7 --> G7{CI green?}
G7 -->|red, <3 cycles| S7
G7 -->|red, 3 exhausted| RES["Record residual<br/>on PR body"]
G7 -->|green| S8
RES --> S8["Step 8 · Compound<br/>document learning → docs/solutions/"]
S8 --> Done(["Step 9 · DONE<br/>promise + summary"])
DBG -.on any gate failure.-> DBG
classDef gate fill:#fff3cd,stroke:#d39e00,color:#000;
classDef step fill:#e7f1ff,stroke:#0d6efd,color:#000;
classDef terminal fill:#d1e7dd,stroke:#198754,color:#000;
classDef fix fill:#f8d7da,stroke:#dc3545,color:#000;
class G0,G2,G3,G5,G6,G7 gate;
class S0,S1,S2,S3,S4,S5,S6,S7,S8 step;
class Start,Done terminal;
class DBG,RES fix;The autopilot never blocks on a question: every gate either advances, retries, or records a
durable residual and moves on. Diagnose-on-failure (systematic-debugging) can fire at any gate.
The Pipeline
Step 0 — Isolate
Read references/using-git-worktrees/SKILL.md and follow it to create an isolated worktree/branch
for this task.
GATE: A dedicated worktree or feature branch exists and you are working inside it. Do not
implement on main/master.
Step 1 — Recall (read side of the compound loop)
Before planning, consult the project's knowledge store for prior learnings relevant to
$ARGUMENTS. If a docs/solutions/ index was injected into your context at session start, scan
it first. Then confirm/expand with a direct search:
ls docs/solutions/ 2>/dev/null && grep -rli "<keyword>" docs/solutions/ 2>/dev/nullExtract keywords from the feature description (module names, error terms, component types). Read the frontmatter (first ~30 lines) of any strong matches, then fully read the closest 1-3. Carry their Prevention / Guidance / What Didn't Work content forward as context for the plan in Step 2 — this is how past work makes this run easier.
GATE: The search ran. If docs/solutions/ does not exist, note "no prior learnings" and
proceed — the store will be created in Step 8.
Step 2 — Plan
Read references/writing-plans/SKILL.md and follow it to produce a plan for $ARGUMENTS plus the
recalled learnings from Step 1.
GATE: STOP. Verify a plan file was written to disk (typically under docs/plans/ or
docs/superpowers/). If no plan file exists, follow the writing-plans reference again. Record
the plan file path — later steps reference it. Do NOT proceed without a written plan.
Step 3 — Implement
Read references/subagent-driven-development/SKILL.md and follow it to execute the plan. It
enforces references/test-driven-development/SKILL.md per task (test first, watch it fail, minimal
code to pass).
If this platform has no subagents, fall back to references/executing-plans/SKILL.md.
GATE: STOP. Verify implementation work happened — files created/modified beyond the plan, and tests exist for the new behavior. Do NOT proceed if no code changed.
Step 4 — Review + autofix
- Read
references/requesting-code-review/SKILL.mdand follow it to review the diff against the plan. - Read
references/receiving-code-review/SKILL.mdand follow it to evaluate the feedback with technical rigor and apply the valid fixes (do not perform blind agreement — verify each suggestion). - Persist: stage only the review-fix files, commit with
fix(review): apply code review feedback.
GATE: Review ran and any valid fixes are applied and committed. If review surfaced findings that cannot be auto-resolved, capture them for the residual section in Step 6/7 — do not block.
Step 5 — Verify it really works
Read references/verification-before-completion/SKILL.md and follow it. Run the actual
verification commands and confirm real output before claiming success — evidence before
assertions:
- Run the project's test suite and the build.
- Run the app itself wherever a runnable surface exists. If your harness provides a
runorverifycapability, use it; otherwise launch the app / start the dev server / exercise the CLI directly and observe real behavior.
GATE: Verification commands ran and their output is green. If red, read
references/systematic-debugging/SKILL.md, fix the root cause, and re-run. Do NOT proceed on
unverified claims.
Step 6 — Ship
Read references/finishing-a-development-branch/SKILL.md and follow it. In autopilot, choose the
open-a-PR path: commit remaining changes, push the branch, open a pull request. Do not present
the interactive options menu to the user — select PR automatically.
GATE: A PR exists for the branch (or, if no remote/gh, the branch is pushed). Record the
PR number.
Step 7 — CI watch + autofix loop
Only when an open PR exists. Read references/fix-pipeline/SKILL.md and follow it to check
pipeline status and repair failures. Iterate at most 3 times: watch CI → on failure read logs,
fix the real cause (never weaken/skip/mock an assertion to make it pass), commit, push, re-watch.
GATE: CI is green, OR 3 fix cycles are exhausted. If still red after 3 cycles, append a
## CI Failures Unresolved section to the PR body (each failing check + summary + run URL) and
stop iterating. If gh is unavailable, skip this step.
Step 8 — Compound (write side of the loop)
Read references/compound/SKILL.md and follow it in headless mode. This documents what was
built/solved into docs/solutions/, dedupes against existing docs, and ensures
CLAUDE.md/AGENTS.md surfaces the knowledge store so future runs (Step 1) and other agents
discover it.
GATE: Compounding emitted Documentation complete (or Documentation skipped with a stated
reason, e.g. the task was too trivial to document). Either is an acceptable terminal state.
Step 9 — DONE
Emit <promise>DONE</promise> with a one-paragraph summary: branch, PR URL, CI status, and the
path of the learning written in Step 8.
On gate failure
references/systematic-debugging/SKILL.md is not a numbered step — read and follow it on
demand whenever a gate fails (tests red, CI red, verification fails). Diagnose root cause before
patching. Never fake a gate to advance.
Red Flags
| Thought | Reality |
| "I'll skip the plan and just code" | Step 2 is a hard gate. No plan file → no implementation. |
| "Tests are slow, I'll assume green" | Step 5 requires real output. Evidence before assertions. |
| "CI is flaky, I'll just merge" | Fix the real cause or record the residual. Never weaken a test. |
| "This is too small to compound" | Run Step 8; it will skip-with-reason if truly trivial. |
| "Let me ask the user which option" | This is autopilot. Choose the PR path. Never prompt. |
| "I'll invoke the superpowers skill instead" | This skill is standalone. Read the bundled references/ file. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

