Learn-skills.dev conventionalcommits
Conventional Commits specification for semantic versioning and changelog generation. Use when writing commit messages, configuring commit linting, or automating releases.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/0froq/skills/conventionalcommits" ~/.claude/skills/neversight-learn-skills-dev-conventionalcommits && rm -rf "$T"
manifest:
data/skills-md/0froq/skills/conventionalcommits/SKILL.mdsource content
Conventional Commits
Based on Conventional Commits v1.0.0. A lightweight convention for writing commit messages that communicates intent and enables automated tooling.
The Conventional Commits specification provides a structured format for commit messages. It supports semantic versioning, changelog generation, and clearer project history.
Core Concepts
| Topic | Description | Reference |
|---|---|---|
| Structure | Type, scope, description, body, footer format | core-structure |
| Types | feat, fix, and optional type conventions | core-types |
| SemVer Mapping | How commits translate to version bumps | core-semver |
| Format Details | Scopes, bodies, footers, breaking changes | core-format |
Quick Reference
Commit Structure
<type>(<scope>): <description> <body> <footer>
Types and SemVer
| Type | SemVer | Use For |
|---|---|---|
| MINOR | New features (normative per spec) |
| PATCH | Bug fixes (normative per spec) |
| — | Documentation changes (convention) |
| — | Code restructuring (convention) |
| — | Performance improvements (convention) |
| — | Test additions/changes (convention) |
| — | Build system changes (convention) |
| — | CI configuration (convention) |
| — | Code style changes (convention) |
Note: Only
feat, fix, and breaking-change markers have normative SemVer meaning in the specification. Other types are optional conventions—tools may categorize them differently. chore is intentionally excluded from recommendations; use specific types above for clarity.
Breaking Changes
feat(api)!: redesign user authentication BREAKING CHANGE: auth token format changed from JWT to opaque tokens
Examples
<!-- Source references: - https://conventionalcommits.org - https://www.conventionalcommits.org/en/v1.0.0/ --># New feature feat: add dark mode toggle # Bug fix with scope fix(auth): resolve token expiration bug # Breaking change feat(api)!: remove deprecated endpoints # With body and footer feat(search): implement fuzzy matching Adds Levenshtein distance algorithm for typo-tolerant search. Closes #123