pr_description_generator

pr_description_generator is a skill for Claude Code from adrielp/ai-engineering-harness. It costs 35 tokens per session (1,253 once invoked), scanned A, a copy of pr-description-generator, Apache-2.0.

A skill for writing pull request descriptions that follow a repository's templates and document the associated changes. A pull request is a proposed code change submitted for review before it is merged.

In plain words
What is it for?
Use it to create or update a pull request description, find the right template, inspect the change history, and summarize the work.
Why use it?
It helps gather the relevant template, diff, commits, and pull-request details instead of leaving the description incomplete.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Gemini CLI.

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 skills/adrielp/ai-engineering-harness/pr_description_generator
Any agent
npx skills add adrielp/ai-engineering-harness --skill pr_description_generator
Clone the repo
git clone --depth 1 https://github.com/adrielp/ai-engineering-harness

Made for: Claude Code.

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 pr_description_generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/adrielp/ai-engineering-harness/pr_description_generator.svg)](https://agentmods.dev/skills/adrielp/ai-engineering-harness/pr_description_generator)
Your own site
<a href="https://agentmods.dev/skills/adrielp/ai-engineering-harness/pr_description_generator"><img src="https://agentmods.dev/badge/skills/adrielp/ai-engineering-harness/pr_description_generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 89% copy Near-identical to another mod 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.00035 $0.01253
Opus 5 $0.00017 $0.00626
Sonnet 5 $0.00007 $0.00251
Haiku 4.5 $0.00003 $0.00125

Measured 6d ago against content hash c2b72a7db602, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

pr_description_generator 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 6d 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.

Origin

This is a copy

89% identical to pr-description-generator — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

gemini/skills/pr_description_generator/SKILL.md · 215 lines

How it starts

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

PR Description Generator

When to Use This Skill

Activate this skill when the user:

  • Asks to "create a PR description" or "describe this PR"
  • Says "generate PR description" or "write PR description"
  • Mentions "pull request" in context of documenting changes
  • Asks to "update PR description" for an existing PR

Core Process

Step 1: Locate the PR Description Template

Check for template in standard locations:

# Project-specific template
test -f thoughts/shared/pr_description.md && echo "Found"

# Alternative locations
test -f .github/pull_request_template.md && echo "Found"
test -f docs/pr_template.md && echo "Found"

If no template exists, offer to use a standard format or create one.

Step 2: Identify the Pull Request

Check current branch for associated PR:

gh pr view --json url,number,title,state 2>/dev/null

If no PR exists, offer to describe changes for a new PR or list open PRs.

Step 3: Gather Comprehensive PR Information

Collect all PR context:

# Full diff of changes
gh pr diff {number}

# Commit history
gh pr view {number} --json commits

# Metadata
gh pr view {number} --json url,title,number,state

For new PRs (not yet created):

git diff main...HEAD
git log main..HEAD --oneline
git diff --name-only main...HEAD

Step 4: Analyze Changes Thoroughly

Deep analysis required - Think carefully about:

  1. Code changes: Read the entire diff, understand purpose and impact
  2. User-facing impact: What will users notice? Breaking changes?
  3. Implementation details: Technical approach and decisions
  4. Migration requirements: Data migration, deployment steps

Step 5: Handle Verification Requirements

Process checklist items from template:

  1. Identify automated checks: npm test, make build, etc.
  2. Run what you can and mark results
  3. Document what couldn't be completed

Step 6: Generate the Description

Fill out each section from the template:

Read the full file on GitHub · 215 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. 6d ago First seen · 215 lines · 35 tokens per session scan A c2b72a7db602

Subscribe to this mod's changes

pr_description_generator is a skill published in the GitHub repository adrielp/ai-engineering-harness (20 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,253 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to pr-description-generator, differing in 8 lines, and is treated as a copy.