skills/pr-review-responder/SKILL.md
Use when a PR has review comments to address - fetches inline comments from GitHub, fixes code issues, replies to each comment, and resolves threads. Trigger on "address the review", "fix PR comments", "handle review feedback on PR
npx skillsauth add razbakov/skills pr-review-responderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
End-to-end workflow for addressing PR review comments: fetch, categorize, fix, reply inline, resolve threads.
Core principle: Fix code first, then reply with the commit reference. Never reply "fixed" without actually fixing.
Fetch comments → Categorize → Fix code → Run tests → Reply inline → Resolve threads
# Get all inline review comments with essential fields
gh api repos/{owner}/{repo}/pulls/{number}/comments \
--jq '.[] | {id: .id, path: .path, line: .line, body: (.body | split("\n") | first)}'
This returns review comments (inline code comments), not PR-level comments.
Group comments by priority before fixing:
| Category | Action | |----------|--------| | Code fix needed | Fix in code, commit, reply with commit SHA | | Acknowledged (missing feature) | Create a GitHub issue, reply with issue link. "Acknowledged" without a tracking issue means the work gets lost. | | Acknowledged (product decision) | Reply explaining the trade-offs. Don't create an issue — design questions need discussion first, not a ticket. | | By design | Reply with reasoning for the design choice | | Already fixed | Reply noting which commit addressed it |
Fix all actionable items, then run tests before replying:
# Make fixes...
# Then verify
bun run test:e2e # or project-specific test command
bun run build # check for type errors
Never reply "fixed" without passing tests.
Commit all fixes in one commit with a clear message referencing the review:
git commit -m "Address PR review feedback
- Fix A (P1)
- Fix B (P2)
..."
git push
Note the commit SHA — you'll reference it in replies.
# Reply to a specific inline comment by its ID
gh api -X POST repos/{owner}/{repo}/pulls/{number}/comments \
-f body="Fixed in abc1234 — added unique constraint." \
-F in_reply_to={comment_id}
Reply format: Start with "Fixed in {sha}" or "Acknowledged" — be concise.
First, get thread IDs via GraphQL:
gh api graphql -f query='
query {
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {number}) {
reviewThreads(first: 50) {
nodes {
id
isResolved
comments(first: 1) {
nodes { body }
}
}
}
}
}
}' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | .id'
Then resolve each thread:
gh api graphql -f query='mutation {
resolveReviewThread(input: {threadId: "{thread_id}"}) {
thread { isResolved }
}
}'
Batch resolve in a loop:
threads=("PRRT_abc" "PRRT_def" "PRRT_ghi")
for t in "${threads[@]}"; do
gh api graphql -f query="mutation { resolveReviewThread(input: {threadId: \"$t\"}) { thread { isResolved } } }" --silent 2>/dev/null
done
| Mistake | Fix |
|---------|-----|
| Reply "fixed" without fixing | Fix code and verify tests pass first |
| Use gh pr review for inline replies | Use gh api -X POST .../pulls/{n}/comments with in_reply_to |
| Try to resolve with comment IDs | Thread IDs (PRRT_...) are different from comment IDs — use GraphQL query |
| Reply via general PR comment | Reply inline so each thread gets its own response |
| Resolve without replying | Reply first, then resolve — reviewer needs to see what was done |
| Use shell function keyword in zsh | Use array + for loop instead — zsh aliases conflict with function |
| Task | Command |
|------|---------|
| List inline comments | gh api repos/{o}/{r}/pulls/{n}/comments --jq '.[] \| {id, path, body}' |
| Reply to comment | gh api -X POST repos/{o}/{r}/pulls/{n}/comments -f body="..." -F in_reply_to={id} |
| Get thread IDs | GraphQL reviewThreads query (see Step 6) |
| Resolve thread | GraphQL resolveReviewThread mutation |
| Check resolution | --jq '.data...reviewThreads.nodes[] \| select(.isResolved == false)' |
tools
--- name: handoff description: Get an agent past a browser/UI wall it can't (or must not) cross on its own — a login-gated dashboard, a CAPTCHA, a 2FA prompt, an API that keeps rejecting the write, or an irreversible click that policy says a human must make. This skill is an ESCALATION LADDER, not a first move: it tells you to try the automated browser surfaces FIRST (Chrome-in-Claude, computer-use, an autonomous browser sub-agent) and only fall back to the Handoff app — a wrapper browser that h
documentation
Summarize one or more YouTube videos from their links. Use this whenever the user pastes a youtube.com or youtu.be URL (or several) and wants to know what it's about — phrasings like "summarize to telegram", "tldr these videos", "what do these say", "summary of this talk", or just dropping links with no instruction at all. Fetches each video's real transcript via yt-dlp (not the page text, which never contains the transcript), cleans the captions, and writes a per-video summary. Default delivery is Telegram; honor any other surface the user names ("to my notes", "just here in chat", "email it"). Trigger even when the user only pastes bare links — bare YouTube links almost always mean "tell me what's in these".
data-ai
Daily Digest — Chief-of-Staff role consolidates the six top-managers into one Telegram message to the Commander, instead of six. Implements the protocol from agent-proactivity.md.
development
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.