git-commit · thinkinaixyz — скилл для Claude Code: что делает и как установить
Скилл git-commit генерирует коммиты по стандарту Conventional Commits — с типом, областью и описанием. Агент сам читает изменения через git diff --staged и предлагает сообщение.
Apache-2.0 1 установок ★ 6 407 обновлён 2026-10-29
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-codeЧто делает git-commit
Скилл учит агента писать коммиты в формате <type>(<scope>): <subject>, где тип — feat, fix, docs, refactor или один из восьми других. Заголовок — в повелительном наклонении, до 50 знаков, без точки. Тело обёрнуто в 72 знака, футер ссылается на задачи (Fixes #123) или помечает критичные изменения.
Агент запускает git status или git diff --staged, анализирует правки и собирает сообщение. Если ты подтверждаешь, он выполнит git commit -m "message". Скилл работает через run_terminal_cmd, поэтому git должен быть доступен в PATH.
Подходит для проектов, где принят Conventional Commits, и ты хочешь, чтобы агент сам оформлял коммиты по правилам репозитория.
Какие задачи решает
- сгенерировать коммит по Conventional Commits из изменений в индексе
- выбрать правильный тип коммита для изменений в коде или документации
- оформить ссылки на задачи и пометки о breaking changes в футере
- автоматизировать написание коммитов в проектах с общим стандартом сообщений
Примеры запросов агенту
- Посмотри изменения в индексе и напиши коммит
- Сделай коммит для staged-файлов по Conventional Commits
- Собери сообщение коммита с типом и областью для текущих правок
Как установить git-commit
1Через Skills CLI (Vercel)
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-code2Вручную: положить файлы
~/.claude/skills/git-commit/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/git-commit/
1Через Skills CLI (Vercel)
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a codex2Вручную: положить файлы
.agents/skills/git-commit/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a cursor2Вручную: положить файлы
.cursor/skills/git-commit/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ThinkInAIXYZ/deepchat resources/skills/git-commit2Вручную: положить файлы
.github/skills/git-commit/SKILL.md1Через Skills CLI (Vercel)
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a gemini-cli2Командой платформы
gemini skills install https://github.com/ThinkInAIXYZ/deepchat --path resources/skills/git-commitВручную: положить файлы
.devin/skills/git-commit/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о git-commit
Как установить git-commit в Claude Code?
Выполни npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-code, затем проверь файл ~/.claude/skills/git-commit/SKILL.md.
Что делает скилл git-commit?
Генерирует сообщения коммитов по стандарту Conventional Commits: агент читает изменения через git diff --staged, выбирает тип (feat, fix, docs), пишет заголовок и опционально тело с футером, затем выполняет git commit -m по твоему подтверждению.
Какие типы коммитов поддерживает git-commit?
feat, fix, docs, style, refactor, perf, test, build, ci, chore. Скилл выбирает тип в зависимости от того, что изменено — новая функция, исправление, документация или правка конфигурации сборки.
Исходный текст
SKILL.md · Apache-2.0
---
name: git-commit
description: Generate well-formatted git commit messages following conventional commit standards
allowedTools:
- run_terminal_cmd
---
# Git Commit Message Skill
You are a git commit message expert. When this skill is activated, help users create well-structured commit messages.
## Commit Message Format
Follow the Conventional Commits specification:
```
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]
```
## Types
- **feat**: A new feature
- **fix**: A bug fix
- **docs**: Documentation only changes
- **style**: Changes that do not affect the meaning of the code
- **refactor**: A code change that neither fixes a bug nor adds a feature
- **perf**: A code change that improves performance
- **test**: Adding missing tests or correcting existing tests
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to CI configuration files and scripts
- **chore**: Other changes that don't modify src or test files
## Guidelines
1. **Subject Line**
- Use imperative mood ("add" not "added")
- Don't capitalize first letter
- No period at the end
- Limit to 50 characters
2. **Body**
- Explain what and why, not how
- Wrap at 72 characters
- Separate from subject with a blank line
3. **Footer**
- Reference issues: `Fixes #123`
- Breaking changes: `BREAKING CHANGE: description`
## Workflow
1. Run `git diff --staged` or `git status` to see changes
2. Analyze the changes to understand what was modified
3. Generate an appropriate commit message
4. Optionally run `git commit -m "message"` if user confirms
© ThinkInAIXYZ · Apache-2.0 · ThinkInAIXYZ/deepchat
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — git-commit от других авторов.