agentleFS
ebibibiebibibi/ebi-agent-chat-relay/.claude/skills/release/SKILL.md

release

Skill66 starsChanged 9 months agoMITView on GitHub

ccdb のマイナー/メジャーリリース手順。「v1.4.0としてリリースして」等と言われたときに使う。

  • Reads credentials
  • Commits and pushes

197 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

Files
SKILL.md

ccdb リリース手順

バージョン体系

v1.3.0  ← 手動マイナーリリース(このスキルの対象)
v1.3.1  ← PR マージごとに自動インクリメント(普段は何もしない)
v1.3.2  ← 同上
...
v1.4.0  ← 手動マイナーリリース(このスキルの対象)
  • 自動パッチバンプ: 普通の PR をマージするたびに .1 ずつ自動インクリメント。操作不要
  • 手動リリース: マイナー/メジャーの区切りを付けたいときに使う(このスキル)

手動リリース手順(「v1.4.0としてリリースして」)

Step 1: リポジトリに入る

cd /home/ebi/claude-code-discord-bridge
git checkout main && git pull

Step 2: ブランチを作る

git checkout -b release/v1.4.0   # バージョンは指定されたものに変える

Step 3: pyproject.toml のバージョンを更新

pyproject.toml の version = "1.3.x" を指定バージョンに書き換える:

version = "1.4.0"

uv.lock の editable エントリも同じ値に揃える(name = "claude-code-discord-bridge" の 直下の version)。ここを忘れると2つのファイルがずれ、次回以降の自動パッチバンプが uv.lock の同期に失敗して止まる(Issue #731 の実例):

uv lock

Step 4: CHANGELOG.md を更新

  1. ## [Unreleased] セクションを ## [1.4.0] - YYYY-MM-DD に変更(今日の日付)
  2. その上に新しい空の ## [Unreleased] セクションを追加
## [Unreleased]

## [1.4.0] - 2026-02-22   ← 今日の日付

### Added
...(既存の Unreleased 内容がここに来る)

Step 5: PR を作成(タイトルに 必ず [release] を含める)

PATH="/home/ebi/.local/bin:$PATH" git add pyproject.toml CHANGELOG.md
PATH="/home/ebi/.local/bin:$PATH" git commit -m "release: v1.4.0 [release]"
git push -u origin release/v1.4.0

gh pr create \
  --repo ebibibi/ebi-agent-chat-relay \
  --base main \
  --title "release: v1.4.0 [release]" \
  --body "Release v1.4.0

## Changes
See CHANGELOG.md for details."

⚠️ 重要: PR タイトルに [release] を含めること。これがないと自動パッチバンプが走って v1.4.1 になってしまう。

Step 6: 確認(数分後)

auto-approve により PR が自動マージされ、タグ v1.4.0 と GitHub Release が作成される:

gh release view v1.4.0 --repo ebibibi/ebi-agent-chat-relay

仕組み(裏側)

PR マージ(auto-approve.yml)
  └── repository_dispatch: pr-merged
        └── auto-version-bump.yml
              ├── [release] あり → 現在バージョンでタグ & Release(バンプなし)
              └── [release] なし → patch++ の bump PR を自動で開く
                    └── auto-approve.yml が承認 → CI 通過後に自動マージ
                          └── bump PR のマージ → そのコミットに vX.Y.Z タグ & Release
  • マージ1回ごとにパッチ版が GitHub Release として公開される(手作業不要)
  • docs-sync PR(翻訳・ドキュメント更新)はバンプも Release も発生しない
  • patch-bump は auto/bump-vX.Y.Z ブランチからの PR。issue-driven-main ルールセットは bypass_actors が空で、管理者の PAT でも main へ直接 push できないため(Issue #725)
  • bump PR は require-linked-issue を通すために専用 Issue を自動作成して Closes #N で紐付ける。PR も Issue も ADMIN_PAT(= ebibibi)が作る。 GITHUB_TOKEN で作ると pull_request イベントが発火せず、必須チェックが 「Expected」のまま永久に埋まらない(過去2回この理由で revert されている)
  • bump PR が既に開いているあいだの追加マージは、その1件に集約される
  • bump PR のマージでは release モードの dispatch だけを送る(新しい bump は開かないのでループしない)
  • えびログ(Discord)通知と全言語翻訳(docs-translate)はマイナー/メジャー(X.Y.0)のときだけ

よくある失敗

状況原因対処
v1.4.1 になってしまったPR タイトルに [release] がなかったタグを削除して再度 release PR を作る
タグが既に存在するエラー同じバージョンでタグを作ろうとしたタグを削除: gh api repos/ebibibi/ebi-agent-chat-relay/git/refs/tags/v1.4.0 --method DELETE

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.