changelog
БесплатноБез исполняемых скриптовНе проверенGenerate a user-facing changelog from recent commits/PRs across watched repos - write it in-repo (Keep a Changelog format) or open a cross-repo changelog PR…
от aeonfun★ 801 звезда на GitHubОб этом скилле
${var} — Selects the mode and target:
- empty → in-repo changelog across every repo in
memory/watched-repos.md.owner/repo(bare slug) → in-repo changelog for that single repo only.push-to:owner/website-repo→ cross-repo mode: publish the product's merged PRs as a changelog PR onowner/website-repo(product repo comes frommemory/docs-sync.md).owner/product->owner/website(arrow form) → cross-repo mode with both product and website repos given explicitly.
Why this skill exists
A changelog is not a commit log. Raw commit dumps grouped by conventional prefix are the noise anti-pattern — users can't tell what matters. This skill produces a Keep a Changelog-style summary: categorized, plain-English, breaking changes surfaced, internal churn filtered out. It runs in two modes: in-repo (write the article into this repo) or push-to (open a changelog PR on a separate marketing/docs website repo).
0. Preamble — read memory and parse the selector
Read memory/MEMORY.md and the last 3 days of memory/logs/ for context (prior runs, known issues). Before notifying, drop anything already reported in that window.
Parse ${var} to pick the branch:
${var} |
Branch | Target |
|---|---|---|
| empty | A — in-repo | all repos in memory/watched-repos.md |
owner/repo (no push-to:, no ->) |
A — in-repo | only that repo |
push-to:owner/website-repo |
B — push-to | website = owner/website-repo; product = config product_repo |
owner/product->owner/website |
B — push-to | product = owner/product; website = owner/website |
Disambiguation: a push-to: prefix or a -> arrow selects Branch B; anything else (empty or a bare owner/repo) selects Branch A. Then jump to the matching branch below.
Branch A — in-repo changelog
Writes a categorized changelog article into this repo. No cross-repo PR; GH_GLOBAL is not needed here.
A.Config
Reads repos from memory/watched-repos.md. If the file doesn't exist, abort and notify: "changelog: memory/watched-repos.md missing — nothing to scan." Do not create it silently.
# memory/watched-repos.md
- owner/repo
- another-owner/another-repo
If ${var} is set to a bare owner/repo, scan only that repo (skip the file list).
A.1. Pick the scan set
- If
${var}is a bareowner/repo, scan only${var}. - Otherwise, read
memory/watched-repos.mdand parse- owner/repolines. - If the list is empty, notify "changelog: no repos configured" and exit cleanly.
A.2. Fetch commits and merged PRs per repo
For each repo, isolate failures — one broken repo must not kill the run. Track status in a sources dict (repo → ok|empty|fail).
Shell shape. Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (SINCE=$(date ...), BRANCH=$(gh repo view ...), BV=$(node -p ...)), uses if / for / while or [ -f ... ] tests, uses $(...) (including --body "$(cat <<'EOF' ...)"), calls rm or tr, or joins commands with ;, && or ||, and each refusal costs a model turn. So get each value with a bare call and write the printed value into later commands (the <SINCE>, <BRANCH>, <PRODUCT_REPO> style placeholders in the snippets); make one call per repo instead of a loop; check whether a file exists with Glob; turn if blocks and || echo fallbacks into prose decisions on what a call printed or whether it failed; write a PR body to a /tmp file with Write and pass it with --body-file.
Compute SINCE as UTC 7 days ago, as its own call:
date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%SZ
It prints SINCE.
Detect the default branch (don't assume main), one call per repo:
gh repo view owner/repo --json defaultBranchRef --jq '.defaultBranchRef.name'
It prints BRANCH. The next commands take BRANCH and SINCE written in literally.
Fetch commits on the default branch since SINCE:
gh api -X GET "repos/owner/repo/commits" -f sha="<BRANCH>" -f since="<SINCE>" --paginate \
--jq '.[] | {sha: .sha, short: .sha[0:7], message: .commit.message, author: (.author.login // .commit.author.name), date: .commit.author.date, url: .html_url}'
Also fetch merged PRs in the window — PR titles/bodies are usually cleaner than raw commit messages:
gh pr list --repo owner/repo --state merged --limit 100 \
--search "merged:>=<SINCE>" \
--json number,title,body,mergedAt,author,url,labels
Network note: gh uses GITHUB_TOKEN internally and works in a GitHub Actions run. If gh fails, log fail for that repo and continue — do not fall back to WebFetch (public API is rate-limited and adds noise).
A.3. Filter noise
Exclude before c
Установить changelog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл changelog?
Generate a user-facing changelog from recent commits/PRs across watched repos - write it in-repo (Keep a Changelog format) or open a cross-repo changelog PR on a docs/marketing repo.
Как установить скилл changelog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл changelog запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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