agentleFS
YauhenBichelYauhenBichel/engineering-skills/skills/review-code/SKILL.md

review-code

Skill0 starsChanged 53 days agoApache-2.0View on GitHub

Reviews a change for bugs and risks. Use for pull requests, diffs or code the user asks you to check.

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-deps, audit-test-suite 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.
  • ba0918Skill

    review-deps

    A focused read-only review that treats manifests, lockfiles, and dependency diffs as first-class input and evaluates known vulnerabilities and supply chain signals. Use when the user says "review the dependencies", "look at the dependency vulnerabilities", "check the lockfile", "supply chain risk", "organize the npm audit output", "detect typosquats", "dependency health", or "review-deps". Its subject is the health of the dependencies, not test quality or code quality.

    Also in 4 projects that use this

  • yaohuangguanSkill

    audit-test-suite

    Find where an existing test suite is weak and decide what to test next, ranked by risk. Use this when asked to add missing tests, find gaps, raise coverage, assess test quality or see which areas are thin, even if the request only mentions a coverage percentage.

    Also in 3 projects that use this

  • yaohuangguanSkill

    change-data-safely

    Change a database schema or stored data without breaking running code or losing data. Use this for any migration, new or changed column, backfill, bulk update, delete, index, or change to a stored format, including in small projects. Data mistakes are often impossible to undo.

    Also in 3 projects that use this

  • mrdulasolutionsSkill

    clear-caches

    Clear extension caches, analysis data, and drafts from the database. Use when testing sender lookups, analysis, or draft generation from a clean state.

    Also in 3 projects that use this

  • GeiserXSkill

    docs-loop

    Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.

    Also in 3 projects that use this

  • mrdulasolutionsSkill

    electron-devtools-testing

    Test the Electron app interactively using Chrome DevTools Protocol. Use when the user asks to test, verify, or interact with the running app via browser automation.

    Also in 3 projects that use this

  • +1 more from mrdulasolutions
  • +1 more from yaohuangguan

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 1

    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:

    Verify test coverage. Confirm new paths have assertions or mock calls.

    line 10
  2. Distinctive:

    Keep recommendations actionable and minimal.

    line 27

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

Steps

  1. Load the diff or target files. Identify changed functions and entry points.
  2. Trace logic paths. Check boundary conditions, null inputs, and error returns. Example: verify if not data: guards before parsing.
  3. Scan for secrets, unvalidated inputs, and injection vectors. Block raw eval or string interpolation.
  4. Verify test coverage. Confirm new paths have assertions or mock calls. Run pytest -k test_name.
  5. Rank findings by severity. Draft each as file:line, concrete breaking input, and fix. Skip style nitpicks unless they hide a bug.
  6. State clearly if the code is clean.

Checklist

  • Logic handles empty, null, and overflow inputs.
  • Error paths return or log without leaking state.
  • No secrets in code, env, or logs.
  • Inputs are validated before use.
  • Tests cover all changed branches.
  • Findings list file:line, trigger, and fix.
  • Severity order matches risk level.

Output

  • List critical bugs first, then medium/low risks.
  • Provide exact file:line, failing input, and corrected code snippet.
  • State "No issues found" if checks pass.
  • Keep recommendations actionable and minimal.

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.