pr-style

pr-style is a skill for Claude Code from fredrikaverpil/dotfiles. It costs 50 tokens per session (800 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 Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it whenever creating or editing a pull request through the GitHub command-line tool, GitHub tools, or an API.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/pr-style/github.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/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 pr-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/pr-style"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/pr-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.00800
Opus 5.5 $0.00020 $0.00320
Sonnet 5.5 $0.00010 $0.00160
Haiku 4.5 $0.00005 $0.00080

Measured 7d ago against content hash ce14301a12a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 7d 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/skills/pr-style/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 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

## 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. ## Why? - Required. Explain motivation and problem being solved
  2. ## What? - Required. Describe the changes made
  3. ## Notes - Optional. Omit entirely if no notes are needed

Read the full file on GitHub · 101 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. 7d ago Changed · -8 lines · -8 tokens per session ce14301a12a2
  2. 1mo 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 (259 stars, last pushed 3d ago), licensed MIT. It adds 50 tokens to every session and 800 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories