From t-tools
Bumps project version, creates git tag, and pushes release commit to remote. Useful for automating semantic version releases with consistent tag formats.
How this skill is triggered — by the user, by Claude, or both
Slash command
/t-tools:t-release [版本号][版本号]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
/t-release [版本号]
发布项目版本,更新版本文件,验证后创建 release commit 和 git tag,并推送到远程。
版本号使用语义化版本,如 0.2.0、1.0.0。版本文件写入纯版本号 X.Y.Z,最终 git tag 必须使用 vX.Y.Z 格式。用户输入 0.2.0 或 v0.2.0 时,都按版本号 0.2.0 发布,并创建 tag v0.2.0。
使用发布脚本,不要手工拼接 release 命令:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py [版本号]
如果用户未提供版本号,先运行脚本获取推荐版本:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py
用户确认后,再用推荐版本执行:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py <推荐版本号>
脚本负责:
main 分支、干净工作区、远程可访问、tag 不冲突。X.Y.Z 和 vX.Y.Z tag,但新 tag 一律使用 vX.Y.Z。backend/Cargo.toml、frontend/package.json、demo/package.json 中存在的版本文件。chore: bump version to <版本号>,创建并推送 tag v<版本号>。${CLAUDE_PLUGIN_ROOT}/scripts/release.py 手工执行发布。v 前缀的 release tag。--force 推送。npx claudepluginhub timzaak/web-dev-skillsCuts annotated semver tags with release notes derived from recent commits. Validates version, notes, and files before tagging.
Starts git-flow release branch: validates semver version, bumps in package.json/Cargo.toml/VERSION/etc., commits via git-agent, pushes to origin/release/<version>.
Creates a GitHub release with semantic versioning, changelog generation, release notes, and optional build artifacts via tags and GitHub CLI.