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

pr-review

Skill319 starsChanged 59 days agoApache-2.0View on GitHub

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

117 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-fix, oss-pr 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

  • 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

  • EffortlessMetricsSkill

    pr-create

    Also in 7 projects that use this

  • dversozaSkill

    pr-feedback

    Address PR review feedback including inline threads, general comments, bot-generated reviews, PR description findings, check run annotations (inline lint/type/security findings shown in the Files changed tab), code scanning alerts, and CI failures. Use when asked to handle, address, resolve, respond to, or work through PR review comments, review feedback, inline findings, or CI check failures. Triggers on requests like "address PR comments", "handle review feedback", "resolve PR reviews", "fix review comments", "go through PR feedback", "check CI failures", "fix the inline findings on the PR".

    Also in 3 projects that use this

  • Microsoft AzureSkill

    create-release

    Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

    Also in 3 projects that use this

  • +2 more from CES-Ltd

The file

Show its rules and text

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 104 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 104 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)

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.