update-pr-description

update-pr-description is a skill for Claude Code from testdouble/han. It costs 73 tokens per session (4,182 once invoked), scanned A, original, MIT.

A tool that drafts a pull request description from the changes on the current Git branch compared with a GitHub pull request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it to write, revise, or update pull request summaries and descriptions from branch changes.
Why use it?
It saves time summarising what changed and why when preparing or updating a pull request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the han-github plugin — 3 skills shipped together

Good fit Use it to write, revise, or update pull request summaries and descriptions from branch changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add testdouble/han
Claude Code
/plugin install han-github

Made for: Claude Code.

Or install han-github, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-pr-description

README.md
[![agentmods](https://agentmods.dev/badge/skills/testdouble/han/update-pr-description/github.svg)](https://agentmods.dev/skills/testdouble/han/update-pr-description)
Your own site
<a href="https://agentmods.dev/skills/testdouble/han/update-pr-description"><img src="https://agentmods.dev/badge/skills/testdouble/han/update-pr-description/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-pr-description

Your own site · 80×15
<a href="https://agentmods.dev/skills/testdouble/han/update-pr-description"><img src="https://agentmods.dev/badge/skills/testdouble/han/update-pr-description.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,182 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.04182
Opus 5.5 $0.00029 $0.01673
Sonnet 5.5 $0.00015 $0.00836
Haiku 4.5 $0.00007 $0.00418

Measured 1mo ago against content hash 99a290b6af36, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-pr-description scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/create-review-tempfile.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

han-github/skills/update-pr-description/SKILL.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-requisites

  • gh CLI: !which gh 2>/dev/null || echo "not installed"

If the gh CLI is not found:

  • Inform the user that it needs to be installed and configured before this skill can be used
  • Immediately stop execution of this skill, as it cannot be executed

Project Context

  • current branch: !git branch --show-current 2>/dev/null || echo unknown
  • default branch: !git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo unknown
  • branch summary: !git log origin/HEAD..HEAD --oneline 2>/dev/null || echo unknown
  • branch stats: !git diff origin/HEAD...HEAD --stat 2>/dev/null || echo unknown
  • branch changes: !git diff origin/HEAD...HEAD 2>/dev/null || echo unknown
  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Step 1: Validate Branch State

Before generating a PR description, verify the branch has content to describe:

  1. If default branch is empty or unknown — origin/HEAD is not set. Use AskUserQuestion to ask the user for the default branch name (e.g., main, master, develop). Use that branch as the base for all git commands in subsequent steps, and recompute branch summary, branch stats, and branch changes against it — their Project Context values may read unknown because they were derived from the unset origin/HEAD.

  2. If branch summary is empty — there are no commits on this branch relative to the default branch. Inform the user and stop.

Read the full file on GitHub · 273 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 273 lines · 73 tokens per session scan A 99a290b6af36

Subscribe to this mod's changes

update-pr-description is a skill published in the GitHub repository testdouble/han (318 stars, last pushed 3d ago), licensed MIT. It adds 73 tokens to every session and 4,182 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

pr-threads-address

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.

posit-dev/skills · 48 tokens

timeline

Group the current branch's commit history into semantic phases along a timeline, and generate two review documents: architecture evolution + code review.

tykisgod/quick-question · 26 tokens

brief

Compare the current branch against its base branch and generate two review documents: architecture change diagram + PR review checklist.

tykisgod/quick-question · 22 tokens

up-to-date

Preflight sync and situational brief before repo work: fetches origin, reports ahead/behind divergence (with a no-upstream/detached-HEAD fallback), recent commits, open PRs and issues touching the work, and dirty-tree warnings, then names one recommended first action. Read-only by default — never pulls, rebases…

alonbaron/claude-skills · 83 tokens