/dbud:add-pr-commentsfrom dbud
Use when posting validated code review findings as GitHub PR line-level comments or a GitHub PR review after completing a review.
Ships in dbud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Post validated code review findings from the current review as a GitHub PR review with line-level comments. Use this only after findings have been reviewed, deduplicated, and validated against the current diff.
Resolve the PR.
gh pr view --json number,headRefOid,url -q '{number: .number, sha: .headRefOid, url: .url}'Confirm review language.
Use the final finding list.
file:line or file:startLine-endLine), why it matters, and recommended fix.Classify findings.
file:line or file:startLine-endLine format.Filter and deduplicate.
low confidence findings unless severity is high or critical.Build the GitHub review payload.
gh repo view --json nameWithOwner -q .nameWithOwner/repos/{owner}/{repo}/pulls/{pr_number}/reviews.commit_id: HEAD commit SHA from step 1event: APPROVE for ready to approve, otherwise REQUEST_CHANGESbody: a short, plain-language summary of how the PR looks overall — the gist you'd give a teammate, not a formal reportcomments: line-anchored comments, each with:
path: relative file path from repo rootline: line number, or range end linestart_line: range start line, only for multi-line rangesside: RIGHTbody: formatted finding commentWrite each comment like a human reviewer, not a linter.
Talk to the author like a teammate. Lead with the problem in plain language, use contractions, and ask a question when you're genuinely unsure. Vary your openings — don't start every comment the same way. One or two sentences is usually enough; don't pad, and drop the rigid template and bracketed severity tags.
nit: or minor: for small stuff; for a blocker, just say it's a blocker and why.Examples:
name here — it's concatenated straight into the query, so a crafted value runs arbitrary SQL. Can we switch to a parameterized query? This one's a blocker."lib/date.js already exports a formatDate() that does this — worth importing it instead so we don't keep two copies in sync?"reduce could just be .flat()."Post the review.
gh api ... --input <payload-file>.Handle errors.
422: move comments that cannot be anchored to the diff into the review body, then retry.403 or 404: report that the gh token or user may lack write access.Report the result.
APPROVE or REQUEST_CHANGES.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tkxkd0159/agent-plugins --plugin dbud8 skills in this plugin
/code-reviewUse when reviewing branch or PR changes against a base branch for correctness, security, concurrency, architecture, maintainability, testing, and performance risks./coding-guidelinesBaseline coding behavior. Use before writing, reviewing, debugging, or refactoring code. Establishes ground rules for assumptions, simplicity, surgical edits, and verification./eli5Explain a topic like I'm a 5 year old. Use when the user types /eli5 <topic> or asks for a dead-simple picture explainer of how something works.2 plugins ship this exact skill · first indexed Jun 4, 2026