pr-style

pr-style is a skill for Claude Code, Codex from fredrikaverpil/dotfiles. It costs 58 tokens per session (873 once invoked), scanned A, original, MIT.

A set of rules for writing GitHub pull request titles and descriptions. A pull request is a proposed code change for review, and the rules specify a title format plus Why, What, and Notes sections.

In plain words
What is it for?
Use it whenever creating or editing a pull request through the GitHub command-line tool, GitHub tools, or an API.
Why use it?
It keeps pull requests consistent and focused, while prompting for information such as the Jira ticket number and draft status.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

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/fredrikaverpil/dotfiles/pr-style
Any agent
npx skills add fredrikaverpil/dotfiles --skill pr-style
Clone the repo
git clone --depth 1 https://github.com/fredrikaverpil/dotfiles

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 pr-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/pr-style.svg)](https://agentmods.dev/skills/fredrikaverpil/dotfiles/pr-style)
Your own site
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/pr-style"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/pr-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00058 $0.00873
Opus 5 $0.00029 $0.00436
Sonnet 5 $0.00012 $0.00175
Haiku 4.5 $0.00006 $0.00087

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

Security

Grade A, and why

pr-style 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.

stow/shared/.claude-work/skills/pr-style/SKILL.md · 109 lines

How it starts

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

Pull Request Style

Conventions for PR titles and descriptions. These apply no matter how the PR is created (gh CLI, GitHub MCP tools, API).

General

  • Always create draft PRs.
  • Assign the PR to me (the author), not to Claude or a bot identity.
  • Keep PR titles, descriptions, and comments concise and clear.
  • Include only useful information. Remove redundancy and over-explanation.
  • Prefer explicitness and clarity over verbosity.
  • Express Why/What/Notes content as concise, to-the-point bullet lists. Avoid prose paragraphs.
  • All references to functions, libraries, projects, products must be linked.
  • Include a small, illustrative code snippet whenever it conveys the change faster than prose. This is desired for PRs in general, and especially for bug fixes: a minimal example of the triggering case (and what went wrong) makes the problem concrete for reviewers. Keep it short — just enough to convey the point, not a full reproduction.
  • The PR text describes the change only: no "Generated with Claude Code" lines, no session links or model names.
  • In Claude cloud sandbox sessions, the platform appends a "Generated by Claude Code" footer to the PR body at creation time, outside your control. After creating a PR, always read it back and, if a footer was appended, update the PR body to remove it (updates are not re-footered). Also verify angle-bracket placeholders survived; the platform strips them even inside code spans.

PR Title Format

Write the title as if the whole PR was squashed into a single commit using conventional commits. Use imperative mood (e.g., "Add feature" not "Added feature"). Keep it concise and descriptive.

PR Body Format

# XY-123

## Why?

[Explain the motivation for this change. What problem does it solve?]

## What?

[Describe what was changed. List the key modifications.]

## Notes

[Optional. Additional context, testing notes, or follow-up items.]

Rules:

  1. # XY-123 - Always ask me for the Jira ticket number before creating the PR. If there is one, include it as an H1 header at the top of the body. If there isn't one, omit it.
  2. ## Why? - Required. Explain motivation and problem being solved
  3. ## What? - Required. Describe the changes made
  4. ## Notes - Optional. Omit entirely if no notes are needed

Read the full file on GitHub · 109 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 · 109 lines · 58 tokens per session scan A f0083b15f5e4

Subscribe to this mod's changes

pr-style is a skill published in the GitHub repository fredrikaverpil/dotfiles (257 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 873 once invoked, about $0.0003 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-30.