From pr-desc-review
Use when the user asks to review a PR description, check if a PR description matches the implementation, verify PR accuracy, or says things like "review PR description", "does my PR description match the code", "check PR accuracy", "is my PR description correct", or "description review".
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-desc-review:pr-desc-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review the current branch's pull request description against its actual diff to
Review the current branch's pull request description against its actual diff to find discrepancies, missing mentions, and inaccuracies.
Your first action is Phase 1 below. Do NOT skip to analysis without gathering context first.
gh CLI. Do not make raw API calls or use curl against the
GitHub API. All GitHub interactions go through gh.Step 1: Detect the PR.
If the user specified a PR number or URL, use it directly:
gh pr view <NUMBER_OR_URL> --json number,title,body,url
Otherwise, auto-detect from the current branch:
gh pr view --json number,title,body,url
If this command fails (exit code non-zero), print:
No open PR found for the current branch.
Please push your branch and open a PR first, then re-run this skill.
Then STOP — do not proceed to Phase 2.
Step 2: Fetch the diff.
gh pr diff
If this command fails (exit code non-zero or empty output), print:
Failed to fetch the PR diff. The PR may have no changes, or there may be a
network issue. Please verify the PR has commits and try again.
Then STOP — do not proceed to Phase 2.
Step 3: Print progress.
Analyzing PR #<NUMBER>: <TITLE>
URL: <URL>
Proceed to Phase 2.
Systematically compare the PR description against the diff.
If the PR body is empty, null, or contains only template boilerplate with no actual content, skip to Phase 3 and report all diff changes as Missing with the note: "PR description is empty — all changes are undocumented."
Otherwise, read the PR body and extract every concrete claim about what was changed. A claim is any statement that asserts something was added, removed, modified, fixed, refactored, or configured. Ignore boilerplate (e.g., template headings with no content, checkbox lists that are structural).
Number each claim for reference in the report.
From the diff output, catalog:
Compare each claim against the diff evidence. Classify every finding into one of these categories:
| Category | Meaning |
|---|---|
| Verified | Claim is accurate and supported by the diff |
| Missing | Significant change in the diff with no mention in the description |
| Inaccurate | Description says X but the code does Y |
| Incomplete | Claim is vague or understates the actual scope of a change |
| Scope mismatch | Description implies small change but diff is large, or vice versa |
Guidelines for classification:
Print the structured report using this exact format.
PR Description Review - PR #<NUMBER>
════════════════════════════════════════
Reviewing: <TITLE>
[✓] <N> claims verified
[✗] <N> discrepancies found
<For each discrepancy, one line in this format:>
[Missing] <description of unmentioned change>
[Inaccurate] <description of incorrect claim>
[Incomplete] <description of vague claim>
[Scope mismatch] <description of scope issue>
Suggested PR Description:
─────────────────────────
## Summary
- <bullet points reflecting actual implementation>
Rules for the suggested description:
PR Description Review - PR #<NUMBER>
════════════════════════════════════════
Reviewing: <TITLE>
[✓] <N> claims verified
[✗] 0 discrepancies found
The PR description accurately reflects the implementation. No changes needed.
npx claudepluginhub gchiam/claude-code-plugins --plugin pr-desc-reviewGenerate a comprehensive pull request description following the repository's standard template. Use when the user wants to create or update a PR description.
Generates PR descriptions, review checklists, risk assessments, test coverage analysis, and automation for efficient code reviews. Use for pull request enhancement workflows.
Generates structured PR descriptions from a git diff, commit list, or change summary. Covers what changed, why, and how to test.