agentleFS
justinzapantajustinzapanta/claude-reliable-kit/skills/review-changes/SKILL.md

review-changes

Skill1 starsChanged 7 days agoMITView on GitHub

Reviews a diff, PR, branch, or commit for correctness defects, regressions, security issues, or missed requirements. Use when asked to review or before a release.

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 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.
  • 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

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

  • 0

    Common

    Most of the 43 edited versions we read keep these.

  • 3

    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:

    Spec check: If there is a spec, issue, or request: list requirements the diff misses and changes nobody asked for, quoting the requirement …

    line 14
  2. Distinctive:

    Trace behavior: Follow changed code through its callers and data boundaries.

    line 15
  3. Distinctive:

    Check each suggestion against the codebase before acting (search for real usages before "implementing properly").

    line 33

“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

Review as a skeptical maintainer. Find defects the change introduces, not style preferences. Zero findings is a valid result.

Sequence

  1. Get the change map first, even for a one-file diff. Run python ${CLAUDE_SKILL_DIR}/../lean-navigation/scripts/graph.py impact --dir . (add --base <ref> for a branch or PR). It lists changed symbols, callers, importers, tests to run, routes, and project memory recorded on those files. A change that contradicts a recorded decision or repeats a recorded bug is a finding; quote the memory. If the script is missing, use git diff and search callers by hand.
  2. Confirm the target. The ref resolves (or the patch file applies to the files it names), the diff is not empty, and the checkout is on the reviewed code before running anything. Read what the change map points to, plus stated requirements; skip unrelated files.
  3. Spec check. If there is a spec, issue, or request: list requirements the diff misses and changes nobody asked for, quoting the requirement line. A spec being silent about a case does not make breaking it acceptable.
  4. Trace behavior. Follow changed code through its callers and data boundaries. Check error paths, state changes, concurrency, compatibility, and security where relevant.
  5. Probe tests (when authorized and practical). Run the tests the change map lists; python ${CLAUDE_SKILL_DIR}/../task-ledger/scripts/ledger.py coverage --base <ref> shows which affected tests, callers, and routes nothing has exercised yet. For a key new condition, invert it briefly and rerun: if the tests stay green, a test is missing. Restore it. Test output is evidence, not proof for untested paths.

Severity bar

  • Critical: likely severe data loss, security compromise, or outage.
  • High: major behavior broken in a realistic case, or an important security boundary bypassed.
  • Medium: meaningful but limited bug, regression, or missing failure handling.
  • Low: minor correctness issue with concrete impact.

Report only what the author can act on, with a credible trigger. Label pre-existing defects separately from new regressions, and include them only if they make this change unsafe.

Output

For each finding: [Severity] Short title: scenario and impact; path:line; a concise fix when clear. Then a short "Not judged" line for anything you set aside, and the checks you ran. Never claim "no bugs"; say what was and was not examined.

Receiving review feedback

Check each suggestion against the codebase before acting (search for real usages before "implementing properly"). Clarify every unclear item before changing anything, and push back with evidence when a suggestion is wrong.

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.