Skip to content
samber avatar

Conventional Git

Conventional Commits and worktree naming standards for branches, commits, and changelog-driven release workflows.

CCM score
63 of 100
skills.sh installs
5.5K
GitHub stars
348
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers branch naming, worktree directory layout, and commit message format for GitHub and GitLab projects
  • Includes a type table mapping feat, fix, and other types to SemVer bumps, plus issue-closing keywords for both platforms
  • Enforces a 72-character subject limit, imperative mood, and no trailing period so changelog tools parse commits reliably
  • Designed for teams that need consistent git history, SemVer-driven releases, and automatic issue closing

Install

$ npx -y skills add samber/cc-skills --skill conventional-git -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/samber/cc-skills
Category
Git & Releases
First seen
Jul 14, 2026

Questions

What does the conventional-git skill do?

The conventional-git skill sets Conventional Commits v1.0.0 standards for branch names, worktree names, and commit messages in GitHub and GitLab projects. It helps the agent write commits and branches that let tools generate changelogs and enforce SemVer bumps.

How do I install the conventional-git skill?

Run this command in a project: npx -y skills add samber/cc-skills --skill conventional-git -y. Once installed, the agent follows these naming and commit rules whenever it creates branches, worktrees, or commits.

Which tools does conventional-git need?

The skill requires git, and its allowed tools include Bash commands for git and gh. It is designed for Claude Code, Codex or similar agent harnesses.

Where does conventional-git rank among Git and release skills?

It ranks in the top 50 on the Git and Releases category page on Claude Marketplaces. The other top skills in that category include triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr.

Does conventional-git help close issues automatically?

Yes, it explains how to put keywords like Closes or Fixes with an issue number in the commit footer. GitHub and GitLab then close that issue when the commit lands on the default branch.

More from samber/cc-skills

All 20

Similar to Conventional Git

More Git & Releases