commit

commit is a skill for Claude Code from romerma/mstack. It costs 63 tokens per session (953 once invoked), scanned A, original, MIT.

A guide for writing commit messages in the Conventional Commits format, a shared style that labels changes such as fixes, features, tests, and documentation.

In plain words
What is it for?
Choosing the correct change type, adding an optional scope, and writing commit, amend, squash, or pull-request titles that make sense without the full diff.
Why use it?
Clear commit messages help people understand the project history later and let release tools infer the likely version change.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the mstack plugin — 13 skills, 5 agents, 6 hooks shipped together

Good fit Choosing the correct change type, adding an optional scope, and writing commit, amend, squash, or pull-request titles that make sense without the full diff.

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

Made for: Claude Code.

Or install mstack, the plugin that ships this one along with the rest of its 13 skills, 5 agents, 6 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/romerma/mstack/commit"><img src="https://agentmods.dev/badge/skills/romerma/mstack/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 953 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.00063 $0.00953
Opus 5.5 $0.00025 $0.00381
Sonnet 5.5 $0.00013 $0.00191
Haiku 4.5 $0.00006 $0.00095

Measured 14d ago against content hash d296c523d79d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit 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 14d 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/commit/SKILL.md · 93 lines

How it starts

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

Commit

The log is read by people who were not in the session. A subject that made sense with the diff open in front of you is not the test. The test is whether it still says something six months later in git log --oneline.

$ARGUMENTS

The shape

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

The colon and the space after it are required. So is the description.

Pick the type

Two are fixed by the spec and the rest are convention:

  • feat when the commit adds a feature. This is the only thing that earns feat.
  • fix when the commit repairs a bug. Not "touched a file under src/".
  • docs, test, refactor, perf, build, ci, style, chore, revert for everything else.

The type is a claim about the change, and a wrong one is a lie the release tooling believes: fix cuts a PATCH release, feat cuts a MINOR one, and a breaking change cuts a MAJOR one. Reaching for chore because the change is hard to classify is how a feature ships unreleased.

A scope is optional. Use one when the repository has real sections a reader would recognise (fix(parser):), and leave it off rather than inventing one.

Write the description

The spec says only that a description follows the colon and space, and that it is a short summary of the change. Write it so a stranger can read it from the log:

  1. Imperative mood is a common habit, not a rule: "add the receipt" rather than "adds" or "added". Follow it where the repository does.
  2. Name the change, not the file. "fix the gate" says nothing that --stat does not.
  3. One commit, one change. If the description needs an "and" joining two unrelated things, it is two commits.

Keep the subject short enough to read in git log --oneline. A repository's own rules, in its CLAUDE.md or CONTRIBUTING.md, extend or override this skill, including any length limit, casing or trailer policy; read them before you commit.

Breaking changes

Mark them in the prefix with !, in a footer, or both:

Read the full file on GitHub · 93 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. 14d ago Changed d296c523d79d
  2. 3mo ago First seen · 93 lines · 63 tokens per session scan A 5c6cecf2bfbe

Subscribe to this mod's changes

commit is a skill published in the GitHub repository romerma/mstack (1 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 953 once invoked, about $0.0003 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-31.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitromerma/mstackSkill1todayMITA63Claude Code
gsd-pr-branchopen-gsd/gsd-coreSkill12kyesterdayMITA23Claude Code
pr-reviewoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA61Claude Code, Codex
extract-pr-review-ruleseai-org/agent-toolkitSkill116yesterdayMITA37Claude Code
pr-reviewmagic5644/Graph-It-LiveSkill64todayMITA132Claude Code
signing-preflightavelikiy/great_ctoSkill11714d agoMITA105Claude Code