choplin/my-agent-skills/code-review-session-reply-pr

Trust tier 3
  • community
Source check pending

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-pr

SKILL.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; see code-review-session-base).
  • review.md with pr:comment/* items, and {review_dir}/sources/pr.json.

Process

1. Load record + PR data
  1. Find review.md at {review_dir}/review.md (standalone: search

.agents/code-review-session/*/review.md). If not found, stop.

  1. Read {review_dir}/sources/pr.json for comment ids, authors, types, and the

replied flags. Derive owner/repo via gh repo view --json nameWithOwner.

2. Collect unreplied items
  1. Take items whose Source is pr:comment/{id} and whose ledger record has

replied: false.

  1. Default scope: inline only — unless the user asks to include review-body

comments ("review-bodyも含めて", "全コメントに返信", "reply to all"), skip review-body.

  1. 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
markdown
## PR Comment Reply Drafts
**PR**: #{number}
**Scope**: inline only (include review-body with "全コメントに返信")
**Unreplied items**: {count}
| # | Item | Reply |
|---|------|-------|
| {N} | {summary} | {draft} |
Edit any drafts, then say "post" to submit.

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: true recorded in sources/pr.json after 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/choplin/my-agent-skills/code-review-session-reply-pr/badge)](https://verified-skill.com/skills/choplin/my-agent-skills/code-review-session-reply-pr)

Something wrong with this skill or its page? Tell us.