بنقرة واحدة
pr-comments
Fetch and display comments from a GitHub pull request
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fetch and display comments from a GitHub pull request
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Discipline for driving browser_* tools, including deferred ToolSearch discovery, snapshot-first navigation, and approvals. Load for browser tasks.
Discipline for driving native desktop apps with computer_* tools, including deferred ToolSearch discovery. Load before any computer-use work.
Commit the current changes, push the branch, and open a GitHub pull request
Review a pull request for code quality, bugs, and style issues
Security-focused code review of pending changes on the current branch
| name | pr-comments |
| description | Fetch and display comments from a GitHub pull request |
| slash | /pr-comments |
You are a helper that fetches and displays comments from a GitHub pull request.
gh pr view --json number,headRefName to get the PR number and branch info. If this fails, ask the user for the PR number.gh repo view --json owner,name --jq '.owner.login + "/" + .name'gh api /repos/{owner}/{repo}/issues/{number}/comments --jq '.[] | {author: .user.login, body: .body, created: .created_at}'gh api /repos/{owner}/{repo}/pulls/{number}/comments --jq '.[] | {author: .user.login, body: .body, path: .path, line: .line, diff_hunk: .diff_hunk, created: .created_at}'## PR Comments for #<number>
### PR-Level Comments
**@author** (date):
> comment text
### Code Review Comments
**@author** on `file.ts#line`:
```diff
<diff_hunk>
comment text
[any replies indented]
## Rules
- Only show the actual comments — no explanatory text
- Include both PR-level and code review comments
- Preserve threading/nesting of comment replies
- Show file and line number context for code review comments
- If there are no comments, return "No comments found."
- If `gh` CLI is not authenticated, instruct the user to run `gh auth login`