release
Release plugins in this marketplace. Bumps versions, runs the validate gate, tags with `claude plugin tag`, publishes GitHub releases. Invoke with plugin names and an optional bump, e.g. /release ravn-core minor.
- License 许可
- MIT
- 所属仓库
- ravnhq/ravn-core
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- release
- description
- Release plugins in this marketplace. Bumps versions, runs the validate gate, tags with `claude plugin tag`, publishes GitHub releases. Invoke with plugin names and an optional bump, e.g. /release ravn-core minor.
- argument-hint
- <plugin>... [patch|minor|major|X.Y.Z]
- disable-model-invocation
- true
03 SKILL.md 正文
Release the plugins named in $ARGUMENTS. Each name matches a plugin directory plugins/<tier>/<p>. A trailing patch, minor, major, or explicit X.Y.Z sets the bump. Run from the repo root.
If $ARGUMENTS names no plugin, list the plugins whose shipped files changed since their last version bump, ask which to release, and stop.
Steps
-
Find what changed. For each plugin, find the last commit that changed its version (
git log -1 -G'"version"' -- plugins/<tier>/<p>/.claude-plugin/plugin.json plugins/<tier>/<p>/plugin.json). List the commits and uncommitted files underplugins/<tier>/<p>/since then. If nothing changed, say so and skip that plugin. -
Pick the version.
- If the manifest version already differs from
HEAD, someone has bumped it. Use it and do not bump again. - If the user gave a bump or version, apply it.
- Otherwise propose one from the changes and ask once for all plugins together. Patch for wording and fixes, minor for new skills, scripts, flags, or behavior, major for removed or renamed skills and commands.
- If the manifest version already differs from
-
Set the version. Edit
versionin place (do not regenerate the file) inplugins/<tier>/<p>/.claude-plugin/plugin.json, orplugins/<tier>/<p>/plugin.jsonforravn-core. Then runpnpm sync:versions, which copies it to the marketplace entry and, forravn-core, topackage.jsonand.cursor-plugin/plugin.json. CI fails when these differ. -
Run the gate. Follow the
validateskill in full. Stop at the first failure and show it. -
Report. For each plugin, give the old and new version and the gate result.
- Name any uncommitted changes in the tree that are not part of this release.
- Commit or push only when the user asks. Stage only this release's version files (everything
pnpm sync:versionswrote) plus the plugin changes the user confirmed. - Name the manual step that reaches users: push to GitHub, after which users run
/plugin marketplace update ravn.
-
Tag. Once the user has committed the release, run
claude plugin tag plugins/<tier>/<p>for each plugin. It creates the<p>--v<version>tag, checks thatplugin.jsonand the marketplace entry agree, and refuses a dirty tree. Add--pushonly when the user asks to push. -
Publish the GitHub release. Once the tag is on GitHub and the user asked to release, run
gh release create <p>--v<version> --verify-tag --title "<p> <version>" --notes-file <notes>for each plugin. Write the notes for the plugin's users: what changed for them since the last tag, then/plugin marketplace update ravnto update. Leave out repo-only changes, such as tests and verification recipes.
A release is ready only when the gate passed.
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Queries every available evidence MCP in parallel and returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
typescript-best-practices
TypeScript type-safety rules: discriminated unions, branded types, no `as`, exhaustive switches, schema-derived types. Use when writing, editing, or reviewing TypeScript.
show-me-your-work
Keep a reviewable decision trail for unattended or multi-phase work: a TSV log with one row per decision (what, why, evidence, result).
ship
Take a change from idea to a ready PR with passing CI, running research, grilling, design, verification, and the pr skill in sequence.
session-pickup
Resume unfinished work from a handoff note or prior coding-agent session. Use before reading a supplied handoff, even when its next action is only an inspection or report. Also use to pick up, continue where you left off, or take over from a transcript, agent URL, or pushed branch. Use pause-safely to write a handoff.