release-prep
Skill240 starsChanged 19 days agoMITView on GitHub
7 ランタイム manifest の version 一覧表示、CHANGELOG `[Unreleased]` → `[X.Y.Z]` 移行支援、公開 registry の最新公開 version 確認を 1 コマンドで実行する read-mostly skill。`docs/spec/release-versions.toml` を canonical source として参照。
23 other projects use a version of this.
Adopted by
Most recently taken up by
- colonyops/hivetheir own version, first seen Nov 7, 2026
- microsoft/durabletask-pythontheir own version, first seen Nov 2, 2026
- Terryc21/sitreptheir own version, first seen Nov 1, 2026
- kala-project/acp-kittheir own version, first seen Oct 20, 2026
- finch-xu/cc-routertheir own version, first seen Oct 15, 2026
- barlevalon/skillstheir own version, first seen Oct 13, 2026
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- dathere/qsv★ 3.8ksame name
- Devolutions/IronRDP★ 3.3ksame name
- johnhuang316/code-index-mcp★ 1ksame name
- Trampoline-AI/predict-rlm★ 436same name
- Fu-Jie/awesome-openwebui★ 326same name
- Fu-Jie/openwebui-extensions★ 326same name
- finch-xu/cc-router★ 293same name
- ten9876/AetherSDR★ 259same name
- opencrvs/opencrvs-core★ 122same name
- Terryc21/sitrep★ 50same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bump-depsSkill
- check-cross-runtimeSkill
- check-loanwordSkill
- check-new-runtime-assetSkill
- check-pr-readySkill
- check-puaSkill
- check-review-backlogSkill
- check-runtime-paritySkill
- commitSkill
- create-prSkill
- precheckSkill
- prepare-releaseSkill
- publish-modelSkill
- reply-reviewSkill
- run-testsSkill
- skill-healthSkill
- sync-docsSkill
- watch-ci-patternsSkill
- watch-prSkill
The file
Files
Release Preparation Helper
リリース作業の forensic check と CHANGELOG 移行支援 を 1 つにまとめた skill。手動でやると忘れがちな以下 4 段階を 1 コマンドで通す:
- 各 manifest の 現在の version を一覧化 (7 runtime × 9 manifest)
release-versions.tomlのexpected_prefixとの照合- CHANGELOG.md
[Unreleased]の内容と、リリース時に必要な 昇格作業 の提案 - 公開 registry (PyPI / crates.io / NuGet / npm / Maven Central) の 最新公開 version 取得
実装は read-mostly — 変更提案は markdown diff 形式でユーザに提示し、 適用は明示確認後 (memory feedback_merge_caution.md に従う)。
引数
$ARGUMENTS空: 全 runtime を一覧python/rust/csharp/npm/swift/kotlin: 特定 runtime のみ--target-version X.Y.Z: 次回リリース予定 version (CHANGELOG 移行提案に使う)
現在の状態
- ブランチ: !
git rev-parse --abbrev-ref HEAD - 引数: $ARGUMENTS
- canonical truth: !
grep -A1 "^\\[meta\\]" docs/spec/release-versions.toml | head -5
フェーズ 1: Manifest version 一覧
以下の 9 manifest を並列で Read し、現在の version を抽出して表化:
| Runtime | Manifest | 抽出キー |
| Python (PyPI) | VERSION | ファイル全体 |
| Rust (crates.io) | src/rust/Cargo.toml | [workspace.package].version |
| C# Core (NuGet) | src/csharp/PiperPlus.Core/PiperPlus.Core.csproj | <Version> |
| C# Cli (NuGet) | src/csharp/PiperPlus.Cli/PiperPlus.Cli.csproj | <Version> |
| npm synthesis | src/wasm/openjtalk-web/package.json | .version |
| npm g2p | src/wasm/g2p/package.json | .version |
| Swift synthesis | Package.swift | let version = 行 |
| Swift G2P | Package.swift | let g2pVersion = 行 |
| Kotlin Android | android/gradle.properties | VERSION_NAME= |
# 例: rust workspace version
grep -A1 "^\[workspace.package\]" src/rust/Cargo.toml | grep "^version" | head -1フェーズ 2: Expected prefix との照合
docs/spec/release-versions.toml を tomllib で読み、各 manifest の expected_prefix を取得。フェーズ 1 の実 version が prefix で始まるかを照合:
| Runtime | Manifest version | expected_prefix | Status |
|---------|------------------|-----------------|--------|
| Python | `<local>` | `<expected_prefix>` | ✓ |
| Rust | `<local>` | `<expected_prefix>` | ✓ |
| C# Core | `<local>` | `<expected_prefix>` | ✓ / 要確認 |
| ... | ... | ... | ... |mode = "warn" でも、fail ステータスを report 上で強調表示。
フェーズ 3: CHANGELOG.md 状況
# [Unreleased] セクション抽出
awk '/^## \[Unreleased\]/{flag=1; next} /^## /{flag=0} flag' CHANGELOG.md | head -60集計:
[Unreleased]直下の sub-section 数 (h3 見出しの個数)- 既存 release tag (
## [X.Y.Z]) の最新 5 件 --target-version指定時は、 移行 markdown を提示:
## [X.Y.Z] - YYYY-MM-DD
(Unreleased から移動した内容)
## [Unreleased]
(空または next-version の作業中項目)ユーザに「これを CHANGELOG.md に適用していいか」明示確認 (memory feedback_merge_caution.md 準拠)。
フェーズ 4: 公開 registry の最新 version
オプションで以下を取得 (rate limit を考慮し並列実行):
# PyPI
curl -s https://pypi.org/pypi/piper-plus/json | jq -r '.info.version'
# crates.io
curl -s https://crates.io/api/v1/crates/piper-plus | jq -r '.crate.max_version'
curl -s https://crates.io/api/v1/crates/piper-plus-cli | jq -r '.crate.max_version'
# NuGet
curl -s "https://api.nuget.org/v3-flatcontainer/piperplus.core/index.json" | jq -r '.versions[-1]'
curl -s "https://api.nuget.org/v3-flatcontainer/piperplus.cli/index.json" | jq -r '.versions[-1]'
# npm
npm view piper-plus version
npm view @piper-plus/g2p version
# Maven Central (search.maven.org)
curl -s "https://search.maven.org/solrsearch/select?q=g:io.github.ayutaz+AND+a:piper-plus-g2p-android&rows=1&wt=json" | \
jq -r '.response.docs[0].latestVersion'各 registry で取得失敗 (404 / timeout) は <未公開> として表示し fail にしない。
フェーズ 5: ローカル vs 公開 vs canonical の 3-way 差分
## Release Status
| Runtime | Local | Published | Canonical (.toml) | Verdict |
|---------|-------|-----------|-------------------|---------|
| Python | `<local>` | `<published>` | `<expected_prefix>` | Local ahead → publish required |
| Rust | `<local>` | `<published>` | `<expected_prefix>` | In sync |
| C# Core | `<local>` | `<published>` | `<expected_prefix>` | 判定 |
| ... | ... | ... | ... | ... |Verdict 例:
In sync: local == published == canonical prefixLocal ahead → publish required: local が published より新しいCanonical drift: local が canonical prefix に該当せず → release-versions.toml 更新が必要Published ahead → local bump needed: published が新しい (hot fix されたケース等)<未公開>: registry に存在しない (initial release 直前)
フェーズ 6: 推奨アクション
verdict に応じて推奨 next action を表示:
| Verdict | 推奨 |
Local ahead → publish required | .github/workflows/release-*.yml の trigger を確認、 dispatch |
Canonical drift | docs/spec/release-versions.toml の expected_prefix を更新、 CI gate flip 可否を判断 |
Published ahead → local bump needed | 当該 manifest の version を bump、CHANGELOG に記録 |
注意事項
- 本 skill は変更を勝手に適用しない: フェーズ 3 の CHANGELOG 移行は markdown 出力のみ。ユーザ承認後に Edit で適用
- rate limit: 5 registry × 1 req = ~7 req、 GitHub API は無関係なので 5000/h 制限内
- オフラインモード: registry 取得失敗時はフェーズ 4 をスキップして report 生成
- release-versions.toml は canonical truth: 実 version との不一致は drift として明示
- memory
feedback_pr_no_milestones.md準拠: マイルストーン提案を含めない
使用例
# 全 runtime の current / published / canonical を一覧
/release-prep
# Python だけに絞って詳細表示
/release-prep python
# 次回リリース予定での CHANGELOG 移行案を生成
/release-prep --target-version <target-version>
# Rust だけ + target version
/release-prep rust --target-version <target-version>期待効果
- リリース時の manifest 一括確認 を 1 コマンドに集約 (現状: 9 manifest を手動 Read)
- 「local では bump 済みだが publish されてない」のような状態を即発見
- CHANGELOG
[Unreleased]の昇格作業の 規定化 (現状: 手動 markdown 編集) release-versions.tomlmode = "warn"→"fail"切替の判断材料を提供
/sync-docs Agent 7 (version drift 監査) と相補的: /sync-docs は drift 検出、/release-prep は drift 解消支援。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

