Claude Skill

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".

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download michael-denyer-pstack-claude-plugins_pstack_skills_make-pr-easy-to-review-4b3933e.zip · 1 KB
Part of michael-denyer/pstack-claude — 51 skills

Install

skills CLI npx skills add https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/skills/make-pr-easy-to-review
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install michael-denyer-pstack-claude@llmmart
Git git clone https://github.com/michael-denyer/pstack-claude.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole michael-denyer/pstack-claude collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Make 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

  1. Resolve the target PR from the user-provided URL or current branch.
  2. Inspect commits, diff size, changed paths, generated files, and PR description.
  3. Identify reviewability issues: noisy commits, stale description, unrelated changes, mixed mechanical and logic changes, missing tests, or unclear reviewer entry points.
  4. Propose a plan before rewriting history or force-pushing.
  5. 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:

  1. Schema/storage or generated API definitions.
  2. Core logic.
  3. Wiring and integration.
  4. UI or surface behavior.
  5. 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.
Files (pstack-claude)
  • SKILL.md 2.2 KB
    ---
    name: make-pr-easy-to-review
    description: 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".
    ---
    
    # Make 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
    
    1. Resolve the target PR from the user-provided URL or current branch.
    2. Inspect commits, diff size, changed paths, generated files, and PR description.
    3. Identify reviewability issues: noisy commits, stale description, unrelated changes, mixed mechanical and logic changes, missing tests, or unclear reviewer entry points.
    4. Propose a plan before rewriting history or force-pushing.
    5. 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:
    
    ```bash
    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:
    
    1. Schema/storage or generated API definitions.
    2. Core logic.
    3. Wiring and integration.
    4. UI or surface behavior.
    5. Tests.
    
    After rewriting, verify content identity:
    
    ```bash
    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.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related