lfg
Skill3 starsChanged 2 months agoMITView on GitHub
User-invoked side-route for a proof of concept: short shaping conversation, then AFK to a stamped PR. Auto-sizes a one-off fix to a tiny path. Stops only for a credential, a destructive action, a spend, or a product fork. Not for production features, not for work you intend to keep without a later /pre-merge, not model-invoked.
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
- 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
- long0167472/ClaudeSkilltheir own version, first seen Jun 26, 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
- alexanderop/skills★ 4same 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 repository33 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-design-reviewSkill
- closeoutSkill
- compoundSkill
- correct-courseSkill
- create-milestoneSkill
- design-an-interfaceSkill
- executeSkill
- fix-findingsSkill
- git-guardrails-claude-codeSkill
- handoffSkill
- helpSkill
- improve-codebase-architectureSkill
- improve-pipelineSkill
- init-pipelineSkill
- mermaidSkill
- prd-to-issuesSkill
- pre-mergeSkill
- prototypeSkill
- qaSkill
- re-pitchSkill
- request-refactor-planSkill
- researchSkill
- setup-pre-commitSkill
- setup-ralph-loopSkill
- shapeSkill
- tddSkill
- triage-issueSkill
- ts-auditSkill
- ubiquitous-languageSkill
- visual-recapSkill
- walk-commitsSkill
- write-a-prdSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 13 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
Use the full pipeline instead for production features, and for any work you mean to keep without a later human review.
- Distinctive: line 77
After shape-lite ends, ask the user a question only for one of these stop classes:
- Very specific: line 97
Read the ask against the conditions in references/trivial-task-rule.md.
- Distinctive: line 131
Create the skip marker, exactly as the trivial rule directs:
- Distinctive: line 136
Run it. Execute whatever proves the fix: the command, the page, or the existing test.
- Distinctive: line 137
Remove the skip marker, then commit:
- Distinctive: line 141
Run the feature path's Close step from item 3, Open the PR, skipping item 7.
- Very specific: line 148
Ask /shape Phase 1's five questions, one per turn, each with your recommended answer.
- Very specific: line 151
Stop there. Skip the rest of /shape: no name test, no branch walking, no stress test of decisions.
- Very specific: line 157
Run /research Phase 0 only, which covers the manifest version check and the spec-anchor check.
- Distinctive: line 168
before building starts. Do not create per-slice issues.
- Very specific: line 190
When /init-pipeline returns, create the run marker.
- Distinctive: line 206
Write the tracer test outside-in, against the running app, for the slice's demo path.
- Distinctive: line 207
Write the code that makes it pass.
- Distinctive: line 208
Run the tracer test. Passing means the runner exits 0.
- Very specific: line 217
Filing a gap issue: Use this for a slice past the slice cap, a slice stubbed at the attempt cap, and each open ledger row in step 7.
- Very specific: line 230
Run the whole tracer suite in one invocation.
- Very specific: line 235
Optional walk: If command -v agent-browser resolves, walk the demo path once and save a final screenshot.
- Distinctive: line 238
If it does not resolve, skip the walk, because the tracer screenshots already prove the path.
- Distinctive: line 243
Remove the marker (see Exit paths, success path).
- Very specific: line 247
Read the PR body back. If the banner is no longer the first line, put it back with the guarded mktemp → fetch-with-exit-check → byte-count …
- Distinctive: line 264
Stop path: before asking the user any stop-class question.
“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
Take an ask to a demoable proof of concept with one short conversation, then run unattended to a reviewed PR.
The output is a walking skeleton of tracer bullets, not a prototype. Each slice is thin, production-structured code that runs end to end, proven by one test that also drives the demo path. What a run cuts is completeness and robustness, and every cut is filed as an issue. It never cuts structure. That is the Hunt & Thomas distinction between a tracer and a prototype, and it is why the code can later be promoted or discarded by a human decision rather than by accident. Promotion needs judgment from outside the run that built it (Beck's 3X: moving from Explore to Expand is a call someone else makes).
Invocation Position
Side-route, user-invoked only. It fires when a human types /lfg <ask>;
disable-model-invocation: true keeps its description out of every other
session's context. Use it when a demo window is closing, such
as a hackathon or a spike you want to show someone, and the full pipeline's
human gates would cost more than the build.
Send it as its own message, not as the first message of a fresh workspace.
A slash command is recognized only at the start of a message, and a host that
prepends anything to your first one — Conductor prepends a workspace preamble —
displaces it. The command is then read as ordinary prose, and because this skill
is hidden from the model by the flag above, the model cannot look it up: three of
the first six field invocations were lost this way, and the runs that followed
had no shape-lite, no marker, and no ledger. Nothing in this file can catch that,
because this file is what failed to load. If a session did work that looks like
an /lfg run but has none of those artifacts, this is why; retype /lfg and
start over (#383).
It stands beside /shape → /research → /write-a-prd → /prd-to-issues →
/execute and reconnects to the main workflow at /pre-merge --loop. From
there the PR is an ordinary stamped PR: the user settles its ledger, and
/closeout merges it if the user decides to keep the code.
Use the full pipeline instead for production features, and for any work you mean to keep without a later human review.
What this skill never does. It never writes the review-currency stamp.
/pre-merge is that stamp's only writer, pinned by
scripts/test-review-currency-marker.sh. It never fixes a /pre-merge finding
in-run, never merges, never runs /closeout or /compound, and never creates
per-slice issues.
Locked vocabulary
The recap, the gap issues, and the calibration in #372 read these values. Change one here and nowhere else.
| Name | Value |
| Stop classes | defined once, in Stops below |
| Slice cap | 4 slices per run; slice 1 is always the walking skeleton |
| Attempt cap | 2 verification attempts per slice |
| Gap label | lfg-gap |
| Ledger transition this skill may write | open → filed |
| PR banner first line | > **LFG proof of concept** — built unattended; not production-reviewed. Promote or discard by human decision. |
Stops
After shape-lite ends, ask the user a question only for one of these stop classes:
- credential: an account, key, or login only the user can supply.
- destructive: an irreversible action, such as dropping data, force-pushing, or deleting something the run did not create.
- spend: anything that costs money, such as a paid tier, a purchase, or metered usage beyond a free tier.
- product-fork: two directions that would produce materially different demos, where the shape-lite summary does not settle which one.
For every other decision, take the recommended answer, keep going, and add the decision to the recap's decision log. A question outside these classes stalls a run that nobody is watching, which defeats the point of an unattended run.
A stop ends the turn, so it is an exit path (see Exit paths). Remove the marker before you ask. When the user answers, run the marker-creation block again and resume where the run stopped. Count every stop by class for the recap's tally.
Process
0. Auto-size
Read the ask against the conditions in
references/trivial-task-rule.md. An ask typed
into /lfg is not tied to an issue, PRD, or QA bug unless the user named one.
- Every condition holds → tiny path.
- Any one fails, or you are unsure → feature path.
State the verdict and the condition that decided it in one line, then proceed without asking.
Branch. Mirror /execute Step 0. If the host provisioned the worktree
(.claude/settings.json worktree.provisioning: host, or the block below prints
host_owned=yes), build on the current branch. Otherwise, create lfg/<slug>
from the default branch. This skill provisions no worktree of its own.
# host-signal: does a host env var describe THIS tree, not just this shell?
host_owned=no
top=$(cd "$(git rev-parse --show-toplevel)" && pwd -P)
if [ -n "${CONDUCTOR_WORKSPACE_PATH:-}" ]; then
ws=$(cd "$CONDUCTOR_WORKSPACE_PATH" 2>/dev/null && pwd -P) || ws=
if [ -n "$ws" ]; then
case "$top/" in "$ws"/*) host_owned=yes ;; esac
fi
fi
if [ -n "${CODESPACES:-}" ] || [ -n "${REMOTE_CONTAINERS:-}" ]; then host_owned=yes; fi
echo "host_owned=$host_owned"A bare CONDUCTOR_WORKSPACE_PATH is not enough: it leaks into shells started
under Conductor and can name another repository's workspace.
Tiny path
- Create the skip marker, exactly as the trivial rule directs:
mkdir -p "$CLAUDE_PROJECT_DIR/.claude" && touch "$CLAUDE_PROJECT_DIR/.claude/.tdd-skipped" - Make the fix.
- Run it. Execute whatever proves the fix: the command, the page, or the existing test. A fix you only read counts as unverified.
- Remove the skip marker, then commit:
rm -f "$CLAUDE_PROJECT_DIR/.claude/.tdd-skipped" - Run the feature path's Close step from item 3, Open the PR, skipping item 7. The tiny path creates no PRD-lite issue and no tracer test, so its recap omits those lines.
Feature path
1. Shape-lite (HITL, the only human phase)
- State 3–5 assumptions you are making about the ask.
- Ask
/shapePhase 1's five questions, one per turn, each with your recommended answer. Point at/shapefor the questions and do not rephrase them. - Print
/shapePhase 3's closing summary in its four categories.
Stop there. Skip the rest of /shape: no name test, no branch walking, no stress
test of decisions. Human involvement ends when the summary is printed, and the
next question the user sees must belong to a stop class.
2. Research-lite (AFK)
Run /research Phase 0 only, which covers the manifest version check and the
spec-anchor check. Write the result to the per-user archive at the path /research
uses. Resolve every Uncertain assumption toward the choice that keeps the demo
path shortest, and log it.
3. PRD-lite issue (AFK)
File one GitHub issue with five sections: Problem, Solution, Rabbit Holes, No-gos, and a Slices checklist. Slice 1 is the walking skeleton, the thinnest path that runs end to end through every layer the demo touches. The slice cap applies. File every slice past the cap as a gap issue (step 5) before building starts. Do not create per-slice issues.
Reader: /pre-merge --loop Phase 1 takes this issue's number as its PRD, and
the PR body's Closes #N closes it.
4. Scaffold (AFK)
Invoke /init-pipeline and declare Path B in the invocation: say that no user
is present and that the trigger-surface question takes its default. Invoke it only
now, after shape-lite has ended. Otherwise it sees a present user, takes Path A,
and asks the trigger-surface question. If a hook is already installed, run
/execute Step 0's pipeline hooks gate and hand its verdict to /init-pipeline:
hooks-stale is Path C. Run the gate, do not restate it — it is the list of
terms that decides this, and a second copy of that list here is the drift
docs/restated-claims.md describes. Git guardrails stay on.
This matters more to this skill than to any other, because .claude/.lfg-active
is the newest marker: a project whose hook predates it accepts every other marker
and not this one, so the stand-down this step is about is exactly the one missing.
An inert marker does not fail loudly — the hook goes on refusing implementation
writes, and the refusal names /tdd, which the feature path does not use.
When /init-pipeline returns, create the run marker. This is the only
marker-creation block in this skill:
: "${CLAUDE_PROJECT_DIR:=$(git rev-parse --show-toplevel)}"
mkdir -p "$CLAUDE_PROJECT_DIR/.claude"
touch "$CLAUDE_PROJECT_DIR/.claude/.lfg-active"While the marker exists, the classification hook stands down for implementation
writes. The feature path uses no /tdd, because the tracer test is the test.
5. Build loop (AFK)
For each slice, in order:
- Write the tracer test outside-in, against the running app, for the slice's demo path. Use references/tracer-test.md for the recipe.
- Write the code that makes it pass.
- Run the tracer test. Passing means the runner exits 0.
- Commit the slice.
Attempt cap. A failed run in step 3 is one attempt. When a slice reaches the
attempt cap without a passing run, stop working it. Reduce it to a stub that keeps the skeleton wired,
commit the stub, file a gap issue, and move to the next slice. This is /execute's
plateau stop rule at a smaller scale: attempts that do not advance end the slice
rather than earning another try.
Filing a gap issue. Use this for a slice past the slice cap, a slice stubbed
at the attempt cap, and each open ledger row in step 7. The body follows
/execute's continuation-comment shape: what was done, what remains, the gotchas,
and the exact error output when an error caused it. Link the PRD-lite issue. The
label reader is the user deciding what to promote. Create the label if it is
missing (look up gh label create --help at runtime).
gh issue create --label "<gap label>" --title "<what was cut>" --body-file "$GAP_BODY_FILE"6. Prove (AFK)
Run the whole tracer suite in one invocation. The config in
references/tracer-test.md captures a screenshot for every test, so each passing
test leaves one under test-results/. For a non-web app, the proof is the
transcript file each tracer writes. Record every artifact path for the recap.
Optional walk. If command -v agent-browser resolves, walk the demo path once
and save a final screenshot. Load its current command reference with
agent-browser skills get core at runtime instead of writing commands from memory.
If it does not resolve, skip the walk, because the tracer screenshots already
prove the path.
7. Close (AFK)
- Remove the marker (see Exit paths, success path).
- Commit anything outstanding.
- Open the PR with the recap as its body (see Recap). The banner is the body's first line, and the body includes
Closes #<PRD-lite>on the feature path. - Invoke
/pre-merge --loop, passing the PRD-lite issue number, or "none" on the tiny path. Loop-mode updates the existing PR, reviews it, writes its ledger, and stamps it. - Read the PR body back. If the banner is no longer the first line, put it back with the guarded
mktemp→ fetch-with-exit-check → byte-count → edit → refuse-if-shorter →gh pr edit --body-fileshape/pre-mergePhase 5 uses for its ledger. - For each ledger row in state
open, file a gap issue and set that row's state tofiledwith the issue number, using the same guarded write. That is the ledger transition in Locked vocabulary, and the only ledger write this skill makes. Rows markedfixed,accepted, ordroppedare decisions for the user. - Post one roll-up comment on the PRD-lite issue that lists every gap issue and the stop tally.
- Print the handoff (see Handoff). Render no next-step menu: nobody is present to answer it, so the printed line is the whole handoff.
Exit paths
The marker must not outlive the run, and removing it must come before
/pre-merge --loop writes the stamp. A stamped branch never carries a
classification marker, and the post-review edit lock depends on that. Every way
out of the feature path runs this block:
rm -f "$CLAUDE_PROJECT_DIR/.claude/.lfg-active"- Success path: Close step 1, before the PR is opened and before
/pre-merge --loop. - Stop path: before asking the user any stop-class question. Recreate the marker with step 4's block when the run resumes.
- Error path: when something outside the attempt cap ends the run, such as a failed tool, a lost dev server, or an
/init-pipelinethat does not return. Remove the marker first. Then leave a comment on the PRD-lite issue in/execute's continuation shape, with the exact error. If slices were committed, run Close from step 2 so the partial work still reaches/pre-merge --loop.
Recap
The PR body is the recap, and its reader is the user deciding whether to demo, promote, or discard. It carries, in this order:
- The banner first line, then a
cut:line naming what the run left out and agaps:line linking the gap issues. - Decisions taken without you, one line each, including every assumption resolved in research-lite.
- Stop tally, with each stop by class. A stop outside the stop classes is a defect in the run, so list it anyway.
- Proof, with each screenshot or transcript path and the command that produced it.
- On the feature path,
Closes #<PRD-lite>.
Common Rationalizations
| Rationalization | Reality |
| "This choice is important enough to ask about." | If it is not a stop class, pick the recommendation and log it. The recap is where the user reviews it. |
| "It's a proof of concept, so skip the test." | The tracer test is what makes "demoable" a checked claim. Without it, the demo is an assertion. |
| "One more attempt will fix this slice." | The attempt cap exists because a run cannot tell progress from churn. Stub it, file it, and move on. |
"I'll leave the marker; /pre-merge runs right after." | The stamp must land on a branch with no marker. Remove it first on every path. |
| "This slice is small, so I can fit a fifth." | The slice cap is the appetite. File the extra slice as a gap issue. |
| "The finding is trivial, so I'll fix it now." | Loop-mode findings belong to the user. File each open row, and never fix it in-run. |
Red Flags
- A question to the user after shape-lite that names no stop class.
- A tracer test that never ran, or a slice committed without a passing run or a gap issue.
.claude/.lfg-activepresent when/pre-merge --loopstarts, or present after the run ends.- A ledger row this skill set to anything other than
filed. - A PR body whose first line is not the banner.
- Per-slice issues, a
/tddinvocation on the feature path, or a/closeout.
Handoff
- Expected input: an ask typed as
/lfg <ask>, plus a user present for shape-lite on the feature path. - Produces: a stamped PR whose body is the recap (banner, decisions, gap issues, stop tally, proof paths); a PRD-lite issue on the feature path; gap issues carrying the gap label;
openledger rows moved tofiled. - May invoke:
/init-pipeline(Path B),/pre-merge --loop. - Returns control to: the user, who demos the branch and then decides whether to promote or discard it.
- Comes next by default: the user. To keep the code, settle the ledger and run
/closeout. To discard it, close the PR.
Print, substituting the real values:
**Next session:** /closeout
**Input:** PR #<n> on branch <branch-name> — an LFG proof of concept; read its banner and ledger before mergingDoes 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.

