New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Structured PR review skill that writes machine-readable feedback to review.json instead of posting directly to GitHub.

skills.sh installs
29.2K
GitHub stars
721
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers PR diff review for correctness, security, error handling, performance, comment quality, and test quality using local pr_diff.txt and pr_description.txt artifacts
  • Requires every inline comment to map to an annotated [NEW:n], [OLD:n], or [OLD:n,NEW:m] diff line, with out-of-diff concerns moved to the top-level body
  • Enforces severity labels (CRITICAL, IMPORTANT, SUGGESTION, NIT) and GitHub suggestion-block rules that keep replacement ranges exact
  • Designed for workflows that publish reviews after a local pass, and integrates optional companion skills for security and spec-vs-implementation checks

Install

$ npx -y skills add warpdotdev/common-skills --skill review-pr -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Review PR Skill

Review the current pull request and write the output to review.json.

Context

  • The working directory is the PR branch checkout.
  • The workflow usually provides an annotated diff in pr_diff.txt.
  • The workflow usually provides the PR description in pr_description.txt.
  • If spec_context.md exists, it contains spec context for implementation-vs-spec validation.
  • When the prompt references .agents/skills/review-pr/scripts/resolve_spec_context.py, use that script to materialize spec_context.md on demand instead of expecting spec content to be embedded in the prompt.
  • Focus on files and lines changed by this PR.
  • Do not post comments or reviews to GitHub directly.

Review Scope

Details

Repository
github.com/warpdotdev/common-skills
Categories
Code Review & Quality, Git & Releases
First seen
May 16, 2026

More from warpdotdev/common-skills

All 23

Similar to Review Pr

More Code Review & Quality