generate-pr-notes

generate-pr-notes is a skill for Claude Code from jamesyang124/agent-skills. It costs 0 tokens per session (2,741 once invoked), scanned A, original, MIT.

A tool that turns Git commits or branch changes into pull request notes. A pull request is a request to review and merge code, and the notes explain what changed and why.

In plain words
What is it for?
Use it when opening a pull request, preparing its description, or summarizing the changes in a branch compared with a base branch.
Why use it?
It removes the need to manually compare changes and write a structured summary for reviewers. It can describe the title, main changes, technical details, and breaking changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it when opening a pull request, preparing its description, or summarizing the changes in a branch compared with a base branch.

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

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-notes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamesyang124/agent-skills/generate-pr-notes"><img src="https://agentmods.dev/badge/skills/jamesyang124/agent-skills/generate-pr-notes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,741 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.00000 $0.02741
Opus 5.5 $0.00000 $0.01096
Sonnet 5.5 $0.00000 $0.00548
Haiku 4.5 $0.00000 $0.00274

Measured 8d ago against content hash 1d3de475230b, 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-notes 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 8d 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.

.agent-settings/skills/tools/generate-pr-notes/SKILL.md · 206 lines

How it starts

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

Generate PR Notes

Install this skill globally

Install once — available in all projects.

# Claude (copy the whole folder: the PR template lives in references/)
mkdir -p ~/.claude/skills
cp -R <agent-settings-repo>/.agent-settings/skills/tools/generate-pr-notes ~/.claude/skills/
# Add to ~/.claude/CLAUDE.md: - **generate-pr-notes** (`~/.claude/skills/generate-pr-notes/SKILL.md`)

# Copilot
mkdir -p ~/.copilot/skills
cp -R <agent-settings-repo>/.agent-settings/skills/tools/generate-pr-notes ~/.copilot/skills/

Or link it with .agent-settings/skills/import-skills.sh --global claude generate-pr-notes.

Dependencies

No external skills or MCPs required. Requires git to be available in the shell.


Automatically generate pull request notes based on git changes.

Description

This skill analyzes git changes and generates comprehensive pull request notes. It can work with either a single commit or all changes in the current branch compared to the main/master branch.

Usage

/generate-pr-notes

Arguments

All optional.

Token Meaning
a branch name (e.g. develop) base branch to diff against — skips the base-branch question in step 1

Scope (last commit vs. entire branch) is always asked; it is not an argument.


Instructions

Use the Task tool with subagent_type="general-purpose" to spawn an agent that will generate pull request notes. Pass the following instructions to the agent.

CRITICAL: After the agent completes, follow these steps IN ORDER:

  1. Output verbatim — display the agent's full response exactly as returned in the terminal. Do NOT summarize or modify it.

  2. Extract content — strip the outer ```markdown opening fence and the closing ``` fence from the agent output to get the raw markdown text only.

  3. Determine output path — before writing, run these two commands via Bash:

    • Repo name: basename $(git rev-parse --show-toplevel)
    • Short hash: git rev-parse --short HEAD Construct the output path as /tmp/pr-notes-<repo-name>-<short-hash>.md (e.g. /tmp/pr-notes-agent-skills-a1b2c3d.md). Use the Write tool to save the extracted markdown to that path.

Read the full file on GitHub · 206 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. 8d ago Changed · -28 lines · -66 tokens per session 1d3de475230b
  2. 1mo ago First seen · 234 lines · 66 tokens per session scan A 29ed7a0b6bbd

Subscribe to this mod's changes

generate-pr-notes is a skill published in the GitHub repository jamesyang124/agent-skills (2 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,741 tokens. 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.