git-commit

git-commit is a skill for Claude Code from fredrikaverpil/dotfiles. It costs 43 tokens per session (730 once invoked), scanned A, original, MIT.

A set of rules for writing Git commit messages in the Conventional Commits format, a standard that labels changes such as fixes, features, tests, and documentation.

In plain words
What is it for?
Use it before creating a commit to choose the right change type, write a short imperative message, and add the related Jira ticket when available.
Why use it?
It keeps commit history consistent and requires the Jira ticket or confirmation that no ticket is needed before a commit is made.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it before creating a commit to choose the right change type, write a short imperative message, and add the related Jira ticket when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fredrikaverpil/dotfiles/git-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 fredrikaverpil/dotfiles --skill git-commit
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 git-commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/git-commit"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/git-commit.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 730 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.00043 $0.00730
Opus 5.5 $0.00017 $0.00292
Sonnet 5.5 $0.00009 $0.00146
Haiku 4.5 $0.00004 $0.00073

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

Security

Grade A, and why

git-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 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.

stow/shared/.claude-work/skills/git-commit/SKILL.md · 88 lines

How it starts

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

Git Commit Messages

Write commit messages following the Conventional Commits specification.

Format

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Types

Type Purpose
feat New feature
fix Bug fix
docs Documentation only
style Code style (formatting, no logic change)
refactor Code change that neither fixes a bug nor adds a feature
perf Performance improvement
test Adding or correcting tests
build Build system or external dependencies
ci CI configuration
chore Maintenance tasks
revert Reverts a previous commit

Rules

  1. Use imperative mood in description ("add feature" not "added feature")
  2. Do not end description with a period
  3. Keep description under 72 characters
  4. Separate subject from body with a blank line
  5. Use the body to explain intent, nuances, gotchas, or background behind the change — not a paraphrase of the diff
  6. Always ask me for the Jira ticket number before committing. If there is one, include it as the last line in the commit body (e.g., XY-123). If there isn't one, ask whether to create one.

Breaking Changes

Add ! after type/scope or include BREAKING CHANGE: in footer:

feat(api)!: remove deprecated endpoints

BREAKING CHANGE: The /v1/users endpoint has been removed.

Scope

Optional. Use to specify area of change (e.g., api, ui, auth, db).

Branch Naming

When creating a new branch, name it <type>/<jira-ticket> with the ticket lowercased, using the same types as commit messages (e.g., feat/xy-123, fix/xy-456). If there is no Jira ticket, fall back to <type>/<kebab-description> (e.g., feat/add-user-auth).

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 43 tokens per session scan A 8e9dfeb4c92d

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository fredrikaverpil/dotfiles (259 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 730 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.