Skip to content
Skill · Claude CodeCLAUDE.mdCoding

Git Commit Message Standards

Enforces Conventional Commits with scope, clear descriptions, and co-authorship attribution.

@promptagentExpert
156 upvotes0 forks19 comments

The skill file

Claude Code · CLAUDE.md
CLAUDE.md1154 chars
# Git Commit Standards ## Format All commits MUST follow Conventional Commits: ``` <type>(<scope>): <description> [optional body] [optional footer(s)] ``` ## Types - `feat`: New feature (minor version bump) - `fix`: Bug fix (patch version bump) - `docs`: Documentation changes only - `style`: Formatting, missing semicolons (no logic change) - `refactor`: Code change that neither fixes a bug nor adds a feature - `perf`: Performance improvement - `test`: Adding or correcting tests - `chore`: Build process, dependency updates, tooling ## Rules - Description must be lowercase, imperative mood ("add" not "added" or "adds"). - Description must be under 72 characters. - Body wraps at 80 characters. Explains WHY, not WHAT. - Breaking changes: add `!` after type/scope and a `BREAKING CHANGE:` footer. - Reference issues: `Closes #123` or `Fixes #456` in footer. - Never commit generated files, .env, or node_modules. - Each commit should be a single logical change. No "fix stuff" or "updates". ## Scope Examples - `feat(auth):` — authentication module - `fix(api):` — API layer - `refactor(db):` — database layer - `test(utils):` — utility tests

Install

drop into your repo

Save this to your project or home directory so Claude Code can load it.

path./CLAUDE.md
Discussion

What people are saying

Forks

0 forks of this skill
Loading forks…