pr-writing-review
Skill by evalstate
Extracts editorial feedback from GitHub pull request review comments. Useful for writers and editors who want to learn from review changes and refine future writing.
Install pr-writing-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/evalstate/fast-agent /tmp/fast-agent && mkdir -p ~/.claude/skills && cp -r /tmp/fast-agent/examples/hf-toad-cards/skills/pr-writing-review ~/.claude/skills/pr-writing-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/evalstate/fast-agent /tmp/fast-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/fast-agent/examples/hf-toad-cards/skills/pr-writing-review ~/.gemini/antigravity-cli/skills/pr-writing-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
PR Writing Review extracts editorial feedback from inline review comments on a GitHub pull request. It collects explicit suggestion blocks with their before and after text, plus plain reviewer comments that explain why a change was made. With the --diff flag, it also collects the first draft and final version of each text file, and it follows files through renames.
The Python script handles the GitHub API calls, parsing and file tracking. The assistant then compares the draft with the final version to find style patterns. The skill requires the gh CLI with an authenticated session and Python 3.12 or later, and it recommends uv. It is aimed at authors who want to learn from editorial feedback and refine their writing.
Written from the project's SKILL.md and checked against it.
What it can do
- Explicit suggestion extractionPulls before and after text from suggestion blocks, including multiple blocks per comment.
- Reviewer feedback extractionLists plain text review comments that explain the reason behind changes.
- File evolution comparisonShows the first draft and final version of each .md, .txt, .rst or .mdx file.
- Rename trackingFollows a file through renames and fetches its content using the correct path per commit.
- Style pattern synthesisGroups findings into categories such as clarity, tone, structure and grammar.
- JSON outputReturns raw JSON for programmatic processing with the --json flag.
What you need
- GitHub CLI (gh) installed
- Authenticated gh session
- Token with repo scope for private repositories
- Python 3.12 or later
- uv (recommended)
Try asking
- Show the review feedback on https://github.com/org/repo/pull/123
- Compare the first draft and final version of PR #123 in org/repo
- Summarize the style lessons from this pull request, grouped by category
Good to know
- Extracts only inline PR review comments, not issue comments or the PR description
- Very long files can be heavy; use --max-file-chars or --no-files to reduce output
- Private repositories need a token with appropriate scopes
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: examples/hf-toad-cards/skills/pr-writing-review/SKILL.md, examples/hf-toad-cards/skills/pr-writing-review/scripts/extract_pr_reviews.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
scripts/extract_pr_reviews.py24 KB
Alternatives to pr-writing-review
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pr-writing-review: common questions
Does it read issue comments or the PR description?
No. The source says it only extracts inline PR review comments, not issue comments or the PR description.
Which file types does the file evolution cover?
It covers .md, .txt, .rst and .mdx files, showing the first draft and the final version of each.
How does it handle renamed files?
It checks each commit for renames, builds a path history, and fetches content using the correct path for each commit.
How do I install pr-writing-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pr-writing-review free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is pr-writing-review safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pr-writing-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
