en un clic
review-pr-comments
Review and respond to PR review comments.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Review and respond to PR review comments.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle 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