conventional-commits
БесплатноБез исполняемых скриптовНе проверенWhen writing a git commit message. When task completes and changes need committing. When project uses semantic-release, commitizen, git-cliff. When choosing…
от BbgnsurfTech★ 30 звёзд на GitHubОб этом скилле
Conventional Commits
Compose commit messages following the Conventional Commits v1.0.0 specification for structured commit history, automated changelog generation, and semantic versioning.
When to Use This Skill
Use this skill when:
- Creating git commit messages for structured projects
- Validating commit message format against Conventional Commits specification
- Setting up commit message validation with commitlint
- Configuring changelog generation from commit history
- Implementing semantic versioning automation
- Reviewing commit messages for specification compliance
- Training teams on commit message standards
- Integrating with tools like semantic-release, commitizen, or git-cliff
Message Structure
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Components
| Component | Required | Description | Example |
|---|---|---|---|
| type | Yes | Commit category | feat, fix, docs |
| scope | No | Codebase section affected | (auth), (parser) |
| description | Yes | Short summary of changes | add user authentication |
| body | No | Detailed explanation | Multiple paragraphs with context |
| footer | No | Breaking changes, issue refs | BREAKING CHANGE:, Refs: #123 |
Commit Types
Required Types (SemVer Impact)
These types are mandated by the Conventional Commits specification and directly affect semantic versioning:
flowchart LR
Fix[fix: Bug fix<br/>for users] --> PatchVer[PATCH<br/>0.0.X]
Feat[feat: New feature<br/>for users] --> MinorVer[MINOR<br/>0.X.0]
Breaking[Any type with<br/>BREAKING CHANGE or !] --> MajorVer[MAJOR<br/>X.0.0]
style PatchVer fill:#e1f5ff
style MinorVer fill:#fff4e1
style MajorVer fill:#ffe1e1
| Type | Description | SemVer | Example |
|---|---|---|---|
feat |
New feature for users | MINOR (0.X.0) | feat: add user authentication |
fix |
Bug fix for users | PATCH (0.0.X) | fix: prevent crash on empty input |
Recommended Types (Angular Convention)
These types come from @commitlint/config-conventional based on Angular commit guidelines. They have no implicit SemVer effect unless they include BREAKING CHANGE.
| Type | Description | Example |
|---|---|---|
build |
Build system or external dependency changes | build: update webpack to v5 |
ci |
CI configuration changes | ci: add Node 18 to test matrix |
docs |
Documentation only changes | docs: update API reference |
perf |
Performance improvement | perf: reduce bundle size by 20% |
refactor |
Code change with no bug fix or feature | refactor: extract validation logic |
style |
Code style changes (whitespace, formatting) | style: fix indentation |
test |
Adding or correcting tests | test: add unit tests for parser |
Additional Common Types
| Type | Description | Example |
|---|---|---|
chore |
Changes not modifying src or test files | chore: update .gitignore |
revert |
Reverts a previous commit | revert: feat: add user auth |
Note: Teams can define custom types beyond feat and fix, but Angular convention types are widely supported by tooling.
Specification Rules
The following rules constitute the official Conventional Commits 1.0.0 specification per RFC 2119.
Type and Scope
Commits MUST be prefixed with a type, consisting of a noun (
feat,fix, etc.), followed by OPTIONAL scope, OPTIONAL!, and REQUIRED terminal colon and space.Type
featMUST be used when a commit adds a new feature.Type
fixMUST be used when a commit represents a bug fix.A scope MAY be provided after a type. A scope MUST consist of a noun describing a codebase section surrounded by parenthesis, e.g.,
fix(parser):A description MUST immediately follow the colon and space after the type/scope prefix. The description is a short summary of code changes, e.g., `fix: array parsing
Установить conventional-commits в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл conventional-commits?
When writing a git commit message. When task completes and changes need committing. When project uses semantic-release, commitizen, git-cliff. When choosing between feat/fix/chore/docs types. When indicating breaking changes. When generating changelogs from commit history.
Как установить скилл conventional-commits?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл conventional-commits запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic