用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ncukondo/search-hub --skill pr-comments命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
Detects PRs with changes requested and spawns fixer agents. Use when addressing review feedback.
Analyzes ROADMAP and implements tasks in parallel with automatic orchestration. Use when starting implementation work.
正在显示 SKILL.md
基于 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"