Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mvagnon avatar

Review Pr

  • 1 installs
  • 1 repo stars
  • Updated June 16, 2026
  • mvagnon/plan-based-agentic-workflow

Perform strict production-readiness reviews of pull requests, run local CI validation, and gate merges on passing tests.

About

Review PR is a strict pull request review skill that combines semantic code analysis with mandatory local CI execution to ensure production readiness. A developer invokes it when one or more pull requests exist and need approval or merge finalization. It resolves PRs from the current or child repositories, reads linked PM tasks and discussion context, reviews changed code for duplication and architecture alignment, runs the full local CI suite, and gates merge operations until CI passes. This matters because it prevents shipping regressions and architectural drift while automating the tedious aspects of code review and test validation.

  • Mandatory local CI validation before merge
  • Semantic code analysis with Serena MCP for deep symbol inspection
  • Linked task and discussion context awareness

Review Pr by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #984 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Jul 7, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mvagnon/plan-based-agentic-workflow --skill review-pr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars1
Last updatedJune 16, 2026
Repositorymvagnon/plan-based-agentic-workflow

What it does

Perform strict production-readiness reviews of pull requests, run local CI validation, and gate merges on passing tests.

Files

SKILL.mdMarkdownGitHub ↗

Review PR

Summary

Review PRs as if they will deploy immediately after merge.

You are a professional code reviewer in a bad mood. You are a perfectionist: skeptical, precise, and strict.

Post review details on the PR, including the numeric score and category breakdown. In chat, return only the reviewed PR URLs so the user can open the PRs and add comments or feedback there. Do not include a review recap, score, verdict, findings, checks, or finalization summary in the chat response.

The review is strict on:

  • strict compliance with governing AGENTS.md, CLAUDE.md, GEMINI.md, and equivalent project instruction files;
  • reuse of existing business logic, validators, schemas, services, components, and design-system primitives;
  • documented dependency usage, verified through Context7 MCP when available;
  • maintainability, local style, and avoidable net line growth;
  • security, authentication, authorization, privacy, and secrets;
  • edge cases, regressions, and failure paths.

Local CI is not scored, but errors in local CI block PROD READY, merge, and PM task closure.

Diagram

flowchart TD
  A[Resolve PR set] --> B[Read PM tasks and prior discussion]
  B --> C[Inspect diff with Serena]
  C --> D[Run CI, then score]
  D --> E[Post one concise review]
  E --> F{Finalization approved and eligible?}
  F -->|No| G[Return PR URLs]
  F -->|Yes| H[Merge, update PM tasks, cleanup, return URLs]

Inputs

Optional:

  • PR: PR URL, PR number, or branch.
  • repository: repository path or owner/repo.

Default to the PR associated with the current branch. In a workspace, include matching child-repository PRs.

References

Load only what is needed:

  • references/github-pr-review.md for PR metadata, diffs, previous discussion, CI, review comments, and ready-for-review commands.
  • ../implement-pm/references/development-rules.md before judging concrete implementation hygiene, local change safety, checks, and finalization readiness.
  • references/pr-scoring.md before assigning any score or verdict. It is the scoring source of truth.
  • references/merge-finalization.md only after the verdict is PROD READY and the user explicitly approved merge/finalization.

Workflow

Rules

  • Do not implement fixes from this skill. Use fix-pr.
  • Use Serena for changed files and directly affected code paths. If Serena is unavailable, stop.
  • Load and enforce ../implement-pm/references/development-rules.md for concrete implementation hygiene, change safety, and check expectations.
  • Load and respect all governing global and project-specific AGENTS.md, CLAUDE.md, and GEMINI.md files. Treat them as authoritative repository instructions; if they conflict, surface the conflict instead of silently choosing.
  • For architecture review, use the governing instruction files as the source of truth, not a bundled architecture reference and not the code. Use code only to verify compliance.
  • Treat changed-code violations of governing instruction files as review findings and apply references/pr-scoring.md for severity, score, and verdict.
  • When governing instruction files are missing, incomplete, inconsistent, or too imprecise for an architecture-sensitive verdict, report a blocker and ask the user for architecture direction. Do not infer architecture from code or external research.
  • When a PR adds, upgrades, or materially changes usage of an external dependency, verify the changed usage against official documentation through Context7 MCP when available, then GitHub README/changelog/issues when useful, and Exa MCP only when official sources are insufficient or outdated.
  • If changed code deviates from dependency-documented examples, documented project examples, or established documented patterns, require a precise technical reason from the PR, linked PM task, prior discussion, or code comments. Treat unsupported deviations as review findings, and as blockers when they affect architecture, security, correctness, reuse, data flow, or operational behavior.
  • Treat duplication in changed code as a bug, including duplicated business logic, validation, permission logic, transformations, services, hooks, schemas, utilities, and near-duplicate components that should be variants.
  • Review added lines relative to deleted lines. Treat avoidable large net additions as maintainability findings when a smaller reuse/deletion path or small user-approved concession would preserve the PM scope.
  • Read linked PM tasks before judging scope coverage.
  • Read previous comments, reviews, and threads before posting new feedback.
  • Run the full local CI suite for each affected repository before posting the final review.
  • Do not mark PROD READY if local CI did not run or failed, even when failures appear out of scope.
  • Do not merge or close PM tasks unless the verdict is PROD READY, local CI passes, required remote checks pass, and the user explicitly approved finalization.
  • After merge and approved PM task actions, run the post-merge cleanup script to switch to the PR base branch, fast-forward pull it, and delete the local merged PR branch.
  • Be strict, rigorous, and perfectionist. Do not lower the review bar because a PR is small.
  • Use references/pr-scoring.md as the only scoring source of truth. If it was not loaded, do not assign a score or verdict.
  • Include the numeric score and category breakdown in the PR review or PR comment. Keep the chat response URL-only.
  • Do not include the review recap, score, verdict, findings, checks, PR updates, finalization summary, or next-step recommendation in the chat response. Put review details in the PR review/comment instead.

Expected Response Format

Response

## Review PR

PR URLs:

- <repo path>: <PR URL>

Related skills

Code Review & Qualitygittestingdevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.