review-pr

Analyze pull request diffs and write structured feedback to JSON.

30|4|Updated May 3, 2026
One-click install
npx skills add https://github.com/OniroHuaver/openwarp --skill review-pr-onirohuaver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/OniroHuaver/openwarp/tree/main/.agents/skills/review-pr
Command: npx skills add https://github.com/OniroHuaver/openwarp --skill review-pr-onirohuaver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the review process for pull requests by providing a structured feedback mechanism, eliminating the need for direct GitHub comments and generating machine-readable review outputs.

Core Features & Use Cases

  • Structured Review Output: Writes review comments and a summary in review.json, facilitating automated analysis and workflow integration.
  • Review Scope Guidance: Provides clear guidelines on review focus areas, ensuring comprehensive coverage of the pull request.
  • Diff Analysis: Utilizes pr_diff.txt for detailed analysis of the pull request changes, ensuring accurate feedback.

Quick Start

Use the review-pr skill to generate a review for the current pull request.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate pull request reviews and generate structured feedback?

Automate pull request reviews by parsing local diff files to generate structured feedback and writing the results into a machine-readable JSON file. This eliminates the need for manual review tracking or direct GitHub comments.

What is the best way to parse GitHub pull request diffs for automated code review?

Parsing GitHub pull request diffs for automated code review involves analyzing a local text file containing the changes. The process extracts review scope guidance and formats the feedback into a structured JSON output.

Do I need Python to write pull request feedback to a JSON file?

Yes, you need Python and common text processing libraries to write pull request feedback to a JSON file. The environment parses the diff text and formats the structured review output.

Can I use a local repository to generate a GitHub pull request review without direct API comments?

Yes, you can generate a GitHub pull request review using a local repository without direct API comments. The process reads a local diff file and writes the structured feedback to a JSON file.

What limitations exist when using structured JSON for pull request analysis?

A limitation of using structured JSON for pull request analysis is that it does not post comments directly to GitHub. Users must manually integrate the JSON output or build separate workflow automation to display the feedback.