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

release

Skill59 starsChanged 10 months agoMITView on GitHub

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

  • Reads credentials
  • Commits and pushes

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

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 を自動で開く(タグ・Release なし)
                    └── auto-approve.yml が承認 → CI 通過後に自動マージ
  • 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 のマージでは dispatch を送らない(無限ループ防止)
  • リリース時にはえびログ(Discord)に自動通知

よくある失敗

状況原因対処
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.