en un clic
finish-pr-comments
// Commit+push PR comment fixes and reply to each reviewer comment on the PR
// Commit+push PR comment fixes and reply to each reviewer comment on the PR
Plan the implementation of a specific GitHub issue — reads the issue, relevant docs, and enters plan mode
Plan the implementation of a roadmap step — reads the issue, relevant docs, and enters plan mode
Read PR review comments from Gemini/Codex/humans, plan fixes, then apply after approval
Squash-merge the current branch's PR, delete the remote branch, and checkout main
Commit remaining changes, push branch, and create a PR with detailed description
| name | finish-pr-comments |
| description | Commit+push PR comment fixes and reply to each reviewer comment on the PR |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob |
After PR review fixes have been applied and tested, this skill commits the changes, pushes to the existing PR branch, and replies to each reviewer comment.
Current branch: !git branch --show-current
Uncommitted changes: !git status --short
Open PRs for this branch: !gh pr list --head "$(git branch --show-current)" --json number,title,url --jq '.[] | "#\(.number) \(.title) \(.url)"' 2>/dev/null || echo "(none found)"
git status to check for uncommitted changes.git diff to understand what changed..claude/settings.local.json or files containing secrets).issue/{N}-...).Address PR review feedback (#{N})Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>.git pushgh api repos/{owner}/{repo}/pulls/{pr_number}/comments --paginate --jq '.[] | {id, user: .user.login, path: .path, line: .line, body: .body}'gh api repos/{owner}/{repo}/issues/{pr_number}/comments --paginate --jq '.[] | {id, user: .user.login, body: .body}'dotllm-claude-code-bot[bot]).For each reviewer comment, post a reply indicating what was done:
Reply mechanics:
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments -X POST --field body="..." --field in_reply_to={comment_id}gh api repos/{owner}/{repo}/issues/{pr_number}/comments -X POST --field body="..."Bot identity: Always post as the bot. Source gh-app-token.sh, export GH_TOKEN="$CLAUDE_GH_TOKEN", run the gh api command, then unset GH_TOKEN — all in a single Bash call (env does not persist between calls). Do NOT ask for permission — just post. If the token script is missing or fails, fall back to posting as the user's own identity.
If $ARGUMENTS is provided, use it as additional guidance (e.g., "only reply to Gemini comments", "skip replying to nits", "don't post as bot").