commit-message
БесплатноБез исполняемых скриптовНе проверенGenerate a conventional commit message from staged changes. Analyzes changes to determine affected packages and appropriate commit type, then outputs a…
от kvet★ 38 звёзд на GitHubОб этом скилле
Commit Message Generator
Generate a conventional commit message suitable for use with the changesets library. This skill analyzes your staged changes and creates a properly formatted commit message.
Instructions
When this skill is invoked:
- Analyze staged changes
- Determine affected packages/scope
- Generate a conventional commit message
Usage
/commit-message # Generate commit message from staged changes
Process
Step 1: Gather Changes
Run these commands to understand the changes:
git diff --staged --name-only
git diff --staged
If nothing is staged, inform the user they need to stage changes first.
Step 2: Analyze Changes
Determine:
- Type - What kind of change is this?
- Scope - Which package(s) are affected?
- Description - What does this change do?
- Breaking - Is this a breaking change?
Step 3: Map to Conventional Commit Types
| Type | When to Use | Semver Impact |
|---|---|---|
feat |
New feature or capability | minor |
fix |
Bug fix | patch |
refactor |
Code change that doesn't fix a bug or add a feature | patch |
perf |
Performance improvement | patch |
docs |
Documentation only | none |
chore |
Maintenance, dependencies, configs | none |
test |
Adding or fixing tests | none |
build |
Build system or external dependencies | none |
ci |
CI configuration | none |
Step 4: Determine Scope
Derive scope from changed file paths:
packages/<name>/**→ use<name>as scope (e.g.,core,postgres,sqlite)examples/**→examplesdocs/**→docs
If multiple packages are affected equally, omit the scope or use the primary one.
Step 5: Generate Commit Message
Format: type(scope): description
For breaking changes: type(scope)!: description
Rules
- Type: lowercase, from the table above
- Scope: lowercase, optional, in parentheses
- Description:
- Start with lowercase verb (add, fix, update, remove, change)
- Use imperative mood ("add feature" not "added feature")
- No period at the end
- Max ~50 characters for the first line
- Breaking changes: Add an exclamation mark before the colon (e.g.,
feat!:)
Examples from this project
feat(core): add JobTypeRegistry with compile-time and runtime validation
fix(core): prevent context leakage to independent chains during job processing
refactor: rename JobSequence to JobChain across entire codebase
refactor(core): simplify index.ts exports, move in-process adapters to internal
chore(examples): enable isolatedModules in all tsconfig files
docs: address publish readiness issues
feat(observability): add gauge metrics for worker idle/processing state
refactor!: change Log API from tuple args to named data/error properties
Step 6: Output
Provide the commit message in a code block that can be easily copied:
feat(core): add new feature description
If the change is significant, also suggest whether a changeset file is needed:
featandfixchanges to packages → changeset recommendeddocs,chore,test→ usually no changeset needed
Multi-line Commit Messages
For complex changes, provide an extended format:
type(scope): short description
Longer explanation of the change if needed.
Explain the motivation and contrast with previous behavior.
BREAKING CHANGE: description of what breaks (if applicable)
Установить commit-message в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл commit-message?
Generate a conventional commit message from staged changes. Analyzes changes to determine affected packages and appropriate commit type, then outputs a properly formatted commit message.
Как установить скилл commit-message?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл commit-message запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic