git-pr-description

git-pr-description is a skill for Claude Code, Codex from alexeyshishin/as-skill. It costs 84 tokens per session (747 once invoked), scanned A, original, MIT.

A tool that turns the changes on your current Git branch into a ready-to-use pull request description. It reviews the commits and compares the branch with the main or master branch.

In plain words
What is it for?
Use it when opening a pull request or preparing its title and description from an existing branch.
Why use it?
It removes the need to manually summarize code changes and remember important details such as the reason for the work, how to check it, and breaking changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when opening a pull request or preparing its title and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyshishin/as-skill/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 alexeyshishin/as-skill --skill git-pr-description
Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

Made for: Claude Code, Codex.

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/alexeyshishin/as-skill/git-pr-description.svg)](https://agentmods.dev/skills/alexeyshishin/as-skill/git-pr-description)
Your own site
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/git-pr-description"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/git-pr-description.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 747 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.00084 $0.00747
Opus 5 $0.00042 $0.00374
Sonnet 5 $0.00017 $0.00149
Haiku 4.5 $0.00008 $0.00075

Measured 6d ago against content hash db7f6f7c1a5e, 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 description from a branch diff

Goal: give the user a ready-made PR description in one step — analysis of the branch's commits and diff against the base branch.

Before starting, read ~/.claude/rules/git-conventions.md — the section on PR structure.

Step 1. Determine the base branch and the current one

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

If origin/HEAD is not determined — ask the user: main or master. Store it as BASE.

Step 2. Gather the material

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

Study what changed: the file list, the size of the changes, the commit texts.

Step 3. Build the PR title

The title is a Conventional Commit for the intended merge commit:

  • if all commits on the branch are featfeat(<scope>): <overall feature>
  • if only fixfix(<scope>): <what was fixed>
  • if mixed — pick the dominant type

Step 4. Build the description

Structure (markdown):

## Why

<1-2 sentences: what problem is being solved, whose pain, links to the issue/ticket>

## What changed

- <bullet per logical change, not per file>
- <another one>
- <another>

## How to verify

<either manual verification steps, or "covered by new tests in X", or "smoke-tested on staging">

## Risks / breaking changes

<either "none", or an explicit list with migration steps>

Closes #N

Step 5. Show and ask

Show the title and description in a block. Ask:

  1. Accept
  2. Adjust (specify what)
  3. Add something (tests, screenshots, migration plan)

Step 6. Publish (optional)

If the user has confirmed and wants to open the PR right now:

  • check whether the gh CLI is available: which gh
  • if yes — gh pr create --title "..." --body-file <tmp> with the prepared body
  • if not — say they need to either install gh or open the PR via the UI and paste in the description

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 · 84 tokens per session scan A db7f6f7c1a5e

Subscribe to this mod's changes

git-pr-description is a skill published in the GitHub repository alexeyshishin/as-skill (4 stars, last pushed 18d ago), licensed MIT. It adds 84 tokens to every session and 747 once invoked, about $0.0004 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

pwp-bootstrap

New project initialization protocol — from empty directory to production-ready foundation in one session. Use this skill whenever the user wants to start a new project, initialize a repo, scaffold an application, or set up a codebase from scratch. Also use when they say 'new project', 'start fresh', 'initialize a…

shandar/pwp-plugin · 104 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts) and an annotated tag. Verify, commit, tag. Stops at "committed and tagged locally" — no push, no publish. The release-and-publish skill picks up from here. Distilled…

cyanheads/obsidian-mcp-server · 82 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

ship

Commit, push, and optionally create or update a PR for the current staged changes. Use when the user asks to "ship", "ship it", "ship changes", "commit push and PR", or "ship this".

tobihagemann/turbo · 47 tokens

branch-and-worktree-workflow

Isolates feature work in its own branch or worktree and integrates it cleanly when done. Use this when starting work that should not disturb the current workspace, when several efforts must proceed in parallel on one repository, or when implementation is finished and the change needs merging, rebasing, or splitting…

cbrock84/headcount · 70 tokens

git-flow

Use this skill when proposing, reviewing, or troubleshooting git commits, branches, pull requests, or merge strategies in a WrongStack project session. Triggers: user mentions "commit", "branch", "PR", "merge", "rebase", "stash", "diff".

WrongStack/WrongStack · 57 tokens