skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
mmcardle/ai-skills144 installs

review-pr-changes

Review PR changes with structured checklist for quality and standards compliance. Use for comprehensive PR code review.

How do I install this agent skill?

npx skills add https://github.com/mmcardle/ai-skills --skill review-pr-changes
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a tool for reviewing GitHub Pull Requests using standard command-line utilities. While functional and correctly attributed to the author, it inherently processes untrusted content from pull request descriptions and code diffs, which presents a low-risk surface for indirect prompt injection.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

Review PR Changes

Perform structured review of PR changes against project quality standards.

Quick Reference

# Get PR files changed
gh pr diff <pr> --name-only

# View specific file diff
gh pr diff <pr> -- path/to/file

# Get PR review status
gh pr view <pr> --json reviews

# Check file statistics
gh pr diff <pr> | diffstat

# Get PR body/description
gh pr view <pr> --json body

Review Checklist

Code Quality:

  • Code is readable and well-structured
  • Functions/classes have clear purposes
  • No code duplication (DRY principle)
  • Proper error handling
  • No unnecessary complexity

Testing:

  • Tests present for new functionality
  • Tests are passing (CI shows green)
  • Edge cases covered
  • Adequate coverage for changes

Documentation:

  • Docstrings for public APIs
  • Type hints present
  • Comments for non-obvious code

Security & Git:

  • No hardcoded secrets/tokens
  • Input validation present
  • PR linked to issue (in description)
  • No unintended files included

Review Workflow

  1. Check context: View PR description and linked issue
  2. Scan changes: Review file list and statistics
  3. Read code: Examine actual changes carefully
  4. Run checklist: Go through each category
  5. Test locally: Pull and test changes if needed
  6. Create comments: Flag issues as code comments
  7. Provide verdict: Approve, request changes, or comment

Output Format

Report review results with exactly these sections:

  1. Summary — 1-2 sentence overall assessment
  2. Issues Found — Problems that must be fixed (omit if none)
  3. Verdict — Approve / Request Changes / Comment

Error Handling

ProblemSolution
Can't access PRCheck gh auth status
Can't understand codeAsk clarifying question in comment
Needs local testingUse worktree-create skill to test
Multiple issuesPrioritize critical first, optional second
Disagreement on styleRefer to CLAUDE.md for standards

References

  • See CLAUDE.md for project standards
  • See verify-pr-ready for merge readiness check
  • See gh-batch-merge-by-labels for batch review workflow

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/mmcardle/ai-skills/review-pr-changes">View review-pr-changes on skillZs</a>