Create Releaseのロゴ

Create Release

コミュニティ
richkuo
create-release

現在のリポジトリで「create a release」「cut a release」「tag a version」「publish release notes」と依頼された場合や、新しいバージョンのGitHubリリースを公開したい場合に使います。

Add to TypingMind

概要

公開者richkuo
リポジトリrk-skills
スキル名create-release
スター
50
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    richkuoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Create Release」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/richkuo/rk-skills/tree/main/skills/create-release
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/richkuo/rk-skills.git /tmp/rk-skills
mkdir -p .claude/skills
cp -r /tmp/rk-skills/skills/create-release .claude/skills/create-release
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCreate Releaseを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCreate Releaseを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Create Releaseは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

create-release

Tag a SHA on origin/<default> (annotated semver) and publish a GitHub release with generated notes. The local branch never decides what ships. Never push to the default branch: the version bump and notes entry land through a pull request (PR).

Preconditions: verify ALL before doing anything

bash
gh auth status
git status --porcelain -- . ':(exclude).claude/worktrees'
DEFAULT=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)
git fetch origin --tags

gh auth status must succeed. git status --porcelain must print nothing; if the tree is dirty, stop and surface the diff. Every later read uses origin/$DEFAULT. Any failure: stop and tell the user.

Tag-target invariant. The tagged commit must pass git merge-base --is-ancestor <sha> "origin/$DEFAULT" right after a fresh git fetch origin. No confirmation, flag, or caller instruction overrides this. On failure, stop and report the SHA and origin/$DEFAULT.

Steps

  1. Inspect actual tags. Never trust memory or CHANGELOG: git tag --sort=-v:refname | head -10.

  2. Review commits since the last tag: git log <last-tag>..origin/$DEFAULT --oneline; with no semver tag (first release), git log origin/$DEFAULT --oneline.

  3. Determine the semver bump and state the rationale. Breaking = major (never patch), feature = minor, fixes and polish = patch. Proceed without confirmation: the only question is the bump PR merge. Ask about the bump only when its type is genuinely ambiguous (for example, unclear whether commits are breaking). Then git ls-remote --tags origin refs/tags/vX.Y.Z must print nothing. Never force-overwrite a tag that exists locally or on origin: ask the user.

    Previous version. The newest semver tag without its v. With no semver tag, the value all table manifests below agree on; if they disagree or none exists, ask the user (AskUserQuestion) for the first version and treat each manifest version field's value as its previous value. A first release takes X.Y.Z from the user's version, else from that agreed value.

  4. Land the version bump and the release-notes entry through a PR.

    • Resume an interrupted release first. List bump PRs: gh pr list --state all --search 'in:title "chore(release): bump version to"' --json number,title,state,isCrossRepository,headRefName,baseRefName,headRefOid,mergeCommit,files --limit 50. A candidate meets all of: its title names a version V above the previous version (or, with no semver tag, it is merged and V equals the manifests' agreed value: an interrupted first release), and git ls-remote --tags origin refs/tags/vV prints nothing; open or merged, never closed unmerged; isCrossRepository false; headRefName is <harness-prefix>/release-vV (cc/, cursor/, or codex/), optionally suffixed -<n>; baseRefName is $DEFAULT; every path in files is a table manifest or the notes file, and gh pr diff <n> only moves those version fields from their pre-PR values to V and adds at most one notes entry. A title match that fails any check is never resumed or merged: report it and continue with the version-fields bullet. No candidate: continue with that bullet. More than one: stop and report them. One: if V differs from the version the user asked for or step 3 chose, ask the user (AskUserQuestion); never override their version yourself. X.Y.Z is then V, and step 3's tag-free check applies to V. Open: reuse it (edit nothing, open no second PR), record its headRefOid as the head the checks read, and go to the Merge bullet, which always asks about a resumed PR: no caller plan authorization covers a PR this run did not open. Merged: go to the Resolve bullet, which checks the invariant and manifests before step 5. Either way, reuse the worktree named for its headRefName if it still exists; the Resolve bullet removes it.

    • Version fields. Change only manifest version fields whose value equals the previous version: grep it (for example git grep -n -F "<previous>" origin/$DEFAULT -- <manifest files>) and check each hit against the table. Libraries, CLIs, and installers count: a package.json "version" must be bumped. Schema and config versions stay (for example .github/dependabot.yml version: 2), and so do native build numbers (buildNumber, versionCode, CURRENT_PROJECT_VERSION) unless the user asks. With a semver tag, a manifest field holding another version, with no bump PR kept by the resume bullet, is a stop: report the file and value.

      FileField
      package.json"version"
      .claude-plugin/plugin.json"version"
      app.json / app.config.js / app.config.tsexpo.version
      pubspec.yamlversion
      Cargo.toml[package] version
      pyproject.toml[project] version or [tool.poetry] version
      iOS *.xcodeproj/project.pbxprojMARKETING_VERSION
      Android build.gradleversionName
    • Release-notes entry. If the repo has a MEMORY.md or CHANGELOG.md with a Releases section, the same PR appends **vX.Y.Z** — YYYY-MM-DD: <one-line summary>, unless that file on origin/$DEFAULT already holds a **vX.Y.Z** entry.

    • Publish-on-release check (every time). Find .github/workflows/ jobs on release: published (for example npm publish): they usually guard on the manifest version and silently skip while package.json holds the previous version, so a tag and manifest mismatch is a bug.

    • No version field needs a change and no notes entry is due (no manifest, or a first release whose manifests already hold X.Y.Z; and no notes file, or one already holding **vX.Y.Z**): skip the PR, git fetch origin, set SHA=$(git rev-parse "origin/$DEFAULT"), and go to step 5.

    • Otherwise open the PR from a worktree off origin/$DEFAULT, on a branch with the harness prefix (cc/ Claude Code, cursor/ Cursor, codex/ Codex): git worktree add .claude/worktrees/cc+release-vX.Y.Z -b cc/release-vX.Y.Z "origin/$DEFAULT". If that branch exists locally or on origin, never delete or reuse it: add the next free suffix to branch and worktree name (cc/release-vX.Y.Z-2, then -3). Edit there, run every git command with -C <worktree>, and stage changed files by name. Commit chore(release): bump version to X.Y.Z with the repo's commit footer (its CLAUDE.md or AGENTS.md attribution rule), push, and run gh pr create --base "$DEFAULT", titled chore(release): bump version to X.Y.Z plus any suffix the repo's PR convention requires. The body lists the bumped files and bump rationale and follows the repo's PR body rules.

    • Merge. Wait with gh pr checks <n> --watch. A failing or pending check never merges: stop and leave the PR open. When gh pr checks still reports no checks about a minute after the PR opened, read the required checks on $DEFAULT: gh api repos/{owner}/{repo}/branches/$DEFAULT --jq .protection.required_status_checks.contexts and any required_status_checks rule in gh api repos/{owner}/{repo}/rules/branches/$DEFAULT. With none required, there is no failing check: go on to the merge question. A required check that has not reported is pending. Ask the user once to merge (AskUserQuestion), unless the caller's approved plan already authorizes this bump PR and its merge (as the milestone-workflow close-out does). A decline leaves the PR open and stops with no tag. Merge with a method the repo allows and pin the head: read gh repo view --json squashMergeAllowed,mergeCommitAllowed,rebaseMergeAllowed, take --squash, else --merge, else --rebase, and run gh pr merge <n> <method> --match-head-commit <head-sha>; a resumed PR's <head-sha> is the headRefOid its checks read. If branch protection or a required review blocks the merge, stop, leave the PR open, and report what it waits on.

    • Resolve the tag target. Read gh pr view <n> --json state,mergeCommit. If state is not MERGED (a merge queue holds it, or gh pr merge only enabled auto-merge), stop, report it queued or waiting with its state, and tag nothing; a rerun resumes it through the resume bullet once merged. Else SHA is mergeCommit.oid, which must be a non-empty commit SHA (empty is a stop naming the PR state); never tag the bump branch head or the checkout's HEAD. Then git fetch origin, check the invariant on $SHA, confirm git show "$SHA":<manifest> holds X.Y.Z for every bumped manifest, and remove the worktree if it exists (git worktree remove <path>).

  5. Create an annotated tag on the resolved SHA. Recheck the invariant first:

    bash
    git fetch origin
    git merge-base --is-ancestor "$SHA" "origin/$DEFAULT"
    git tag -a vX.Y.Z "$SHA" -m "vX.Y.Z"
  6. Push the tag: git push origin vX.Y.Z.

  7. Create the release with auto-generated notes: gh release create vX.Y.Z --verify-tag --generate-notes --title "vX.Y.Z", and print the URL from its output. Never hand-write notes, and never let gh release create create the tag.

よくある質問

AIスキル「Create Release」では何ができますか?

現在のリポジトリで「create a release」「cut a release」「tag a version」「publish release notes」と依頼された場合や、新しいバージョンのGitHubリリースを公開したい場合に使います。

TypingMindでCreate Releaseを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Create Releaseはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCreate Releaseをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/richkuo/rk-skills/tree/main/skills/create-releaseを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Create Releaseを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Create Releaseで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCreate Releaseを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Create Release」は無料ですか?

はい。richkuoがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇