Agent skill

PR Threads Address

by posit-dev in posit-dev/skills

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where…

MITAuto-check passedDevelopment

Install PR Threads Address

skills CLI
$ npx skills add posit-dev/skills --skill pr-threads-address -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install posit-dev/skills pr-threads-address --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/posit-dev/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/github/pr-threads-address .claude/skills/pr-threads-address && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-threads-address
GitHub stars
529
Token cost
~707 tokens
SKILL.md length
263 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where…

  • Works in 5 steps: Fetch and display all unresolved PR… → Analyze each thread to understand the… → For each thread → …
  • Tasks that involve Pull requests
  • SKILL.md covers Prerequisites, Workflow and CLI Reference
  • Calls gh

What it does

PR Threads Address is an agent skill from posit-dev/skills. Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code; requires gh CLI and gh-pr-review extension

It sits in Development, covering Pull requests. The repository describes itself as: A collection of Claude Skills from Posit. The licence is MIT.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/pr-threads-address”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code; requires gh CLI and gh-pr-review extension

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Fetch and display all unresolved PR review threads
  2. Analyze each thread to understand the requested changes
  3. For each thread
  4. Report back with a summary of addressed threads
  5. Ask if the user wants to resolve the threads. If so, reply to each thread indicating what was done and then resolve the thread.

What it can do on your machine

Read from SKILL.md and the folder at commit 0300946. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; requires gh CLI and gh-pr-review extension

    From compatibility in the SKILL.md frontmatter.

Context cost

PR Threads Address loads about 707 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 263 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~707

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from posit-dev/skills at commit 0300946, republished under its MIT licence (© posit-dev). 263 words, ~707 tokens.

Download SKILL.mdSave it as .claude/skills/pr-threads-address/SKILL.md (or your agent's skills folder).
name
pr-threads-address
description
Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.
compatibility
Designed for Claude Code; requires gh CLI and gh-pr-review extension
metadata.author
Barret Schloerke (@schloerke)
metadata.version
1.0
license
MIT

Prerequisites

gh pr-review extension

Before using this command, check if the gh pr-review extension is installed:

bash
gh extension list | grep -q pr-review || gh extension install agynio/gh-pr-review
Resolve PR context

Every gh pr-review subcommand requires both --pr <number> and --repo <owner/repo> — do not omit either. Look the values up once at the start of the workflow and substitute the literal numbers and slugs into every later command.

Get the PR number for the current branch:

bash
gh pr view --json number -q .number

Get the repository slug:

bash
gh repo view --json nameWithOwner -q .nameWithOwner

Then pass the resulting values directly — e.g. --pr 42 --repo posit-dev/skills — on every subsequent gh pr-review call in this workflow (review view, comments reply, threads resolve, etc.).

Workflow

  1. Fetch and display all unresolved PR review threads
  2. Analyze each thread to understand the requested changes
  3. For each thread:
    1. Make the necessary code modifications
    2. (When possible) Add unit tests to verify the change
    3. Commit the changes with descriptive commit messages using conventional commit specification
  4. Report back with a summary of addressed threads
  5. Ask if the user wants to resolve the threads. If so, reply to each thread indicating what was done and then resolve the thread.

CLI Reference

View PR Reviews and Comments

Display all reviews, inline comments, and replies for a pull request:

bash
gh pr-review review view --pr <number> --repo <owner/repo>

Common filters:

  • --reviewer <login> — Filter by specific reviewer
  • --states <list> — Comma-separated review states (APPROVED, CHANGES_REQUESTED, COMMENTED, DISMISSED)
  • --unresolved — Show only unresolved threads
  • --tail <n> — Show only the last n replies per thread
  • --include-comment-node-id — Include GraphQL node IDs for replies
Reply to Review Threads
bash
gh pr-review comments reply --thread-id <PRRT_...> --body "<reply-text>" --repo <owner/repo> --pr <number>

For multi-line replies, pass --body "$(cat <<'EOF' ... EOF\n)" heredoc syntax.

Resolve a Thread
bash
gh pr-review threads resolve --thread-id <PRRT_...> --pr <number> --repo <owner/repo>

Thread IDs (format PRRT_...) come from review view --include-comment-node-id.

© posit-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in github/pr-threads-address of posit-dev/skills.

Open the folder on GitHubat commit 0300946

Compare with similar skills

PR Threads Address next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Threads Address compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Threads Address this skillposit-dev/skills529—~707Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from posit-dev/skills

All 17 skills in this repo
  • R CLI App

    posit-dev/skills

    Build command-line apps in R using the Rapp package. An agent skill from posit-dev/skills.

    529 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • R Lifecycle

    posit-dev/skills

    Guidance for managing R package lifecycle according to tidyverse principles using the lifecycle package.

    529 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • PR Create

    posit-dev/skills

    Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes.

    529 GitHub stars~4.3k tokensUpdated today
    Auto-check: warnings
  • Shiny Bslib

    posit-dev/skills

    Build modern Shiny dashboards and applications using bslib (Bootstrap 5).

    529 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Shiny Bslib Theming

    posit-dev/skills

    Advanced theming for Shiny apps using bslib and Bootstrap 5.

    529 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Critical Code Reviewer

    posit-dev/skills

    Rigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases.

    529 GitHub stars~3.9k tokensUpdated today
    Auto-check passed

Categories

Questions about PR Threads Address

What does PR Threads Address do?

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where…. PR Threads Address is an agent skill from posit-dev/skills. Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.

When should I use PR Threads Address?

PR Threads Address fits situations like: tasks that involve Pull requests.

How do I install PR Threads Address in Claude Code?

Run `npx skills add posit-dev/skills --skill pr-threads-address -a claude-code`. Or copy the skill folder (github/pr-threads-address in posit-dev/skills) into .claude/skills/pr-threads-address in your project. Claude Code loads it when a task matches its description.

How do I install PR Threads Address in Codex?

Run `npx skills add posit-dev/skills --skill pr-threads-address -a codex`. Or copy the skill folder (github/pr-threads-address in posit-dev/skills) into .agents/skills/pr-threads-address in your project. Codex loads it when a task matches its description.

Can I use PR Threads Address in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add posit-dev/skills --skill pr-threads-address -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-threads-address, .gemini/skills/pr-threads-address, .github/skills/pr-threads-address and .opencode/skills/pr-threads-address in your project.

What does PR Threads Address need to run?

Going by SKILL.md and its folder, PR Threads Address needs the command-line tools its instructions call (gh). Compatibility (from SKILL.md): Designed for Claude Code; requires gh CLI and gh-pr-review extension.

Does PR Threads Address access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Threads Address safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PR Threads Address use?

PR Threads Address is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Threads Address use?

About 707 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Threads Address?

Skills that share tags, products or a category with PR Threads Address: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Threads Address?

posit-dev (a GitHub organization) maintains it in posit-dev/skills, which has 529 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

Source: posit-dev/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.