choplin/my-agent-skills/code-review-session-reply-pr
- community
Checking that the SKILL.md file is still in the repository.
Drafts and optionally posts replies to the PR review comments already imported into a code-review session, using each item's recorded resolution and the companion PR ledger.
Install
npx vskill@latest install choplin/my-agent-skills/code-review-session-reply-prSKILL.md
Reply to PR Comments (output)
Post replies on the PR for items sourced from it. Uses each item's recorded Resolution (from code-review-session-resolve) and the PR data in sources/pr.json.
Trigger phrases: "reply to PR comments", "PRコメントに返信", "返信案を作って", "draft PR replies"
Input
review_dir— where the record lives (default: standalone; seecode-review-session-base).review.mdwithpr:comment/*items, and{review_dir}/sources/pr.json.
Process
1. Load record + PR data
- Find
review.mdat{review_dir}/review.md(standalone: search
.agents/code-review-session/*/review.md). If not found, stop.
- Read
{review_dir}/sources/pr.jsonfor comment ids, authors, types, and the
replied flags. Derive owner/repo via gh repo view --json nameWithOwner.
2. Collect unreplied items
- Take items whose
Sourceispr:comment/{id}and whose ledger record has
replied: false.
- Default scope: inline only — unless the user asks to include review-body
comments ("review-bodyも含めて", "全コメントに返信", "reply to all"), skip review-body.
- If none remain: report "All PR comments have been replied to." and stop.
3. Resolve commit references
For items resolved with a code change: git log --oneline on the branch; match the item's file(s) to the commit that addressed it; keep the short SHA (7 chars).
4. Draft replies
Per item, from its Status/Resolution:
- resolved with a change:
{one-sentence description}. Fixed in {sha}. - resolved without a change:
{one-sentence explanation}. - skipped / postponed:
{reason it was declined or deferred}.
5. Present drafts
Wait for input.
6. Post (on explicit request only)
Only when the user says "post" / "投稿して" / "submit". Per item, using the id from sources/pr.json:
- inline:
mcp__github__add_reply_to_pull_request_comment(owner,repo,
pullNumber, commentId, body).
- review-body:
mcp__github__add_issue_comment(owner,repo,issue_number=
PR number, body = @{author} {reply}).
After each successful post, set that comment's replied: true in sources/pr.json. Report {count} replies posted to PR #{number}.
Reply Style Guide
- Concise: one line ideal, two max. No pleasantries. State facts.
- Commit SHAs: 7 chars, not backtick-wrapped (GitHub auto-links).
- Match the original comment's language. Identifiers/paths in `
`` backticks.
Success Criteria
- [ ] Only unreplied PR items (per
sources/pr.json); inline by default - [ ] Drafts presented; posting only on explicit request
- [ ]
replied: truerecorded insources/pr.jsonafter posting
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-review-session/code-review-session-reply-pr/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/choplin/my-agent-skills/code-review-session-reply-pr)