← Back to list

gh-pr-review
by takashabe
⭐ 2🍴 0📅 Jan 20, 2026
SKILL.md
name: gh-pr-review description: Review GitHub pull requests using the gh CLI. Use when a user asks for a PR review, architectural feedback, or wants a structured checklist and summary based on gh pr view/diff/comments or gh api pull request comments.
GH PR Review
Overview
Perform a structured PR review using gh commands and a consistent checklist. Provide concise findings and questions tailored to the PR scope.
Workflow
-
Identify the repo and PR number
- Accept a PR URL or explicit
owner/repo+ PR number. - Ask only if missing.
- Accept a PR URL or explicit
-
Fetch PR metadata
gh pr view <num> --repo owner/repo- Use title/body, labels, reviewers, and stats to frame scope.
-
Fetch the diff
gh pr diff <num> --repo owner/repo- If diff is large, focus on critical files or API/DB changes first.
-
Fetch discussion context (optional)
gh pr view <num> --repo owner/repo --commentsgh api repos/owner/repo/pulls/<num>/commentsfor line threads.- Use when the user asks about a specific discussion or rationale.
-
Apply the standard review checklist
- Purpose/Scope: Confirm intent and changes match the stated goal.
- Correctness: Identify logic errors, edge cases, or state inconsistencies.
- Domain/Model: Check invariants, naming, and aggregate boundaries.
- Data/DB: Validate constraints, NULL rules, FK integrity, migrations.
- API/Compatibility: Confirm request/response changes and version impact.
- Performance: Watch for heavy queries, missing indexes, N+1.
- Ops/Observability: Consider batch timing, retries, logging, metrics.
- Tests: Ensure critical paths are covered; note missing tests.
-
Respond with a structured review
- Prioritize issues by severity.
- Cite file/line when available; otherwise point to section/topic.
- Ask targeted questions when assumptions are unclear.
- If the user asked for guidance only, do not post comments.
Output Guidance
Follow the platform review style. Keep summaries short and lead with findings. If the PR is a design-doc only, focus on architecture, data model, and risks.
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


