agentleFS
supportersimulatorsupportersimulator/3-surgeons/skills/review-loop/SKILL.md

review-loop

Skill2 starsChanged 9 months agoMITView on GitHub

Selects review depth mode for 3-surgeon cross-exam based on task risk

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use polish, tdd and 1 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

  • 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

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

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 2

    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:

    Before any 3-surgeon cross-exam, determine the appropriate review depth mode based on task risk signals.

    line 12
  2. Distinctive:

    off: Always use config default or CLI flag

    line 55

“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 Mode Selector

Purpose

Before any 3-surgeon cross-exam, determine the appropriate review depth mode based on task risk signals.

Modes

ModeIterationsWhen
single1Config changes, docs, small fixes, <=2 files
iterativeup to 3Multi-file changes, new features, refactors, 3-10 files
continuousup to 5Security, schema, API, architecture, >10 files

Risk Assessment

Evaluate these dimensions. Highest-risk dimension wins:

Dimensionsingleiterativecontinuous
Files changed1-23-10>10
ReversibilityFullyPartiallyHard to reverse
SecurityNoneInternalExternal/auth
Data impactRead-onlySchema-preservingSchema-changing
External couplingNoneInternal APIsPublic APIs

Project-Level Awareness

Some projects warrant deeper review by default. Check:

  • .3surgeons/config.yaml in project root for review.depth
  • Accumulated review outcome weights via 3s review-weights show
  • Project complexity signals: cross-file deps, security code, submodules

For sustained development on complex projects (e.g., ContextDNA), continuous mode is the natural default.

Intent Mapping (Conversational)

User saysMaps to
"quick review", "just a glance"single
"thorough review", "check carefully"iterative
"loop until satisfied", "full depth", "keep going"continuous
"3-surgeons full"continuous

Auto-Depth Behavior

Based on auto_review_depth config:

  • off: Always use config default or CLI flag
  • suggest: Recommend mode with reasoning, wait for confirmation
  • auto: Apply learned weights, user can override anytime

Exit Conditions

  • Consensus >= 0.7 on "all issues addressed" → exit loop
  • Max iterations reached without consensus → escalate to human with unresolved summary
  • User override at any point → respect immediately

After Review

Record outcome to evidence store for adaptive learning:

  • Mode used, iterations, consensus score, files changed, user override (if any)

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.