release-version

release-version is a skill for Claude Code from tomoking2004/claude-plugins. It costs 146 tokens per session (7,074 once invoked), scanned A, original, MIT.

A release workflow for choosing a package version, updating its references, and preparing the related Git and GitHub records. SemVer is a convention that uses three numbers to describe breaking, feature, and fix changes; a monorepo is one repository containing independently versioned packages.

In plain words
What is it for?
Use it when publishing a new version of a single package or a package in a monorepo, after approving the proposed release steps.
Why use it?
It coordinates version files, commits, tags, the GitHub Release, and the repository's About information so a release is not recorded in only some places.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin.

Part of the capstone plugin — 3 skills shipped together

Good fit Use it when publishing a new version of a single package or a package in a monorepo, after approving the proposed release steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomoking2004/claude-plugins/release-version
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tomoking2004/claude-plugins --skill release-version
Clone the repo
git clone --depth 1 https://github.com/tomoking2004/claude-plugins

Made for: Claude Code.

Or install capstone, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for release-version

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/release-version/github.svg)](https://agentmods.dev/skills/tomoking2004/claude-plugins/release-version)
Your own site
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/release-version"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/release-version/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release-version

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/release-version"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/release-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.07074
Opus 5.5 $0.00058 $0.02830
Sonnet 5.5 $0.00029 $0.01415
Haiku 4.5 $0.00015 $0.00707

Measured today against content hash 837b4c634694, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release-version scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/capstone/skills/release-version/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

対象:リリース単位(単一パッケージ,またはマルチパッケージ(独立にバージョン管理される monorepo)の各パッケージ)と,その版を公にする一式——マニフェストのバージョン・bump コミット・タグ・GitHub Release・About 欄.

リポジトリ

!git rev-parse --show-toplevel 2>/dev/null | grep '' || echo "(git リポジトリではない)"

現在の状態

!git status --short 2>/dev/null | grep '' || echo "(作業ツリーは清潔)"

現在のブランチ

!git branch --show-current 2>/dev/null | grep '' || echo "(検出不可——git リポジトリでないか detached HEAD)"

デフォルトブランチ

!gh repo view --json defaultBranchRef --jq .defaultBranchRef.name 2>/dev/null | grep '' || echo "(取得不可——origin なしか gh が使えない)"

既存タグ一覧(日付の新しい順に20件まで——日付は,注釈付きならタグを打った日時,注釈なしなら指すコミットの日時.1列目は名前.2列目が tag なら注釈付き,commit なら注釈なし)

!git for-each-ref --sort=-creatordate --format='%(refname:short) %(objecttype)' refs/tags 2>/dev/null | head -20 | grep '' || echo "(タグなし)"

一覧の先頭のタグの注釈の全文(注釈の文面の手本)

!git for-each-ref --sort=-creatordate --count=1 --format='%(if:equals=tag)%(objecttype)%(then)%(contents)%(else)(注釈なし)%(end)' refs/tags 2>/dev/null | grep '' || echo "(タグなし)"

一覧の先頭のタグが指すコミットの全文(bump コミットなら書式の手本)

!git for-each-ref --sort=-creatordate --count=1 --format='%(if)%(*objectname)%(then)%(*contents)%(else)%(contents)%(end)' refs/tags 2>/dev/null | grep '' || echo "(手本なし)"

!git describe --tags --abbrev=0 2>/dev/null | grep '' || echo "(なし——タグが無いか,HEAD から辿れるタグが無い)"

どのタグからも辿れないコミットと変更ファイル(タグが無ければ全履歴.新しい順に100件まで)

!git log --oneline --decorate --name-only -100 HEAD --not --tags 2>/dev/null | grep '' || echo "(コミットなし——初コミット前か,HEAD がタグから辿れる)"

About 欄の現状

!gh repo view --json description,homepageUrl,repositoryTopics 2>/dev/null | grep '' || echo "(取得不可——origin なしか gh が使えない)"

直近のリリースノート(様式の手本)

!gh release view 2>/dev/null | grep '' || echo "(手本なし)"

手順

  1. 前提確認:git リポジトリでなければ,タグを打てないので中断し,git init と最初のコミット(/capstone:commit-changes)を促す.コミットが1件も無ければ(git rev-parse --verify HEAD が失敗する),タグを打つ先が無いので中断し,最初のコミットを促す.デフォルトブランチが判明し現在のブランチと異なれば,切り替えを促して中断する.作業ツリーが汚れていれば中断し /capstone:commit-changes を促す.origin があれば git fetch origin し,ブランチが遅れていれば中断して取り込みを促す——bump とタグの後で rebase すると,タグが元のコミットに取り残される.
  2. リリース単位の判定:バージョンフィールドを持つマニフェスト(package.json・pyproject.toml・Cargo.toml・plugin.json 等)をリポジトリ内で探し,マニフェストの置き場(マニフェストのあるディレクトリ..claude-plugin/plugin.json は .claude-plugin/ の親)を数える——同じ置き場のマニフェストは,幾つあっても一つに数える.以降の手順はリリース単位ごとに独立して行う.
    • 置き場が無い:単一パッケージ(リポジトリ全体が一つのリリース単位)として扱う.版はタグだけが持ち,現バージョンは,その単位の直近のタグ(手順3が定める)の版である.
    • 置き場が一つ:単一パッケージとして扱う.
    • 置き場が二つ以上で,どれも他の置き場を含まない:マルチパッケージ(monorepo)とみなし,各置き場を独立したリリース単位とする.
    • 置き場が二つ以上で,ある置き場が他の置き場を含む:どの置き場を単位とするかを問う.答えで単位が一つに決まれば単一パッケージ,二つ以上ならマルチパッケージとして扱う.他の単位を含む置き場を単位に選んだら,含まれる単位のディレクトリは,含む側の単位に数えない.
  3. 対象と上げ幅の判定:各リリース単位を,下の三つの語を使って,四つの場合(初版・変更なし・利用者に見える変更がある・利用者に見える変更が無い)に振り分ける——この順に確かめ,最初に成り立つ場合を採る.リリース対象に残る単位(対象単位)は,初版の単位,利用者に見える変更がある単位,見送らないと答えた単位である.対象単位が一つも無ければ,何も書き込まず,その旨を告げて終える——未 push のコミットがあれば,リモートへ届けるには push が要ることも告げる.対象単位では,バージョンの実体(マニフェストの version と,その単位の版を語る全参照箇所——配下のほか,ルートの lockfile 等,単位の外にあるものも含む)を特定する.
    • その単位のタグ(振り分けに使う語):既存タグのうち,その単位の版を示すものをいう——単一パッケージでは版を示す全てのタグ,マルチパッケージではその単位を名指すタグである.どのタグがその単位の版を示すかを既存タグの命名(git tag -l で全件を見る)から一通りに読めなければ問う——単位を名指さないタグがある場合等.ただしマルチパッケージで,単位を名指すタグが1件以上あり,単位を名指さないタグがそのどれよりも古ければ,単位に分ける前の版とみなし,どの単位のタグにも数えず問わない.その単位の直近のタグは,その単位のタグのうち HEAD から辿れる最も近いものをいう.タグの有無と辿れるかは,上の「既存タグ一覧」(20件まで)でなく全件で決める——有無は git tag -l '<命名の型>',直近のタグは git describe --tags --abbrev=0 --match '<命名の型>' HEAD で得る(<命名の型> は,その単位のタグだけに当たる glob——<単位の名前>-v* 等).その単位のタグがあるのに HEAD から辿れるものが無ければ,どのタグをその単位の直近のタグとして扱うかを問う.
    • その単位のコミット(振り分けに使う語):単位のパス(単一パッケージではリポジトリ全体,マルチパッケージでは置き場のディレクトリ)へ触れた,マージでないコミットのうち,HEAD から辿れて,その単位の直近のタグからは辿れないものをいう——git log --full-history --no-merges <その単位の直近のタグ>..HEAD -- <単位のパス>… で得る.その単位のタグが無ければ,その単位のコミットを HEAD から辿れる全てのコミットから選び,git log --full-history --no-merges -- <単位のパス>… で得る.単位のパスからは,手順2で含む側の単位に数えないとしたディレクトリを除く.置き場の外にあって,その単位の挙動か依存先を決める場所(共有のディレクトリ等)があれば,そのパスを加える.上の「直近のタグ」「どのタグからも辿れないコミットと変更ファイル」は,その単位の直近のタグ・その単位のコミットの代わりにしない——前者はその単位のタグ以外のタグも数える.後者はさらに,HEAD から辿れないタグも数え,単位のパスで絞らず,マージコミットも含む.
    • 利用者に見える変更(振り分けに使う語):その単位のコミットのうち,版を出して初めて,利用者(その単位を導入して使う人)の使うものを変えるものをいう.上げ幅の判定とリリースノートの取捨は,これだけを数える.導入・更新で配られて動くものの挙動(速さ・資源の消費を含む)か依存先を変えるコミットと,公開した版の中身を載せる頁(パッケージのレジストリ等)に出る文書を変えるコミットは当たる.保守する人しか使わないもの(道具・文書・試験・CI)だけを変えるコミット,挙動を変えない書き直し,ブランチから直接読まれるだけの文書を変えるコミットは当たらない.当否は中身で決め,種別では決めない——feat・fix でも当たらないことがあり,docs・chore でも当たることがある.複数の単位にまたがるコミット(リネーム等)は,触れた単位ごとに当否を決める.当否が割れるコミットは問う.
    • 初版(その単位のタグが無い):上げ幅は判定せず,マニフェストの現バージョンをそのまま初版の番号とする.現バージョンが仮値(0.0.0・0.1.0 等)か,マニフェストが無ければ,初版の番号を問う.
    • 変更なし(その単位のコミットが無い):リリース対象から外す.
    • 利用者に見える変更がある(その単位のコミットに,当たるものがある):上げ幅を,当たるものの中身から判定する——互換を破る変更があればメジャー(プレ 1.0 ではマイナー),機能を足す変更があればマイナー,どちらも無ければパッチ.Conventional Commits の種別(feat・fix・perf 等)と破壊的変更の印(!・BREAKING CHANGE)は目安に使い,中身と食い違えば中身を採る.1.0.0 昇格と,判断の割れる上げ幅は問う.
    • 利用者に見える変更が無い(その単位のコミットはあるが,どれも当たらない):版を出しても利用者の使うものが変わらないので,その単位の見送りを勧めて,見送るかを問う——当たらないとしたコミットとその理由を添える.見送った単位はリリース対象から外し,何も書き込まない.見送らないと答えた単位はパッチとする.その bump コミットの本文とノートは,「文面の基準」にある,利用者に見える変更が無いまま出す版の定めに従って書く.
  4. 提案:対象単位ごとに,新バージョン・上げ幅(初版には無い)・編集対象(バージョンの実体のうち,新バージョンと値が違う箇所)を示し,下の各項を全文で提案する.承認は全文に対して取る——既存の下書きを使う場合も全文を提示し,下書きの在処を示すだけでは足りない.「文面の基準」に従い,出す前に「固有の走査」を全件通し,通した証跡を提案に添える——照らした手本,裏取りした数値・URL,バージョンの参照箇所を探した範囲,利用者に見える変更に当たらないとしたコミットとその理由を,簡潔に.走査は成果物を残さないので,黙って飛ばしても外からは見えない;添えれば見える.通さなかった走査があれば,その旨と理由も書く.提案の時点の git status --short・git rev-parse HEAD・git tag の出力を控える.
    • bump コミット(件名+本文):編集対象があるときだけ作る.無ければ(現バージョンのまま出す初版で,バージョンの実体が揃っている場合等)作らない旨を示す.
    • タグ:名前は,その単位のタグの命名に倣う.その単位のタグが無ければ他の単位のタグの命名に倣い,それも無ければ単一パッケージは vX.Y.Z,マルチパッケージは <置き場のディレクトリ名>-vX.Y.Z とする——名前が一通りに決まらないか,他の単位のタグと区別できなければ問う.注釈を付けるかは上の「既存タグ一覧」の先頭のタグに倣い,付けるなら文面は上の「一覧の先頭のタグの注釈の全文」に倣う.タグが一つも無ければ注釈を付け,文面はリリースノートのタイトルと同じ1行にする.注釈も全文で提案する.
    • リリースノート(タイトル+本文).
    • About 欄(説明・website・topics):現状を下の「文面の基準」の定めと突き合わせ,差分があれば新しい全文を提案する——リポジトリに一つの設定なので,対象単位の数によらず高々一度扱う.
    • リモートリポジトリ:origin が無ければ,その作成(名前・About 欄・公開範囲)と origin 設定を提案に含める——承認前に作らない.
    • 対象外の単位:マルチパッケージでは,対象から外した単位(変更なし,または利用者に見える変更が無く見送り)も列挙し,見落としでないことを示す.
  5. 承認:平文の提案へのチャットの返信で受ける——選択式ダイアログは提案の表示を妨げるため使わない(承認でなく選ぶだけの問いは選択式でよい).承認まで書き込まない.承認が覆うのは見せた内容だけである——提案の後に内容を変えたら(但し書き1つでも)示して改めて問い,見せていない他所の変更を含めない.修正指示は反映して再提案,意図の割れる箇所は問う.
  6. 実行:承認後,書き込みの直前に手順4のコマンドを打ち直して控えと比べ,違えば実行せず再提案し,一致すれば下の a〜g を一気に行う.マルチパッケージでは対象単位ごとに a〜c を繰り返し,全単位分が済んでから d 以降へ進む.bump コミットを作らない単位では,a・b を飛ばす.
    • a:編集対象を新バージョンに書き換え,git grep で旧バージョンの残存を確認する(単一パッケージなら全体,マルチパッケージなら,その単位のディレクトリと,単位の外にあるバージョンの実体に絞る——他単位は無関係な一致がありうる).
    • b:a で書き換えたパスだけをステージし,承認した全文で bump コミットを作る.
    • c:承認した名前でタグを打つ——bump コミットを作った単位ではそのコミットに,作らない単位では手順4で控えた HEAD に.注釈を付けるなら,承認した全文を注釈にする.
    • d:origin へブランチと今回打ったタグだけを push する(git push origin <ブランチ> に続けて git push origin <タグ>…)——--tags は今回のリリースと無関係な既存タグまで押し出す.origin が無ければ,承認済みの内容でリモートリポジトリを作成し origin に設定してから push する.
    • e:About 欄に承認済みの差分があれば gh repo edit --description "<説明>" --homepage "<URL>" --add-topic <topic> で適用する(一度だけ.差分のある項目だけを渡し,除く topic は --remove-topic で渡す).
    • f:gh が使えれば(導入・認証済み)対象単位ごとに gh release create <タグ> --title "<タグ> — <要点>" --notes "<本文>" でノートを公開(非対話実行は notes 系フラグ必須);使えなければタグ push で完了し理由を告げる.
    • g:書いたものだけを取り直し,承認した全文との一致を確かめる——bump コミットは git log -1 --format=%B <コミット>,タグの注釈は git tag -l --format='%(contents)' <タグ>,ノートは gh release view <タグ>,About 欄は gh repo view --json description,homepageUrl,repositoryTopics.

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed 837b4c634694
  2. 5d ago Changed · +19 lines · +1 tokens per session e892149a5a62
  3. 9d ago First seen · 90 lines · 145 tokens per session scan A dd83b45b249f

Subscribe to this mod's changes

release-version is a skill published in the GitHub repository tomoking2004/claude-plugins (3 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 7,074 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.

Related

release-version compared with skills from other repositories

release-version next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
release-versiontomoking2004/claude-pluginsSkill3todayMITA146Claude Code
changelog-summarizingshopwareLabs/ai-coding-toolsSkill4813d agoMITA106Claude Code
plugin-updatingshopwareLabs/ai-coding-toolsSkill4813d agoMITA102Claude Code
release-info-writingshopwareLabs/ai-coding-toolsSkill4813d agoMITA154Claude Code
openclaw-release-maintainerSafeAI-Lab-X/ClawKeeperSkill1.0kyesterdaynoneA64Claude Code, Codex
releaseNikiforovAll/claude-code-marketplaceSkill222d agoMITA63Claude Code
quick-pr2ykwang/agent-skillsSkill193mo agoMITA89Claude Code