From dev-toolkit
Review GitHub pull requests with project-aware code review. Use this skill whenever the user asks to review a PR, check a pull request, give feedback on a diff, review code changes, or look at what changed in a PR — even if they don't say "code review" explicitly. Also trigger when the user pastes a GitHub PR URL or says things like "what do you think of PR #123", "check this PR", or "review this before I merge". Produces a focused, numbered findings report with severity levels and an actionable verdict.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-toolkit:pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review GitHub PRs by combining project conventions, delegate skills, and general
Review GitHub PRs by combining project conventions, delegate skills, and general code quality analysis into a single numbered findings report.
Require a PR number or GitHub URL. If not provided, ask before proceeding.
Do NOT run gh pr list to browse — wait for a specific PR.
Extract the PR number. If given a full URL, parse the number from it.
Run in parallel:
gh pr view <number>
gh pr diff <number>
No --repo flag — run from within the project directory so gh auto-detects the repo.
Capture:
If the diff is very large (>2000 lines), focus on the most impactful files. Note in the output that the review covers a subset and which files were skipped.
Read the consumer project's CLAUDE.md from the repo root. This grounds the review
in actual project rules rather than generic advice.
Look for:
If no CLAUDE.md exists, note it and proceed with general best practices only.
Attempt to invoke each known delegate skill against the diff. These skills are defined by the consumer project — they may or may not exist. The review adapts based on what's available.
/clean-architectureIf available, apply its rules to the diff. Flag any violation it would catch — layer violations, dependency direction, naming conventions, structural patterns. Cite the specific rule when reporting a finding.
If not available, skip. Track as "skipped".
/testing-patternsIf available, apply its rules to any test files in the diff. Flag violations in test structure, naming, coverage gaps, mock usage, assertion patterns. Cite the specific rule when reporting a finding.
If not available, skip. Track as "skipped".
How to check if a delegate skill exists: attempt to invoke it. If the skill is not found or not registered, the system will indicate it's unavailable. That's the signal to skip and move on — don't error, don't retry.
This section always runs, regardless of which delegate skills are available. Analyze the diff for:
Skip categories with nothing to flag. Only report real issues — not style preferences or nitpicks unless they violate a rule from CLAUDE.md.
Produce the review in this exact format. Number findings sequentially across all categories. Only include sections with real findings.
# 🤖 Claude Code Review
**PR #<number>**: <title>
**Author**: <author>
## 1. [Short title] — [Severity: High/Medium/Low]
[One sentence: what's wrong and where (file:line if possible).]
[One sentence: why it matters.]
[Fix or recommendation, with code snippet if helpful.]
## 2. ...
---
**Verdict:** [merge-ready / needs minor fixes / needs rework] — [one sentence why]
Severity guide:
If zero findings across all categories, say so directly:
**Verdict:** merge-ready — no issues found.
Skipped delegate skills: If any delegate skills were unavailable, append after the verdict:
> **Note:** The following review skills were not available in this project
> and were skipped: /clean-architecture, /testing-patterns. Define these
> skills in your project to get deeper coverage in those areas.
Only list the ones that were actually skipped.
List each finding number and title, then ask:
Which findings to keep? (e.g. 1,3,5 or 'all' or 'none')
Wait for response. Rebuild the final review with only selected findings, renumbered sequentially. Recalculate the verdict based on kept findings.
Show the final review, then ask:
Post this as a comment on PR #<number>? (yes/no)
If yes:
gh pr comment <number> --body "<final review markdown>"
If no, output the final review as markdown for the user to copy.
Terse. No filler. Fragments OK. Cite exact file and line when possible. Quote exact convention text from CLAUDE.md when calling out a violation — don't paraphrase.
npx claudepluginhub alton09/q-skills --plugin dev-toolkitProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.