git-commit
БесплатноБез исполняемых скриптовНе проверенMUST use this skill when user asks to commit, create commit, save work, or mentions "커밋". This skill OVERRIDES default git commit behavior. Creates commits…
Об этом скилле
Git Commit Guide
Creates commits using the Conventional Commits format with type, scope, and subject components.
Quick Start
# 1. Check project conventions
cat CLAUDE.md 2>/dev/null | head -30
# 2. Review staged changes
git diff --staged --stat
git diff --staged
# 3. Stage files if needed
git add <files>
# 4. Create commit with emoji
git commit -m "✨ feat(scope): add new feature"
Commit Structure
Format: emoji type(scope): subject
| Component | Description | Example |
|---|---|---|
| emoji | Visual indicator | ✨, 🐛, ♻️ |
| type | Change category | feat, fix, refactor |
| scope | Affected area (kebab-case) | auth, api-client |
| subject | What changed (imperative mood) | add login validation |
Rules:
- First line ≤ 72 characters
- Use imperative mood ("add", not "added" or "adding")
- No period at end
Commit Types with Emoji
Core Types
| Emoji | Type | Purpose |
|---|---|---|
| ✨ | feat |
New feature |
| 🐛 | fix |
Bug fix |
| 📝 | docs |
Documentation |
| 💄 | style |
Formatting/style (no logic change) |
| ♻️ | refactor |
Code refactoring |
| ⚡️ | perf |
Performance improvement |
| ✅ | test |
Add/update tests |
| 🔧 | chore |
Tooling, config |
| 🚀 | ci |
CI/CD improvements |
| ⏪️ | revert |
Revert changes |
Detailed Types
Features (feat):
| Emoji | Usage |
|---|---|
| 🧵 | Multithreading/concurrency |
| 🔍️ | SEO improvements |
| 🏷️ | Add/update types |
| 💬 | Text and literals |
| 🌐 | Internationalization/localization |
| 👔 | Business logic |
| 📱 | Responsive design |
| 🚸 | UX/usability improvements |
| 📈 | Analytics/tracking |
| 🚩 | Feature flags |
| 💫 | Animations/transitions |
| ♿️ | Accessibility |
| 🦺 | Validation |
| 🔊 | Add/update logs |
| 🥚 | Easter eggs |
| 💥 | Breaking changes |
| ✈️ | Offline support |
Fixes (fix):
| Emoji | Usage |
|---|---|
| 🚨 | Compiler/linter warnings |
| 🔒️ | Security issues |
| 🩹 | Simple fix for non-critical issue |
| 🥅 | Catch errors |
| 👽️ | External API changes |
| 🔥 | Remove code/files |
| 🚑️ | Critical hotfix |
| ✏️ | Typos |
| 💚 | CI build |
| 🔇 | Remove logs |
Refactor:
| Emoji | Usage |
|---|---|
| 🚚 | Move/rename resources |
| 🏗️ | Architectural changes |
| 🎨 | Improve structure/format |
| ⚰️ | Remove dead code |
Chore:
| Emoji | Usage |
|---|---|
| 👥 | Add/update contributors |
| 🔀 | Merge branches |
| 📦️ | Compiled files/packages |
| ➕ | Add dependency |
| ➖ | Remove dependency |
| 🌱 | Seed files |
| 🧑💻 | Developer experience |
| 🙈 | .gitignore |
| 📌 | Pin dependencies |
| 👷 | CI build system |
| 📄 | License |
| 🎉 | Begin project |
| 🔖 | Release/version tags |
| 🚧 | Work in progress |
Database/Assets:
| Emoji | Usage |
|---|---|
| 🗃️ | Database changes |
| 🍱 | Assets |
Test:
| Emoji | Usage |
|---|---|
| 🧪 | Add failing test |
| 🤡 | Mock things |
| 📸 | Snapshots |
| ⚗️ | Experiments |
Commit Scope (Task/Request Unit)
MUST FOLLOW: Default to one commit per task/request, not per file and not per work unit.
- Principle: When the user asks for one thing, the result is normally one commit, even if it touched many files or went through several internal steps. If you modified
main.py,utils.py,config.yamlto deliver the request, these MUST be in a single commit. - Combine when in doubt. A clean log of a few meaningful commits beats many micro-commits.
- Split only for genuinely unrelated concerns (e.g. an unrelated bugfix landed alongside the feature) — and even then aim for 2–3 commits max, never one-per-file.
- Reason: When reverting to a specific commit, that delivered request should work completely.
❌ Bad Example (파일별로 분리 커밋 - 기능 단위가 아님)
git add search.py
git commit -m "✨ feat: create search module"
git add api.py
git commit -m "🐛 fix: fix api connection"
✅ Good Example
git add search.py api.py
git commit -m "✨ feat(search): implement keyword search with API endpoint"
Result-Oriented Messages
MUST FOLLOW: Do not write conversation history (process). Write only the final code changes (result).
Even if there were 10 modifications during development (error fixes, typo fixes, etc.), the commit message should only state the finally implemented feature.
| ❌ Bad (Process) | ✅ Good (Result) |
|---|---|
| "Fixed typo, fixed A function error, added library to implement login" | ✨ feat(auth): implement JWT-based login |
| "fix api connection and variable name errors and import errors" | ✨ feat(search): implement keyword search |
Core Workflow
1. Check Project Conventions
cat CLAUDE.md 2>/dev/null | head -30
Always check for project-specific commit rules.
2. Review Staged Changes
git diff --staged --stat
git diff --staged
Understand what's being committ
Установить git-commit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл git-commit?
MUST use this skill when user asks to commit, create commit, save work, or mentions "커밋". This skill OVERRIDES default git commit behavior. Creates commits following Conventional Commits format with emoji + type/scope/subject (✨ feat, 🐛 fix, ♻️ refactor, etc).
Как установить скилл 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