一键导入
pr-comments
Responds to PR comments and review feedback. Use when addressing specific comments on a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Responds to PR comments and review feedback. Use when addressing specific comments on a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pr-comments |
| description | Responds to PR comments and review feedback. Use when addressing specific comments on a PR. |
PR #$ARGUMENTS のコメントに対応します。
!gh pr view $ARGUMENTS --json title,author,state --jq '"Title: \(.title)\nAuthor: \(.author.login)\nState: \(.state)"' 2>/dev/null
!gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments --jq '.[] | "[\(.user.login)] \(.path):\(.line // .original_line)\n\(.body)\n---"' 2>/dev/null
!gh pr view $ARGUMENTS --json reviews --jq '.reviews[] | select(.state == "CHANGES_REQUESTED") | "[\(.author.login)] \(.state)\n\(.body)\n---"' 2>/dev/null
Read all comments and identify:
For each comment:
If code change needed:
If clarification needed:
If disagreement:
# Reply to a specific comment
gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments/{comment_id}/replies \
-f body="Fixed in commit abc123"
# Or add a general PR comment
gh pr comment $ARGUMENTS --body "Addressed all review comments:
- Fixed type issue in auth.ts
- Added missing tests
- Updated documentation"
git add -A
git commit -m "fix: address PR review comments
- [list of changes]
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
git push
gh pr edit $ARGUMENTS --add-reviewer <reviewer>
From main agent:
./scripts/spawn-agent.sh --pr $ARGUMENTS -- "/pr-comments $ARGUMENTS"
Reviews a GitHub PR by checking CI status, running tests, and posting review. Always reports findings to user. Use when reviewing PRs or when the user says "review PR".
Analyzes ROADMAP and implements tasks in parallel with automatic orchestration. Use when starting implementation work.
Monitors all worker agents and automatically transitions them through the workflow. Use after spawning workers with /implement, or to check orchestration status.
Detects PRs with changes requested and spawns fixer agents. Use when addressing review feedback.
Detects all open PRs and spawns reviewer agents for each. Use when starting batch review.
Creates a new task file from template. Use when adding a new task to the project.