code-review
Skill0 starsChanged 2 months agoMITView on GitHub
Review a pull request with multi-pass parallel specialized agents. Presents findings in-session for opt-out review — default is to fix everything. Merges repo-specific reviewers (`.claude/agents/reviewers/`) with built-in reviewers — repo overrides built-in on name collision. Always-on agents (security, devdocs) run regardless of diff. Default is incremental (commits since last review); use `full` for the entire PR.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing 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.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
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 repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skills/create-repo/CLAUDE.mdCLAUDE.md
- author-e2eSkill
- author-messageSkill
- create-repoSkill
- deploy-awsSkill
- do-fixesSkill
- do-workSkill
- make-skillSkill
- plan-reviewSkill
- plan-workSkill
- setup-agent-skillsSkill
- solve-take-homeSkill
- start-workSkill
- super-workSkill
- sync-guidanceSkill
- wtfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 12 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
No arguments: incremental — review commits since the last review (reads SHA from <work-folder>/reviews/ filenames).
- Very specific: line 30
Setup check: If Work folder shows needs-setup, stop: "Run /setup-agent-skills first to configure your work folder, then come back."
- Very specific: line 32
CI check: If "CI environment" above shows YES, stop immediately and respond:
- Distinctive: line 40
Read project context: Read CLAUDE.md at the repo root — note conventions and any areas of special concern.
- Distinctive: line 42
Model check: If you are not running on Opus, emit this note before continuing:
- Very specific: line 49
Use the pre-loaded Work folder as the review artifact location.
- Very specific: line 58
Run git fetch origin main first to ensure main is current, then git diff $(git merge-base HEAD origin/main)...HEAD.
- Distinctive: line 127
Select reviewers: Use the pre-loaded list above, which shows two groups:
- Distinctive: line 129
always-on: run unconditionally — no exceptions, no skipping based on diff size or relevance.
- Distinctive: line 157
Run each selected reviewer twice in parallel — pass 1 with the normal diff, pass 2 with the reversed diff.
- Very specific: line 166
Read ~/.claude/skills/shared/references/finding-format.md and ${CLAUDE_SKILL_DIR}/references/review-discipline.md — include the full …
- Distinctive: line 184
Use this prompt for both passes — the only difference is the diff passed at the end (normal for pass 1, reversed for pass 2):
- Distinctive: line 206
After all reviewers complete:
- Distinctive: line 214
Cross-reference against existing PR feedback: If the Existing Feedback Digest (built in Phase 1) is non-empty, compare each surviving …
- Distinctive: line 326
After presenting all findings:
- Very specific: line 336
Update the review doc on disk with any user changes, then proceed to /do-fixes (or tell the user to run /do-fixes to apply).
- Distinctive: line 354
When an agent hits budget: (1) accept partial work if close enough, (2) spawn fresh agent with different instructions, or (3) escalate to …
- Distinctive: line 360
YOUR JOB IS CONTEXT: Ensure each agent has everything it needs.
- Distinctive: line 362
When stuck, STOP and ask: If you or any agent is spinning, escalate to the user immediately.
- Very specific: line 364
Session continuity: Before ending, ensure the review document is saved with current phase: and findings state.
“Common” is measured: kept by at least 6 in 10 of the 175 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
Code Review: Multi-Agent Code Review
You are the coordinator of a parallel code review team.
Arguments: $ARGUMENTS
- No arguments: incremental — review commits since the last review (reads SHA from
<work-folder>/reviews/filenames); if no prior review, uses full PR diff full: entire PR diff regardless of prior reviews- PR URL: review a specific PR
Current state (pre-loaded):
- CI environment: !
~/.claude/skills/code-review/scripts/context.sh ci-status - HEAD SHA: !
~/.claude/skills/shared/scripts/context.sh head-sha - Current branch: !
~/.claude/skills/shared/scripts/context.sh current-branch - Work folder: !
~/.claude/skills/shared/scripts/context.sh work-folder - Ticket ID: !
~/.claude/skills/shared/scripts/context.sh ticket-id - Open PR: !
~/.claude/skills/shared/scripts/context.sh open-pr - Recent commits: !
~/.claude/skills/shared/scripts/context.sh recent-commits - Reviewer agents found: !
~/.claude/skills/code-review/scripts/context.sh reviewer-agents - Work plan: !
~/.claude/skills/code-review/scripts/context.sh work-plan
PR number: extract from "Open PR" above (the number before the colon). Use this everywhere <pr-number> appears — do not re-query with gh pr view to get the PR number.
Setup check: If Work folder shows needs-setup, stop: "Run /setup-agent-skills first to configure your work folder, then come back."
CI check: If "CI environment" above shows YES, stop immediately and respond:
"/code-review is not yet supported in CI environments — it requires interactive input. Run it locally before pushing instead."
Phase 1: Orientation
Read project context. Read
CLAUDE.mdat the repo root — note conventions and any areas of special concern.Model check. If you are not running on Opus, emit this note before continuing:
For best synthesis quality, switch to Opus with:
/model opus(no restart needed)Then continue regardless — this is advisory only.
Determine review scope.
Use the pre-loaded
Work folderas the review artifact location. Ifnone(on main), ask the user which branch/plan this review is for before proceeding.Diff source — prefer PR diff over local diff:
- PR exists (pre-loaded above shows an open PR, or a PR URL was passed as argument):
- Incremental (default): find the most recent review file in
<work-folder>/reviews/by SHA suffix (YYYY-MM-DD-<sha>.md). Rungh pr diff <pr-number> -- $(git log <sha>...HEAD --name-only | sort -u | tr '\n' ' ')to scope to changed files since last review. If filtering is too complex, use full PR diff with a note. - Full (
fullargument or no prior review): rungh pr diff <pr-number>.
- Incremental (default): find the most recent review file in
- No PR yet (pre-loaded shows no open PR):
- Run
git fetch origin mainfirst to ensure main is current, thengit diff $(git merge-base HEAD origin/main)...HEAD. - Note to user: "No open PR found — diffing against origin/main. Results may include drift if main has moved significantly since you branched."
- Run
- PR exists (pre-loaded above shows an open PR, or a PR URL was passed as argument):
- Read the diff. First run
gh pr diff --name-only(orgit diff --name-only $(git merge-base HEAD origin/main)...HEADif no PR) to get a file list. Then read the full diff. For large diffs (>500 lines), read each changed file individually rather than the full diff at once. Fetch existing PR feedback (skip if no PR exists).
Get the PR author login and resolve the repo slug:
gh pr view <pr-number> --json author -q .author.loginFetch all three feedback channels in parallel (three Bash tool calls in a single message — they are independent):
gh api repos/<owner>/<repo>/pulls/<pr-number>/comments --paginate gh api repos/<owner>/<repo>/pulls/<pr-number>/reviews --paginate gh api repos/<owner>/<repo>/issues/<pr-number>/comments --paginateResolve
<owner>/<repo>from the git remote.Build the Existing Feedback Digest — a coordinator-internal summary of what humans have already said on this PR. This is NOT passed to reviewer agents — they must stay unbiased.
- Filter out: comments from the code-review bot (body contains
<!-- code-review:), pure approval reviews with empty body, LGTM/praise-only comments, bot/CI comments - Group inline comments into threads using
in_reply_to_id. Comments within_reply_to_id: nullare thread roots (the concern). Comments referencing a parent ID are replies (the conversation). - For each thread, classify the resolution signal based on whether the PR author
(from the login fetched above) or other participants replied:
intentional— author explained the behavior is deliberateacknowledged— author agreed or said they'll fix italready-fixed— author says it's been fixeddisputed— author pushed back, no consensus reachedno-response— no author reply in the thread
- Extract review-level concerns from reviews with non-empty body (especially CHANGES_REQUESTED reviews — these carry the most weight).
- Extract substantive issue comments — skip procedural comments.
- Keep the digest compact: for each thread, extract the core concern (one line) and resolution signal with a brief quote from the response. Do not include full comment bodies.
- High-volume PRs (50+ inline comment threads): focus on the most recent review round
(filter by
created_atorsubmitted_at) and CHANGES_REQUESTED reviews. Older resolved threads are less likely to collide with new findings. Summarize older rounds as a count ("N older threads omitted — all resolved") rather than listing each one.
Hold this digest for use in Phase 3. Example format:
## Existing Feedback Digest ### Inline Threads E1. @alice — src/parser.ts:L42 — "Missing null check on config param" Resolution: intentional — author: "X upstream guarantees non-null here" E2. @bob — src/api.ts:L88 — "Timeout should be configurable" Resolution: acknowledged — author: "Good catch, will fix" E3. @alice — src/utils.ts:L15 — "Consider extracting this to a shared helper" Resolution: no-response ### Review-Level Concerns E4. @carol (CHANGES_REQUESTED) — "Error handling in the new parser needs work" Resolution: no-response- Filter out: comments from the code-review bot (body contains
Select reviewers. Use the pre-loaded list above, which shows two groups:
- always-on: run unconditionally — no exceptions, no skipping based on diff size or relevance.
- selectable: coordinator decides which to include. Include an agent if there is any material overlap between its domain and the diff. When in doubt, include it — a small diff just means fewer findings, not wasted effort. Repo agents with the same name as a built-in automatically override the built-in (context.sh handles the merge; you just use the list as given).
Tell the user which reviewers you're running and why, then proceed without waiting:
Running reviewers: security [always], devdocs [always], configure, pre-tool-use-hook, testing (skipping: architecture — no new patterns, abstractions, or component interfaces in this diff)
Phase 2: Review (Two-Pass Parallel — Read-Only)
Why two passes? SWR-Bench multi-review research shows that running each reviewer twice with diff-order shuffling between passes, then aggregating findings, yields +118% recall vs a single pass. Repetition alone (same diff twice) has no effect (p=0.11) — the gain comes from seeded variation plus cross-pass aggregation. Pass 2 presents files in reverse order to reduce position-dependent blind spots (K-LLM approach).
Create review cycle tasks — at the start of each review cycle, create the following tasks to
track progress. Mark each in_progress when you start it, completed when done.
- Run review
- Present findings
Run each selected reviewer twice in parallel — pass 1 with the normal diff, pass 2 with the reversed diff. No edits in this phase.
Get the reversed diff for pass 2 — pass --pr <pr-number> (the number extracted earlier) and the same file list used for pass 1 to keep scope consistent (incremental reviews scope to changed files since last review; full reviews omit the file list):
# Incremental: bash ~/.claude/skills/code-review/scripts/context.sh reversed-diff --pr <pr-number> <file1> <file2> ...
# Full PR: bash ~/.claude/skills/code-review/scripts/context.sh reversed-diff --pr <pr-number>Read ~/.claude/skills/shared/references/finding-format.md and ${CLAUDE_SKILL_DIR}/references/review-discipline.md — include the full content of both in every agent prompt.
Collect applicable repo rules (once, before spawning any agents):
- List all files in
.claude/rules/. If the directory doesn't exist or is empty, skip this step. - For each rule file, read its
paths:frontmatter. If any glob matches a file in the diff, mark it as diff-applicable — include its content for all agents. - For each reviewer
<name>, check if.claude/rules/<name>.mdexists — if so, include its content for that reviewer specifically. - Pass to each agent: content of diff-applicable rules + content of any name-matched rule, with the note from the
## Repo Rulessection of the review discipline (included below).
Spawn all agents simultaneously in a single parallel batch — all pass-1 agents and all pass-2 agents at once. Pass 2 does not wait for pass 1. Collect findings from all agents (both passes) before proceeding to Phase 3.
Spawn each agent with model: sonnet. The merged reviewer list (from the pre-loaded context above)
includes all agents — built-ins, repo overrides (same name as a built-in, repo version wins), and
repo-specific agents (new names not in the built-in set). Run all of them. For each agent, the
file path is .claude/agents/reviewers/<name>.md if it exists there, otherwise
${CLAUDE_SKILL_DIR}/agents/<name>.md. context.sh resolves this — you just work from the list.
Use this prompt for both passes — the only difference is the diff passed at the end (normal for pass 1, reversed for pass 2):
"Read
<agent-file>for your reviewer persona and focus areas. ReadCLAUDE.mdfor project conventions. Review the following diff from your specialized perspective. If a work plan is provided below, use it to understand the intent of the change — but evaluate the code on its own merits. Intentional changes can still be wrong. Output all findings using the standard finding format provided below.If you find no issues in your domain, say so explicitly — do not manufacture findings to justify your involvement. A clean review is a good outcome.
READ ONLY — no edits, no tests, no commits.
You have a budget of 10 tool uses. The diff is provided below — do not browse the codebase beyond what is needed to understand a specific finding. Report all findings identified so far if you approach the limit.
[finding format content]
[review discipline content]
[applicable repo rules, if any]
[diff for this pass]"
Phase 3: Synthesis
After all reviewers complete:
- Collect all findings — actionable findings MUST use the standard finding format. Informational
[NOTE]outputs go into the## Informational Notessection as unchecked[ ]items (see step 9). - Coordinator sweep (gap-finding). Before deduplication, review the full set of specialist findings alongside the diff. As coordinator you have unique vantage: you see everything all specialists found and everything they collectively did not address. Look for cross-cutting issues that fall between domains — a correctness problem that also breaks testability, a security fix that silently changes an API contract, code that works in isolation but behaves differently under concurrent load. Add any such findings as new entries with
**Reviewer:** coordinator. Do not repeat findings the specialists already caught. - Deduplicate — merge findings that flag the same issue. When merging, set
**Reviewer:**to a comma-separated list of all agents that flagged it (e.g.,react, typescript). When multiple reviewers independently flagged the same issue, note this agreement in the Description or synthesis narrative as a signal of higher confidence. Multi-pass agreement: if the colliding findings came from different passes of the same agent (e.g.,securitypass 1 andsecuritypass 2), that is a meaningful confidence signal — keep the higher-confidence variant, set**Reviewer:**to<name> (confirmed across passes), and note the agreement in the Description. If pass 2 contributed zero findings that survived deduplication, note that in the synthesis narrative (indicates pass 1 was thorough or the diff has little position-dependent variation). Cross-reference against existing PR feedback. If the Existing Feedback Digest (built in Phase 1) is non-empty, compare each surviving finding against it. If the digest is empty or was not fetched (no PR), skip this step.
Matching criteria (use your judgment — you are an LLM, not a string matcher):
- Location match (strongest): the finding's
**File:**references the same file AND an overlapping or nearby line range (within ~10 lines) as an inline review comment - Semantic match: even without exact line overlap, the finding and the existing comment describe the same logical concern (e.g., both flag the same missing null check, same error handling gap, same refactoring opportunity)
- For review summaries and issue comments (no line anchor): match by semantic similarity only
- Not a match: same concern but in a completely different file — that is a separate occurrence
Disposition rules — for each match, apply based on the thread's resolution signal:
Resolution signal Disposition intentional— author explained why it's deliberateDrop. The author already defended this to a human reviewer. Re-raising it signals the tool isn't paying attention. acknowledged— author agreed, will fixKeep but annotate. Append to Description: "Also flagged by @{reviewer} (author acknowledged, fix pending)." No confidence change. Drop only if the current diff already includes the fix. already-fixed— author claims it's fixedDrop, but verify the issue is actually gone in the current code. If still present, keep with note: "Author claimed fixed but issue appears to persist." disputed— author pushed back, unresolvedKeep but annotate. Append to Description: "Note: @{reviewer} raised a similar concern; the author pushed back — see the PR thread for context." Demote confidence by 15 points. no-response— no author replyKeep but annotate. Append to Description: "Also flagged by @{reviewer} (no author response yet)." No confidence change — independent agreement adds weight. Record all dispositions (drops, demotions, annotations) for the
## Human Feedback Cross-Referencesection of the review document.Reverse direction — incorporate unmatched human feedback. After the dedup pass above, check for digest entries that were NOT matched by any surviving finding. These are human concerns the automated review missed. For each unmatched entry: evaluate the concern against the current code. If valid and unresolved, create a new finding with
**Reviewer:** coordinator (from @{commenter} PR feedback)and apply standard severity/confidence assessment. If already resolved in the current diff, note it as resolved in the cross-reference section. Record all outcomes (surfaced as finding, or resolved) in the## Human Feedback Cross-Referencesection alongside the matched dispositions.- Location match (strongest): the finding's
- Confidence-based pre-check. Apply the confidence score to set the initial checkbox state — do not discard findings:
- >= 70: pre-checked
[x]— agent is confident; reviewer opts out if they disagree - 50–69: pre-unchecked
[ ]— agent flagging it but not confident; reviewer opts in if they agree - < 50: move to
## Informational Notes— speculative; worth knowing but not claiming action is needed
- >= 70: pre-checked
Filter against intent — for each finding, check it against the PR plan and diff context. Ask: "is the behavior being flagged consistent with the stated intent of this change?" If yes, demote to
[NOTE]or drop it entirely. Log your reasoning briefly (e.g., "dropped: reviewer flagged missing X, but X is intentionally omitted per the plan"). Reviewers see individual files; the coordinator sees the whole picture — use that advantage.Pre-existing issues in touched files are still valid findings. Do not dismiss a finding simply because the problem existed before this PR. If the file was directly modified by this PR, the author had the opportunity to notice and fix it — flagging it is appropriate. Only dismiss pre-existing issues in files the PR did not touch at all.
- Sort by severity: BLOCKER > ISSUE > SUGGESTION > NIT.
- Within each severity level, group by file or theme.
- Flag conflicts — if reviewers disagree, note both views and mark for user decision.
- Collect
[NOTE]outputs into the## Informational Notessection as unchecked[ ]items — no ref IDs. Unchecked means the coordinator doesn't recommend action, but the user can check one to include it when running/do-fixes.
Save the review document
- Filename:
<slug>.review.<YYYY-MM-DD>-<short-sha>.md(slug from branch name, short-sha = HEAD 7 chars) - Save to
<work-folder>/reviews/(create thereviews/directory withmkdir -pif needed)
---
skill: code-review
phase: review-complete
sha: <head-commit-sha>
instruction: |
This is a code-review report. High-confidence findings are pre-checked [x] (opt-out model).
Lower-confidence findings are pre-unchecked [ ] (opt-in model) — the reviewer decides whether
to act on them.
To apply fixes, run `/do-fixes`. It will fix all [x] checked findings and skip
any unchecked [ ] ones. User **Instructions** on each finding take priority over reviewer
suggestions.
---
# Code Review: [branch-name]
> [One-line summary of what this change does]
> Reviewed: [date] | Reviewers: [list] | Scope: [incremental from <sha> | full PR]
## Summary
- X blockers, Y issues, Z suggestions, W nits
- [Brief narrative: overall quality, notable strengths, key concerns]
## Human Feedback Cross-Reference
> N findings matched existing PR feedback and were suppressed.
| Finding | Matched | Disposition |
|---------|---------|-------------|
| [brief description of suppressed finding] | @reviewer [inline/review], resolution signal | Dropped — [reason] |
| [brief description of annotated finding] | @reviewer [inline], no-response | Kept — annotated |
[Omit this section entirely if no existing PR feedback was found]
## Findings
### Blockers
[findings in standard format, ref IDs F1, F2, ... — `[x]` if confidence >=70, `[ ]` if 50–69]
### Issues
[findings — `[x]` if confidence >=70, `[ ]` if 50–69]
### Suggestions
[findings — `[x]` if confidence >=70, `[ ]` if 50–69]
### Nits
[findings — `[x]` if confidence >=70, `[ ]` if 50–69]
## Informational Notes
[unchecked `[ ] **[NOTE]** ...` items — omit this section if empty]
## Review Notes
[Space for user to add overall notes or context]Present findings in-session (dialogic)
The review doc is saved — now present findings conversationally. The user stays in the dialog interface; they should not need to open or edit the review document.
Default: fix everything. Present findings as an opt-out list, not opt-in.
Walk through findings by severity (blockers first, then issues, then suggestions, nits last). For each finding, give a concise summary using its reference number:
F1 [BLOCKER] Missing auth check on /api/admin endpoint —
src/routes/admin.ts:42F2 [ISSUE] Unclosed database connection in error path —src/db/query.ts:88F3 [SUGGESTION] Extract duplicate validation logic —src/handlers/create.ts:15,55
After presenting all findings:
"I'll fix all of these. Anything you want to opt out of, or change the approach on? (e.g., 'skip F3' or 'for F2, use a try/finally instead')"
Handling user responses:
- "skip F3" → uncheck F3 in the review doc
- "change F2 to use try/finally" → add
**Instructions:** Use try/finally insteadto F2 in the review doc - "looks good" / "go ahead" / no objections → proceed with all findings checked
Update the review doc on disk with any user changes, then proceed to /do-fixes
(or tell the user to run /do-fixes to apply).
Full auto mode: if the session was started with "full auto", present the findings summary,
then immediately proceed to /do-fixes without waiting for opt-outs.
Agent Budgets
Agents can get stuck. Include budget instructions in every agent prompt.
| Agent type | Budget | On budget hit |
| Reviewer agent | 10 tool uses | Report findings identified so far and stop |
Include in every agent prompt: "You have a budget of 10 tool uses. The diff is provided below — do not browse the codebase beyond what is needed to understand a specific finding. Report all findings identified so far if you approach the limit."
When an agent hits budget: (1) accept partial work if close enough, (2) spawn fresh agent with different instructions, or (3) escalate to user. Max 2 fresh-agent retries per finding before escalating.
Important Guidelines
- YOUR JOB IS CONTEXT. Ensure each agent has everything it needs. Don't assume agents can find project conventions — pass them the relevant content.
- Speed is not the goal. Correctness and verifiability are.
- When stuck, STOP and ask. If you or any agent is spinning, escalate to the user immediately.
- Files to skip in review:
**/generated/**,*.generated.*,schema.json,node_modules/,dist/,build/,__pycache__/,*.pyc,*.lock - Session continuity: Before ending, ensure the review document is saved with current
phase:and findings state.
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
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.

