원클릭으로
review-pr-comments
Review and respond to PR review comments.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review and respond to PR review comments.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Load a GitHub Issue, create a branch, and develop an implementation plan.
Read hachimoku JSONL output and respond to review feedback.
Create a new worktree for an Issue.
Commit changes, push to remote, and create a PR in a single workflow.
Wait for PR CI checks to complete, then execute merge.
Ensure complete compliance with code quality standards. Use before commit, before PR creation, or when quality issues are detected.
| name | review-pr-comments |
| description | Review and respond to PR review comments. |
Review and respond to PR review comments.
/review-pr-comments [pr-number]
| Argument | Type | Required | Description |
|---|---|---|---|
pr-number | integer | No | GitHub PR number (auto-detect from current branch if omitted) |
When the user invokes /review-pr-comments, follow these steps:
If PR number is provided:
If not provided:
gh pr list --head <branch-name> --state open --json number --limit 1
gh api repos/{owner}/{repo}/pulls/<number>/comments
Parse and group comments by thread/file.
Present comments in a table format:
| Thread ID | File | Issue | Decision | Action |
|-----------|------|-------|----------|--------|
| PRRT_xxx | src/auth.py:10 | "Fix null check" | ? | - |
| PRRT_yyy | src/user.py:20 | "Consider error handling" | ? | - |
For each comment, ask the user:
For accepted comments:
For rejected comments:
Post a summary comment on the PR:
## Review Response Summary
### Accepted (2)
- [src/auth.py:10] Fixed null check
- [src/user.py:20] Added error handling
### Rejected (1)
- [src/api.py:5] Reason: Current approach is intentional for...
### Pending (0)
None
---
*Reviewed by Claude Code at YYYY-MM-DD HH:MM*
If changes were made:
git add .
git commit -m "address review comments"
## PR #100 - Review Comments
### Unresolved Comments (3)
| # | File | Line | Comment | Author |
|---|------|------|---------|--------|
| 1 | src/auth.py | 10 | "Add null check" | @reviewer |
| 2 | src/auth.py | 25 | "Consider edge case" | @reviewer |
| 3 | src/user.py | 15 | "Rename variable" | @lead |
For each comment, choose:
[A]ccept | [R]eject | [D]iscuss | [S]kip
| Error | Action |
|---|---|
| PR not detected | No PR found for current branch |
| PR not found | Display error message |
| No comments | No review comments found |
| API error | Display error details |
--web to open PR in browser for context:
gh pr view <number> --web