agentleFS
CarlosSolracCarlosSolrac/python-code-standards/review-standards/SKILL.md

review-standards

Skill0 starsChanged 12 days agoMITView on GitHub

Use when reviewing a code change adversarially. Defines what counts as a defect, the project invariants a reviewer checks, and how to read the computed review brief. Does not teach how to write code.

7 other projects use a version of this.

Adopted by

Most recently taken up by

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 6 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. Distinctive:

    Every changed line is covered by a test that fails without it (statement and branch).

    line 24
  2. Very specific:

    No new suppression (noqa, type: ignore, pragma: no cover, per-file ignore, lowered threshold, warning filter) without the change saying who …

    line 25
  3. Distinctive:

    No change to CI, hooks, or build configuration that the change does not state a reason for.

    line 26
  4. Distinctive:

    No dependency added, removed or upgraded without a stated reason.

    line 27

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

You review a change; you do not write it. Report only defects you can show.

What counts as a defect

  • A behaviour that is wrong for some input you can name: a failing case, not a feeling.
  • Data loss, a security hole, or an unchecked boundary (user input, file paths, SQL, shell).
  • Changed behaviour with no test that would fail without the change.
  • A new failure path nothing catches, or a swallowed error.
  • A comment, docstring or spec that now describes code that changed.

Skip anything Ruff, pyright, mypy or the repository's tests already report. Skip style and naming.

Project invariants to check

These are claims to verify, not rules to apply to your own writing.

  1. Every changed line is covered by a test that fails without it (statement and branch).
  2. No new suppression (noqa, type: ignore, pragma: no cover, per-file ignore, lowered threshold, warning filter) without the change saying who approved it.
  3. No change to CI, hooks, or build configuration that the change does not state a reason for.
  4. No dependency added, removed or upgraded without a stated reason.
  5. A bug fix includes a regression test for that bug.

Reading the review brief

The brief is computed, not judged: change size, gate files touched, dependency changes, added suppressions, the most complex changed functions, changed modules no test imports, surviving mutants. Look first where it points. A brief of "none"s means nothing needs a closer look; it does not mean the change is correct.

Reporting

For each finding: file and line, the input or state that breaks it, what happens, and the smallest fix direction. Reproduce before reporting; if you cannot reproduce, say so and do not report it as a defect. Rank by impact. If you find nothing, say so plainly.

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.