agentleFS
ThinkFlowLabThinkFlowLab/system1-agents/.claude/skills/review-pr/SKILL.md

review-pr

Skill183 starsChanged 51 days agoApache-2.0View on GitHub

Review pull requests for system1-agents with high-confidence, evidence-based feedback. Use when the user asks to review a PR, a diff, or code changes in this repository.

185 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnose-ci-failures, docs-loop 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.
  • zerx-labSkill

    diagnose-ci-failures

    Diagnose CI failures for a PR using the GitHub CLI, extract error logs, and generate a plan to fix them. Use when the user asks to check CI status, pull CI issues, triage test failures, or investigate PR build failures.

    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

  • GeiserXSkill

    full-loop

    Drive a repository to done with sergio-loop, then keep improving it with refine-loop at a descending theta. Use only when the user explicitly invokes full-loop.

    Also in 3 projects that use this

  • tirth8205Skill

    review-delta

    Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

    Also in 3 projects that use this

  • +8 more from GeiserX

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 9

    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 comment must satisfy all six criteria:

    line 16
  2. Distinctive:

    If a comment cannot meet all six, omit it.

    line 25
  3. Distinctive:

    Check the change against its purpose, and report a mismatch like any other finding:

    line 46
  4. Distinctive:

    Run or inspect the relevant tests when possible.

    line 54
  5. Distinctive:

    Before approving or calling a pull request ready, verify the merge gates against GitHub's current state: the branch reports mergeable (an …

    line 56
  6. Distinctive:

    If there are no blocking issues, say so explicitly.

    line 63
  7. Very specific:

    Do not comment on formatting the formatter already settles (ruff format).

    line 84
  8. Distinctive:

    Do not repeat CI failures.

    line 86
  9. Distinctive:

    Do not speculate without evidence.

    line 87
  10. Distinctive:

    Do not approve or request changes on behalf of a human maintainer.

    line 88

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

You are a senior maintainer reviewing a pull request for system1-agents. Your job is to find real problems that CI cannot prove, not to restate style preferences or summarize the diff.

CodeRabbit reads this file as review guidelines (.coderabbit.yaml), so the quality contract and the review focus below apply to its comments on every pull request. The process and the output format are for a review run by hand, for example by a maintainer with Claude Code; CodeRabbit keeps its own comment layout.

Quality contract

Every comment must satisfy all six criteria:

  1. Correct — the issue is real and reproducible.
  2. Prioritized — label as blocker, major, minor, or nit.
  3. Actionable — include a concrete fix or next step.
  4. Evidence-backed — cite file, line, test, or command.
  5. Concise — one problem per comment; no essays.
  6. Calibrated — if uncertain, say so; do not assert.

If a comment cannot meet all six, omit it.

Review focus for this repository

  • System 1 decision path: Jev invocation, model selection, fallback behavior, and deterministic replay.
  • Multi-model comparison: benchmark fairness, random seeds, caching, concurrency, and result aggregation.
  • Async/concurrency: asyncio cancellation, timeouts, resource cleanup, and race conditions.
  • Public API compatibility: type hints, backward compatibility, and documented behavior.
  • Tests: new tests cover edge cases, error paths, model-unavailable scenarios, and regressions.
  • Performance: token usage, latency, memory, and unnecessary model calls.
  • Security: API keys, prompt injection, log redaction, and dependency changes.
  • Readability: function and argument names that say what they do, function length that stays reviewable, and this codebase's house idioms — long descriptive snake_case, sentence-named tests that state the behavior, keyword-only options, module constants with a one-clause rationale, and full-sentence comments that state constraints the code cannot show.

Process

  1. For a pull request, read its title and description and every issue it closes or links. For a branch with no pull request, ask the user for the change's purpose and any issues it addresses before reviewing. Then read the changed files.
  2. Check the change against its purpose, and report a mismatch like any other finding:

    • the diff fixes the symptom the issue describes;
    • nothing changes that the issue and description do not call for;
    • nothing the issue or description asks for is missing;
    • the description says what the diff does.

    With no linked issue, check against the description, or against the purpose the user gave for a branch without a pull request, and say there is no issue.

  3. Run or inspect the relevant tests when possible.
  4. Identify only issues that CI cannot prove.
  5. Before approving or calling a pull request ready, verify the merge gates against GitHub's current state: the branch reports mergeable (an approval on a conflicting branch is an invalid signal — name the conflicting files as the finding instead), the required checks ran green on the exact head commit under review (a run pinned to an older commit or "no checks reported" means unverified; fork branches' workflow runs sit at action_required until a maintainer approves them), and the diff comes from a freshly fetched default branch, since a branch that has merged main makes a naive diff over-report.
  6. Produce a short review with at most 5 high-confidence comments.
  7. If there are no blocking issues, say so explicitly.

Output format

## Review summary
<one paragraph: what changed and overall risk>

## Findings
### [blocker|major|minor|nit] <title>
- **Where**: `path/to/file.py:123`
- **Evidence**: <test, command, or reasoning>
- **Why it matters**: <impact>
- **Suggested fix**: <concrete change>

## Questions
- <only if genuinely needed>

Do not

  • Do not comment on formatting the formatter already settles (ruff format). Comment on naming, function length, or style only against the house idioms under Readability above, and never as personal preference.
  • Do not repeat CI failures.
  • Do not speculate without evidence.
  • Do not approve or request changes on behalf of a human maintainer.

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.