commit-message-expert

commit-message-expert is a skill for Claude Code, Codex from codebygarv/Ai-skills. It costs 43 tokens per session (517 once invoked), scanned A, original, MIT.

A guide for writing clear Git commit messages from a code diff or change description. Git commits are saved records of changes, and Conventional Commits are a common format such as "fix: handle missing file."

In plain words
What is it for?
Use it to write or review commit messages, identify the kind of change made, and add a short explanation when the reason is not obvious.
Why use it?
It removes guesswork about how to describe a change and helps keep a project's commit history consistent and useful.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write or review commit messages, identify the kind of change made, and add a short explanation when the reason is not obvious.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codebygarv/ai-skills/commit-message-expert
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 codebygarv/Ai-skills --skill commit-message-expert
Clone the repo
git clone --depth 1 https://github.com/codebygarv/Ai-skills

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 commit-message-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/codebygarv/ai-skills/commit-message-expert/github.svg)](https://agentmods.dev/skills/codebygarv/ai-skills/commit-message-expert)
Your own site
<a href="https://agentmods.dev/skills/codebygarv/ai-skills/commit-message-expert"><img src="https://agentmods.dev/badge/skills/codebygarv/ai-skills/commit-message-expert/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-message-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/codebygarv/ai-skills/commit-message-expert"><img src="https://agentmods.dev/badge/skills/codebygarv/ai-skills/commit-message-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 517 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.00043 $0.00517
Opus 5.5 $0.00017 $0.00207
Sonnet 5.5 $0.00009 $0.00103
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

commit-message-expert 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.

skills/documentation/commit-message-expert/SKILL.md · 36 lines

How it starts

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

Purpose

Write a clear, well-structured commit message for a given change — one that explains what changed and, where non-obvious, why, following the project's commit convention (Conventional Commits by default unless another pattern is evident).

When to Use

  • Writing a commit message for a diff/change and want it done well.
  • Reviewing an existing commit message for clarity/convention compliance.
  • A project's commit history is inconsistent and needs a documented convention to follow going forward.

What to Analyze / Do

  1. Determine the convention in use — check recent commit history for a pattern (Conventional Commits type(scope): subject, or a different house style) and match it; default to Conventional Commits if none is evident.
  2. Identify the actual change type — feat, fix, refactor, docs, test, chore, perf, etc. — based on what the diff actually does, not what the author might casually call it.
  3. Write a subject line — imperative mood ("add" not "added"/"adds"), no trailing period, under ~72 characters, specific enough to be useful in a git log --oneline scan.
  4. Write a body when the "why" isn't obvious from the diff alone — motivation, context, trade-offs considered. Skip the body entirely for genuinely self-explanatory changes; an empty body isn't a defect.
  5. Flag breaking changes — using the convention's mechanism for it (e.g. BREAKING CHANGE: footer in Conventional Commits, or ! after the type/scope).

Output Format

  • Subject line first.
  • Blank line, then body (only if it adds real information beyond the subject).
  • Footer for breaking changes/issue references if applicable.
  • If reviewing an existing message rather than writing a new one: state what's good, what's unclear, and a rewritten version.

Avoid

  • Vague subjects like "fix stuff," "update code," "misc changes" — every commit message should say what actually changed.
  • Writing a body that just restates the subject in different words without adding context.
  • Forcing Conventional Commits format onto a project that clearly uses a different, established convention.

Read the full file on GitHub · 36 lines

Files

What ships with it

2 files 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 First seen · 36 lines · 43 tokens per session scan A 5ec011b40124

Subscribe to this mod's changes

commit-message-expert is a skill published in the GitHub repository codebygarv/Ai-skills (27 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 517 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

git-commit

Conventional Commits format for git commits and PR/MR titles. Type prefixes, scope rules, breaking change syntax, and commit message structure. Use when committing changes, writing commit messages, creating PR/MR titles, or formatting squash merge messages. Not for PR workflows (git-pr), CI/CD status (git-ci), or git…

dmythro/agent-skills · 73 tokens

git-pr

PR and MR workflows for GitHub (gh) and GitLab (glab). Creation, review comment handling, thread resolution, review state queries, merging, cost-aware bot review rounds (GitHub: Copilot, CodeRabbit), and Copilot code review configuration (rulesets, custom instructions, billing). Use when creating PRs/MRs, addressing…

dmythro/agent-skills · 138 tokens

git-project

GitHub Projects (v2) setup and management via gh CLI + GraphQL: organize a repo's issues into epics with native sub-issues, drive a board Status flow (Todo -> In Progress -> Done), set Project Priority, classify with native issue Types (Task/Bug/Feature) instead of labels, scope work with milestones (incl. resolving…

dmythro/agent-skills · 193 tokens

ds-commit

Smart commits — quality gates, atomic grouping, Conventional Commits formatting. Use when committing changes, grouping a working tree into atomic commits, or writing commit messages.

sungurerdim/dev-skills · 36 tokens

git-workflow-guide

Git workflow reference covering branch naming, commit message conventions, PR templates, merge strategies, and common operations — for consistent team collaboration.

The-AI-Directory-Company/agents-and-skills · 31 tokens

chinese-commit-conventions

A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.

jnMetaCode/superpowers-zh · 65 tokens