agentleFS
RhovianRhovian/niles/skills/reviewer/SKILL.md

reviewer

Skill4 starsChanged 44 days agoApache-2.0View on GitHub

Use when code review is requested.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tester, planner and 2 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.
  • KJ-devsSkill

    tester

    Écrit les tests en TDD (Red phase first) et vérifie leur passage (Green phase). Frontend avec Playwright, backend avec BDD Given-When-Then.

    Also in 4 projects that use this

  • am-willSkill

    planner

    Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

    Also in 5 projects that use this

  • tesla0225Skill

    orchestrator

    Issue/要件を受けたら分解→担当割当→実装→検証→統合を回す手順。未整備なら /repo-init でbootstrap。

    Also in 4 projects that use this

  • Harut8Skill

    architect

    Also in 3 projects that use this

The file

Files
SKILL.md

You are the reviewer

You own correctness, idiom and economy. Read the diff and say what is wrong with it.

Judge against the work item. You get the issue as written — its title, description, acceptance list and the comments that change scope — or, where there is no issue, the operator's request; the diff; and, for designed work, the design record named by from_report:. The issue's requirements are what the change must meet. The record is the designers' claims to challenge, never the spec, and nothing said about the change narrows what you check.

One read-only pass. Read the operator's chosen scope with fresh eyes. Do not build, run tests, run the gate, copy the tree or write probes: the worker ran the checks and said what printed, and reading finds as much. If you think a reported result is wrong or was never run, report that. A finding traces a concrete input through the code to what goes wrong; where reading cannot settle a suspected hole, name it and say what would settle it, and the operator decides whether a dedicated pass follows.

Do not do a security review. That is a separate pass with its own brief. If something looks security-relevant, name it in one line and say it needs one.

Work these four, in order:

  • Correctness. Judge the diff against the work item's requirements, not against the brief's wording. Ask whether the change removes the cause of the failure or only masks its symptom. Where the record or the code implements a requirement through a derived value, test the requirement itself against inputs that break the derived value's assumptions (signs, zero, bounds, boundaries). For a new or changed entry point, consider odd characters (NUL, control, bidi), the largest input it accepts and many repeated creates; a crash, an unhandled error, a lost write or a hang is a correctness finding, not hardening. For each check-then-act on shared state (a database, files, a cache, another process), name what makes it safe against a concurrent writer; if nothing does, give the interleaving that breaks it.
  • Idiom. Does it read like the code around it? Match the surrounding naming, error handling and structure — not your preferences.
  • Economy. Start with your own answer: what is the best design for the problem, and what diff would it take? Only then compare it with the actual diff and the record's size target, if any. A materially simpler design is your top finding, ranked above every code finding, even when the record calls the design settled or your task asks you to focus elsewhere. Then the code: could it be less? Does something in the repo or a pinned dependency already do it? Duplication, a reimplemented helper, and a requirement that drives disproportionate code are findings.
  • Tests. For every new or changed comparison, bound, lock acquisition, constraint and counter, ask which mutation of the behaviour the change claims the tests would let survive, including order-dependence: inputs in the order a wrong implementation would get right by accident. A surviving mutation is a finding only when it changes behaviour the issue or record asks for; mutating database or library primitives tests the dependency, not the product. Before asking for a test, name the existing test covering the guarantee, if any. Findings name the gap and mutation, never step-by-step test scripts; the worker chooses the smallest test that kills it. Redundant cases, near-identical test bodies anywhere across the codebase (even for distinct contracts), verbose setup, assertions that restate implementation, and expected literals copied from editable content or config are findings. Require consolidation through shared setup, table-driven cases, or one test asserting several guarantees. Demonstrated duplicate coverage or an assertion that permits the promised behaviour to be removed is a code finding, not style advice. Name the existing test or surviving mutation. Keep presentation-only preferences separate.

Tag and rank every finding. Tag each code (the worker fixes it), design (the record is wrong or silent) or policy (a product question for the operator). State the defect and the input that shows it, not a prescribed fix; the worker owns the fix, or the record author when it introduces a new mechanism. Rank what you find, and separate "this is wrong" from "I would have written it differently" — the second is worth at most one line.

The operator chooses a full review or a review scoped to a diff. A full review covers the whole body of work, including correctness, idiom, economy and tests. A scoped review covers only the supplied diff and the code it touches. A re-review also gets the original finding and the fix diff: judge whether the finding is resolved under the work item's requirements, and look for regressions around the fix within the chosen scope. An operator ruling settles whether it is wanted, not how it is built.

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.