commit-pr-writing

commit-pr-writing is a skill for Claude Code from Jartan-LLC/grimoire. It costs 35 tokens per session (967 once invoked), scanned A, original, MIT.

A guide for writing Git commit messages, pull request titles, and pull request descriptions. Git records code changes, while a pull request is a proposed change for review and merging into a shared branch.

In plain words
What is it for?
Use it when preparing commit text or pull request text, including the reason for the change, alternatives considered, and any gaps or deferred work.
Why use it?
It helps explain why a change was made and how it should be represented after merging, without filling the message with review history or repeated diff details.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex.

Part of the gitwise plugin — 2 skills, 1 hook shipped together

Good fit Use it when preparing commit text or pull request text, including the reason for the change, alternatives considered, and any gaps or deferred work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jartan-llc/grimoire/commit-pr-writing
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 Jartan-LLC/grimoire --skill commit-pr-writing
Clone the repo
git clone --depth 1 https://github.com/Jartan-LLC/grimoire

Made for: Claude Code.

Or install gitwise, the plugin that ships this one along with the rest of its 2 skills, 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 commit-pr-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/jartan-llc/grimoire/commit-pr-writing/github.svg)](https://agentmods.dev/skills/jartan-llc/grimoire/commit-pr-writing)
Your own site
<a href="https://agentmods.dev/skills/jartan-llc/grimoire/commit-pr-writing"><img src="https://agentmods.dev/badge/skills/jartan-llc/grimoire/commit-pr-writing/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 commit-pr-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/jartan-llc/grimoire/commit-pr-writing"><img src="https://agentmods.dev/badge/skills/jartan-llc/grimoire/commit-pr-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 967 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.00035 $0.00967
Opus 5.5 $0.00014 $0.00387
Sonnet 5.5 $0.00007 $0.00193
Haiku 4.5 $0.00003 $0.00097

Measured 1mo ago against content hash 5785dc7e29b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-pr-writing 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 1mo 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.

plugins/gitwise/skills/commit-pr-writing/SKILL.md · 45 lines

How it starts

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

Commit Messages and PR Descriptions

The project's own rules win where they speak. No style or brevity pass over a commit message or a PR description: keep every verification line, issue id and reason.

Before you state how the code behaves when it runs (its output, what a test catches, why a result comes out as it does), run it or watch it. If you only reasoned it out, check it now or leave it out. This does not apply to what the change does or why you chose it.

In a public repository, whatever the project's rules say, keep exploit and reproduction detail of a security flaw whose fix is not released out of the PR title and description and out of every commit message but the one whose diff removes the flaw, unless the text links the released fix or a public advisory.

The Commit Message

Write every commit message to land on the default branch, whatever the merge setting. Under GitHub's default squash merge, every commit message on the branch goes into the squash commit's message (merges from the base branch aside).

  • Say why the change was made and why this way; where alternatives were weighed, name the one a later reader would propose and why it lost.
  • Describe the change as merged; narrate no review rounds, requests, attempts, CI re-runs or branch history, and let the subject name the change (never "address review findings").
  • Do not restate what the reader already has open: no file lists, diff retelling or test totals CI shows.
  • State each gap or deferral (with its issue), deliberate omission (with its reason) and hazard a later edit must avoid in the commit message that makes the change. A one-time action only contributors owe (rebuild the dev container) goes in its first paragraph.
  • A commit that reverses or replaces an earlier commit's statement or design names that statement or design by the earlier commit's subject, never "the previous commit", in its first paragraph, says why it was not enough, and gives the corrected action. The branch's earlier messages: git log --reverse --format=%B <base>..HEAD.
  • A commit that only corrects what this PR added (a typo, a lint, a comment it now drops) takes a subject stating the merged result and no body.
  • Make every "every", "all" or "no longer" true of the change as merged, or name the exception.
  • A statement that a file was generated holds for its source as merged: a later commit that edits that source regenerates the file or says it predates the edit.

Read the full file on GitHub · 45 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. 1mo ago Changed · +2 lines · +1 tokens per session 5785dc7e29b9
  2. 1mo ago First seen · 43 lines · 34 tokens per session scan A c15b5cb82c67

Subscribe to this mod's changes

commit-pr-writing is a skill published in the GitHub repository Jartan-LLC/grimoire (4 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 967 once invoked, about $0.0001 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-10-16.

Related

commit-pr-writing compared with skills from other repositories

commit-pr-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commit-pr-writingJartan-LLC/grimoireSkill4yesterdayMITA35Claude Code
pr-reviewoliver-kriska/claude-elixir-phoenixSkill5792d agoMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill5792d agoMITA61Claude Code, Codex
extract-pr-review-ruleseai-org/agent-toolkitSkill116yesterdayMITA37Claude Code
suede-release-to-marketingJasonColapietro/suede-creator-skillsSkill121todayMITA68Claude Code, Codex
writing-pull-requestsCristhianzl/claude-skills-czlSkill53d agoMITA66Claude Code, Codex
git-commitsergeyklay/.agentsSkill67d agoApache-2.0A52Claude Code, Codex