agentleFS
mindroom-aimindroom-ai/mindroom/.claude/skills/pr-review/SKILL.md

pr-review

Skill354 starsChanged todayApache-2.0View on GitHub

Zero-tolerance pull request review. Every issue is a blocker. Use when reviewing PRs for merge readiness.

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every issue you find is a blocker — there is no such thing as a "minor issue" or "non-blocking suggestion".

    line 7
  2. Distinctive:

    Do not approve a PR with caveats like "ready to merge but consider..." or "minor nit:".

    line 9
  3. Distinctive:

    If you would report it as an issue, it must be fixed.

    line 10
  4. Distinctive:

    Never approve with suggestions.

    line 16
  5. Distinctive:

    Never say "looks good overall but...".

    line 17
  6. Distinctive:

    If there's a "but", it's CHANGES REQUIRED.

    line 18
  7. Distinctive:

    Do not ask for mechanisms that no realistic scenario needs, such as new limits, caches, retries, fallbacks, or hardening.

    line 30
  8. Distinctive:

    Do not require refactors of untouched code unless they have clear immediate ROI.

    line 42
  9. Distinctive:

    Do not require broad refactors for hypothetical future needs.

    line 49
  10. Distinctive:

    No dead code paths and NO defensive programming.

    line 61
  11. Distinctive:

    Docs: Do docs changes follow the Documentation Policy in @AGENTS.md?

    line 71
  12. Very specific:

    If <nixpkgs> is unresolved, retry with nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos shell.nix.

    line 78
  13. Very specific:

    Live tests: If feasible, test the changes with a local Matrix stack (just local-matrix-up) and the Matty CLI to verify agent behavior …

    line 79
  14. Very specific:

    Look at git diff origin/main...HEAD for the changes made in this pull request.

    line 84

“Common” is measured: kept by at least 6 in 10 of the 175 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 the pull request with a zero-tolerance standard. Every issue you find is a blocker — there is no such thing as a "minor issue" or "non-blocking suggestion". Either the PR is flawless and ready to merge, or it has problems that MUST be fixed before merging. Do not approve a PR with caveats like "ready to merge but consider..." or "minor nit:". If you would report it as an issue, it must be fixed.

Your verdict must be one of:

  • ✅ APPROVE — The code is near-perfect. No issues found. Merge immediately.
  • ❌ CHANGES REQUIRED — Issues found. List every one. All must be fixed before re-review.

Never approve with suggestions. Never say "looks good overall but...". If there's a "but", it's CHANGES REQUIRED. The only notes allowed beside either verdict are the Edge cases (not blocking) and Out of scope lists defined below.

Realistic Issues Only

A bug or security finding is an issue only when it has a concrete, realistic scenario: who triggers it in normal use of a supported configuration or operator workflow, including config edits, upgrades, and restarts, or which boundary in docs/architecture/security-posture.md it crosses. State that scenario with each such finding. A bug or security finding without such a scenario is an edge case, for example one that needs an unusual configuration plus unusual data, or deliberate operator misuse such as hand-editing internal state. Attacks across a boundary the security posture protects are never edge cases, and findings that match an intentional behavior listed there are not issues at all. Edge cases do not block; list them, one line each, under Edge cases (not blocking). Checklist items without a runtime trigger, such as duplication, structure, tests, and docs, keep the standard below. A missing test for an edge case is itself an edge case. Do not ask for mechanisms that no realistic scenario needs, such as new limits, caches, retries, fallbacks, or hardening.

Out-of-Scope Problems

Report real problems that exist without this PR, in code it does not touch, and that the Scope and Refactor Standard below does not require it to fix, under Out of scope with evidence. A problem the PR introduces or newly exposes is in scope even when the faulty line is unchanged. Out-of-scope problems do not block this PR. Whoever acts on the review records each one as soon as it is classified, in the task's existing tracking location such as its tracking file or GitHub issue, or in the final report when there is none, so it survives context compaction.

Scope and Refactor Standard

Code touched by a PR must be merge-and-forget quality — no rough edges, no avoidable duplication, no unconventional idioms. Do not require refactors of untouched code unless they have clear immediate ROI.

  • Require a broader refactor only when it has clear immediate ROI:
    • It removes active duplication in current code paths.
    • It creates one clear consolidation point.
    • It reduces net complexity after the change.
    • It is validated by meaningful tests in the same PR.
  • Do not require broad refactors for hypothetical future needs.

Review checklist

  • Code cleanliness: Is the implementation clean and well-structured?
  • DRY principle: Does it avoid duplication?
  • Architectural smells: Identify scattered logic or the same policy/resolution logic being defined in multiple places instead of one source of truth.
  • Code reuse: Are there parts that should be reused from other places?
  • Organization: Is everything in the right place?
  • Consistency: Is it in the same style as other parts of the codebase?
  • Simplicity: Is it not over-engineered? Remember KISS and YAGNI. No dead code paths and NO defensive programming. No unnecessary try-excepts.
  • No pointless wrappers: Identify functions/methods that just call another function and return its result. Callers should call the underlying function directly instead of going through unnecessary indirection.
  • Functional style: Does it prefer functions over classes where appropriate? Are dataclasses used instead of raw dicts?
  • Imports: Are imports at file top, with function imports used to avoid cycles or defer heavy/optional dependencies until first use, as required by AGENTS.md?
  • Deferred imports: Are these explicit (from x import Y), annotated with # noqa: PLC0415 where needed, and consistent with tests/test_import_graph.py?
  • User experience: Does it provide a good user experience?
  • PR: Is the PR description and title clear and informative?
  • Docs: Do docs changes follow the Documentation Policy in @AGENTS.md? A change to configuration, user-visible behavior, or an operator procedure without an update to its owning page is a blocker. Docs text that fails the policy's question test is also a blocker: a narrated bug fix, or, in user docs, implementation mechanics or a hardening limit or rare failure or recovery path that no user would plausibly ask about. A fix that restores documented behavior, a refactor, or hardening whose limits normal use never reaches needs no user-docs change, so never ask for one; contributor and operator pages, meaning docs/architecture/ and pages outside the zensical.toml nav, follow their own update rules.
  • Tests: Are there tests, and do they cover the changes adequately? Are they testing something meaningful or are they just trivial? On NixOS, run them inside nix-shell shell.nix (or use nix-shell shell.nix --run 'uv run pytest -x -n 0 --no-cov -v'). If <nixpkgs> is unresolved, retry with nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos shell.nix.
  • Live tests: If feasible, test the changes with a local Matrix stack (just local-matrix-up) and the Matty CLI to verify agent behavior end-to-end.
  • Rules: Does the code follow the project's coding standards and guidelines as laid out in @AGENTS.md?

How to review

Look at git diff origin/main...HEAD for the changes made in this pull request.

Download now (ZIP)

  • Other versions195 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 195

    1. Significant-Gravitas/AutoGPT★ 188ksame name
    2. pytorch/pytorch★ 105ksame name
    3. rtk-ai/rtk★ 85ksame name
    4. saadeghi/daisyui★ 43ksame name
    5. rustfs/rustfs★ 36ksame name
    6. dotnet/maui★ 23ksame name
    7. NVIDIA/Megatron-LM★ 18ksame name
    8. MiniMax-AI/skills★ 14ksame name
    9. openchamber/openchamber★ 12ksame name
    10. LMCache/LMCache★ 12ksame name

    185 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use pr-fix, clack-cli-patterns 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.
    • volovelySkill

      pr-fix

      This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

      Also in 5 projects that use this

    • jlu-lujingSkill

      clack-cli-patterns

      Use when creating or modifying TaskHunter CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.

      Also in 3 projects that use this

    • jlu-lujingSkill

      drag-to-reorder

      Use when implementing or modifying TaskHunter sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.

      Also in 3 projects that use this

    • jtenniswoodSkill

      expert-reset

      Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.

      Also in 3 projects that use this

    • CES-LtdSkill

      oss-pr

      Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

      Also in 3 projects that use this

    • CES-LtdSkill

      pr-automation

      PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

      Also in 3 projects that use this

    • +5 more from jlu-lujing
  • In this repository14 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

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.