Agent skill

Loop Review

by getlago in getlago/lago-front

Phase 3 of the loop pipeline for lago-front. An agent skill from getlago/lago-front.

AGPL-3.0Auto-check passedAgent Workflows

Install Loop Review

skills CLI
$ npx skills add getlago/lago-front --skill loop-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install getlago/lago-front loop-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/getlago/lago-front.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/loop-review .claude/skills/loop-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
loop-review
GitHub stars
163
Token cost
~1.9k tokens
SKILL.md length
974 words
Files
2
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Phase 3 of the loop pipeline for lago-front. An agent skill from getlago/lago-front.

  • Works in 7 steps: Get the diff. In the worktree from… → Gates — scripts, not judgment. Run them… → The whole diff first: read spec.md ##… → …
  • User says /loop-review <ISSUE-ID
  • SKILL.md covers Steps and Hard rules
  • Calls pnpm and git

What it does

Loop Review is an agent skill from getlago/lago-front. Phase 3 of the loop pipeline for lago-front. Takes an ISSUE-ID, reviews the worktree diff against spec.md and plan.md with clean context, and writes a PASS/FAIL verdict to review.md in the run state dir. Use when user says "/loop-review <ISSUE-ID" or the loop-run orchestrator dispatches the review phase in a fresh subagent.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `adversarial.md`).

It sits in Agent Workflows, covering Git worktrees and Subagents. The repository describes itself as: Open Source Metering and Usage Based Billing. The licence is AGPL-3.0.

When your agent uses it

  • User says /loop-review <ISSUE-ID
  • The loop-run orchestrator dispatches the review phase in a fresh subagent

Example prompts

  • “/loop-review <ISSUE-ID”
  • “/loop-review”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Get the diff. In the worktree from state.md
  2. Gates — scripts, not judgment. Run them in the worktree before reading a line of code; a red gate is a FAIL issue on its own and the build…
  3. The whole diff first: read spec.md ## Ticket and ## Acceptance criteria, then the diff end to end, and answer before any check: does this…
  4. Checks. Seven, capped by scripts/skill-budget.sh: a new one enters only by deleting one.
  5. Second pass with the code-review skill — inline. Run /code-review in THIS session on the worktree diff, never through the Agent tool: a…
  6. Write review.md in the state dir. Every issue names the check that produced it so loop-run can journal it
  7. Report the verdict and (if FAIL) the issue list to the operator.

What it can do on your machine

Read from SKILL.md and the folder at commit d4cb9fe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Loop Review loads about 1.9k tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 974 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from getlago/lago-front at commit d4cb9fe, republished under its AGPL-3.0 licence (© getlago). 974 words, ~1,877 tokens.

Download SKILL.mdSave it as .claude/skills/loop-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
loop-review
description
Phase 3 of the loop pipeline for lago-front. Takes an ISSUE-ID, reviews the worktree diff against spec.md and plan.md with clean context, and writes a PASS/FAIL verdict to review.md in the run state dir. Use when user says "/loop-review <ISSUE-ID>" or the loop-run orchestrator dispatches the review phase in a fresh subagent.

Loop Review — phase 3 of loop-run

Input: an ISSUE-ID. State dir: $LOOP_STATE_DIR/<ISSUE-ID>/ (default ~/.claude/loop-state/<ISSUE-ID>/). Requires spec.md, plan.md and state.md (worktree path). If missing, stop and say which phase to run first. The worktree: path is all this skill needs — every command below is the same in both layouts.

Clean context: this skill runs with NO knowledge of how the code was written (loop-run dispatches it in a fresh subagent). Judge only what spec.md, plan.md and the diff say. Never assume good intent from the build phase.

Nothing is fetched. spec.md carries the ticket verbatim (## Ticket), its sources' decisive content, and each premise's verification. Do not call Linear or Notion: the orchestrator already paid for that, and a reviewer that re-reads the ticket from the source drifts from the spec the builder was judged against.

Steps

  1. Get the diff. In the worktree from state.md:

    bash
    git -C <worktree> add -N . && git -C <worktree> diff origin/main --stat
    git -C <worktree> diff origin/main

    (add -N only marks new files so they appear in the diff — it is part of this pipeline's git exception.)

  2. Gates — scripts, not judgment. Run them in the worktree before reading a line of code; a red gate is a FAIL issue on its own and the build phase's claim is never trusted:

    bash
    pnpm lint && pnpm types && pnpm translations:inspect && pnpm translations:ensure-consistency
    <front>/scripts/diff-hygiene.sh origin/main <worktree> <state dir>/plan.md   # every added comment declared, none in a refused position
    <front>/scripts/loop-plan-check.sh <worktree> <state dir>/plan.md   # new files / exports outside plan.md

    loop-plan-check.sh exit 3 means new files/exports exist and plan.md declares them: each declared item is a question for check 2 below, and loop-run runs the adversarial pass on the same signal. Exit 1 (undeclared) should not survive the build gate; if it does, it is a FAIL issue tagged [gate:plan].

  3. The whole diff first: read spec.md ## Ticket and ## Acceptance criteria, then the diff end to end, and answer before any check: does this diff, as a whole, make sense for the ticket's objective, and is it the smallest change that meets the criteria? A diff can pass every check below and still miss the point, or solve around a premise spec.md marked unverified — both are FAIL issues.

  4. Checks. Seven, capped by scripts/skill-budget.sh: a new one enters only by deleting one.

    <!-- checks:start -->
    1. Every acceptance criterion is met: map each criterion to the code that satisfies it. A criterion with no code behind it, or code that renders the state the criterion describes as fact before the data answers (a badge claiming "none" while loading), is a FAIL.
    2. Scope is the plan: nothing outside spec.md "Files to touch" and plan.md without a note in plan.md ## Deviations. For each new file or export loop-plan-check.sh listed, apply the inline test — write the diff without the abstraction; if that version is smaller or equal, the abstraction is a FAIL issue. A feature flag, prop, or callback left half-wired (rendered nowhere, or read but never distinguished from its absence) is scope that was started, not finished.
    3. Nothing is reimplemented: no new component/hook/util that replicates the design-system package (packages/design-system) or src/components/designSystem, a shared module, or a global handler (the Apollo error link, the toast layer, the router wrappers). Open the candidate sibling and say why it did not fit before accepting the new one. If a touched component has an entry in the lago-frontend-patterns skill's index, confirm the diff follows it - a contradiction is a FAIL issue.
    4. Conventions and translations: neighboring code style, .agents/docs/frontend-coding-styleguide.md, codegen output consistent; new keys in translations/base.json only where no existing label fit (search for one), no dead keys.
    5. Tests exist and test the branch: make-tests output is in the diff; no fixture default switches off the branch a test claims to cover (.agents/docs/testing-practices.md → "Fixture Defaults"); with more than one navigating path, assertions pin the destination with toHaveBeenCalledWith and assert the routes NOT taken; every callback the component passes to a mocked hook (onCompleted, onError, ...) is captured and invoked.
    6. Follow the calls out of the diff: when the diff passes an existing hook/util an argument that used to be constant, open that implementation and verify it honours it; when it reuses a form component on a new surface, walk every optional callback prop the new caller omits and name the user action that omission disables; when it redirects to a route constant, confirm the tab it resolves to; for each persisted field, state what the read path puts back and what the next save sends.
    7. Declared comments earn their category, and nothing is left behind: diff-hygiene.sh already refused undeclared and mis-positioned comments; read only plan.md ## Comments kept and FAIL any line whose comment does not do what its category claims — a constraint with no identifier a reader could grep, a why-not where the alternative was never viable, a trap nothing actually trips — or that justifies the diff or answers a review round. No dead code, no unused exports.
    <!-- checks:end -->
  5. Second pass with the code-review skill — inline. Run /code-review in THIS session on the worktree diff, never through the Agent tool: a subagent copy has stalled past its bound on every recorded run and returned later against a stale tree. Fold confirmed findings into the issues list and state in review.md which pass produced each.

  6. Write review.md in the state dir. Every issue names the check that produced it so loop-run can journal it:

    PASS format:

    markdown
    Verdict: PASS
    
    ## Criteria mapping
    <one line per acceptance criterion: criterion → file/code that satisfies it>

    FAIL format:

    markdown
    Verdict: FAIL
    
    ## Issues
    1. [review#<check> | gate:<name> | code-review] <file:line — problem — what to change>
    2. ...

    Issues must be concrete and actionable — file, line, problem, fix direction. No style nitpicks that don't change meaning.

  7. Report the verdict and (if FAIL) the issue list to the operator.

Show full SKILL.md (92 more words)Show less

Hard rules

  • Review is read-only on the code: never fix issues yourself, only report them.
  • Uncertain whether something is a real problem → it is not an issue; note it as a remark below the Issues list instead.
  • Never fetch Linear or Notion. Never run the full jest suite.
  • Two communication registers: messages to humans (chat report, notifications) = short, direct, plain language, no deep-tech jargon. Internal state files (spec.md, review.md, histories, working notes) = written for the AI of a later iteration: dense, precise, full paths/symbols/error strings — optimize for machine effectiveness, not human readability.

© getlago, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/loop-review of getlago/lago-front.

  • SKILL.md
  • adversarial.md

Open the folder on GitHubat commit d4cb9fe

Compare with similar skills

Loop Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Loop Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Loop Review this skillgetlago/lago-front163—~1.9kAutomated safety check: PassAGPL-3.0
Vspawnvlinx-io/VelaTerm270—~2.5kAutomated safety check: PassMIT
Spec-Driven Development v2LichAmnesia/lich-skills234—~3.1kAutomated safety check: PassMIT
Subagent Coordinatorflyxl/datazen114—~908Automated safety check: PassGPL-3.0
PmApra-Labs/apra-fleet101—~5.4kAutomated safety check: PassCustom licence
Batch Orchestrationrohitg00/pro-workflow2.9k—~1.2kAutomated safety check: PassNone

Similar skills

  • Vspawn

    vlinx-io/VelaTerm

    Explicitly spawn a standalone child session under the current vlx-term session, passing the task in as its first message (mirrors spawntask).

    270 GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Spec-Driven Development v2

    LichAmnesia/lich-skills

    Organizes long-running agent work into a Project, Sprint and Task hierarchy with per-task state files, isolated worktrees, review loops and script-checked rules.

    234 GitHub stars~3.1k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Orchestrate multi-track parallel feature development with subagents and git worktrees.

    114 GitHub stars~908 tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Pm

    Apra-Labs/apra-fleet

    Project Manager skill. An agent skill from Apra-Labs/apra-fleet.

    101 GitHub stars~5.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Batch Orchestration

    rohitg00/pro-workflow

    Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees.

    2.9k GitHub stars~1.2k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • Codex CLI

    kortix-ai/suna

    Drive OpenAI's Codex CLI (codex exec) as a non-interactive coding sub-agent from inside Claude Code.

    20k GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from getlago/lago-front

All 17 skills in this repo
  • Babysit

    getlago/lago-front

    A skill your agent uses when asked to babysit, monitor, shepherd, or keep working on a GitHub pull request until it is green, review-ready, approved, mergeable, or ready to merge.

    163 GitHub stars~5.2k tokensUpdated today
    Auto-check passed
  • Cve Doctor

    getlago/lago-front

    Triage a CVE / Dependabot alert in a JS/TS project and recommend the least-invasive fix.

    163 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Extract Section To Drawer

    getlago/lago-front

    Extract a Formik form section into a TanStack Form drawer with Zod validation, following the plan form migration pattern.

    163 GitHub stars~4k tokensUpdated today
    Auto-check: notes
  • Loop Build

    getlago/lago-front

    Phase 2 of the loop pipeline for lago-front. An agent skill from getlago/lago-front.

    163 GitHub stars~3.5k tokensUpdated today
    Auto-check: notes
  • Loop Clean

    getlago/lago-front

    Cleanup phase of the loop pipeline for lago-front, for the worktree layout only.

    163 GitHub stars~816 tokensUpdated today
    Auto-check passed
  • Docker Expert

    getlago/lago-front

    You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production…

    163 GitHub starsUsed in 10 repos~3.6k tokens
    Auto-check passed

Questions about Loop Review

What does Loop Review do?

Phase 3 of the loop pipeline for lago-front. An agent skill from getlago/lago-front. Loop Review is an agent skill from getlago/lago-front. Phase 3 of the loop pipeline for lago-front.

When should I use Loop Review?

Loop Review fits situations like: user says /loop-review <ISSUE-ID; the loop-run orchestrator dispatches the review phase in a fresh subagent.

How do I install Loop Review in Claude Code?

Run `npx skills add getlago/lago-front --skill loop-review -a claude-code`. Or copy the skill folder (.agents/skills/loop-review in getlago/lago-front) into .claude/skills/loop-review in your project. Claude Code loads it when a task matches its description.

How do I install Loop Review in Codex?

Run `npx skills add getlago/lago-front --skill loop-review -a codex`. Or copy the skill folder (.agents/skills/loop-review in getlago/lago-front) into .agents/skills/loop-review in your project. Codex loads it when a task matches its description.

Can I use Loop Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getlago/lago-front --skill loop-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/loop-review, .gemini/skills/loop-review, .github/skills/loop-review and .opencode/skills/loop-review in your project.

What does Loop Review need to run?

Going by SKILL.md and its folder, Loop Review needs the command-line tools its instructions call (pnpm and git).

Does Loop Review access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Loop Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Loop Review use?

Loop Review is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Loop Review use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Loop Review?

Skills that share tags, products or a category with Loop Review: Vspawn (vlinx-io/VelaTerm, 270 stars), Spec-Driven Development v2 (LichAmnesia/lich-skills, 234 stars), Subagent Coordinator (flyxl/datazen, 114 stars) and Pm (Apra-Labs/apra-fleet, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Loop Review?

getlago (a GitHub organization) maintains it in getlago/lago-front, which has 163 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

Source: getlago/lago-front on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.