git-commit
БесплатноБез исполняемых скриптовНе проверенStage meaningful diffs and create Conventional Commits with WHY-focused messages. Use whenever making git commits, grouping changes, choosing commit types, or…
Об этом скилле
INSTRUCTIONS
Create small, cohesive commits that explain why the change exists.
Commit Discipline
- Only commit when:
- ALL tests are passing
- ALL compiler/linter warnings have been resolved
- The change represents a single logical unit of work
- Commit messages clearly state whether the commit contains structural or behavioral changes
- Use small, frequent commits rather than large, infrequent ones
Workflow
- Inspect context:
git status --shortgit diff --statgit diff --cached --statgit log --oneline -10
- Review detailed diffs for files being considered.
- Identify logical groups. Keep unrelated changes in separate commits.
- Stage intentionally with
git add <file>orgit add -p <file>. - Verify staged content with
git diff --cached. - Choose the commit type from the staged diff.
- Commit with a message whose body explains WHY.
Conventional Commits
Use Conventional Commits 1.0.0:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Common types:
fix:bug fixfeat:user-visible featurebuild:build system or dependency changechore:maintenance without production-code behaviorci:CI configurationdocs:documentation onlystyle:formatting or whitespace onlyrefactor:structural change without behavior changeperf:performance improvementtest:adding or correcting tests
Use feat!: or fix!: for breaking changes. If behavior changes, do not label
the commit as refactor:, style:, docs:, or chore:.
WHY-Focused Messages
Follow t-wada's division of responsibility:
- Code describes HOW
- Tests describe WHAT happens
- Commit log describes WHY
- Code comments describe WHY NOT
The body should explain motivation and reasoning instead of repeating the diff:
- What problem does this solve?
- Why is this change needed now?
- Why this approach over plausible alternatives?
Keep the subject imperative and concise, ideally under 50 characters.
Установить git-commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-commit?
Stage meaningful diffs and create Conventional Commits with WHY-focused messages. Use whenever making git commits, grouping changes, choosing commit types, or separating structural and behavioral work.
Как установить скилл git-commit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-commit запускает скрипты?
Нет, скилл состоит только из инструкций (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