pr-writing-review

Extract and analyze writing suggestions from GitHub PR review comments.

3.9k|432|Updated Jan 18, 2025
One-click install
npx skills add https://github.com/evalstate/fast-agent --skill pr-writing-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-writing-review
Source: https://github.com/evalstate/fast-agent/tree/main/examples/hf-toad-cards/skills/pr-writing-review
Command: npx skills add https://github.com/evalstate/fast-agent --skill pr-writing-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill extracts and analyzes writing improvements from GitHub PR review comments to help writers learn from reviewer feedback and apply editorial lessons to future PRs.

Core Features & Use Cases

  • Surface explicit suggestions and plain feedback from PR reviews.
  • Produce before/after comparisons of reviewer edits to guide writing improvements.
  • Output structured results suitable for training, coaching, or automation workflows.

Quick Start

Use the pr-writing-review skill to fetch and analyze a PR's review content. The tool outputs can be consumed directly or integrated into your review processes. uv run scripts/extract_pr_reviews.py <pr_url> uv run scripts/extract_pr_reviews.py <pr_url> --diff uv run scripts/extract_pr_reviews.py <pr_url> --json

Frequently Asked Questions about pr-writing-review

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

FAQPage Schema
How do I extract writing suggestions from GitHub PR review comments?

You can extract writing suggestions from GitHub PR review comments using a Python-based parser that runs via the gh CLI. It fetches PR data, surfaces reviewer feedback, and outputs structured before/after comparisons for editorial improvement.

Can I output GitHub PR review feedback as before and after text diffs?

Yes, you can generate text diffs from GitHub PR review feedback by executing the extraction script with the --diff flag. This produces before/after comparisons of reviewer edits to guide writing improvements and coaching.

How do I get JSON output from parsed GitHub PR review comments?

Get JSON output from parsed GitHub PR review comments by passing the --json flag to the extraction script. This formats the fetched writing suggestions and plain feedback into structured data for automation workflows.

Do I need the gh CLI installed to analyze PR writing improvements?

Yes, you need the gh CLI installed to analyze PR writing improvements. The Skill relies on the gh CLI to fetch PR data, which the Python-based parser then processes to surface editorial suggestions and format results.

What is the best way to turn PR reviews into structured writing coaching material?

The best way to turn PR reviews into structured writing coaching material is using a Python parser that extracts explicit suggestions and plain feedback. It formats reviewer edits into Markdown or JSON before/after outputs for training.