Skip to content
This repository was archived by the owner on Aug 4, 2026. It is now read-only.

Commit a268bf6

Browse files
hyochanclaude
andcommitted
fix(claude): add -X POST to review-pr reply command
Without -X POST, gh api defaults to GET on the replies endpoint which returns 404. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 60f2092 commit a268bf6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.claude/commands/review-pr.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ Fixed in abc1234 along with other review items.
8585
7. Push changes
8686

8787
8. Reply to **each individual review comment** using the comment's `id`:
88+
8889
```bash
89-
gh api repos/{owner}/{repo}/pulls/comments/{comment_id}/replies -f body="Fixed in abc1234."
90+
gh api repos/{owner}/{repo}/pulls/comments/{comment_id}/replies -X POST -f body="Fixed in abc1234."
9091
```
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`.
92+
93+
**CRITICAL:** You MUST include `-X POST` — without it the request defaults to GET and returns 404. 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

Comments
 (0)