SkillAgentSearch skills...

reply-to-pr-threads

Draft, confirm, and post replies to GitHub PR review threads. Handles per-category reply formatting, re-fetches thread resolution state so auto-resolved threads are skipped, and posts via GraphQL

Install / Use

npx skills add tobihagemann/turbo --skill reply-to-pr-threads

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

87/100

Category

Marketing

Supported Platforms

Universal

Our assessment of reply-to-pr-threads

reply-to-pr-threads scores 87/100 on our quality scale, 350th of 596 Marketing skills we index.

Its SKILL.md is 3.6 KB long, well organised into 8 sections with 4 code examples: a solid amount of guidance for an agent.

It has 405 GitHub stars, a meaningful sign that others use it.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
11/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 12 days ago, so reply-to-pr-threads is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-10-05. Automated pattern scan on 2026-10-05. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

reply-to-pr-threads compared with similar skills

All 4 of these similar skills score higher than reply-to-pr-threads; compare them before choosing.

SkillScoreStarsUpdatedFormat
reply-to-pr-threads (this skill)by tobihagemann8740512d agoSKILL.md
Agent-Reachby Panniantong10091.8k20d agoCLAUDE.md
algorithmic-artby anthropics100177.9k13d agoSKILL.md
pptxby anthropics100177.9k13d agoSKILL.md
designby nextlevelbuilder100130.2k14d agoSKILL.md

Frequently asked questions

How do I install reply-to-pr-threads?
Run npx skills add tobihagemann/turbo --skill reply-to-pr-threads. The install tabs above show the steps for each supported agent.
Which AI agents does reply-to-pr-threads work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is reply-to-pr-threads safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is reply-to-pr-threads still maintained?
The repository was last updated 12 days ago, so reply-to-pr-threads is actively maintained.

name: reply-to-pr-threads description: "Draft, confirm, and post replies to GitHub PR review threads. Handles per-category reply formatting, re-fetches thread resolution state so auto-resolved threads are skipped, and posts via GraphQL. Use when the user asks to "reply to PR threads", "post PR thread replies", or "draft PR reply messages"."

Reply to PR Threads

Draft replies for a processed review-thread list, confirm with the user, and post the surviving drafts.

Step 1: Re-fetch Thread State

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.

Step 2: Run /github-voice Skill

Run the /github-voice skill to load voice rules and the insider-vs-outsider detection.

Step 3: Draft Replies

Use the processed-thread list from conversation context. Each entry has: thread id, file path, line, category (fix, skip, answer, or clarify), and per-category payload.

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.

Step 4: Present Drafts and Confirm

Output all drafts as text, grouped by file:

### <file-path>

**Thread <id>** (<category>, line <line>)
Reviewer: <original comment, truncated if long>
Reply: <drafted reply>

Then use AskUserQuestion to ask whether to post. Offer:

  • Post — post all drafts as shown
  • Cancel — skip posting

Step 5: Post Replies

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 body=@.turbo/pr/thread-<thread-id>.md

Substitute <thread-id> with the thread's id for each post.

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:

  • Posted — the reply was posted
  • Skipped — name the reason, such as auto-resolution between the re-fetch and the post

Keep the report to the table. When the table would be empty, report one line stating that no replies were posted and why instead.

Then use the TaskList tool and proceed to any remaining task.

Rules

  • Never resolve or dismiss a review thread. Only reply. Let the reviewer resolve.
  • If a post mutation fails because the thread is already resolved, log the skip and continue with the rest.

Related Skills

View on GitHub
GitHub Stars405
CategoryMarketing
Updated12d ago
Forks31

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions
reply-to-pr-threads — Universal Skill: Install & Safety Check | SkillAgent