agentleFS
frostneyfrostney/pascal-mcp-sdk/.agents/skills/review-pr/SKILL.md

review-pr

Skill2 starsChanged 4 months agoMITView on GitHub

Resolves current pull-request review findings in place, validates and pushes fixes, and can autonomously converge and merge an opted-in pull request. Use when the user runs /review-pr or /review-pr automatic-merge.

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 8 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

  • DockerSkill

    fix-issue

    Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".

    Also in 6 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

  • jesgarramSkill

    implement-plan

    Convert a plan document into Claude Code tasks with dependencies. Pure parser that reads plans from context/plans/ and creates executable task workflows.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 91 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Treat review, approval, and CI evidence as valid only for the current PR head.

    line 32
  2. Distinctive:

    Read the current head, PR diff, unresolved threads, top-level review findings, active review tools and their terminal states, required …

    line 53
  3. Very specific:

    If resolve-reviews is registered, use it for thread mechanics while keeping this skill's invariants.

    line 56
  4. Distinctive:

    Run checks relevant to the changed behavior, including rendered UI and accessibility checks for user-facing changes.

    line 62
  5. Very specific:

    Use /update-pr to commit and push.

    line 64
  6. Distinctive:

    Stop without merging for a material product decision, unrelated failure, unsafe or divergent PR, unavailable terminal external dependency, …

    line 74

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

Resolve the current PR's actionable review findings without creating a second review conversation. With the exact automatic-merge qualifier, converge the PR and merge it.

Invariants

  • Preserve unrelated work. Never amend, force-push, or revert changes you did not author.
  • Reply only in the originating review thread when a reply is useful. Do not post top-level PR summaries or issue comments. In automatic-merge mode, a documented review-tool retrigger command is the only allowed top-level comment.
  • Validate findings before changing code and run the relevant project checks after fixes.
  • Discover active review tools from current repository configuration, branch protection, checks, and PR activity. Do not hardcode one provider or require an integration that is disabled, historical, or merely installed.
  • Treat review, approval, and CI evidence as valid only for the current PR head. A new commit or baseline merge resets every affected gate.

Automatic merge

The exact automatic-merge qualifier authorizes relevant fixes, validation, new commits, plain pushes, documented reviewer retriggers, monitoring, one squash merge, source-branch deletion, and local cleanup under git-workflow. Normal /review-pr remains non-merging. An explicit read-only instruction remains non-mutating and disables automatic merge.

An active review tool is a merge gate when repository policy or the current PR shows it was intentionally invoked. Inspect inline threads plus top-level reviews, summaries, suggestions, and nitpicks. For CodeRabbit when active, a rate limit, quota response, incomplete run, or missing verdict is pending rather than passed; apply equivalent evidence-based semantics to other tools.

Workflow

  1. Confirm the branch has an open PR and merge the remote default branch if behind.
  2. Read the current head, PR diff, unresolved threads, top-level review findings, active review tools and their terminal states, required checks, affected code, and applicable project instructions.
  3. If resolve-reviews is registered, use it for thread mechanics while keeping this skill's invariants. Otherwise handle the threads directly.
  4. Evaluate every current finding. Fix validated in-scope findings; reply inline when acknowledgement, clarification, or a question is needed; resolve completed threads. Dismiss invalid, obsolete, duplicate, or out-of-scope findings only with evidence. Never silently ignore a nitpick.
  5. Run checks relevant to the changed behavior, including rendered UI and accessibility checks for user-facing changes.
  6. Use /update-pr to commit and push. If unavailable, follow its documented no-amend, no-force-push workflow directly.
  7. In normal mode, report the outcome, findings addressed, commits, observed validation, review-tool state, and PR URL.
  8. In automatic-merge mode, repeat the workflow against the new head. Wait with bounded backoff for required checks and every active review tool. When a tool is incomplete, errored, or rate-limited, use its documented retrigger mechanism when current evidence says it is allowed; a required command comment may use the narrow top-level exception. Do not impose a retry-count limit beyond the host platform.
  9. Stop without merging for a material product decision, unrelated failure, unsafe or divergent PR, unavailable terminal external dependency, or unresolved required finding. Report the exact blocker.
  10. Once the current head is ready, every required check is green, every active review tool has a completed verdict, and no actionable finding remains, squash-merge and delete the source branch through git-workflow. Sync the local default branch, remove only clean worktrees owned by this run, and report the merged PR, final head, validation, reviews, and cleanup.

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.