/turbo:reply-to-pr-threadsfrom Turbo
Drafts, confirms, and posts replies to GitHub PR review threads, resolving threads with a resolution reason. Use when asked to reply to PR threads or post PR thread replies.
Ships in Turbo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Draft replies for a processed review-thread list, confirm with the user, post the surviving drafts, dismiss the code-scanning alerts their entries name, and resolve threads whose entry carries a resolution reason.
Auto-detect owner, repo, and PR number from the current branch if not provided, then query the current resolution state:
gh api graphql -f query='
query($owner: String!, $repo: String!, $pr: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 100) {
nodes { id isResolved }
}
}
}
}' -f owner='{owner}' -f repo='{repo}' -F pr={pr_number}
Drop threads whose isResolved is now true. Reviewers or bots such as CodeRabbit may resolve threads after the original fetch, and drafting replies for them is wasted work.
/github-voice SkillRun the /github-voice skill to load voice rules and the insider-vs-outsider detection.
Use the processed-thread list from conversation context. Each entry has: thread id, file path, line, category (fix, skip, answer, clarify, or resolve-only), and per-category payload. An entry may also carry a resolution reason: ADDRESSED, WONT_FIX, or INVALID. A skip entry that carries a resolution reason may also carry a code-scanning alert number and a dismissal reason: false positive, won't fix, or used in tests. Its reply doubles as the alert's dismissal comment, so keep it within 280 characters.
Keep every reply to one or two sentences. No bullet-point reasoning. No bolded labels.
fix: payload is a commit SHA, optionally with a divergence note.
Fixed in <commit-sha>.
Only add a brief sentence after the SHA when the fix meaningfully diverges from what the reviewer suggested. Otherwise the SHA alone is enough.
skip: payload is the skip reasoning. State the reasoning directly. Do not apologize.
answer: payload is the raw answer text. Tighten to one or two sentences and apply /github-voice rules. Do not cite transcripts or mention Claude. The reply reads as the implementer's own explanation.
clarify: payload is a user-directed question. Draft it as directed.
resolve-only: payload is the commit SHA that already addressed the thread. Draft no reply.
Output all drafts as text, grouped by file:
### <file-path>
**Thread <id>** (<category>, line <line>)
Reviewer: <original comment, truncated if long>
Reply: <drafted reply>
Dismiss: alert <alert-number>, <dismissal reason>
Resolve: <resolution reason>
Show the Reply line only for entries with a drafted reply, the Dismiss line only for entries that carry an alert number, and the Resolve line only for entries that carry a resolution reason.
Then use AskUserQuestion to ask whether to post. Offer:
For each approved draft, write the drafted reply to .turbo/pr/thread-<thread-id>.md with the Write tool, then post via the reply mutation:
gh api graphql -f query='
mutation($threadId: ID!, $body: String!) {
addPullRequestReviewThreadReply(input: {pullRequestReviewThreadId: $threadId, body: $body}) {
comment { id }
}
}' -f threadId='<thread-id>' -F [email protected]/pr/thread-<thread-id>.md
Substitute <thread-id> with the thread's id for each post.
After posting the reply of an entry that carries an alert number, dismiss its alert with the reply as the dismissal comment:
gh api -X PATCH repos/{owner}/{repo}/code-scanning/alerts/<alert-number> -f state=dismissed -f dismissed_reason="<dismissal reason>" -F [email protected]/pr/thread-<thread-id>.md
Count the alert as dismissed only when the response's state is dismissed. Leave the thread of an alert that was not dismissed unresolved.
After posting the reply of an entry that carries a resolution reason, and for each resolve-only entry, resolve its thread:
gh api graphql -f query='
mutation($threadId: ID!, $reason: PullRequestReviewThreadResolutionReason) {
resolveReviewThread(input: {threadId: $threadId, resolutionReason: $reason}) {
thread { isResolved }
}
}' -f threadId='<thread-id>' -f reason='<reason>'
Count a thread as resolved only when the response shows isResolved: true.
Report the outcome as a table, one row per thread, keeping every cell to a single line:
| Thread | Category | Outcome |
|---|
Where Outcome is one of:
Keep the report to the table. When the table would be empty, report one line stating that no replies were posted or threads resolved, and why, instead.
Then use the TaskList tool and proceed to any remaining task.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tobihagemann/turbo --plugin turbo74 skills in this plugin
/apply-findingsApply accepted review findings as code changes, escalating ambiguous ones to the user. Use when the user asks to "apply findings", "apply fixes", or "apply the review results"./assess-technical-debtAssess project-wide technical debt (hotspots, deprecated APIs, duplication, low-value tests) into a ranked report. Use when the user asks to "assess technical debt" or "what should we refactor"./backlogCapture an out-of-scope improvement or accepted simplification in .turbo/backlog.md. Use proactively mid-task, or when the user asks to "backlog this", "note this idea", or "track this for later"./changelog-rulesShared changelog conventions and formatting rules. Not typically invoked directly./code-styleEnforce existence, reuse, mirror, and symmetry principles so new code stays minimal and consistent. Use when writing, changing, or refactoring code in an existing codebase./codex-execRun autonomous task execution using the codex CLI. Use when the user asks to "codex exec", "run codex exec", "execute a task with codex", or "delegate to codex".Other plugins' skills for the same job