git-conventional-commit

git-conventional-commit is a skill for Claude Code from jtprogru/bear-skills. It costs 93 tokens per session (1,107 once invoked), scanned A, original, MIT.

A skill that writes a Git commit message from the current code changes using the Conventional Commits format. Git is a system for tracking file history, while a commit records a selected set of changes.

In plain words
What is it for?
Use it when you want to commit current work or formulate a commit message. It helps classify changes such as features, fixes, refactors, performance work, documentation, tests, and dependency updates.
Why use it?
It removes the need to decide the commit type, scope, subject, and optional details by hand. It bases the message on the staged changes, or on unstaged changes when nothing is staged, and checks the project’s local conventions first.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the bear-skills plugin — 47 skills, 3 commands, 16 agents, 1 hook shipped together

Good fit Use it when you want to commit current work or formulate a commit message. It helps classify changes such as features, fixes, refactors, performance work, documentation, tests, and dependency updates.

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

Made for: Claude Code.

Or install bear-skills, the plugin that ships this one along with the rest of its 47 skills, 3 commands, 16 agents, 1 hook.

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-conventional-commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jtprogru/bear-skills/git-conventional-commit"><img src="https://agentmods.dev/badge/skills/jtprogru/bear-skills/git-conventional-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,107 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.00093 $0.01107
Opus 5.5 $0.00037 $0.00443
Sonnet 5.5 $0.00019 $0.00221
Haiku 4.5 $0.00009 $0.00111

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

Security

Grade A, and why

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

domains/git/skills/git-conventional-commit/SKILL.md · 102 lines

How it starts

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

git-conventional-commit — Conventional Commit message для текущего diff

Цель: вместо того чтобы пользователь сам формулировал commit-message, ты анализируешь diff и формируешь сообщение по конвенции {{rule:git-conventions}}.

Перед началом прочитай {{rule:git-conventions}} — там полный список допустимых type, формат scope и принципы.

Шаг 1. Собери контекст

Запусти:

  • git status --short — посмотри, что изменено
  • git diff --staged (если есть staged) или git diff (если нет) — содержание изменений
  • git log --oneline -10 — стиль предыдущих коммитов в проекте (особенно язык: русский/английский)

Если staged пуст и unstaged тоже — скажи пользователю и остановись.

Шаг 2. Определи type

Прочитай diff и реши:

diff показывает type
новый файл с функциональностью, новый endpoint, новая фича feat
правка логики, чтобы баг перестал воспроизводиться fix
перенос/переименование/упрощение без изменения поведения refactor
только улучшение производительности perf
только .md, комментарии в коде docs
только тесты добавлены или поправлены test
package.json, go.mod, requirements.txt, Dockerfile, CI-конфиги build или ci
зависимости, версии тулинга chore(deps)
откат предыдущего коммита revert

Если diff смешанный (например, и fix и refactor) — остановись и предложи пользователю разбить на несколько коммитов. Не пиши «feat: исправил баг и отрефакторил» — это анти-паттерн.

Шаг 3. Определи scope (опционально)

Scope — короткое имя модуля/папки/SDK. Эвристика:

  • если все файлы под одной папкой первого уровня (src/auth/, sdk-go/, cli/) — scope = имя этой папки
  • если затронуто 2-3 файла в разных папках — scope можно опустить
  • если поправлен один конкретный компонент (UserCard.tsx) — scope = имя компонента в kebab-case

Шаг 4. Сформулируй subject

  • 50-72 символа
  • глагол в настоящем времени, без заглавной буквы, без точки
  • если коммиты в проекте на русском — пиши на русском, если на английском — на английском (смотри git log)
  • субъект описывает что изменилось, не «что я сделал»

Read the full file on GitHub · 102 lines

Files

What ships with it

1 file 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. 29d ago Changed 10b5218205e6
  2. 3mo ago First seen · 102 lines · 93 tokens per session scan A ce109e4bc969

Subscribe to this mod's changes

git-conventional-commit is a skill published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 25d ago), licensed MIT. It adds 93 tokens to every session and 1,107 once invoked, about $0.0004 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

git-conventional-commit compared with skills from other repositories

git-conventional-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-conventional-commitjtprogru/bear-skillsSkill125d agoMITA93Claude Code
pull-requestzdanovichnick/dotnet-pilotSkill52d agoMITA55Claude Code
feature-publishomnigent-ai/omnigentSkill12ktodayApache-2.0A24Claude Code, Codex
pr-reviewoliver-kriska/claude-elixir-phoenixSkill5803d agoMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill5803d agoMITA61Claude Code, Codex
lean-reviewSnowflake-Labs/cocoplusSkill73026d agoMITA44Claude Code
OCR Review-to-Approval Loopspencermarx/open-code-reviewSkill39822d agoApache-2.0A213Claude Code