git-pr-description

git-pr-description is a skill for Claude Code from jtprogru/bear-skills. It costs 95 tokens per session (851 once invoked), scanned A, original, MIT.

A workflow that turns the changes in a Git branch into a Pull Request description. A Pull Request is a request to merge reviewed code into another branch.

In plain words
What is it for?
Use it to inspect commits and diffs, choose a suitable PR title, document the purpose and changes, describe verification steps, and record breaking changes.
Why use it?
It saves time summarising what changed, why it changed, how to test it, and whether the changes may break existing behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the bear-skills plugin — 42 skills, 3 commands, 11 agents, 1 hook shipped together

Good fit Use it to inspect commits and diffs, choose a suitable PR title…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jtprogru/bear-skills/git-pr-description
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.

Any agent
npx skills add jtprogru/bear-skills --skill git-pr-description
Clone the repo
git clone --depth 1 https://github.com/jtprogru/bear-skills

Made for: Claude Code.

Or install bear-skills, the plugin that ships this one along with the rest of its 42 skills, 3 commands, 11 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jtprogru/bear-skills/git-pr-description.svg)](https://agentmods.dev/skills/jtprogru/bear-skills/git-pr-description)
Your own site
<a href="https://agentmods.dev/skills/jtprogru/bear-skills/git-pr-description"><img src="https://agentmods.dev/badge/skills/jtprogru/bear-skills/git-pr-description.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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.00095 $0.00851
Opus 5 $0.00048 $0.00426
Sonnet 5 $0.00019 $0.00170
Haiku 4.5 $0.00010 $0.00085

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

Security

Grade A, and why

git-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 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.

domains/git/skills/git-pr-description/SKILL.md · 92 lines

How it starts

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

git-pr-description — Описание PR из diff ветки

Цель: дать пользователю готовое описание PR в один шаг — анализ коммитов и diff ветки против базовой ветки.

Перед началом прочитай ~/.claude/rules/git-conventions.md — раздел про структуру PR.

Шаг 1. Определи базовую ветку и текущую

git branch --show-current
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'

Если origin/HEAD не определена — спроси пользователя: main или master. Запомни как BASE.

Шаг 2. Собери материал

git log $BASE..HEAD --oneline
git log $BASE..HEAD --stat
git diff $BASE...HEAD --stat
git diff $BASE...HEAD

Изучи, что менялось: список файлов, размер изменений, тексты коммитов.

Шаг 3. Сформируй заголовок PR

Заголовок — Conventional Commit для предполагаемого merge-коммита:

  • если все коммиты ветки featfeat(<scope>): <общая фича>
  • если только fixfix(<scope>): <что починили>
  • если разные — выбери доминирующий type

Шаг 4. Сформируй описание

Структура (markdown):

## Зачем

<1-2 предложения: какая проблема решается, чья боль, ссылки на issue/тикет>

## Что изменилось

- <буллет по логическому изменению, не по файлу>
- <ещё один>
- <ещё>

## Как проверить

<либо шаги для ручной проверки, либо «покрыто новыми тестами в X», либо «smoke в стейджинге»>

## Риски / breaking changes

<либо «нет», либо явный список с миграцией>

Closes #N

Шаг 5. Покажи и спроси

Покажи заголовок и описание в блоке. Спроси:

  1. Принять
  2. Поправить (что именно)
  3. Добавить чего-то (тесты, screenshots, migration plan)

Шаг 6. Опубликуй (опционально)

Если пользователь подтвердил и хочет открыть PR прямо сейчас:

  • проверь, есть ли gh CLI: which gh
  • если есть — gh pr create --title "..." --body-file <tmp> с подготовленным телом
  • если нет — скажи, что нужно либо gh поставить, либо открыть PR через UI и вставить описание

Не пушь ветку самостоятельно, если она ещё не запушена. Покажи пользователю команду git push -u origin <branch> и дай ему решить.

Read the full file on GitHub · 92 lines

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. 6d ago First seen · 92 lines · 95 tokens per session scan A 7ef6674fb973

Subscribe to this mod's changes

git-pr-description is a skill published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 19d ago), licensed MIT. It adds 95 tokens to every session and 851 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

OCR Review-to-Approval Loop

Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…

spencermarx/open-code-review · 178 tokens

avatar-contribution-pr

Turn an avatar GitHub issue (from the in-app avatar-editor easter egg) into a merged sprite — validate the art, then either add a new module or replace an existing one, and open a PR that closes the issue. Handles both "Avatar contribution: " (a brand-new sprite) and "Avatar edit: " (a hand-redraw of an existing…

khromov/codebay · 0 tokens

loop-on-ci

Monitor PR checks and fix failures until green. Uses gh pr checks as the source of truth for PR-attached checks.

Kripu77/software-factory · 28 tokens

working-in-grove

Use when you are the coding agent running INSIDE a Grove workspace — a git worktree Grove created for one task, on the host or in a container. Triggers on: reporting or updating your task phase or progress, GROVEPHASEFILE or .grove/phase.json, grove phase, grovesetworkspacephase, naming this workspace or setting its…

bearlike/Grove · 197 tokens

rollback

A tool for undoing recent automatic changes or the changes associated with a named proposal, using recorded backups.

ryanzhao1011/workframe · 32 tokens

configuring-grove

Use when a user wants to set up or change Grove's configuration, for a host/user or for a project. Covers the global user config, the committed project config, machine-local overrides, agents, init scripts, containers, tmux and peek tuning, the TUI theme, the daemon auth, notifications, and ticket providers (Gitea…

bearlike/Grove · 122 tokens