agentleFS
MicrosoftKnown publishermicrosoft/Trieste/.github/skills/review-loop/SKILL.md

review-loop

Skill53 starsChanged 8 months agoMITView on GitHub

Iterative review loop using any lens agent against any target (plan, code, design). Use when you want to run a focused review cycle: spawn a fresh reviewer subagent with a specific lens, present findings and remediation to the user, apply fixes with user guidance, and repeat until clean.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use polish, research and 2 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.
  • QredenceSkill

    polish

    Run a final Figma Design or Figma Make quality pass that refines spacing, alignment, typography, color consistency, component state coverage, copy consistency, accessibility basics, and visual coherence without changing the underlying concept. Use when a UI is close and needs launch-ready finish rather than redesign. Not for Figma Sites publish readiness (site-launch-checklist) or Dev Mode handoff preparation (dev-handoff-prep).

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 3 projects that use this

  • AWSSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

  • AWSSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to run an iterative review cycle against any target using any lens agent.

    line 8
  2. Distinctive:

    If either is ambiguous, ask the user before proceeding.

    line 20
  3. Distinctive:

    Read the target material and any surrounding context needed for a meaningful review.

    line 26
  4. Distinctive:

    If the reviewer found no issues, report that the target passed review cleanly

    line 52
  5. Distinctive:

    If the user modifies a remediation, apply their version

    line 59
  6. Distinctive:

    Ask the user whether to:

    line 63
  7. Distinctive:

    Every review iteration uses a fresh subagent — no context contamination between iterations.

    line 70
  8. Distinctive:

    Do not summarize or filter the target material before passing it to the reviewer.

    line 72
  9. Distinctive:

    Do not apply remediations without user confirmation.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 22 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Loop

Use this skill to run an iterative review cycle against any target using any lens agent.

Inputs

The user specifies:

  1. Lens — which lens/reviewer to use (e.g., adversarial-lens, security-lens, conservative-lens, speed-lens, usability-lens).
  2. Target — what to review (a plan, file(s), module, design document, diff, etc.).

If either is ambiguous, ask the user before proceeding.

Procedure

Step 1 — Gather Context

Read the target material and any surrounding context needed for a meaningful review. This includes:

  • The target itself (plan text, file contents, etc.)
  • Relevant WF specs, token definitions, and pass pipeline context
  • Relevant tests or prior review findings

Step 2 — Spawn Reviewer Subagent

Spawn a fresh subagent with the specified lens. Provide it:

  • The full target material (verbatim — do not summarize)
  • Sufficient surrounding context for the reviewer to assess the target meaningfully
  • Instructions to produce structured findings per the lens's Expected Output format
  • Instructions to explicitly state if the target is clean (no findings)

The subagent must be a fresh instance with no prior context from this conversation.

Step 3 — Present Results

Present the reviewer's findings to the user along with a proposed remediation plan:

  • List each finding with its severity/likelihood
  • For each finding, propose a specific remediation (code change, plan amendment, verification step, etc.)
  • If the reviewer found no issues, report that the target passed review cleanly

Step 4 — Apply Remediations

With the user's guidance:

  • Apply agreed-upon remediations (edit files, amend plans, add tests, etc.)
  • Skip or defer any remediations the user rejects
  • If the user modifies a remediation, apply their version

Step 5 — Loop or Exit

Ask the user whether to:

  • Loop — go back to Step 2 and run the review again on the updated target with a fresh subagent
  • Exit — the review cycle is complete

Guardrails

  • Every review iteration uses a fresh subagent — no context contamination between iterations.
  • Do not summarize or filter the target material before passing it to the reviewer. Provide it verbatim.
  • Do not apply remediations without user confirmation.
  • The loop exits only when the user says so, not when the reviewer returns clean. The user may want to run additional iterations even after a clean pass.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.