make-pr-easy-to-review
Clean noisy PR history and add reviewer guidance without changing code behavior.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- make-pr-easy-to-review
- description
- Clean noisy PR history and add reviewer guidance without changing code behavior.
- disable-model-invocation
- true
03 SKILL.md 正文
Target reviewability without behavior changes; prefer PR description/review notes over code edits.
Workflow
- Resolve PR from URL/current branch.
- Inspect commits, diff size, paths, generated files, and description. For stacks, compare
baseRefName, record adjacent layers, and operate only on the owning branch. - Find noise: stale description, unrelated changes, mixed mechanical/logic commits, missing tests, unclear entry points.
- Propose before history rewrite/force-push; reorder/fold/cascade needs explicit whole-stack approval.
- Apply safe improvements; prove tree/diff still matches intent.
History
Only rewrite history when the user asks or agrees to the plan. Capture identity first:
gh pr view <PR> --json title,headRefName,baseRefName,state,commits --jq '{title,headRefName,baseRefName,state,commits}'
git fetch origin <headRefName> <baseRefName>
ORIGINAL_TREE=$(git rev-parse origin/<headRefName>^{tree})
Prefer dependency order: schema/generated API -> core logic -> wiring -> UI -> tests.
After rewrite print Original tree: $ORIGINAL_TREE and Current tree: $(git rev-parse HEAD^{tree}); inspect git diff origin/<headRefName> --stat. Never push unintended tree changes.
Guidance
Visual diagrams/file maps belong to /visual-recap; this skill edits PR text only.
- Put meaningful
/quantify-impact## Proven impact(Metric | Before | After | Delta) first with command/environment. Otherwise use normal value summary; no fake empty table. Below threshold saysValue not proven. - Add accurate TL;DR; separate core from generated/mechanical files.
- Name risky behavior, migration order, rollout, tests, and useful issue/dashboard/design links.
Guardrails
Never hide behavior as cleanup or bypass hooks without explicit request. If notes cannot make the PR reviewable, recommend splitting it.
04 同仓库更多 Skills
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.
improve-animations
Audit existing web UI motion and prioritize concrete improvements or self-contained implementation plans. Use for a motion roadmap; animate owns implementation and diff review.
effect-ts
Use when setting up a repository that uses the Effect TypeScript library.