agentleFS
himanshi-28himanshi-28/coding-agent-skills/skills/review-changes/SKILL.md

review-changes

Skill1 starsChanged 4 months agoMITView on GitHub

Explicit-invocation workflow for evidence-based review of a working tree, branch, commit, or pull-request diff, including prioritized findings, reviewer questions, and truthful review context. Use only when the user directly invokes the review-changes skill.

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explore-codebase, debug-issue 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 4 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 4 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 4 projects that use this

  • JetBrainsSkill

    fix-bug

    End-to-end bug fix workflow for the Exposed project. Accepts a GitHub issue (#NUMBER), YouTrack issue (EXPOSED-NUMBER), or YouTrack URL (https://youtrack.jetbrains.com/issue/EXPOSED-NUMBER). Fetches the issue, creates a failing reproducer test, commits on a new branch, implements the fix, validates, and opens a PR. Use this skill whenever the user wants to fix a bug from an issue tracker, mentions a EXPOSED issue number, or references a GitHub issue to fix.

    Also in 3 projects that use this

  • SentrySkill

    write-tests

    Write tests following project conventions. Use when adding new tests or modifying existing ones.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 33 edited versions we read keep these.

  • 11

    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:

    Read applicable repository instructions.

    line 14
  2. Distinctive:

    Check correctness, boundaries, error handling, partial failure, state consistency, and data loss.

    line 21
  3. Distinctive:

    Check authorization, authentication, validation, injection, secret exposure, unsafe defaults, and trust boundaries.

    line 22
  4. Distinctive:

    Check concurrency, ordering, retries, idempotency, time and timezone handling, resource cleanup, and performance.

    line 23
  5. Distinctive:

    Check API, schema, migration, configuration, and backwards-compatibility risks.

    line 24
  6. Distinctive:

    Check observability, recovery, and rollback where relevant.

    line 25
  7. Distinctive:

    Look for missing edge cases, excessive mocking, tests that restate the code, weakened assertions, skipped checks, or production code …

    line 28
  8. Distinctive:

    Run focused tests and available type, lint, build, or static-analysis checks when they materially increase confidence.

    line 30
  9. Distinctive:

    Do not confuse passing checks with proof that the behavioral contract is correct.

    line 31
  10. Distinctive:

    Avoid style preferences unless they cause a defect or violate an explicit repository rule.

    line 39
  11. Distinctive:

    Keep line ranges tight and do not duplicate the same root cause.

    line 40

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

Act as a skeptical code reviewer. Keep the review read-only unless the user separately asks to fix findings.

Workflow

  1. Establish the review scope.
    • Read applicable repository instructions.
    • Inspect working-tree status, the intended base, the complete diff, and relevant commit or task context.
    • State what is and is not included when scope is uncertain.
  2. Understand the intended behavior.
    • Trace changed paths into callers, consumers, data contracts, and nearby tests.
    • Compare the implementation with existing canonical patterns and acceptance criteria.
  3. Review for production-impacting defects.
    • Check correctness, boundaries, error handling, partial failure, state consistency, and data loss.
    • Check authorization, authentication, validation, injection, secret exposure, unsafe defaults, and trust boundaries.
    • Check concurrency, ordering, retries, idempotency, time and timezone handling, resource cleanup, and performance.
    • Check API, schema, migration, configuration, and backwards-compatibility risks.
    • Check observability, recovery, and rollback where relevant.
  4. Challenge the tests.
    • Confirm tests exercise the changed behavior and can fail for a wrong implementation.
    • Look for missing edge cases, excessive mocking, tests that restate the code, weakened assertions, skipped checks, or production code tailored to test values.
  5. Run proportionate verification.
    • Run focused tests and available type, lint, build, or static-analysis checks when they materially increase confidence.
    • Do not confuse passing checks with proof that the behavioral contract is correct.
  6. Prepare for peer review.
    • Predict the questions most likely to affect approval: design choice, edge cases, security, compatibility, migrations, rollout, rollback, performance, and test evidence.
    • Give evidence-backed answers when available and mark unresolved doubts explicitly.
    • Draft concise pull-request context covering motivation, scope, approach, verification, risk, and follow-ups without inventing facts.
  7. Report only actionable findings.
    • Prioritize by severity: P0 critical, P1 high, P2 medium, P3 low.
    • Give each finding a concise title, exact location, failure scenario, impact, and evidence or reproduction path.
    • Avoid style preferences unless they cause a defect or violate an explicit repository rule.
    • Keep line ranges tight and do not duplicate the same root cause.

Output

List findings first in severity order, followed by likely reviewer questions, missing evidence, a concise pull-request summary, and the validation results. If no actionable findings exist, say so plainly and identify residual risks or unverified areas. Do not implement fixes during a review-only request. After findings are resolved, use the rework-commits skill to create reviewable history.

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.