commits
БесплатноЗапускает вложенные скриптыНе проверенConventional Commits specification. Covers commit structure, types, breaking changes. Use when writing structured commit messages, configuring automated…
от itechmeat★ 24 звезды на GitHubОб этом скилле
Conventional Commits
Specification for structured commit messages that enable automated changelog generation and semantic versioning.
Quick Reference
Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Common Types
| Type | Purpose | SemVer |
|---|---|---|
feat |
New feature | MINOR |
fix |
Bug fix | PATCH |
docs |
Documentation only | - |
style |
Formatting, no code change | - |
refactor |
Code change, no feature/fix | - |
perf |
Performance improvement | - |
test |
Adding/fixing tests | - |
build |
Build system, dependencies | - |
ci |
CI configuration | - |
chore |
Maintenance tasks | - |
revert |
Revert previous commit | - |
Breaking Changes
feat!: send email when product shipped
feat(api)!: change response format
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.
Examples
Simple Commits
feat: add user authentication
fix: resolve memory leak in cache
docs: update API documentation
style: format code with prettier
refactor: extract validation logic
perf: optimize database queries
test: add unit tests for auth module
build: upgrade webpack to v5
ci: add GitHub Actions workflow
chore: update dependencies
With Scope
feat(auth): add OAuth2 support
fix(parser): handle empty arrays
docs(readme): add installation guide
refactor(api): simplify error handling
With Body
fix: prevent request racing
Introduce a request id and reference to latest request.
Dismiss incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue
but are obsolete now.
With Footer
fix: correct minor typos in code
Reviewed-by: John Doe
Refs: #123
Breaking Change in Footer
feat: allow config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used
for extending other config files.
Breaking Change with ! and Footer
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.
Revert Commit
revert: let us never again speak of the noodle incident
Refs: 676104e, a215868
Specification Rules
MUST
- Commits MUST be prefixed with a type (
feat,fix, etc.) - Type MUST be followed by colon and space
- Description MUST immediately follow the colon and space
featMUST be used for new featuresfixMUST be used for bug fixes- Breaking changes MUST be indicated by
!before:ORBREAKING CHANGE:footer BREAKING CHANGEMUST be uppercase- Footer token MUST use
-instead of spaces (e.g.,Reviewed-by)
MAY
- Scope MAY be provided after type:
feat(parser): - Body MAY be provided after description (blank line between)
- Footer MAY be provided after body (blank line between)
- Types other than
featandfixMAY be used !MAY be used withBREAKING CHANGE:footer
Case Sensitivity
- Types: case-insensitive (lowercase recommended for consistency)
BREAKING CHANGE: MUST be uppercaseBREAKING-CHANGE: synonym forBREAKING CHANGE
SemVer Mapping
| Commit Type | SemVer Bump | Version Change |
|---|---|---|
fix: |
PATCH | 1.0.0 → 1.0.1 |
feat: |
MINOR | 1.0.0 → 1.1.0 |
BREAKING CHANGE or ! |
MAJOR | 1.0.0 → 2.0.0 |
Breaking changes override type — fix!: results in MAJOR bump.
Changelog Integration
Conventional Commits map directly to changelog entries:
| Commit Type | Changelog Section |
|---|---|
feat |
Added |
fix |
Fixed |
perf |
Changed |
refactor |
Changed |
docs |
(usually omitted or Changed) |
BREAKING CHANGE |
Highlight in Changed/Removed |
revert |
Removed or Fixed |
| Security fixes | Security |
Automated Changelog Generation
Tools like conventional-changelog, semantic-release, or release-please can:
- Parse commit messages
- Generate CHANGELOG.md entries
- Determine next version number
- Create releases automatically
See changelog skill for CHANGELOG.md format.
Common Patterns
Feature Development
git commit -m "feat(users): add profile page"
git commit -m "feat(users): add avatar upload"
git commit -m "test(users): add profile page tests"
git commit -m "docs(users): document profil
Установить commits в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл commits?
Conventional Commits specification. Covers commit structure, types, breaking changes. Use when writing structured commit messages, configuring automated changelog generation, or applying semantic versioning conventions. Keywords: feat, fix, BREAKING CHANGE, Conventional Commits.
Как установить скилл commits?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл commits запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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