pr-review-live
Review a pull request with live data injected from GitHub — diff, comments, and changed file list fetched before Claude reads anything. Run /pr-review-live [pr-number] or omit the number to review the current branch's PR.
- License 许可
- GPL-3.0
- 最近更新
- 2026-07-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pr-review-live
- description
- Review a pull request with live data injected from GitHub — diff, comments, and changed file list fetched before Claude reads anything. Run /pr-review-live [pr-number] or omit the number to review the current branch's PR.
- allowed-tools
- Bash(gh *)
- argument-hint
- [ "pr-number" ]
- disable-model-invocation
- true
03 SKILL.md 正文
Pull request context
Diff:
!gh pr diff ${0:-} 2>/dev/null || echo "(no diff available — ensure gh auth is set up and a PR exists for this branch)"
Description and comments:
!gh pr view ${0:-} --comments 2>/dev/null || echo "(could not fetch PR view)"
Changed files:
!gh pr diff ${0:-} --name-only 2>/dev/null || echo "(could not list changed files)"
Review instructions
Review the PR above across these dimensions:
- Correctness — logic errors, off-by-ones, unhandled edge cases, incorrect assumptions
- Security — injection, auth bypass, secrets in code, missing input validation, OWASP top 10
- Performance — N+1 queries, unnecessary allocations, blocking I/O in hot paths
- Test coverage — behavior changes without corresponding test updates
- Code style — naming clarity, dead code, unnecessary comments, abstraction altitude
Format each finding:
[SEVERITY] file.py:42 — description of the problem
Suggestion: what to change
Severity: critical (must fix before merge) / major (should fix) / minor (nice to fix).
End with a one-line merge verdict: Ready / Needs changes / Blocked.
04 同仓库更多 Skills
workspace-visualize
Generate an interactive collapsible HTML tree view of the codebase with file sizes, type breakdown bar chart, and color-coded file types. Opens in your default browser. Use when exploring a new repo, understanding project structure, or identifying large files before refactoring.
testing-strategy-review
暂无简介
technical-domain-routing
暂无简介
target-codebase-overview
暂无简介
skill-forge
暂无简介
settings-reference
Claude Code settings.json reference for permissions, sandbox, plugins, skill visibility, and configuration options. Claude loads automatically when asked about settings, permissions, configuration, or hooks.