agentsclimarketplace

Pr review pr

Skill tony/ai-workflow-plugins/.agents/skills/pr-review-pr

Claude Code Plugins, Commands, and Skills

Install
npx -y skills add tony/ai-workflow-plugins --skill pr-review-pr

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Review a PR description against gold-standard patterns

SKILL.md

4.7 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Review PR Description

Evaluate an existing PR description against gold-standard patterns and suggest concrete improvements.

Target PR: $ARGUMENTS


Procedure

1. Fetch the PR

  • If $ARGUMENTS contains a PR number (e.g., #42, 42) or URL, use it directly
  • If $ARGUMENTS is empty, detect the current branch's PR:
    gh pr view --json number,title,body,url
    
  • Fetch the full PR details:
    gh pr view <number> --json title,body,url
    

2. Fetch the Diff Context

  • Get the PR diff to understand the scope of changes:
    gh pr diff <number>
    
  • Count files changed and estimate the magnitude (small fix, medium feature, large overhaul)
  • This context is needed to judge whether the description is proportional to the change
  • If the user's message names a PR template, read it and use its sections as the structural baseline for the evaluation below. Use it silently — this command reports findings and never raises template questions

3. Evaluate Against Quality Patterns

Check each applicable dimension. Not every dimension applies to every PR — a one-line typo fix doesn't need a Design Decisions section.

DimensionWhat to check
StructureDoes it use ## Summary, ## Changes, ## Test plan headings where appropriate for the change size?
ProportionalityIs the detail level proportional to the diff size? Small fix shouldn't have 20 bullets; large feature shouldn't be one sentence.
Bold impact labelsDo summary bullets open with bold verbs (Fix, Add, Remove, Replace, Migrate)?
TablesAre comparison-heavy sections using tables instead of prose? (renames, parameter maps, file inventories, environment matrices)
Code blocksOne command per block? No comments inside blocks? Explanatory text outside?
Test planDoes it have a checklist with - [x] or - [ ] items? Are items descriptive (what is validated), not just commands?
Design decisionsFor non-trivial changes, are trade-offs explained with rationale?
VerificationAre there copyable rg/grep commands proving the change is complete?
Negative assertionsFor removal/migration PRs: "verify zero matches for X" items?
Cross-referencesCompanion PRs, related issues, tracking links where relevant?
Before/AfterFor behavioral changes, are both states shown in labeled code blocks?
No brittle detailsDoes the description avoid test counts, SHAs, line numbers, or file/line-changed counts? These duplicate what the reviewer sees in the diff.
No branch-internal narrativeDoes the description avoid rename history, "no longer X" / "previously Y" phrasing, and ### Fixes framing for behavior that never appeared in a published release? See AGENTS.md § The Published-Release Test.
Whole-branch perspectiveDoes it describe the net shipped result, or does it narrate the branch's commit-by-commit evolution?

4. Report

Structure the report as:

What the PR description does well:

  • List specific strengths — reinforce good patterns so the author knows to keep doing them

Suggested improvements:

  • List specific improvements with concrete markdown snippets — not vague advice like "add more detail"
  • If a section is missing that the diff warrants, draft it as a ready-to-paste suggestion
  • If a section exists but could be improved, show the improved version

Overall assessment:

  • One sentence summary: is this description adequate, good, or gold-standard?
  • For "adequate" or "good" descriptions, identify the single highest-impact improvement

Rules

  • Never modify the PR — only report findings
  • Never run destructive git or gh commands
  • Suggestions must be concrete markdown snippets, not abstract advice
  • Evaluate proportionally — don't penalize a one-line fix for missing a Design Decisions section
  • Recognize and reinforce good patterns — the report should be balanced, not just a list of criticisms
  • Check for brittle details (test counts, SHAs, line numbers, file-changed counts) — flag them as concrete improvements
  • Check for commit-diary style — if the description narrates the branch's internal evolution instead of the net result, suggest rewriting to whole-branch perspective

Portability notes

  • $ARGUMENTS — the text the user passed when invoking this skill. If your host does not substitute it, read it as the user's request in the current turn, and ask when there is none.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.