spec-kit-release

spec-kit-release is a skill for Claude Code from Linfee/spec-kit-cn. It costs 57 tokens per session (644 once invoked), scanned A, original, MIT.

A release procedure for publishing this project with version numbers that match the upstream Spec Kit project. A release is a named, published version of the code and its downloadable files.

In plain words
What is it for?
Checking release scripts, merging and tagging the main branch, monitoring GitHub Actions, and verifying the release status and file list.
Why use it?
It provides a fixed process for normal releases and for rebuilding a failed release without changing its version.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/linfee/spec-kit-cn/spec-kit-release
Any agent
npx skills add Linfee/spec-kit-cn --skill spec-kit-release
Clone the repo
git clone --depth 1 https://github.com/Linfee/spec-kit-cn

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 spec-kit-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/linfee/spec-kit-cn/spec-kit-release.svg)](https://agentmods.dev/skills/linfee/spec-kit-cn/spec-kit-release)
Your own site
<a href="https://agentmods.dev/skills/linfee/spec-kit-cn/spec-kit-release"><img src="https://agentmods.dev/badge/skills/linfee/spec-kit-cn/spec-kit-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00057 $0.00644
Opus 5 $0.00028 $0.00322
Sonnet 5 $0.00011 $0.00129
Haiku 4.5 $0.00006 $0.00064

Measured 6d ago against content hash 941692b38411, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

spec-kit-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 6d 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/skills/spec-kit-release/SKILL.md · 82 lines

What it actually says

Spec Kit 对齐发布流程

严格约束:版本号必须与 spec-kit 对齐,不允许自增自定义版本。

1) 确认目标版本

  1. ./spec-kit 获取上游最新 tag(如 v0.1.10)。
  2. 本项目发布版本必须使用同一个 tag。

2) 合并到主分支并校验

  1. 若当前不在 main,先合并到 main
  2. 推送 main 前完成本地发布校验(项目已有脚本优先):
bash tests/e2e/validate-release.sh
  1. 校验通过后推送 main

3) 首次发布(正常路径)

git tag vX.Y.Z
git push origin vX.Y.Z

推送 tag 后应触发 release.yml

4) 同版本重发(失败补救路径)

当同版本发布失败且必须保持版本不变时,按顺序执行:

  1. 修复问题并合并到 main
  2. 删除远端 release(若存在):
gh release delete vX.Y.Z --repo Linfee/spec-kit-cn --yes
  1. 删除远端 tag(若存在):
git push origin :refs/tags/vX.Y.Z
  1. 删除本地 tag(若存在):
git tag -d vX.Y.Z
  1. 推送修复后的 main,重新打并推送同名 tag:
git push origin main
git tag vX.Y.Z
git push origin vX.Y.Z

5) 发布后验收

  1. GitHub Actions: release.yml 最新运行必须 completed/success
  2. Release 状态:非 draft、非 prerelease。
  3. 资产清单:与 github/spec-kit 对应版本 release 资产列表一致(agent/script 组合一致)。

可用检查命令:

gh run list --repo Linfee/spec-kit-cn --workflow release.yml --limit 5
gh release view vX.Y.Z --repo Linfee/spec-kit-cn --json url,tagName,isDraft,isPrerelease
gh release view vX.Y.Z --repo Linfee/spec-kit-cn --json assets --jq '.assets[].name' | sort
gh release view vX.Y.Z --repo github/spec-kit --json assets --jq '.assets[].name' | sort

若资产命名仅版本前缀(v)策略不同,需确认组合与数量完全一致。

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. 6d ago First seen · 82 lines · 57 tokens per session scan A 941692b38411

Subscribe to this mod's changes

spec-kit-release is a skill published in the GitHub repository Linfee/spec-kit-cn (695 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 644 once invoked, about $0.0003 per session on Opus 5. 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.