release
Create a versioned release — bump version, finalize CHANGELOG.md, commit and tag
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- release
- model
- claude-sonnet-5-5
- version
- 1.1.0
- description
- Create a versioned release — bump version, finalize CHANGELOG.md, commit and tag
- argument-hint
- [version, e.g. 1.2.0 | major | minor | patch] (empty = suggest from the changelog and confirm)
03 SKILL.md 正文
/vibe:release — Release Workflow
Create a versioned release following Semantic Versioning. Everything is local: this skill never pushes — vibe:publish (via /vibe:auto --push or /vibe:next-task) or the user does.
Step 1 — Read the argument
The current version is the latest version tag: git tag --list 'v[0-9]*' '[0-9]*' --sort=-version:refname | head -1 — the patterns matter, --sort alone puts a deploy-… or vnext tag first. A pre-release tag (v1.3.0-rc.1) sorts above its final version: skip it when v1.3.0 is also tagged. No tag yet → the version the manifests carry (the highest when they disagree), or 0.0.0.
- A version number (
1.2.0,1.3.0-rc.1) → use it. major/minor/patch→ bump the current version; a pre-release finalizes first (patchorminoron1.3.0-rc.1gives1.3.0,majorgives2.0.0).- No argument → the bump is suggested in Step 3, once the changelog is complete.
- Anything else → stop and say what the argument can be.
A target version whose tag already exists stops the skill here as well — nothing has been written yet, and a second vX.Y.Z cannot be created.
Then invoke the vibe:tasks skill with: Run pre-release checks → Finalize CHANGELOG.md → Refresh docs → Bump version → Commit and tag, each blocked by the previous one.
Step 2 — Pre-release checks
Run the test command, the lint command, and the build command if the project has one. Stop and warn the user, without cutting the release, on any failure among these three or on an uncommitted change — a release is never cut on top of a build that doesn't actually compile.
Step 3 — Finalize CHANGELOG.md
Invoke the vibe:changelog skill (no argument) so every commit since the last tag is reflected under [Unreleased] — before the version is chosen, so a bump suggested without an argument is judged on the complete section, not on the entries someone remembered to write. [Unreleased] still empty afterwards → nothing to release: stop and say so, whatever the argument (a change the changelog does not know of needs its entry first; the tree is as it was, the refresh wrote nothing).
No argument → suggest the bump, the first that applies: major if any ### Removed entry or an entry marked breaking; minor if any ### Added, ### Changed or ### Deprecated entry; patch otherwise (### Fixed, ### Security) — the rule vibe:publish applies when it decides in the user's place; wait for confirmation.
Then cut the release: rename ## [Unreleased] to ## [X.Y.Z] - YYYY-MM-DD, insert a fresh empty ## [Unreleased] above it, and add or update the links at the bottom in the form the file already uses: [X.Y.Z] compares the previous version tag to vX.Y.Z (…/compare/vPREV...vX.Y.Z; a first version has nothing to compare to and links its tag, …/releases/tag/vX.Y.Z), [Unreleased] compares vX.Y.Z to HEAD. The base URL is git remote get-url origin, rewritten as https://host/owner/repo when it is an SSH URL; no remote → no links.
Step 4 — Refresh docs
If README.md has vibe: managed section markers, or docs/ holds a Markdown file with the vibe:docs banner (> Generated by /vibe:docs): invoke the vibe:docs skill with --full, so the release ships with documentation that reflects the new version. On a README without markers vibe:docs asks which sections to manage: answer none in the user's place — the README stays as it is, docs/ is still refreshed; a release is not the moment to put a README under management (/vibe:docs run once does that). Otherwise skip: a docs/ folder with no generated file is hand-written, not this skill's to touch.
Step 5 — Bump the version
Set the version field of every project manifest to X.Y.Z (package.json, Cargo.toml, pyproject.toml, pom.xml, build.gradle, composer.json, gemspec, …), using each file's own syntax, and the lock file that mirrors it (package-lock.json carries it twice: at the root and under packages[""]). A version that is not the project's — a settings or schema format version, a dependency's — is left alone.
Step 6 — Commit and tag
Stage the files Steps 3–5 changed, nothing else; commit chore: release vX.Y.Z; then an annotated tag, which git describe and the forges see where a lightweight one is invisible: git tag -a vX.Y.Z --cleanup=verbatim -F <file>, the file holding vX.Y.Z, a blank line, then the section's entries as cut in Step 3 (--cleanup=verbatim keeps the ### headings, which git would otherwise drop as comments).
Step 7 — Report
Short, plain sentences: version released, changes included (N Added, N Fixed, …), tag created, docs refreshed or skipped (and the README question answered with none, when it came up), and that nothing was pushed.
04 同仓库更多 Skills
workspace-init
Set up or refresh a multi-repo workspace from the parent folder of its sibling repos — the hub repo (repos registry, cross-repo backlog and decisions) that /vibe:next-task reads, and the local, untracked workspace-root CLAUDE.md that indexes the hub and the siblings
usage-report
Usage report of a vibe workflow: counts, while the work runs, the bricks called, the loop rounds, the findings, the questions asked to the user and the fixes, then writes these statistics to `.vibe/usage-reports/` in the project at the end. Invoked by `vibe:feature` and `vibe:fix` through their shared workflow, at the start of the work and at the end. Never triggered by a user request.
tasks
Creates and tracks a vibe workflow's task list and keeps it up to date until the end — through the native task system (TaskCreate / TaskUpdate / TaskList / TaskGet) when it is available, otherwise through a `tasks.tsv` file in the scratchpad, kept by a script that reproduces the same model (ids, statuses, blockedBy dependencies, owner). Invoked internally by other vibe skills, never directly by users.
sync
Sync .vibe/ — generate on first run, incrementally update on subsequent runs
rewrite
暂无简介
review
Runs the project's active review agents on a scope and returns their raw findings — one owner per dimension, the shared finding contract injected into every prompt — without judging, fixing or committing anything. Invoked by the build workflow (`vibe:feature`, `vibe:fix`) as its internal review step and by `vibe:audit`, never directly by users.