conventional-git

conventional-git is a skill for Claude Code from samber/cc-skills. It costs 111 tokens per session (1,743 once invoked), scanned A, original, MIT.

A set of Git naming and commit-message rules called Conventional Commits, used to make changes easier to understand and automate version releases.

In plain words
What is it for?
Use it when creating branches or worktrees, writing commits, reviewing naming conventions, or setting up changelog automation in GitHub or GitLab.
Why use it?
Consistent branch and commit names help teams trace work, generate changelogs, and determine whether a release is a patch, feature, or breaking change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Part of the cc-skills plugin — 21 skills shipped together

Good fit Use it when creating branches or worktrees, writing commits, reviewing naming conventions, or setting up changelog automation in GitHub or GitLab.

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

Made for: Claude Code.

Or install cc-skills, the plugin that ships this one along with the rest of its 21 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/samber/cc-skills/conventional-git"><img src="https://agentmods.dev/badge/skills/samber/cc-skills/conventional-git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,743 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
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • 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.00111 $0.01743
Opus 5.5 $0.00044 $0.00697
Sonnet 5.5 $0.00022 $0.00349
Haiku 4.5 $0.00011 $0.00174

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

Security

Grade A, and why

conventional-git 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 3mo 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/conventional-git/SKILL.md · 166 lines

How it starts

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

Conventional Commits & Branch Naming

Follow Conventional Commits v1.0.0 for both branch names and commit messages — consistent naming lets tools auto-generate changelogs, enforce SemVer bumps, and filter history by concern.

Branch Naming

Format: <type>/[issue-]<description> — lowercase, hyphens only, no special chars except /.

feat/user-authentication
feat/42-user-authentication
fix/login-race-condition
fix/87-login-race-condition
docs/api-reference-update
refactor/payment-module

Prefix with the issue number when one exists — GitHub and GitLab auto-link it and it makes git log immediately traceable to the tracker. Keep the description under 50 characters — most git UIs truncate branch names in lists around that length. Match the type to the work you're doing — this is the contract readers use to understand the branch purpose at a glance.

NEVER include worktree in a branch name — git worktrees are a local checkout mechanism, not a branch concept; the name would leak implementation details into the remote and confuse other contributors.

Worktree Naming

Worktrees are local checkout directories — they never appear in the remote. Place them under .claude/worktrees/ and name them by replacing the branch / separator with -.

git worktree add .claude/worktrees/feat-user-authentication feat/user-authentication
git worktree add .claude/worktrees/fix-87-login-race-condition fix/87-login-race-condition

The directory name mirrors the branch name so git worktree list stays readable and each worktree is immediately traceable to its branch without inspecting the checkout. Run git worktree list before creating a new one — reuse an existing worktree if it already covers the same branch.

Keep worktrees scoped to a single branch. Doing unrelated work inside someone else's worktree obscures which changes belong where and makes cleanup error-prone.

Remove the worktree once its branch is merged — either after a local merge or after the pull/merge request is closed on the remote. Stale worktrees accumulate and make git worktree list unreadable.

Read the full file on GitHub · 166 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. 3mo ago First seen · 166 lines · 111 tokens per session scan A 89790641e8b4

Subscribe to this mod's changes

conventional-git is a skill published in the GitHub repository samber/cc-skills (352 stars, last pushed 29d ago), licensed MIT. It adds 111 tokens to every session and 1,743 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-30.

Related

conventional-git compared with skills from other repositories

conventional-git next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
conventional-gitsamber/cc-skillsSkill35229d agoMITA111Claude Code
knowledge-shell-process-and-worktreeechoVic/blade-codeSkill18114d agoMITA164Claude Code, Codex
code-changelog-generatorKornLabs/trussSkill218d agononeA49Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill121k6d agoMITA131Claude Code
ax-extract-workflowsickn33/agentic-awesome-skillsSkill51kyesterdayMITA35Claude Code
engineer-bot-getting-startedmakecindy/cindySkill11ktodayApache-2.0A44Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex