pr-comments
Reply in thread to every unresolved PR review comment, once the fixes are pushed.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pr-comments
- description
- Reply in thread to every unresolved PR review comment, once the fixes are pushed.
- allowed-tools
- Bash(gh api *), Bash(gh pr *), Bash(git *), Bash(<shared-scripts-dir>/pr-threads.sh*), Read
02 资源文件 2
- 参考文档agents/openai.yaml154 B
- 参考文档reply-patterns.md3.2 KB
03 SKILL.md 正文
PR Comments
Answer every unresolved review comment on a PR, in its own thread. This is
the reply pass: the fixes are already made and pushed. To fix and reply in
one go, use /review-pr instead.
Reply only after the push has landed, since each reply tells the reviewer the
fix is live. Reply only through pr-threads.sh … reply: it checks the comment
belongs to this PR and uses the right endpoint. gh pr comment posts outside
the thread and loses its context, and the
gh api .../pulls/comments/{id}/replies endpoint does not exist (404).
1. Fetch the unresolved comments
<shared-scripts-dir>/pr-threads.sh <PR#> context
The script returns comments with their resolved status. Done when you have the unresolved ones listed.
2. Triage each comment
Give each one an answer:
- Fixed: "Fixed — [what changed]"
- Already fixed in an earlier commit: "Addressed in [commit] — [brief explanation]"
- Acknowledged but deferred: "Noted — [reasoning]. Tracked in #NNN", with the issue link
Several small, related comments from one reviewer can share one numbered reply; several comments in one thread get one reply. Agree conflicting feedback before replying. reply-patterns.md has worked examples, batching rules, and how to handle disagreement, multiple reviewers, and declined suggestions.
Done when every unresolved comment has a drafted answer.
3. Reply in thread
<shared-scripts-dir>/pr-threads.sh <PR#> reply <comment_id> 'Fixed — [explanation]'
Reply to every comment in the same push cycle. Done when every unresolved comment from step 1 has a reply.
4. Summary
Report the counts fixed, already fixed, and acknowledged, plus anything left unaddressed. Done when the report is printed.
Related
/review-pr— review a PR, or fix and reply to its feedback/commit— create the commits being replied to- GitHub REST API: Pull Request Comments
04 同仓库更多 Skills
teach
Teach yourself a topic over several sessions, with lessons, references, and a record of what you've learned.
svg-logo-designer
Generate SVG logos with multiple concepts, layouts, and color variations.
documentation-writer
Writes and revises human-facing documentation — READMEs, contributor and setup guides, reference pages, architecture notes, CLAUDE.md, and changelog entries. Covers picking the right document type for the question being asked, structuring for skimming, writing examples that actually run, and keeping docs from going stale. Use when creating or rewriting docs, when a README has drifted from the code, or when deciding where a piece of information belongs. For SKILL.md and agent files, use /skill-writer instead.
adhd-mode
Shapes every response for a reader with ADHD: the next action first, numbered steps, progress restated each turn, tangents held back, concrete time estimates, wins made visible. Stays on for the rest of the session until the reader says "stop adhd mode". On Claude Code, the harness-kit:adhd output style does the same without invoking this skill.
wait-what
That last message didn't land: re-explain it with the missing context.
to-questionnaire
Turn a decision you can't make alone into a questionnaire for the one person who can answer it, filled in async or together in a meeting.