make-pr-easy-to-review
Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".
Security Assessment
About make-pr-easy-to-review
make-pr-easy-to-review is a workflow skill that prepares a pull request so a reviewer can quickly grasp its intent, key files, and risk — without changing code behavior. It addresses the common problem of PRs that are hard to review: noisy commit history, stale descriptions, unrelated changes mixed in, and mechanical edits tangled with logic changes. The stated default goal is improving reviewability while leaving behavior untouched.
The workflow resolves the target PR from a URL or the current branch, inspects commits, diff size, changed paths, generated files, and the existing description, then identifies reviewability issues and proposes a plan before making changes. For history cleanup it uses `gh` and `git` to capture the original tree hash, suggests dependency-ordered commit groupings (schema, core logic, wiring, UI, tests), and verifies content identity after any rewrite by comparing tree hashes — refusing to push if the tree changed unintentionally. For behavior-preserving improvements it favors PR-description and reviewer-note edits: a TL;DR matching the diff, separation of core versus generated files, and callouts for risky changes, migration order, and test coverage.
It targets software engineers and teams using GitHub who want cleaner, more reviewable PRs. Its guardrails are notable: it only rewrites history when the user asks or agrees, never hides behavior changes inside "cleanup", does not bypass hooks unless explicitly requested, and recommends splitting a PR rather than polishing around one that is too large. History rewriting and force-pushing are inherently sensitive but are gated behind explicit user consent and tree-verification.
FAQ
Will this change my code's behavior?
No. The default goal is reviewability without behavior changes. It verifies the tree hash after any history rewrite and refuses to push if the tree changed unintentionally.
Does it rewrite git history automatically?
Only when you ask for it or agree to the proposed plan. It captures the original tree first and proposes a plan before rewriting or force-pushing.
What tools does it require?
It uses the GitHub CLI (gh) and git to inspect the PR, fetch refs, capture tree hashes, and verify the diff after cleanup.
What if my PR is too large to make reviewable?
The skill recommends splitting the PR into smaller pieces rather than polishing around the problem with notes.
Can it bypass commit hooks?
No, not unless you explicitly ask. Not bypassing hooks is one of its stated guardrails.
Install make-pr-easy-to-review
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
cursor/plugins