agentleFS
berekvolgyipeterberekvolgyipeter/dotclaude/skills/review-changes/SKILL.md

review-changes

Skill2 starsChanged 8 days agoMITView on GitHub

Line-by-line code review of a change set — uncommitted changes against the last commit, a branch against its base (`pr [base]`), or everything since a ref (`since <ref>`) — run in the background by independent reviewers, one per focus (correctness, the user's coding rules and code smells, and security and tests when the change calls for them), at a depth sized to the change's risk; the calling session then judges and fixes the findings. Use for every code review the user asks for, or when a workflow skill calls it; never review with a generic agent and a hand-written prompt instead. A multi-agent review is too costly to start unprompted.

44 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explore-codebase, build-graph and 9 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.
  • srclightSkill

    explore-codebase

    This skill should be used when the user asks to "explore this codebase", "understand this project", "give me an overview", "how does this work", "onboard me", "walk me through the architecture", "map the codebase", or any request to understand a codebase's structure, architecture, or design.

    Also in 6 projects that use this

  • exactbeeSkill

    build-graph

    Build or rebuild the code-review-graph knowledge graph for the current project

    Also in 3 projects that use this

  • NVIDIASkill

    debug-issue

    Use when the user asks to debug, investigate, or fix a GitHub issue or supplies a repository bug report.

    Also in 6 projects that use this

  • srclightSkill

    refactor-safely

    This skill should be used when the user asks to "refactor", "rename", "move", "change a function signature", "extract a method", "delete unused code", "clean up", or any modification that could break callers or dependents. Provides a pre-change safety checklist using srclight's graph tools to assess blast radius before touching code.

    Also in 5 projects that use this

  • yu-iskwSkill

    test-and-fix

    Run unit tests and automatically fix code failures, regression bugs, or test mismatches. Use when tests are failing, after implementing new features, or to repair "broken" tests.

    Also in 3 projects that use this

  • sirakinbSkill

    build-feature

    Autonomous task loop that picks ready tasks, implements them, updates progress.txt, commits, and repeats. Use when asked to 'build feature', 'run the loop', or 'implement these tasks'.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 43 edited versions we read keep these.

  • 1

    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:

    When the review arrives:

    line 23

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

<arguments> $ARGUMENTS </arguments>

Dispatch one general-purpose subagent in the background with exactly this prompt, and add nothing about this session's work — the reviewer must judge the code independently, and anything you add anchors it to your reasoning:

Arguments: <the arguments above, verbatim>. Read ~/.claude/skills/review-changes/references/review-protocol.md and follow it exactly: find the change set, then review it. Your final reply is the review output it specifies.

Then say the review is running and stop; continue with whatever the user asks meanwhile.

When the review arrives:

  • Findings — each has a severity and a kind (bug or judgement call), in the shape ~/.claude/skills/review-changes/references/finding.md defines; whether to fix it is yours to decide, since you know the change's goal and scope and the reviewers do not. Judge each one against that: fix every bug that holds up, and give a one-line reason for each one you leave; list the judgement calls with your recommendation for the user to choose. Your caller may set its own policy or ask you to fix nothing — follow it.
  • Before the first fix, run git -C <reviewed root> stash create and keep the commit it prints — the snapshot; when it prints nothing, the snapshot is the commit git -C <reviewed root> rev-parse HEAD prints. It only records the work as it was and leaves the working tree and index untouched. After fixing, report the snapshot and offer review-changes <root> since <snapshot>, which reviews only what the fixes changed; untracked files are not in a snapshot, so that review reads them in full again.
  • A list of candidates, no changes, an unresolved ref, a request to name the base branch, or a passed review — relay it as is.

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.