commit · corezoid — скилл для Claude Code: что делает и как установить
Скилл commit помогает зафиксировать изменения в репозитории corezoid-ai-plugin: сам поднимает semver-версию в конфигах, правит CHANGELOG.md и оформляет коммит.
MIT ★ 74 обновлён 2026-10-29
npx skills add corezoid/corezoid-ai-plugin --skill commit -a claude-codeЧто делает commit
Скилл анализирует изменения через git diff HEAD, git status и историю последних коммитов. По типу правок агент выбирает категорию semver: patch для багфиксов или правок документации, minor для новых инструментов и скиллов, major для критических изменений.
Затем скилл обновляет поле "version" сразу в двух файлах: plugins/corezoid/.claude-plugin/plugin.json и .claude-plugin/marketplace.json. Он добавляет запись с кратким списком изменений в начало CHANGELOG.md, а если менялся состав скиллов или MCP-инструментов, вносит правки в таблицы README.md. После этого агент индексирует файлы и создаёт коммит формата <type>(<scope>): <описание>, bump to <версия>.
Скилл жёстко завязан на структуру путей репозитория corezoid-ai-plugin: в других проектах шаги обновления манифестов завершатся ошибкой.
Какие задачи решает
- поднять semver-версию в файлах
plugin.jsonиmarketplace.json - добавить список изменений в начало
CHANGELOG.md - актуализировать списки скиллов и MCP-инструментов в
README.md - оформить коммит по принятому в проекте шаблону
Примеры запросов агенту
- закоммить изменения
- /commit
- Сделай коммит с фиксом бага в ноде
Как установить commit
1Через Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill commit -a claude-code2Вручную: положить файлы
~/.claude/skills/commit/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/commit/
1Через Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill commit -a codex2Вручную: положить файлы
.agents/skills/commit/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill commit -a cursor2Вручную: положить файлы
.cursor/skills/commit/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install corezoid/corezoid-ai-plugin .claude/skills/commit2Вручную: положить файлы
.github/skills/commit/SKILL.md1Через Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill commit -a gemini-cli2Командой платформы
gemini skills install https://github.com/corezoid/corezoid-ai-plugin --path .claude/skills/commitВручную: положить файлы
.devin/skills/commit/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о commit
Как установить commit в Claude Code?
Выполните команду npx skills add corezoid/corezoid-ai-plugin --skill commit -a claude-code.
Что делает скилл commit?
Он проверяет git diff, определяет шаг semver, обновляет версии в двух манифестах плагина, дописывает CHANGELOG.md и делает git-коммит по правилам репозитория.
В каких файлах скилл обновляет номер версии?
Изменения вносятся параллельно в plugins/corezoid/.claude-plugin/plugin.json и .claude-plugin/marketplace.json.
Исходный текст
SKILL.md · MIT
--- name: commit description: > Project commit helper for corezoid-ai-plugin. Use instead of the generic commit skill whenever the user says "/commit", "commit", "закоммить", "сделай коммит", or asks to commit changes in this repository. --- # Commit with auto version bump This project follows semver. **Every commit must include a version bump** in: - `plugins/corezoid/.claude-plugin/plugin.json` - `.claude-plugin/marketplace.json` ## Step 1 — Inspect changes Run in parallel: - `git diff HEAD` — see what changed - `git status` — see untracked files - `git log -5 --oneline` — see recent commit style ## Step 2 — Determine bump type | Change type | Bump | |---|---| | New feature, new tool, new skill, new node type | **minor** (2.3.x → 2.4.0) | | Bug fix, doc update, text fix, refactor | **patch** (2.3.x → 2.3.x+1) | | Breaking change, major redesign | **major** (2.x.x → 3.0.0) | Read current version from `plugins/corezoid/.claude-plugin/plugin.json`. ## Step 3 — Update versions Update the `"version"` field in **both** files to the new version: - `plugins/corezoid/.claude-plugin/plugin.json` - `.claude-plugin/marketplace.json` ## Step 3.5 — Update CHANGELOG.md Prepend a new entry at the top of `CHANGELOG.md` (right after the `# Changelog` heading) following the existing format: ``` ## [<new_version>] - <bullet summarising what changed — one line per logical change> ``` Derive the bullets from the staged diff: group related changes into a single readable line each. Keep it concise — one sentence per item. ## Step 3.6 — Update README.md Review the diff for changes that affect README content and update the relevant sections in `README.md`: | What changed | What to update in README.md | |---|---| | New or removed skill (`SKILL.md` added/deleted) | **What it does** table — add/remove the row | | New or removed MCP tool | **MCP Tools** table — add/remove the row; **Architecture** code block if the tool group changes | | New plugin directory or top-level file | **Project structure** code block | | Breaking change to install/config | **Installation** or **Configuration** section | If none of the above apply (e.g. pure bug fix, refactor, doc-only change inside an existing skill), skip this step — do not touch README.md. ## Step 4 — Stage and commit Stage all modified files (including the two version files and `CHANGELOG.md`) and create a commit. Follow the project's commit message convention: ``` <type>(<scope>): <short description>, bump to <new_version> ``` Types: `feat`, `fix`, `docs`, `chore`, `refactor` End the commit message with: ``` Co-Authored-By: Claude Sonnet 4.6 <[email protected]> ```
© corezoid · MIT · corezoid/corezoid-ai-plugin
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — commit от других авторов.