dkarter/dotfiles/pr-review

Claude Code and agent skill by dkarter/dotfiles

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Review pull requests and leave line comments using the GitHub CLI (gh). Use for PR comparisons vs base branch, plan/spec alignment checks, summarizing findings, and writing review notes to files like tmp/reviews.md. Applies when asked to review a branch/PR or add PR comments.

Install

npx vskill@latest install dkarter/dotfiles/pr-review

SKILL.md

PR Review + Commenting

Workflow

  1. Gather context
  • Identify PR number or current branch; use gh pr view --json number,title,url,baseRefName,headRefName.
  • For stacked PRs or unknown base, infer it via gh pr view --json baseRefName on the target PR or by checking the branch's upstream/fork-point.
  • Get base comparison: git diff --name-only <base>...HEAD and git diff <base>...HEAD.
  • Read plan/spec files mentioned by the user before judging alignment.
  • Check repo guidance (AGENTS.md, CLAUDE.md, rules/*) for conventions.
  1. Analyze changes
  • Review all changed files, not just the latest commit.
  • Verify correctness, best practices for the project's frameworks/tooling, tests, and plan/spec requirements.
  • Verify clean architecture, good abstractions and adherence to project conventions
  • Note gaps: missing features, mismatches with plan/ticket/requirments, unused deps, unhandled edge cases, missing tests, or naming/structure issues.
  1. Draft review summary
  • Write a concise summary (what changed, what aligns, what is missing).
  • Call out required fixes separately from optional improvements.
  • If asked, write summary to tmp/reviews.md with sections:
  • Summary
  • Plan Alignment
  • Changes Needed
  • Tests
  1. Leave PR line comments (if requested). The user may want to review these before you post them, so don't publish those yet, keep them as part of a pending review
  • Use gh api to create a pending review with line comments (omit event to keep it pending):
  • gh api repos/{owner}/{repo}/pulls/{number}/reviews -f body='...' -F 'comments[][path]=<file>' -F 'comments[][line]=<line>' -F 'comments[][side]=RIGHT' -f 'comments[][body]=...'
  • You can also create a pending review with only -f body=... (no line comments).
  • GitHub allows only one pending review per user; batch comments in the initial create call or delete/recreate.
  • Avoid gh pr review --comment for drafts since it publishes immediately.
  • Prefer commenting on the exact line in the diff for each issue that needs a change.
  • Keep comments specific, actionable, and reference the plan/spec/documentation if relevant.

Commenting Tips

  • Use integer line numbers from the diff (RIGHT side for new code).
  • Avoid over-commenting; only flag changes needed or high-value improvements.
  • For plan mismatches, cite the plan file and describe the missing requirement.

Output Style

  • Keep review summaries concise and scan-friendly.
  • Use file path references with inline code.
  • Separate required fixes from suggestions.

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
127
Repository forks
14
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dkarter/dotfiles/pr-review/badge)](https://verified-skill.com/skills/dkarter/dotfiles/pr-review)

Something wrong with this skill or its page? Tell us.