conventional-commits

Generate commit messages conforming to the Conventional Commits specification.

1|Updated Mar 17, 2022
One-click install
npx skills add https://github.com/olga-mir/dotfiles --skill conventional-commits-olga-mir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conventional-commits
Source: https://github.com/olga-mir/dotfiles/tree/main/dot_claude/skills/git-conventional-commits
Command: npx skills add https://github.com/olga-mir/dotfiles --skill conventional-commits-olga-mir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance how to analyse the change and generate commit message.

Core Features & Use Cases

  • Format-aligned Commit Messages: Generate commit messages that follow the Conventional Commits specification.
  • Footer & Breaking Changes: Proper handling of BREAKING CHANGE footers and scopes.
  • Use Case: When you need consistent commit history across a team, use this Skill to craft appropriate messages for fixes, features, and other categories.

Quick Start

Use the conventional-commits format to generate a commit message for your latest change, for example: feat(api): add user authentication or fix(ui): resolve button alignment issue

Frequently Asked Questions about conventional-commits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write consistent commit messages across my team?

Conventional Commits is a specification for formatting commit messages with a structured pattern: type (feat, fix, etc.), optional scope, optional breaking change indicator, description, and optional footers. This standardized format creates a consistent commit history that tools can parse automatically for versioning and changelog generation.

What is the Conventional Commits format and why should I use it?

Conventional Commits structure messages as type(scope): description with optional body and footers like BREAKING CHANGE. It enables semantic versioning automation, readable git history, and standardized code review workflows by making commit intent machine-readable and human-clear.

How do I generate a commit message for a breaking change?

Add an exclamation mark before the colon (feat!: description) or include a BREAKING CHANGE footer in the message body. Both methods signal that your change breaks backward compatibility, triggering major version bumps in semantic versioning systems.

Can I use Conventional Commits with git workflows?

Yes. Conventional Commits work with any git-based workflow. The format integrates with commit hooks, CI/CD pipelines, and code review processes to automate changelog generation, enforce message standards, and track semantic versions across your repository.

What commit types does the Conventional Commits specification support?

The specification defines standard types: feat (features), fix (bug fixes), and other types like docs, style, refactor, perf, and test. Custom types are allowed; the key is consistency so automation tools can identify change categories and determine version increments.

How do optional scopes improve commit messages?

Scopes narrow the change context—fix(auth): or feat(api)—making it clear which component was modified. This enables filtered commit history, targeted changelog entries, and better traceability for teams managing multiple services or modules.