From base
Addresses unresolved review comments on the current branch by orchestrating the full fix cycle: reading feedback, implementing changes, verifying, committing, and replying to reviewers. Use this skill whenever the user wants to fix PR review feedback, address reviewer comments, handle review points, or respond to code review. Also trigger on phrases like "レビューコメント直して", "fix the review comments", "address the feedback", "review 対応して", "レビュー指摘を修正", or any request to implement changes requested by PR reviewers. This is the primary skill for closing the PR review feedback loop.
npx claudepluginhub kkhys/claude-code-marketplaceThis skill uses the workspace's default tool permissions.
Close the PR review feedback loop: read what reviewers asked for, implement the changes, verify nothing broke, and let them know what was done.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Close the PR review feedback loop: read what reviewers asked for, implement the changes, verify nothing broke, and let them know what was done.
Invoke the reading-unresolved-pr-comments skill. It fetches all unresolved threads via GraphQL and produces a structured fix plan.
Before jumping into code, review the plan carefully:
is_outdated? The referenced lines may have shifted or been rewritten. Verify the current code state before planning a fix for these.Launch subagents for each fix task. The fix plan from Phase 1 determines execution strategy:
When a reviewer suggests an approach but leaves room for alternatives, make the call that best serves the codebase. Note the reasoning — it will go into the thread reply in Phase 4.
Run the project's test suite and linter. Pushing broken code to a PR wastes the reviewer's time and erodes trust in the review process — catching failures at this stage is essential.
formatting-commit skill to commit all fixes togethergit push --force-with-lease (the branch has existing history, so a regular push will be rejected)All fixes go in a single commit. Splitting them across multiple commits creates noise in the review thread and makes it harder for the reviewer to see the full picture of what changed.
Reviewers need to know their feedback was heard. A generic "修正しました" tells them nothing — they'd have to dig through the diff to verify each point. Specific replies save everyone's time.
For each unresolved thread, compose a reply that includes:
Get the commit URL:
COMMIT_URL="$(gh api "repos/$(gh repo view --json nameWithOwner -q '.nameWithOwner')/commits/$(git rev-parse HEAD)" --jq '.html_url')"
Build a JSON payload and post all replies at once:
bash "${CLAUDE_SKILL_DIR}/scripts/reply-to-review-threads.sh" /path/to/replies.json
Payload format:
{
"replies": [
{
"thread_id": "<thread ID from Phase 1>",
"body": "<COMMIT_URL> で修正しました。[具体的な修正内容]"
}
]
}
Write replies in Japanese. Be concise but specific — one sentence per reply that describes the actual change made.
Do not auto-resolve threads. Resolution is the reviewer's prerogative — they decide when the fix is satisfactory. If the user explicitly asks to resolve threads, invoke the resolving-pr-comments skill.