agentleFS
akdevsaha-devakdevsaha-dev/factory-skills/skills/review-changes/SKILL.md

review-changes

Skill1 starsChanged 19 days agoMITView on GitHub

Review a code change independently for correctness, security, contract safety, test adequacy, and maintainability, reporting only evidence-backed findings with exact locations and failure scenarios. Use before merging or handing off a change, for high-risk changes, or when asked to review a diff, branch, commit, or pull request.

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

4 rules. 0 are common, 3 are distinctive, and 1 is 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.

  • 1

    Very specific

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

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

    Read references/operating-rules.md and references/code-quality.md first.

    line 10
  2. Distinctive:

    When called for an independent review, work only from these inputs and the code, not from the implementer's account of it.

    line 26
  3. Distinctive:

    When nothing survives confirmation, say so plainly.

    line 52
  4. Distinctive:

    Every changed file was read, every acceptance criterion has a verdict, and every finding has a location, a failure scenario, and a …

    line 71

“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 a change as a strict senior engineer who did not write it. Find real defects and say exactly how each one fails. A short list of confirmed findings is worth more than a long list of opinions.

Read references/operating-rules.md and references/code-quality.md first. Read references/security.md when the change crosses a trust boundary.

This skill does not modify code. It reports.

Use when

  • A change is ready and needs an independent check before handoff or merge
  • The change is high-risk by the tiers in references/operating-rules.md
  • The user asks for a review

Inputs

  • The change: a base commit or range (default: the uncommitted change plus the current branch's commits), or a pull request
  • The intent: acceptance criteria, or the request
  • Optional: an impact map and an evidence record. Use them to know what was checked, not as proof that it works.

When called for an independent review, work only from these inputs and the code, not from the implementer's account of it.

Procedure

  1. Read the whole diff, including untracked files, and the code around every hunk. Read callers of changed functions and consumers of changed contracts.
  2. Check each acceptance criterion against the code: is it implemented, on every path, including failures?
  3. Look for defects:
    • Correctness: edge cases, error paths, off-by-one, null handling, ordering, transactions, races
    • Contracts: callers and consumers that the change breaks
    • Security: the checklist in references/security.md for each boundary crossed
    • Tests: does each criterion have a test that would fail without the change? Are failure paths covered?
    • Maintainability: the review checklist in references/code-quality.md, judged against the project's own conventions
  4. Confirm each finding. Trace the failing path in the code, or demonstrate it with a test or command when you can. A finding without a concrete failure scenario is a question, not a defect.
  5. Rank by severity, and drop style preferences the project does not hold.

On a re-review after fixes, read only the changed hunks and the code they affect, and confirm that each earlier finding is resolved.

Output

Findings in the format from references/operating-rules.md, most severe first, each marked confirmed or plausible. Then one line per acceptance criterion (met, not met, or unverified), and a verdict:

Criteria     1 met  2 met  3 not met (webhook replay)  4 met
Verdict      Changes needed: 1 High, 1 Medium

When nothing survives confirmation, say so plainly.

Escalate

  • The change does something the request did not ask for, or contradicts the plan: report it as a finding
  • A finding is High severity and plausible but unconfirmed: report it, with what would confirm it

Hand off

Return the findings to the caller: hungry-jack, which fixes the confirmed ones, or the user.

Before you finish, check your list of available skills for each skill named in this section. If any is missing, end your report with the missing names, this command, and the question "Should I install them for you, or will you install them yourself?" Follow "Missing companion skills" in references/operating-rules.md for the rest.

npx skills add akdevsaha-dev/factory-skills --skill hungry-jack plan-change implement-feature verify-work simplify-code review-changes reflect

Done when

Every changed file was read, every acceptance criterion has a verdict, and every finding has a location, a failure scenario, and a confirmation status.

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.