conventional-commit

conventional-commit is a skill for Claude Code, Codex from marcelorodrigo/agent-skills. It costs 34 tokens per session (940 once invoked), scanned A, original, MIT.

A set of rules for writing Git commit messages in a consistent format. Git commits are saved snapshots of code changes.

In plain words
What is it for?
Writing commit messages for features, bug fixes, maintenance, documentation, dependency updates, and other common changes. It also helps name branches to match the type of work.
Why use it?
It removes guesswork when describing changes and makes a project's history easier to scan. It also reminds you to work on a separate branch instead of committing directly to the main code line.

Skill for Claude CodeCodex

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/marcelorodrigo/agent-skills/conventional-commit
Any agent
npx skills add marcelorodrigo/agent-skills --skill conventional-commit
Clone the repo
git clone --depth 1 https://github.com/marcelorodrigo/agent-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 conventional-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcelorodrigo/agent-skills/conventional-commit.svg)](https://agentmods.dev/skills/marcelorodrigo/agent-skills/conventional-commit)
Your own site
<a href="https://agentmods.dev/skills/marcelorodrigo/agent-skills/conventional-commit"><img src="https://agentmods.dev/badge/skills/marcelorodrigo/agent-skills/conventional-commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 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 $0.00034 $0.00940
Opus 5 $0.00017 $0.00470
Sonnet 5 $0.00007 $0.00188
Haiku 4.5 $0.00003 $0.00094

Measured 3d ago against content hash e600b04bf6d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

conventional-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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/conventional-commit/SKILL.md · 144 lines

How it starts

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

Conventional Commit Messages

Follow these conventions when creating commits.

Prerequisites

Before committing, ensure you're working on a feature branch, not the main branch.

# Check current branch
git branch --show-current

If you're on main or master, create a new branch first:

# Create and switch to a new branch
git checkout -b <type>/<short-description>

Branch naming should follow the pattern: <type>/<short-description> where type matches the commit type (e.g., feat/add-user-auth, fix/null-pointer-error, refactor/extract-validation).

Format

<type>(<scope>): <subject>

<body>

<footer>

The header is required. Scope is optional. All lines must stay under 100 characters.

Commit Types

Type Purpose
build Build system or CI changes
chore Routine maintenance tasks
ci Continuous integration configuration
deps Dependency updates
docs Documentation changes
feat New feature
fix Bug fix
perf Performance improvement
refactor Code refactoring (no behavior change)
revert Revert a previous commit
style Code style and formatting
test Tests added, updated or improved

Subject Line Rules

  • Use imperative, present tense: "add feature" not "added feature"
  • Do not capitalize the first letter
  • No period at the end
  • Maximum 70 characters

Body Guidelines

  • Explain what and why, not how
  • Use imperative mood and present tense
  • Include motivation for the change
  • Contrast with previous behavior when relevant

Conventional Commits

The commit contains the following structural elements, to communicate intent to the consumers of your library:

  • fix: a commit of the type fix patches a bug in your codebase (this correlates with PATCH in Semantic Versioning).
  • feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).
  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
  • types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.
  • footers other than BREAKING CHANGE: may be provided and follow a convention similar to git trailer format.

Read the full file on GitHub · 144 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. 3d ago First seen · 144 lines · 34 tokens per session scan A e600b04bf6d1

Subscribe to this mod's changes

conventional-commit is a skill published in the GitHub repository marcelorodrigo/agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 940 once invoked, about $0.0002 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.

Related

Other skills, from other repositories