ai-changelog
БесплатноЗапускает вложенные скриптыНе проверенSet up an AI-driven changelog system in any project, code or not. Suitable for both software projects and for non-code projects. Creates a CHANGELOG.md and…
от sammcj★ 175 звёзд на GitHubОб этом скилле
AI-Driven Changelog
Set up a changelog system AI agents maintain during development. Two shapes, chosen by project type:
- Software projects: agents write entries under
## [Unreleased]; automation stamps version numbers at release time (CalVer or SemVer). No agent ever writes version numbers; the build process handles that. - Non-code projects (no build system): agents add terse bullets under a date heading (
## YYYY-MM-DD) by hand. No script, no version numbers. Seereferences/dated.md.
Setup workflow
Detect the build system: Check for Makefile, Justfile, package.json, Cargo.toml, pyproject.toml, go.mod. Note which config files contain a
"version"field.Check whether this is a software project at all. If there's no build system from step 1 and no version convention (a docs repo, writing or notes vault, content site, research or config collection), use Dated mode: date-based changelog headings, no version script, no build integration. Skip straight to
references/dated.mdand ignore the script/build steps below. Otherwise, detect the versioning scheme by inspecting (highest confidence first):CHANGELOG.mdheading style:## [YYYY.M.N]headings → CalVer;## [X.Y.Z]headings or prose mentioning "SemVer" → SemVer- Git tags from
git tag --list | head:vX.Y.Z→ SemVer;YYYY.M.N→ CalVer VERSIONfile with content matching^[0-9]+\.[0-9]+\.[0-9]+→ SemVer- Manifest version field (
package.json,Cargo.toml,pyproject.toml) matchingX.Y.Z→ SemVer
If signals are absent or contradictory, ask the user. Suggest SemVer for projects with established version history (existing tags, manifest versions, prior changelog entries) and CalVer for greenfield projects where automatic versioning is preferable. Each scheme has trade-offs documented in its reference file.
Read the scheme reference that matches the chosen scheme. It contains the build integration recipes, CLAUDE.md snippet, GitHub Actions pattern, and scheme-specific gotchas:
- CalVer →
references/calver.md - SemVer →
references/semver.md - Dated (non-code projects) →
references/dated.md
- CalVer →
Ask the user about optional features (CalVer/SemVer only; skip for Dated mode):
- Pinned
## Known Bugssection above## [Unreleased]? (default: yes) - GitHub Actions release workflow integration? (default: skip unless asked)
- Pinned
Generate or update CHANGELOG.md. For CalVer/SemVer use
references/changelog-template.md; for Dated use the template inreferences/dated.md. If a CHANGELOG.md already exists, do NOT overwrite it; insert the HTML comment and the appropriate structure (## [Unreleased]for CalVer/SemVer, today's date heading for Dated) above existing entries.Copy
scripts/version.pyfrom this skill into the target project'sscripts/directory. Make it executable (chmod +x). Skip in Dated mode - there is no script.Apply the scheme reference: follow the build-integration recipe from the chosen reference file. Add targets to the existing build system, or create a minimal Makefile if none exists. Skip in Dated mode - there is no build integration.
Update CLAUDE.md with the snippet from the chosen scheme reference. Insert into the project's development workflow section, or create one. In Dated mode this is the only mechanism that keeps the changelog current, so make sure the snippet lands. Add "Squash changes within the same day/version (do not add changes to changes)." Keep the snippet's what-to-log and entry-length rules intact - they are what stops agents logging trivia and writing paragraphs for simple changes.
Verify:
- CalVer:
uv run scripts/version.py versionshould print today's CalVer; thenuv run scripts/version.py stamp --dry-runpreviews the stamp - SemVer:
uv run scripts/version.py stamp --version <current-version> --dry-run --changelog-onlypreviews the stamp without touching the canonical version source - Dated: confirm CHANGELOG.md has today's date heading and the CLAUDE.md snippet is in place; nothing to run
- CalVer:
Project detection
Indicator, then what to stamp and how to integrate:
Makefile- stamp whatever config files the project has; add make targetsJustfile- same config files; add just recipespackage.json- stamppackage.json; add npm scripts, or a MakefileCargo.toml- stampCargo.toml; Makefile wrapperpyproject.toml- stamppyproject.toml; Makefile wrappergo.mod- stampVERSIONif present, otherwise nothing; Makefile wrapperVERSIONfile - stampVERSION; Makefile wrapper- No build system, code project - nothing to stamp; create a minimal Makefile
- No build system, non-code project - Dated mode: no script, no Makefile
How the script works
scripts/version.py subcommands:
version: prints today's CalVer to stdout (CalVer projects only)stamp: replaces## [Unreleased]with## [VERSION] - DATE, re-inserts a
Установить ai-changelog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepВложенные файлы
FAQ
Что делает скилл ai-changelog?
Set up an AI-driven changelog system in any project, code or not. Suitable for both software projects and for non-code projects. Creates a CHANGELOG.md and instructions for agents to log changes. Use when the user wants to add or improve automated changelog management, AI-friendly changelog workflows, version stamping, or set up a changelog system for a new or existing project.
Как установить скилл ai-changelog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-changelog запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic