claude-init: Skill for Claude Code

.claude/skills/generate-pr-description/SKILL.md

generate-pr-description is a skill for Claude Code from Flexonze/claude-init. It costs 9 tokens per session (270 once invoked), scanned A, original, MIT.

A guide that compares a branch with its parent and drafts a pull request title and description.

In plain words
What is it for?
Use it when preparing a pull request, including notes about breaking changes, migrations, or deployment concerns.
Why use it?
It removes the need to reconstruct the change summary manually from Git history and the diff.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

This is Flexonze/claude-init's own configuration. It tells Claude Code how to work on claude-init itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-init configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Flexonze/claude-init. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Flexonze/claude-init/main/.claude/skills/generate-pr-description/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Flexonze/claude-init

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 generate-pr-description

README.md
[![agentmods](https://agentmods.dev/badge/skills/flexonze/claude-init/generate-pr-description/github.svg)](https://agentmods.dev/skills/flexonze/claude-init/generate-pr-description)
Your own site
<a href="https://agentmods.dev/skills/flexonze/claude-init/generate-pr-description"><img src="https://agentmods.dev/badge/skills/flexonze/claude-init/generate-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 generate-pr-description

Your own site · 80×15
<a href="https://agentmods.dev/skills/flexonze/claude-init/generate-pr-description"><img src="https://agentmods.dev/badge/skills/flexonze/claude-init/generate-pr-description.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 270 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.00009 $0.00270
Opus 5.5 $0.00004 $0.00108
Sonnet 5.5 $0.00002 $0.00054
Haiku 4.5 $0.00001 $0.00027

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

Security

Grade A, and why

generate-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 2mo 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/skills/generate-pr-description/SKILL.md · 58 lines

What it actually says

Generate PR Description

Analyze the git diff between the parent branch and the current branch and create a pull request title and description.

Parent branch: Use "$1" if provided, otherwise default to "main"

Instructions

  1. Use git diff <parent-branch>...HEAD and git log <parent-branch>..HEAD to analyze changes
  2. Generate a concise, descriptive PR title
  3. Write a description summarizing what changed and why

Guidelines

  • Title should clearly describe what the PR accomplishes
  • Description should provide context for reviewers
  • List the key changes made
  • Mention any breaking changes, migrations, or deployment considerations
  • Be concise and direct

Output Format

Print the title and description in code blocks so they can be easily copied:


PR title:

Add user notification preferences

PR description:

## Summary

Users can now configure how and when they receive notifications.

## Changes

- Added notification preferences model and API endpoints
- Created settings UI for managing preferences
- Implemented email digest options (immediate, daily, weekly)

## Notes

- Requires database migration

Files

What ships with it

1 file 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. 2mo ago First seen · 58 lines · 9 tokens per session scan A c2dfae6fb5fe

Subscribe to this mod's changes

generate-pr-description is a skill published in the GitHub repository Flexonze/claude-init (10 stars, last pushed 7mo ago), licensed MIT. It adds 9 tokens to every session and 270 once invoked, about $0.0000 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-08-31.

Related

Other skills, from other repositories

babysit

Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.

michael-denyer/pstack-claude · 61 tokens

make-pr-easy-to-review

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

michael-denyer/pstack-claude · 57 tokens

fix-merge-conflicts

Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution.

michael-denyer/pstack-claude · 22 tokens

git-commit

Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit changes", or after completing code changes that need to be committed.

decebals/claude-code-java · 38 tokens

commit

Commit the current work — runs the quality, consistency and passport gates, branches off main if needed, stages specific files, and writes a commit whose subject states what is now true. Pushes and opens a pull request only with --pr or when the user asks; never merges — a merge happens only when the user explicitly…

pedrohcgs/claude-code-my-workflow · 135 tokens

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

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