git-commit

git-commit is a skill for Claude Code from fredrikaverpil/dotfiles. It costs 36 tokens per session (762 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 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 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.00036 $0.00762
Opus 5.5 $0.00014 $0.00305
Sonnet 5.5 $0.00007 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured today against content hash 799156e4f50a, 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 today.

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/skills/git-commit/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 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 the commit title under 72 characters.
  4. Separate subject from body with a blank line
  5. Use the body to explain motivation, intent, nuances, gotchas, or background behind the change — not a paraphrase of the diff. Do not rely on that additional details can live in a separate ticket/issue somewhere. Make the commit body paint the whole picture.
  6. If the repo is private, ask me for the Linear issue number before committing. If there is a Linear issue, include it as the last line in the commit body, with a Linear-compatible "magic word" verb before it (e.g., fixes XY-123 or `r). If there isn't one, ask whether to create one.

Breaking Changes

Read the full file on GitHub · 91 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. today Changed · +2 lines 799156e4f50a
  2. 23d ago Changed · +4 lines 8613dc8a35ba
  3. 1mo ago Changed · -3 lines · -7 tokens per session d4fd8343ab00
  4. 3mo 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 (261 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 762 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-08-30.

Related

git-commit compared with skills from other repositories

git-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-commitfredrikaverpil/dotfilesSkill261yesterdayMITA36Claude Code
finishing-a-development-branchdenolfe/dotfilesSkill885d agononeA27Claude Code, Codex
prdenolfe/dotfilesSkill885d agononeA35Claude Code, Codex
using-git-worktreesdenolfe/dotfilesSkill885d agononeA36Claude Code, Codex
workx-cmd/x-cmdSkill4.8k6d agoApache-2.0A29Claude Code, Codex
oz-report-prwarpdotdev/warpSkill66kyesterdayAGPL-3.0A17Claude Code, Codex
mbo-plansfc-gh-eraigosa/dotfilesSkill57todayApache-2.0A260Claude Code, Codex