git-commit

github/awesome-copilot · Agent Skill

Автоматизирует создание Git-коммитов: анализирует изменения в коде, подготавливает файлы и формирует сообщения в соответствии со стандартом Conventional Commits для поддержания чистоты истории разработки.

Перейти к установке ↓

Обзор

АвторgithubОрганизация
Репозиторийgithub/awesome-copilot
Папка скиллаgit-commit
Звёзды40 300
Форки5 188
Файлы1
Обновлён22 октября 2026 г.

Проверка Mozgi

Что мы нашли в файлах скилла. Подробности — по подписке.

Безопасность
средний риск · обнаружено 1 момент, требующий внимания
Совместимость
только инструкции — подходит большинству агентов
Похожие скиллы
найдено 144 похожих скилла
Ещё в подписке

Установка

Скилл — это папка с файлом SKILL.md. Выберите своего агента и скопируйте команды в терминал (macOS, Linux или Git Bash на Windows) в корне проекта.

Скопируйте промпт и вставьте в Claude, Codex или другого ассистента: он сам проверит скилл и подключит его.

Установи мне скилл «git-commit» с mozgi.io (https://mozgi.io/skills/git-commit/).

1. Скачай архив: https://mozgi.io/skills/git-commit/download
2. Прочитай SKILL.md и остальные файлы. Проверь, что скилл безопасен: нет скрытых команд, отправки данных наружу или скриптов, которые делают не то, что описано. Если что-то подозрительно — остановись и скажи мне.
3. Положи папку «git-commit» в папку скиллов своего агента: .claude/skills/ для Claude Code, .agents/skills/ для Codex, .cursor/skills/ для Cursor, .gemini/skills/ для Gemini CLI. В проекте — внутри проекта, иначе в домашней папке (~/.claude/skills/ и т. п.).
4. Убедись, что получилось <папка скиллов>/git-commit/SKILL.md.
5. Коротко расскажи, что умеет этот скилл, и предложи попробовать его на моей задаче.

Если какой-то шаг не можешь сделать сам — подскажи, что нажать или ввести.

Файлы скилла

1 файл Скачать ZIP

Просмотрите SKILL.md и сопутствующие файлы перед установкой. Клик по файлу — предпросмотр.

Содержимое SKILL.md

Оригинальный текст автора · только чтение

Git Commit with Conventional Commits

Make Git commits that follow the Conventional Commits 1.0.0 ↗ specification. Get the type, the scope, and the summary from the diff.

Message Format

<type>(<scope>): <summary>

<body>

<footer>
  • The scope, the body, and the footer are optional. Without a scope, write <type>: <summary>.
  • Write the summary in the imperative mood: "add", not "added" or "adds".
  • Keep the first line at 72 characters or less. Do not put a period at the end.
  • In the body, tell what changed and why.
  • Write each footer as Token: value or Token #value, for example Refs: #456 or Closes #123. Conventional Commits accepts the two forms, but Git reads only Token: value as a trailer. In a token, use - in place of a space.

Types

Conventional Commits defines only feat and fix. The other types come from the Angular convention (@commitlint/config-conventional ↗). If the repository has its own list, use that list.

| Type | Use it for |

| ---------- | ---------------------------------------------- |

| feat | A new feature |

| fix | A bug fix |

| docs | Documentation only |

| style | Formatting only, with no change to the logic |

| refactor | A code change that is not a feature or a fix |

| perf | A performance improvement |

| test | New or changed tests |

| build | The build system or the dependencies |

| ci | The CI configuration |

| chore | Other maintenance |

| revert | A revert of an earlier commit |

Breaking Changes

Put ! before the colon, or add a BREAKING CHANGE: footer. Write the token in uppercase. BREAKING-CHANGE: is also correct.

feat(api)!: remove the v1 endpoints

BREAKING CHANGE: Clients must use the v2 endpoints.

Workflow

1. Read the repository rules

Find the commit rules before you write a message:

  • A commitlint configuration, for example commitlint.config.js or .commitlintrc.json.
  • CONTRIBUTING.md.
  • The recent messages: git log --oneline -10.

If a repository rule is different from this skill, use the repository rule.

2. Examine the changes

git status --porcelain
git diff --staged
git diff

If there are no changes, tell the user. Do not make an empty commit.

3. Stage the files

Put one logical change in each commit. If the staged files contain more than one change, first unstage the files of the other changes. Then stage the files for this change:

git reset -q -- path/to/other-file1 path/to/other-file2
git add -- path/to/file1 path/to/file2
git add -- '*.test.*'
git add -- src/components/
  • Put a glob in quotes. Without quotes, the shell expands the glob and does not find the files in subdirectories.
  • Do not use git add -p or git add -i. These commands wait for input from a person.
  • After you resolve a merge conflict, use git add --resolved. This command stages only the resolved files. If a file still has conflict markers, the command stops.
  • Examine the list of staged files with git diff --staged --name-only. Do not commit secrets, for example .env files, credentials.json, or private keys.

4. Write the message

Get each part from the diff:

  • Type: The kind of change.
  • Scope: The module or the area that the change affects.
  • Summary: What changed, in one line.

5. Commit

Give each paragraph with a different -m option. Git puts a blank line between the paragraphs. This command works in Bash, PowerShell, and other shells.

git commit -m "feat(auth): add token refresh"
git commit -m "fix(parser): accept empty input" -m "An empty file caused a crash." -m "Closes: #123"

For a long message, write the message to a temporary file. Then run git commit -F <file>.

6. Make sure that the commit is correct

git log -1 --stat
git status --porcelain

Safety Rules

  • Do not change the Git configuration.
  • Do not use --no-verify unless the user tells you to. Hooks can be in .git/hooks or in the Git configuration.
  • If a hook fails, Git does not make the commit. Fix the problem, stage the files again, and run the same git commit command again. Do not use --amend, because it changes the previous commit.
  • Do not change the commit history unless the user tells you to. Do not use git reset --hard, git rebase, or the experimental git history command.
  • Do not push unless the user tells you to. Do not force push to the default branch.

Вопросы и ответы

Что делает скилл git-commit?

Автоматизирует создание Git-коммитов: анализирует изменения в коде, подготавливает файлы и формирует сообщения в соответствии со стандартом Conventional Commits для поддержания чистоты истории разработки.

Как установить git-commit?

Откройте блок «Установка» на этой странице и выберите своего агента — Claude Code, Codex, Cursor или Gemini CLI: там готовые команды, которые копируют папку скилла в нужное место. Либо скопируйте промпт из вкладки «Через ассистента» — ассистент сам проверит и подключит скилл.

С какими нейросетями работает git-commit?

Скиллы — это обычные инструкции в Markdown (формат Agent Skills), поэтому git-commit подходит любому агенту, который читает SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode и другие. Модель загружает инструкции только когда задача подходит под описание скилла.

Скилл git-commit бесплатный?

Скилл опубликован автором github в открытом доступе под лицензией MIT. Сам скилл ничего не стоит — вы платите только своему провайдеру нейросети за использованные токены.

Безопасно ли устанавливать скиллы?

Скилл — это инструкции, которые агент будет выполнять, поэтому перед установкой прочитайте SKILL.md и сопутствующие файлы. Скрипты из папки скилла запускаются только если их запустит агент — следите за тем, что он делает, и не давайте лишних прав.

Чем скилл отличается от MCP-сервера или плагина?

MCP-сервер и плагин дают модели новые инструменты — код, который выполняется и возвращает результат. Скилл даёт знания и порядок действий: как подходить к задаче, какие шаги делать и как выглядит хороший результат. Ему не нужен сервер или ключ API.

Похожие скиллы

Все скиллы →
prd Инструмент для создания профессиональных документов с требованиями к продукту (PRD). Генерирует технические спецификации, пользовательские истории, анализ рисков и резюме для разработки программного обеспечения и AI-функций. github40.3k rhino3d-scripts Создает и отлаживает скрипты для Rhinoceros 3D, автоматизируя задачи моделирования и манипулируя геометрией. github38.8k legacy-circuit-mockups Генерирует визуальные схемы электронных плат и макеты для ретро-проектов, включая компоненты 6502 и 555 таймеры. github38.8k gh-stack Управляйте вложенными ветками и зависимыми запросами на включение с помощью расширения gh stack для GitHub CLI. github1.7k agent-transcript Добавляет отредактированную стенограмму агента в тело PR или issue GitHub в рамках рабочих процессов OpenClaw. openclaw389k autoreview Автоматизирует проверку кода с использованием различных AI-моделей, предоставляя структурированные отчеты и рекомендации. openclaw389k