Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
everyinc avatar

Lfg

  • 2.6k installs
  • 23.9k repo stars
  • Updated August 5, 2026
  • everyinc/compound-engineering-plugin

lfg is a compound-engineering skill that runs plan-to-PR autonomous pipeline with review, tests, and CI autofix.

About

The lfg skill runs an ordered autonomous engineering pipeline only when the user explicitly requests hands-off execution with a feature description. Step one invokes ce-plan and gates on a written plan file in docs/plans before any implementation. Step two runs ce-work and verifies real code changes occurred. Step three optionally runs ce-simplify-code on non-trivial diffs before review. Step four runs ce-code-review in agent report-only mode with the plan path, then step five applies eligible fixes via review-followup.md. Step six files residual review findings to the PR body or a pushed fallback doc without prompting. Steps seven and eight run ce-test-browser in pipeline mode and ce-commit-push-pr. Step nine watches CI up to three autofix iterations when a PR exists. Critical rules forbid skipping the plan gate, committing during simplify, or weakening failing tests. Skill names must match the host platform list verbatim to avoid invocation failures.

  • Ten-step pipeline: plan, work, simplify, review, fix, residuals, test, PR, CI loop.
  • Plan file in docs/plans/ is mandatory before any implementation begins.
  • ce-code-review is report-only; LFG applies fixes in a separate step.
  • Residual findings durably recorded on PR body or pushed fallback markdown.
  • CI watch retries fixes up to three iterations without weakening assertions.

Lfg by the numbers

  • 2,640 all-time installs (skills.sh)
  • +67 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #202 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

lfg capabilities & compatibility

Capabilities
ordered multi skill pipeline with explicit gates · plan file verification before implementation · review apply and residual findings persistence · browser test and commit push pr orchestration · ci watch with bounded autofix iterations
Use cases
orchestration · ci cd
From the docs

What lfg says it does

Do NOT proceed to step 2 until a written plan exists.
SKILL.md
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill lfg

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.6k
repo stars23.9k
Security audit1 / 3 scanners passed
Last updatedAugust 5, 2026
Repositoryeveryinc/compound-engineering-plugin

How do I hands-off execute a software feature through plan, code, review, test, PR, and CI fix loops?

Run the full autonomous engineering pipeline from plan through code review, browser tests, PR, and CI autofix when the user explicitly requests hands-off execution.

Who is it for?

Explicit hands-off software tasks where the user wants full pipeline automation.

Skip if: Skip for casual chat, non-software tasks, or when the user did not request autonomous execution.

When should I use this skill?

User explicitly asks for lfg, hands-off pipeline, or full autonomous plan-to-PR execution.

What you get

Written plan, implemented branch, applied review fixes, browser tests, open PR, and green CI or documented failures.

  • Feature implementation commits
  • Open pull request
  • Passing CI status

Files

SKILL.mdMarkdownGitHub ↗

CRITICAL: You MUST execute every step below IN ORDER. Do NOT skip any required step. Do NOT jump ahead to coding or implementation. The plan phase (step 1) MUST be completed and verified BEFORE any work begins. Violating this order produces bad output.

When invoking any skill referenced below, resolve its name against the available-skills list the host platform provides and use that exact entry. Some platforms list skills under a plugin namespace (e.g., compound-engineering:ce-plan); others list the bare name. Invoking a short-form guess that isn't in the list will fail — always match a listed entry verbatim before calling the Skill/Task tool.

1. Invoke the ce-plan skill with $ARGUMENTS.

GATE: STOP. If ce-plan reported the task is non-software and cannot be processed in pipeline mode, stop the pipeline and inform the user that LFG requires software tasks. Otherwise, verify that the ce-plan workflow produced a plan file in docs/plans/. If no plan file was created, invoke ce-plan again with $ARGUMENTS. Do NOT proceed to step 2 until a written plan exists. Record the plan file path — it will be passed to ce-code-review in step 4.

2. Invoke the ce-work skill.

GATE: STOP. Verify that implementation work was performed - files were created or modified beyond the plan. Do NOT proceed to step 3 if no code changes were made.

3. Invoke the ce-simplify-code skill on the branch diff.

This runs before review so the code-review in step 4 covers the simplified code. Skip this step when the change is docs-only (only markdown/docs paths changed) or trivial (roughly under 10 changed lines). Otherwise let ce-simplify-code resolve the branch-diff scope itself; it preserves behavior and runs the test suite.

Do not commit in this step. ce-simplify-code leaves its changes in the working tree; step 4's review scopes the working tree (uncommitted changes included), and step 8's ce-commit-push-pr commits whatever remains. Committing here would sweep any still-uncommitted ce-work edits into a misleading refactor commit and could stall on a tree that never goes clean.

4. Invoke the ce-code-review skill with mode:agent plan:<plan-path-from-step-1>.

Pass the plan file path from step 1 so ce-code-review can verify requirements completeness. Read the Actionable Findings summary the skill emits.

mode:agent is report-only by design — it surfaces findings but never edits the tree; LFG applies the eligible ones in step 5. When narrating progress to the user, frame this as "review found X → applied X in step 5," not as "code review did not auto-fix." A report-only review followed by an LFG-applied fix is the intended contract, not a gap.

5. Apply and persist review fixes (REQUIRED after step 4, before residual handoff)

Load references/review-followup.md and execute its apply step (mechanical apply + commit/push when changes exist). Do not proceed to the residual handoff, run browser tests, or output DONE while eligible review fixes remain only in the working tree uncommitted.

6. Autonomous residual handoff (only when step 4 reported one or more actionable downstream-resolver findings not applied in step 5; skip when it reported Actionable findings: none.)

Do not prompt the user. This step embraces the autopilot contract: residuals must become durable before DONE, but the agent never stops to ask.

1. Load references/tracker-defer.md in non-interactive mode. Pass the residual actionable findings from step 4/5 (or the run artifact when the summary was truncated). 2. Collect the structured return: { filed: [...], failed: [...], no_sink: [...] }. 3. Compose a ## Residual Review Findings markdown section from the structured return:

  • For each item in filed: a bullet with severity, file:line, title, and a link to the tracker ticket URL.
  • For each item in failed: a bullet with severity, file:line, title, and the failure reason (e.g., Defer failed: gh returned 401 — tracker unavailable).
  • For each item in no_sink: a bullet with severity, file:line, and title inlined verbatim so the PR body or fallback file is the durable record.

4. Detect the current branch's open PR without prompting:

      gh pr view --json number,url,body,state

5. If an open PR exists, update it directly with gh; do not load any confirmation-driven PR update skill. Append or replace the ## Residual Review Findings section in the current PR body, write the new body to an OS temp file, then run:

      gh pr edit PR_NUMBER --body-file BODY_FILE

6. If no open PR exists, create a tracked fallback file at docs/residual-review-findings/<branch-or-head-sha>.md containing the composed section and the source PR-review run context. Stage only that file, commit it with docs(review): record residual review findings, and push the current branch. If an upstream exists, run git push. If no upstream exists, resolve a writable remote dynamically: prefer origin when present, otherwise use git remote and choose the first configured remote. Then run git push --set-upstream <remote> HEAD. This is the durable no-PR sink. Do not output DONE until either the existing PR body has been updated or this fallback file commit has been pushed. If both paths fail, stop and report the failed commands; do not silently proceed.

Never block DONE on tracker filing failures once residuals have been durably recorded. A no_sink outcome is success only when the findings are present in the PR body or in the pushed fallback file.

7. Invoke the ce-test-browser skill with mode:pipeline.

8. Invoke the ce-commit-push-pr skill.

This commits any remaining changes, pushes the branch, and opens a pull request. If step 6 already opened a PR (check with gh pr view --json number,url,state 2>/dev/null), skip PR creation but still commit and push any uncommitted changes.

9. CI watch and autofix loop (only when an open PR exists for the current branch)

Detect the PR; if none exists or gh is unavailable, skip this step entirely and proceed to step 10.

   gh pr view --json number,url,state

For up to 3 fix iterations, repeat:

1. Wait for CI to complete:

      gh pr checks --watch

If the command exits 0, all checks passed. Break out of the loop and proceed to step 10.

If it exits non-zero, one or more checks failed. Continue to (2).

2. Identify failing checks and pull their failure logs. Use gh pr checks --json name,state,conclusion,workflow,link to enumerate failures, then for each failing check read the run logs:

      gh run view <run-id> --log-failed

where <run-id> is parsed from the check's details URL or workflow run.

3. Read the failure logs, identify the root cause, and apply a fix in the working tree. Do NOT weaken, skip, or mock the failing assertion to make it pass — repair the actual issue. If the failure is a flaky test that has no fix path, document that as the residual outcome below rather than retrying without a code change.

4. Stage only the files you changed, commit, and push:

      git add <changed-files>
      git commit -m "fix(ci): <one-line summary of the failure repaired>"
      git push

5. Return to iteration (1) with the next attempt counter.

GATE: STOP iterating after 3 failed attempts. If CI is still red after 3 fix cycles:

  • Compose a ## CI Failures Unresolved markdown section listing each remaining failing check, the failure summary, and the run/check URL.
  • Append or replace this section in the PR body, write the new body to an OS temp file, then run:
     gh pr edit PR_NUMBER --body-file BODY_FILE
  • Do NOT continue looping. The autopilot contract is "make residuals durable, then exit." Proceed to step 10.

10. Output <promise>DONE</promise> when complete

Start with step 1 now. Remember: plan FIRST, then work. Never skip the plan.

Related skills

How it compares

Pick lfg for full plan-to-PR autonomous delivery instead of single-step code review or testing-only skills.

FAQ

Can I skip the plan step?

No. ce-plan must produce a docs/plans/ file before ce-work or any coding begins.

Does code review auto-fix issues?

No in isolation. ce-code-review is report-only; step 5 applies eligible fixes per review-followup.md.

What happens after three failed CI fix attempts?

Stop iterating and document unresolved CI failures rather than weakening tests.

Is Lfg safe to install?

skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.