You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
chore(commands): add individual reply instructions to review-pr skill
Add explicit gh api endpoint for replying to individual PR review
comments instead of posting general review comments.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gh api repos/{owner}/{repo}/pulls/{number}/comments
67
+
```
68
+
69
+
This returns individual review comments with their `id` fields needed for replies.
70
+
71
+
2. Also fetch general PR comments if needed:
72
+
73
+
```bash
74
+
gh pr view <number> --comments
75
+
```
76
+
77
+
3. Review each comment and understand the requested change
78
+
79
+
4. Make the necessary code changes
80
+
81
+
5. Run relevant build commands based on changed files
82
+
83
+
6. Commit with descriptive message referencing the review
84
+
85
+
7. Push changes
86
+
87
+
8. Reply to **each individual review comment** using the comment's `id`:
88
+
```bash
89
+
gh api repos/{owner}/{repo}/pulls/comments/{comment_id}/replies -f body="Fixed in abc1234."
90
+
```
91
+
**IMPORTANT:** Always reply directly to individual comments, NOT as a general PR review comment. Use the `/pulls/comments/{id}/replies` endpoint, NOT `gh pr review --comment`.
0 commit comments