← スキル一覧に戻る

pr-comments
by malston
⭐ 1🍴 0📅 2026年1月24日
SKILL.md
name: pr-comments description: Read and analyze GitHub pull request review comments. Use when reviewing PR feedback, understanding code review comments, or preparing responses to reviewers. argument-hint: allowed-tools: Bash(gh:*)
PR Review Comments Reader
Fetch and analyze review comments from a GitHub pull request.
Instructions
When this skill is invoked, follow these steps:
Step 1: Parse the argument
The argument can be:
- A PR number (e.g.,
123) - A full GitHub URL (e.g.,
https://github.com/owner/repo/pull/123)
If no argument is provided, ask the user for the PR number.
Step 2: Fetch PR information
Run these commands to gather PR data:
# Get PR metadata
gh pr view <PR> --json number,title,state,author,reviewDecision,reviews
# Get review comments (the actual review feedback)
gh api repos/{owner}/{repo}/pulls/<PR>/comments --jq '.[] | {path: .path, line: .line, body: .body, user: .user.login, created_at: .created_at}'
# Get general PR comments (conversation)
gh pr view <PR> --comments
# Get the diff for context
gh pr diff <PR> --stat
Step 3: Analyze and present
Organize the review feedback into these sections:
-
PR Summary
- Title, author, current state
- Review decision (approved, changes requested, pending)
- List of reviewers and their verdicts
-
Code Review Comments (grouped by file)
- File path and line number
- Reviewer name
- Comment content
- Whether it's blocking or a suggestion
-
General Discussion
- Conversation thread highlights
- Questions that need answers
- Resolved vs unresolved discussions
-
Action Items
- Changes that must be made (blocking)
- Suggestions to consider
- Questions to answer
Step 4: Offer next steps
After presenting the review comments, offer to:
- Help address specific feedback
- Draft responses to reviewers
- Make the requested code changes
- Use
/superpowers:receiving-code-reviewfor deeper analysis
Example Usage
/pr-comments 51
/pr-comments https://github.com/malston/diego-capacity-analyzer/pull/51
Requirements
- GitHub CLI (
gh) must be installed and authenticated - You must have access to the repository
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です