Unity-Skills: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from Besty0728/Unity-Skills. It costs 0 tokens per session (3,223 once invoked), scanned A, original, MIT.

A guided release command for turning a tested beta version into a stable GitHub release. It checks versions, branches, tags, commits, and release notes in a fixed order.

In plain words
What is it for?
It helps prepare and verify software releases from a beta branch, synchronize the main branch, create a version tag, publish a GitHub Release, and check the resulting release links.
Why use it?
It reduces the risk of publishing the wrong code, an inconsistent version, or a release based on outdated branches. It also prevents claiming that update notifications were sent before the release is actually available.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is Besty0728/Unity-Skills's own configuration. It tells Claude Code how to work on Unity-Skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Unity-Skills configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .github/scripts/check_project_version.py . \.

About the project

UnitySkills is a REST API-based automation engine that lets AI coding agents control Unity Editor projects, including scenes and other editor operations. It is for developers using Unity with supported coding agents and IDEs. The catalogue skills and commands provide the agent workflows used to operate Unity projects through the engine.

Besty0728/Unity-Skills · 1,923 stars · on GitHub · micostar.cc

Reuse

Borrowing it

Nothing to install: this file belongs to Besty0728/Unity-Skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Besty0728/Unity-Skills/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/Besty0728/Unity-Skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/besty0728/unity-skills/release/github.svg)](https://agentmods.dev/commands/besty0728/unity-skills/release)
Your own site
<a href="https://agentmods.dev/commands/besty0728/unity-skills/release"><img src="https://agentmods.dev/badge/commands/besty0728/unity-skills/release/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/besty0728/unity-skills/release"><img src="https://agentmods.dev/badge/commands/besty0728/unity-skills/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,223 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.00000 $0.03223
Opus 5.5 $0.00000 $0.01289
Sonnet 5.5 $0.00000 $0.00645
Haiku 4.5 $0.00000 $0.00322

Measured 1mo ago against content hash f73d437a780b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release 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 1mo ago.

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.

.claude/commands/release.md · 323 lines

How it starts

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

Release Workflow — 候选矩阵 → main/tag → 正式 Release

你是 UnitySkills 项目的正式发布助手。发布必须遵守以下顺序:

版本一致性检查
  → beta 候选提交完整矩阵
  → 用户确认正式发布
  → beta/main 精确同步
  → 创建并推送 annotated tag
  → tag 自身完整矩阵
  → 创建稳定 GitHub Release
  → 核验 releases/latest 与 Release 跳转地址
  → 重新生成 main 的 Star History 图表

Unity 更新提醒只读取 GitHub releases/latest。因此在最后一步正式 Release 创建成功之前,不能宣称用户已经收到更新通知。

beta 与 main 是两条平行线:Star History 机器人的图表提交只落 main,beta 永远不接收,也不为此把 main 合并或变基进 beta。发布时 main 被移动到候选提交,这些图表提交随之丢弃,阶段 10 再重新生成。

输入

用户可提供不带 v 的版本号,例如 /release 2.6.0;未提供时从 CHANGELOG.md 顶部最新的 ## [x.y.z] 解析。

  • 版本必须严格为 MAJOR.MINOR.PATCH。
  • tag 固定为 v{VERSION}。

阶段 1:只读预检查

  1. 确认当前在 beta 分支。
  2. 工作区必须完全干净:
    git status --porcelain
    
    有任何修改或未跟踪文件都停止,提示先提交或处理。
  3. 检查 GitHub CLI 登录状态并获取最新远端引用:
    gh auth status
    git fetch origin main beta --tags
    
    任一失败都停止。
  4. 将候选提交固定为变量并在整个流程中保持不变:
    RELEASE_SHA=$(git rev-parse beta)
    VERSION_TAG="v{VERSION}"
    
  5. 确认本地 beta 没有遗漏远端提交;origin/main 相对 beta 只允许多出 Star History 图表提交:
    git log beta..origin/beta --oneline
    git log --format='%h %an %s' beta..origin/main | grep -v -E '^[0-9a-f]+ github-actions\[bot\] docs: update Star History charts$'
    git diff --name-only beta...origin/main | grep -v -x -E 'docs/star-history-(light|dark)\.svg'
    
    任一有输出都停止并列出提交。
  6. 检查本地 main 是否存在未推送提交。后续会把本地 main 精确移动到候选提交;若存在必须先交给用户处理:
    git log origin/main..main --oneline
    
  7. 验证项目版本锚点、CHANGELOG 顶部版本及 Release tag 格式一致:
    python3 .github/scripts/check_project_version.py . \
      --expected "{VERSION}" \
      --tag "${VERSION_TAG}"
    
  8. 查询当前 GitHub 最新稳定 Release。候选版本必须严格高于它:
    gh api repos/Besty0728/Unity-Skills/releases/latest \
      --jq '{tag_name,html_url,draft,prerelease}'
    
  9. 同时确认本地 tag、远端 tag、GitHub Release 都不存在:
    git tag -l "${VERSION_TAG}"
    git ls-remote --tags origin \
      "refs/tags/${VERSION_TAG}" \
      "refs/tags/${VERSION_TAG}^{}"
    gh release view "${VERSION_TAG}"
    
    任一已存在都停止。绝不删除、移动或强制重推已发布 tag。

Read the full file on GitHub · 323 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. 1mo ago Changed · +16 lines f73d437a780b
  2. 2mo ago First seen · 307 lines · 0 tokens per session scan A 5b5982703420

Subscribe to this mod's changes

release is a command published in the GitHub repository Besty0728/Unity-Skills (1,923 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,223 tokens. 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-08-30.

Related

release compared with commands from other repositories

release next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releaseBesty0728/Unity-SkillsCommand1.9kyesterdayMITA0Claude Code
commitfusengine/agentsCommand3425d agoMITA31Claude Code
generate-changelogrohitg00/awesome-claude-code-toolkitCommand2.8k5mo agoApache-2.0A19Claude Code
flow-releaserohitg00/awesome-claude-code-toolkitCommand2.8k5mo agoApache-2.0A0Claude Code
write-changelogrohitg00/awesome-claude-code-toolkitCommand2.8k5mo agoApache-2.0A0Claude Code
claudikins-kernel:shippovvo/claudikins-kernelCommand1276mo agoMITA25Claude Code
t00-gitmaysunAI/T00-zhCommand23mo agoMITA29Claude Code