skill-changelog
БесплатноЗапускает вложенные скриптыНе проверенWrite or backfill a skill's own CHANGELOG.md from its git history when metadata.version is bumped. Use after any skill version bump or on /skill-changelog…
от luongnv89★ 976 звёзд на GitHubОб этом скилле
Skill Changelog
Record what changed in a skill each time its version goes up, from that skill's own git diff, in a CHANGELOG.md inside the skill folder so the history travels with every copy. Writes files; never commits.
When to Use
- Automatic mode: a skill's
metadata.versionwas just bumped in this conversation, e.g. by a skill create or update run. - On request:
/skill-changelog [<skill-dir>...] [--backfill], or a request to write or backfill a skill's changelog.
Do not use for: a project's release notes or top-level CHANGELOG.md, commit or PR messages, or summarising what an upstream skill update changed before installing it.
Terms: bump = a metadata.version change; range = the skill folder's changes since the previous version (base..end); entry = one ## [X.Y.Z] - YYYY-MM-DD block.
Prerequisites
- Run
git --version && python3 --version. If either fails, stop and report the missing tool. - Set
SV=<this-skill-dir>/scripts/skill_versions.py(absolute path). Run it with a subcommand (state,history,check); do not read it. It prints JSON; its git commands run from any directory.
Repo Sync Before Edits (mandatory)
In automatic mode, skip it: the calling run already synced and its bump must not be stashed. On request, run it once per repository before the first write:
(R="$(git -C "<skill-dir>" rev-parse --show-toplevel)" && branch="$(git -C "$R" rev-parse --abbrev-ref HEAD)" || exit 1
if git -C "$R" ls-remote --exit-code --heads origin "$branch" >/dev/null 2>&1; then
dirty=0
if [ -n "$(git -C "$R" status --porcelain --untracked-files=no)" ]; then git -C "$R" stash push -m "pre-skill-changelog" && dirty=1; fi
git -C "$R" pull --rebase origin "$branch" || { echo "Rebase failed: run git -C $R rebase --abort, then ask the user"; exit 1; }
if [ "$dirty" -eq 1 ]; then git -C "$R" stash pop || { echo "Stash pop failed: see git -C $R stash list"; exit 1; }; fi
else
echo "No origin or no remote branch '$branch': sync skipped."
fi)
If the block exits 1, stop and ask the user. Never resolve a conflict yourself.
Workflow
Step 1: Select the skills
- If the user named skill folders, use those.
- In automatic mode, use the folders whose version was bumped in this conversation.
- Otherwise, from the repo root, list
git ls-files --others --exclude-standard -- '*SKILL.md'and, if HEAD exists,git diff --name-only HEAD -- '*SKILL.md'. Keep each folder whosestateprints"uncommitted_bump": true. - Still empty: ask the user for the folder; do not guess.
Process each selected skill through Steps 2–6.
Step 2: Read the version state
Run python3 "$SV" state <skill-dir>. Apply the first row that matches:
| Condition | Result |
|---|---|
| The command exits 1 | blocked: quote the script's error line. |
has_frontmatter is false or version is null |
blocked: "SKILL.md has no metadata.version". |
valid_semver is false |
blocked: "version <v> is not MAJOR.MINOR.PATCH". |
shallow is true |
blocked: "shallow clone; run git fetch --unshallow". |
Установить skill-changelog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGrepGlobВложенные файлы
FAQ
Что делает скилл skill-changelog?
Write or backfill a skill's own CHANGELOG.md from its git history when metadata.version is bumped. Use after any skill version bump or on /skill-changelog. Don't use for project release notes, commit messages, or upstream update summaries.
Как установить скилл skill-changelog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-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