describe_pr

A command for writing a pull request description, where a pull request is a proposed set of changes for review and merging into a code repository.

In plain words
What is it for?
Use it when preparing or documenting a pull request, including user-facing changes, breaking changes, new setup needs, and test results.
Why use it?
It gathers the branch, commits, metadata, and full difference so the description reflects the actual change and its verification status.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/pyrex41/skill-manager/describe_pr
Clone the repo
git clone --depth 1 https://github.com/pyrex41/skill-manager

Made for: Claude Code.

Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00007 $0.00574
Opus 5 $0.00003 $0.00287
Sonnet 5 $0.00001 $0.00115
Haiku 4.5 $0.00001 $0.00057

Measured 2d ago against content hash b2915c96c804, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

describe_pr 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 2d ago.

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.

.claude/commands/cl/describe_pr.md · 93 lines

How it starts

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

Generate PR Description

You are tasked with generating a comprehensive pull request description.

Process

Step 1: Identify the PR

  • Check if current branch has a PR: gh pr view --json url,number,title,state 2>/dev/null
  • If no PR exists, list open PRs: gh pr list --limit 10 --json number,title,headRefName,author
  • Ask which PR to describe if unclear

Step 2: Gather PR Information

  • Get the full PR diff: gh pr diff {number}
  • Get commit history: gh pr view {number} --json commits
  • Get PR metadata: gh pr view {number} --json url,title,number,state,baseRefName

Step 3: Analyze Changes Thoroughly

  • Read through the entire diff carefully
  • For context, read files referenced but not in the diff
  • Understand the purpose and impact of each change
  • Identify:
    • User-facing changes vs. internal implementation
    • Breaking changes or migration requirements
    • New dependencies or configurations

Step 4: Run Verification

For any verification commands you can run:

  • If it passes, mark checkbox: - [x]
  • If it fails, keep unchecked with explanation: - [ ]
  • If it requires manual testing, leave unchecked and note for user

Step 5: Generate Description

Create a comprehensive description:

## Summary

[2-3 sentences describing what this PR does and why]

## Changes

### [Category 1]
- Change description
- Another change

### [Category 2]
- Change description

## Breaking Changes

[List any breaking changes, or "None"]

## How to Verify

### Automated
- [x] `make check` passes
- [x] `make test` passes
- [ ] [Test that couldn't be run - reason]

### Manual
- [ ] [Manual verification step 1]
- [ ] [Manual verification step 2]

## Related

- Fixes #[issue number] (if applicable)
- Related to #[other PR] (if applicable)

Step 6: Update the PR

  • Update the PR description: gh pr edit {number} --body-file [description file]
  • Confirm the update was successful
  • Remind user of any unchecked verification steps

Important Notes

Read the full file on GitHub · 93 lines

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. 2d ago First seen · 93 lines · 7 tokens per session scan A b2915c96c804

Subscribe to this mod's changes

describe_pr is a command published in the GitHub repository pyrex41/skill-manager (3 stars, last pushed 6mo ago), licensed MIT. It adds 7 tokens to every session and 574 once invoked, about $0.0000 per session on Opus 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-08-31.