agentleFS
BrentRectorBrentRector/claude-skills/skills/review/SKILL.md

review

Skill4 starsChanged 2 months agoMITView on GitHub

Use when asked for a code review, architecture review, performance review, or duplication/efficiency analysis of a diff, branch or PR (or a whole subsystem audit) - runs the four review dimensions (architecture, full code review, performance, duplication and efficiency) as parallel agents, requires a concrete failure scenario for every finding, adversarially verifies each finding before reporting it, and sweeps every confirmed defect for its siblings.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, plan-devex-review 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.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 11 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 5 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 11 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 12 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • +1 more from seek888

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 4 are distinctive, and 11 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No argument: local diff against the default branch (git symbolic-ref refs/remotes/origin/HEAD, never assume main), staged and unstaged.

    line 23
  2. Very specific:

    Read references/target-triage-calibration.md before reviewing a PR that already carries a review.

    line 31
  3. Distinctive:

    Before spending judgment, run whatever the repo already mechanizes: the build, the linters/analyzers, the test suite scoped to the change, …

    line 35
  4. Distinctive:

    Never skip Full code review, nor Duplication and efficiency for new files.

    line 44
  5. Very specific:

    Read references/target-triage-calibration.md (the triage table) before skipping Architecture, Performance or Duplication and efficiency.

    line 49
  6. Distinctive:

    Read CLAUDE.md/README first.

    line 53
  7. Very specific:

    Read references/target-triage-calibration.md before Step 4 for what each level changes.

    line 56
  8. Very specific:

    Read references/dimensions.md before launching the Step 5 agents: it holds the criteria to hand each agent and when each specialist applies.

    line 69
  9. Distinctive:

    No scenario, no finding. "This could be cleaner" or "consider X" is a style opinion, not a defect.

    line 80
  10. Very specific:

    Read references/verification-and-siblings.md before spawning the Step 6 skeptics.

    line 90
  11. Very specific:

    Read references/verification-and-siblings.md before the Step 7 sweep.

    line 97
  12. Very specific:

    Read references/report-and-scale.md before writing the Step 8 report and before posting to a PR.

    line 104
  13. Very specific:

    Read references/report-and-scale.md before an audit-sized run.

    line 111
  14. Very specific:

    Read references/standards-and-hooks.md before Step 2 when the repo carries engineering standards.

    line 117
  15. Very specific:

    Read references/standards-and-hooks.md before Step 2 to read the repo's Review rules section.

    line 124

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

Four independent review dimensions, run in parallel, followed by an adversarial verification pass that tries to kill every finding before it reaches the author. The output is a short list of defects that survived an honest attempt to refute them, each with a scenario that reproduces it.

The premise: a plausible-but-wrong finding costs more than a missed one. It sends the author (or the next agent) to rewrite working code, and it erodes trust in every later review. So this skill is built to filter, not to generate volume. An empty review is a valid result.

Triage and calibration ideas from carlymr/carlys-claude-skills.

Detail lives in references/; each step says when to read which file.

Step 1 - Establish the target

  • No argument: local diff against the default branch (git symbolic-ref refs/remotes/origin/HEAD, never assume main), staged and unstaged. PR: gh pr diff, gh pr view. Branch or path: diff against the merge base. "Audit" / "be comprehensive" / a subsystem name: whole-source mode (see Scale).
  • A PR that already carries a review: diff only the commits since, open with Incremental review - changes since <timestamp>, never re-raise an answered finding; no new commits, say so and stop.

Empty diff → say so and stop.

Read references/target-triage-calibration.md before reviewing a PR that already carries a review.

Step 2 - Run the free checks first

Before spending judgment, run whatever the repo already mechanizes: the build, the linters/analyzers, the test suite scoped to the change, and any invariant checkers (Semgrep rules, architecture tests, custom scripts named in the project instructions). Anything a tool already catches needs no reviewer. And when the review later finds a defect class a rule could catch, propose the rule, not only the instance.

Step 3 - Triage: which dimensions apply

Skip dimensions that clearly cannot apply, and say which were skipped and why.

  • Never skip Full code review, nor Duplication and efficiency for new files.

A genuinely trivial diff (typo, version bump, comment) gets a direct single-pass review with no agents; state that a full review was not warranted.

Read references/target-triage-calibration.md (the triage table) before skipping Architecture, Performance or Duplication and efficiency.

Step 4 - Calibrate: two independent axes

  • Read CLAUDE.md/README first; an author's statement beats inference. Set scale and consequence independently; if unstated assume early users / standard, say so, and pass both axes to every agent.

Read references/target-triage-calibration.md before Step 4 for what each level changes.

Step 5 - The four dimensions, as parallel agents

Launch one agent per selected dimension in a single message so they run concurrently. Give each the diff (or subsystem), the changed-file list, the PR description, the calibration, any project review rules (see Project hooks), and its criteria below. Each agent reads surrounding code as needed - a diff alone hides most defects.

  • The four dimensions are Architecture, Full code review, Performance, Duplication and efficiency.
  • Specialist agents (silent-failure-hunter, pr-test-analyzer, type-design-analyzer, comment-analyzer) launch in the same message when the change matches and go through the same Step 6 skeptic.
  • A fixed time limit in a test is a finding; a performance finding names an input size.

Read references/dimensions.md before launching the Step 5 agents: it holds the criteria to hand each agent and when each specialist applies.

What every finding must carry

[SEVERITY] path/to/file.ext:L<start>-L<end> - <title>
Scenario: <inputs / state>  ->  <actual wrong result>  (expected: <correct result>)
Why: <the mechanism, pointing at the exact line>
Fix: <approach, and whether it is local or structural>

No scenario, no finding. "This could be cleaner" or "consider X" is a style opinion, not a defect; drop it unless the calibration explicitly asks for suggestions. For duplication, the scenario is the divergence: change rule R in place A, and path B still does the old thing.

Step 6 - Adversarial verification

  • Agent output is candidates: spawn a skeptic per candidate to REFUTE it, running the scenario when cheap. Uncertain means refuted; only survivors are reported; a null result is valid.
  • Then de-duplicate, apply the calibration, rank Critical, Warning, Suggestion.

Read references/verification-and-siblings.md before spawning the Step 6 skeptics.

Step 7 - Sweep for siblings

  • For each survivor search the other arm of the same dispatch, the paired function, the copied neighbor, the same idiom elsewhere; report siblings under the parent and say how the sweep was done.

Read references/verification-and-siblings.md before the Step 7 sweep.

Step 8 - Report

  • Nothing survives: say so plainly. Offer to file survivors in the project's tracker.
  • Posting is confirm-first: ask before posting to a PR; never approve or request changes unless asked.

Read references/report-and-scale.md before writing the Step 8 report and before posting to a PR.

Scale

  • A diff gets one finder per dimension and one skeptic; an audit gets several finders, 3-5 skeptics per finding and a completeness critic.

Read references/report-and-scale.md before an audit-sized run.

Standards

The bar is the engineering-standards skill; every rule there is a finding category here, even when every test passes.

Read references/standards-and-hooks.md before Step 2 when the repo carries engineering standards.

Project hooks

A repository adds a ## Review rules section to CLAUDE.md (or .claude/review.md): honor its extra dimensions, banned rules, mechanical checks and tracker.

Read references/standards-and-hooks.md before Step 2 to read the repo's Review rules section.

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.