agentleFS
justnau1020justnau1020/claude-os/skills/code-quality/review-pr/SKILL.md

review-pr

Skill3 starsChanged 8 months agoApache-2.0View on GitHub

Review a pull request for correctness, convention compliance, and test coverage. Use when you want to review a PR, check code quality, or get feedback on changes before merging.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-graph, review-delta and 9 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.
  • n24q02mSkill

    build-graph

    Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

    Also in 3 projects that use this

  • n24q02mSkill

    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

  • jasoncrawfordSkill

    work-on

    Use to kick off work on a feature, bug, or task

    Also in 3 projects that use this

  • JetBrainsSkill

    review-plan

    Manually re-run the autonomous plan review (Phase 2 — consistency + structural). The same review runs automatically as the first phase of /execute-tracks; this command is for re-runs after inline replanning or whenever the plan needs explicit re-validation. TRIGGER when: user asks to re-validate the plan after inline replanning; user requests explicit plan review outside /execute-tracks. SKIP: /execute-tracks already running State 0 in this session (autonomous Phase 2 path will fire) — do not double-run.

    Also in 5 projects that use this

  • SentrySkill

    create-pr

    Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

    Also in 21 projects that use this

  • sahinSkill

    create-issue

    Also in 4 projects that use this

The file

Files
SKILL.md

Review Pull Request

Review PR #$ARGUMENTS for correctness and convention compliance.

PR Context

  • PR diff: !gh pr diff $ARGUMENTS 2>/dev/null || echo "Could not fetch PR diff"
  • PR description: !gh pr view $ARGUMENTS 2>/dev/null || echo "Could not fetch PR"
  • Changed files: !gh pr diff $ARGUMENTS --name-only 2>/dev/null || echo "Could not list files"

Review Checklist

For each changed file, verify:

Correctness

  • Does the code do what the PR description claims?
  • Are there any logic errors or edge cases missed?
  • Are error paths handled properly?

Conventions

  • Are datetimes handled consistently (UTC internally)?
  • Are error messages specific and actionable?
  • Is async used properly (no sync I/O in async paths)?
  • Are type hints present on all new functions?
  • Are typed models used for data structures (not raw dicts)?

Tests

  • Are new features covered by tests?
  • Are edge cases tested?
  • Are external APIs mocked (no real network calls)?

Security

  • Are authorization checks enforced on new endpoints?
  • Are there any secrets or API keys in the diff?
  • Is input validation present?

Output

Provide a structured review:

  1. Summary: One-line assessment (approve/request changes)
  2. Issues: Specific problems with file paths and line numbers
  3. Suggestions: Optional improvements (clearly marked as non-blocking)

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.