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.md
source 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

TopicDescriptionReference
StructureType, scope, description, body, footer formatcore-structure
Typesfeat, fix, and optional type conventionscore-types
SemVer MappingHow commits translate to version bumpscore-semver
Format DetailsScopes, bodies, footers, breaking changescore-format

Quick Reference

Commit Structure

<type>(<scope>): <description>

<body>

<footer>

Types and SemVer

TypeSemVerUse For
feat
MINORNew features (normative per spec)
fix
PATCHBug fixes (normative per spec)
docs
Documentation changes (convention)
refactor
Code restructuring (convention)
perf
Performance improvements (convention)
test
Test additions/changes (convention)
build
Build system changes (convention)
ci
CI configuration (convention)
style
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

# 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
<!-- Source references: - https://conventionalcommits.org - https://www.conventionalcommits.org/en/v1.0.0/ -->