update-changelog — скилл для Claude Code
Скилл update-changelog автоматически обновляет CHANGELOG на основе коммитов между последним релизом и текущей версией.
Apache-2.0 130 установок ★ 3 224 обновлён 2026-09-27
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a claude-codeЧто делает update-changelog
Скилл читает последний git-тег как базовую версию, собирает коммиты до HEAD, фильтрует значимые изменения (добавления функций, исправления, breaking changes) и добавляет их в раздел «Unreleased» существующего CHANGELOG.md или CHANGELOG. Если раздела нет, скилл создаёт его в том же стиле, что остальной файл.
Процесс следует правилам форматирования: каждая запись начинается с глагола прошедшего времени, код оборачивается в backticks, ссылки на pull requests идут как #NUMBER без хеша коммита. Скилл игнорирует мелкие изменения (опечатки, внутренние рефакторинги, незначительные обновления docs).
Для работы нужен git с доступом к тегам и истории. Если репозиторий использует нестандартное имя основной ветки, скилл учитывает это вместо main.
Какие задачи решает
- собрать историю изменений между релизами без ручного просмотра коммитов
- добавить новые записи в CHANGELOG в правильном формате
- отделить значимые изменения от мелких правок и рефакторинга
- синхронизировать описание версии с фактическим содержимым git
Примеры запросов агенту
- Обнови CHANGELOG на основе коммитов с последнего тега
- Добавь в CHANGELOG.md новые фичи и баги с версии 2.12.0
- Прочитай git-историю main и заполни раздел Unreleased в CHANGELOG
Как установить update-changelog
1Через Skills CLI (Vercel)
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a claude-code2Вручную: положить файлы
~/.claude/skills/update-changelog/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/update-changelog/
1Через Skills CLI (Vercel)
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a codex2Вручную: положить файлы
.agents/skills/update-changelog/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a cursor2Вручную: положить файлы
.cursor/skills/update-changelog/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install mitsuhiko/agent-stuff skills/update-changelog2Вручную: положить файлы
.github/skills/update-changelog/SKILL.md1Через Skills CLI (Vercel)
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a gemini-cli2Командой платформы
gemini skills install https://github.com/mitsuhiko/agent-stuff --path skills/update-changelogВручную: положить файлы
.devin/skills/update-changelog/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add mitsuhiko/agent-stuff --skill update-changelog -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об update-changelog
Как установить update-changelog в Claude Code?
Выполни npx skills add mitsuhiko/agent-stuff --skill update-changelog -a claude-code, затем открой файл ~/.claude/skills/update-changelog/SKILL.md для проверки.
Что делает update-changelog?
Скилл автоматически анализирует коммиты между последним тегом и текущей версией, выделяет значимые изменения и добавляет их в раздел Unreleased файла CHANGELOG в правильном формате с ссылками на pull requests.
Какие изменения скилл игнорирует?
Скилл пропускает мелкие правки: опечатки в комментариях, внутренний рефакторинг, незначительные обновления документации. Фокусируется на фичах, исправлениях и breaking changes, которые видны пользователям.
Исходный текст
SKILL.md · Apache-2.0
--- name: update-changelog description: "Read this skill before updating changelogs" --- Update the repository changelog with changes between the last release and the current version (`main`) that are not yet incorporated. If `CHANGELOG.md` does not exist, use `CHANGELOG` instead. ## Step-by-Step Process ### 1. Determine baseline version If no baseline version is provided, use the most recent git tag. You can find it with `git describe --tags --abbrev=0`. ### 2. Find the commits from git Use the following commands to gather commit information: ```bash # Get the baseline version (if not provided) git describe --tags --abbrev=0 # Get all commits since the baseline version git log <baseline-version>..HEAD ``` ### 3. Update the changelog Read the existing changelog file (`CHANGELOG.md`, or `CHANGELOG` if missing) and check if there are changes not yet incorporated, then add them. Always add them to the "Unreleased" section only. If there is none yet, add it at the top in the same style as the existing changelog (for example, `## Unreleased` vs `## [Unreleased]`). ## Ground Rules When Writing Changelogs ### Content Guidelines * Focus on **notable changes** that affect users (features, fixes, breaking changes) * Mention pull requests (`#NUMBER`) when available, but not raw commit hashes * Ignore insignificant changes (typo fixes, internal refactoring, minor documentation updates) * Group related changes together when appropriate * Order entries by importance: breaking changes first, then features, then fixes ### Style Guidelines * Use valid markdown syntax * Start each entry with a past-tense verb or descriptive phrase * Keep entries concise but descriptive enough to understand the change * Use bullet points (`*` or `-`) for individual changes * Format code references with backticks (e.g., `` `foo.cleanup` ``) ### Example Format ```markdown ## 2.13.0 * Added multi-key support to the `|sort` filter. #827 * Fix `not undefined` with strict undefined behavior. #838 * Added support for free threading Python. #841 ## 2.12.0 * Item or attribute lookup will no longer swallow all errors in Python. #814 * Added `|zip` filter. #818 * Fix `break_on_hyphens` for the `|wordwrap` filter. #823 * Prefer error message from `unknown_method_callback`. #824 * Ignore `.jinja` and `.jinja2` as extensions in auto escape. #832 ``` ### Good vs. Bad Examples **Good:** * `Fixed an issue with the TypeScript SDK which caused an incorrect config for CJS.` * `Added support for claim timeout extension on checkpoint writes.` * `Improved error reporting when task claim expires.` **Bad:** * `Fixed bug` (too vague) * `Updated dependencies` (insignificant unless it fixes a security issue) * `Refactored internal code structure` (internal change, not user-facing) * `Fixed typo in comment` (insignificant) ## Notes * If the current changelog already has an "Unreleased" section with content, append to it rather than replacing it * Preserve the existing changelog style and formatting (headings, bullet style, ordering, and spacing) * If the repo uses a different default branch name, treat that as the "current version" instead of `main` * When in doubt about whether a change is significant, err on the side of including it
© mitsuhiko · Apache-2.0 · mitsuhiko/agent-stuff