pr-code-review

Extract GitHub Pull Request details and diffs to generate a Markdown review report.

Updated Jul 10, 2023
One-click install
npx skills add https://github.com/iamtatsuki05/dotfiles --skill pr-code-review-iamtatsuki05
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-code-review
Source: https://github.com/iamtatsuki05/dotfiles/tree/main/dotfiles/.agent/skills/pr-code-review
Command: npx skills add https://github.com/iamtatsuki05/dotfiles --skill pr-code-review-iamtatsuki05

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitHub PRs often require thorough, structured analysis that is time-consuming to write manually. This Skill provides a repeatable, rule-based process to extract PR details, review code changes, assess risks, and generate a Markdown review document.

Core Features & Use Cases

  • Retrieve PR details and diffs via gh to understand exactly what changed.
  • Analyze code changes across security, correctness, performance, and maintainability to surface risks and gaps.
  • Generate a structured Markdown review with file/line references, severity notes, and a ready-to-publish report.
  • Use Case: A maintainer wants a consistent PR review template for every merge request to accelerate approvals.

Quick Start

Provide the PR URL or number and let the skill generate a markdown review document.

Frequently Asked Questions about pr-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a structured markdown report for GitHub PR code review?

To generate a markdown report for GitHub PR code review, provide the PR URL or number. The skill extracts details and diffs via gh to analyze security, correctness, and performance, producing a ready-to-publish document.

What is the best way to automate diff analysis and risk assessment for pull requests?

Automating diff analysis and risk assessment for pull requests involves applying a rule-based process to extract code changes. This evaluates security, correctness, performance, and maintainability to surface risks and test gaps.

Does this PR review skill require any dependencies to analyze GitHub repositories?

No dependencies are required to analyze GitHub repositories. The PR review skill operates independently, using the gh command-line tool to retrieve PR details and diffs for thorough code review.

Can I get severity ranking and file references in an automated code review?

Yes, you can get severity ranking and file references in an automated code review. The skill generates a structured markdown review document that includes specific file and line references alongside severity notes.

How do I create a consistent PR review template for every merge request?

To create a consistent PR review template for every merge request, use a repeatable rule-based process. This generates a structured assessment with file references, severity notes, and a ready-to-publish markdown document.