release
БесплатноБез исполняемых скриптовНе проверенVerify, write the CHANGELOG, cut a version — then hand the release sequence back
от hamr0★ 28 звёзд на GitHubОб этом скилле
Release preparation orchestrator for the current branch. It runs its own short mechanical checks, writes the CHANGELOG, bumps the version and commits — then stops and reports. It never pushes, opens a PR, merges, tags, or publishes: those are yours to authorize by name.
It does not review code. Review is a separate command that must have run first.
Guardrails
- Spawn a worker, mid tier stated explicitly (an omitted tier inherits the parent's; never a vendor model name). Run inline if your tool has no subagent mechanism.
- Escalate, never assume. Anything you cannot decide, cannot verify, or that this spec does not cover → stop and report it to the orchestrator. Never improvise, never widen scope, never fix a finding you noticed (for workers this overrides the Surgical dev rule).
- The worker does the work itself — no sub-spawning. Every command it cites is one it ran with its own tool calls.
- Nothing leaves the machine. No
git push, nogh, nonpm publish, under any circumstance — not even if every gate is green. You report the sequence; a human authorizes it.
Phase 0 — Preflight (current branch, always)
- Release the branch you are on. No branch argument, no branch creation.
- On
main→ stop and ask what should be released.mainis only ever the merge target; never release it, never commit to it. - The tree must be clean — do not commit for the user. Run
git status --porcelain. Any line at all — modified, staged, or untracked — is a stop: list the paths and say "commit this to the branch, re-run/branch-review, then re-run/release." - Decide REUSE or RUN now, once (the orchestrator, before any worker): run
this line as printed and print its output; it stays valid for the whole run
(this command commits only the CHANGELOG/version, after the tests). Pass that
exact line to any worker that runs Phase 1 in its brief.
f=.claude/remember/last-review.md; g=$(sed -n 's/^green: \([0-9a-f]\{40\}\) .*/\1/p' "$f" 2>/dev/null); c=$(git diff --name-only "$g" HEAD 2>/dev/null | grep -vE '^(docs/|[^/]+\.md$)'); if [ -z "$g" ]; then echo "RUN (no green: line)"; elif ! git merge-base --is-ancestor "$g" HEAD 2>/dev/null; then echo "RUN (green $(printf %s "$g" | cut -c1-7) not an ancestor of HEAD)"; elif [ -z "$c" ]; then echo "REUSE $(grep '^green: ' "$f")"; else echo "RUN (green $(printf %s "$g" | cut -c1-7), changed: $(printf '%s\n' "$c" | paste -sd' ' - | cut -c1-200))"; fi git fetch origin; the release diff isorigin/main...HEAD. Empty → stop, nothing to release.- Record both version numbers. Read the local version (
package.jsonor this project's equivalent) and, if the project has a publish path, the published one (npm view <pkg> version, or the registry equivalent). Report them side by side. Local ahead of published means a version was cut and never published; Phase 3 needs that gap. - Print a one-line plan: branch · commit count · files changed · HEAD SHA · local version → published version.
Phase 0.5 — Review precondition (do not skip)
A review must have run on this branch at the current HEAD SHA.
Compare the SHAs yourself. Run git rev-parse HEAD and compare it against
the sha: line (starting exactly sha: — never self-review-sha:) in
.claude/remember/last-review.md, which /branch-review writes. The
orchestrator's word, or a SHA quoted from chat, is not evidence. Read the file;
match the two strings.
No such file, or no sha: line in it = no review, never a pass.
- No review, or no recorded SHA obtainable → stop: "No review at
<sha>. Run/branch-review mediumfirst." - Stale — recorded SHA ≠
git rev-parse HEAD→ stop and ask for a re-review, unless every file ingit diff --name-only <recorded sha>..HEADis forgiven. This overrides that: a merge or rebase oforigin/mainafter the review is never forgiven, even when it brings only docs. A file is forgiven if it's underdocs/, a*.mdat the repo root, or on the record'sdocs:line — Stage 4 legitimately writes docs outsidedocs//root too (packages/subagentic-manual.md,packages/claude/CLAUDE.md, and siblings), and its own commit is what put them on that line. Run this and read what it prints — every printed path must also be ondocs:, or it's stale, stop, re-review; no output means every file was underdocs/or root already, also not stale:
Do not take "it's just docs" on trust. No exceptions beyond the three forgiven shapes above. In a repo that tracksgit diff --name-only <recorded sha>..HEAD | grep -vE '^(docs/|[^/]+\.md$)'.claude/, a ledger commit after the review makes it stale (fix-ledger.mdis never ondocs:): re-review, or leave the ledger uncommitted until after the release. tests:line — use the decider line printed in Phase 0 (never re-run it, n
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobEditWriteAgentBash(git status:*)Bash(git diff:*)Bash(git log:*)Bash(git show:*)Bash(git fetch:*)Bash(git add:*)Bash(git commit:*)Bash(git rev-parse:*)Bash(git merge-base:*)Bash(npm:*)Bash(pnpm:*)Bash(yarn:*)Bash(pytest:*)Bash(python:*)Bash(go:*)Bash(cargo:*)Bash(make:*)FAQ
Что делает скилл release?
Verify, write the CHANGELOG, cut a version — then hand the release sequence back
Как установить скилл release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release запускает скрипты?
Нет, скилл состоит только из инструкций (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