About make-pr-easy-to-review
A skill for preparing pull requests so reviewers can understand their intent, key files, and risks. It favors review notes and safe improvements, and requires agreement before rewriting history.
Key features
- 01Inspect commits, diffs, and changed paths
- 02Flag reviewability issues
- 03Propose a plan before history changes
- 04Verify changes preserve intended code
- 05Add reviewer-focused PR guidance
Use cases
- 01Clarifying a PR with mixed or noisy changes
- 02Improving a PR description and reviewer entry points
- 03Planning history cleanup with approval
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ ericlitman/ open-pstack --skill make-pr-easy-to-reviewAfter installing, type/make-pr-easy-to-reviewin Claude Code to confirm it loaded.
Details
From the project READMEMake PR Easy to Review
Prepare a PR so a reviewer can quickly understand the intent, important files, and risk. The default goal is reviewability without behavior changes.
Workflow
- Resolve the target PR from the user-provided URL or current branch.
- Inspect commits, diff size, changed paths, generated files, and PR description.
- Identify reviewability issues: noisy commits, stale description, unrelated changes, mixed mechanical and logic changes, missing tests, or unclear reviewer entry points.
- Propose a plan before rewriting history or force-pushing.
- Apply safe improvements, then verify the tree or diff still matches the intended code.
History Cleanup
Only rewrite history when the user asks for it or agrees to the plan. Before rewriting:
gh pr view <PR> --json title,headRefName,baseRefName,state,commits
git fetch origin <headRefName> <baseRefName>
ORIGINAL_TREE=$(git rev-parse origin/<headRefName>^{tree})
Good commit groupings usually follow dependency order:
- Schema/storage or generated API definitions.
- Core logic.
- Wiring and integration.
- UI or surface behavior.
- Tests.
After rewriting, verify content identity:
echo "Original tree: $ORIGINAL_TREE"
echo "Current tree: $(git rev-parse HEAD^{tree})"
git diff origin/<headRefName> --stat
Do not push if the tree changed unintentionally.
Reviewer Guidance
When code behavior should stay untouched, prefer PR description and review notes:
- Add a TL;DR that matches the actual diff.
- Separate core files from generated or mechanical files.
- Call out risky behavior changes, migration order, rollout plan, and test coverage.
- Link issue trackers, dashboards, or design docs when they explain intent.
Guardrails
- Never hide meaningful behavior changes inside "cleanup".
- Do not bypass hooks unless the user explicitly asks.
- If the PR is too large to make reviewable with notes, recommend splitting instead of polishing around the problem.