t-release
Bump project version, create git tag, and push release commit to remote.
npx skills add timzaak/web-dev-skills --skill t-release --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 版本发布 发布项目版本,更新版本文件,验证后创建 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 命令: ```bash uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py [版本号] ``` 如果用户未提供版本号,先运行脚本获取推荐版本: ```bash uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py ``` 用户确认后,再用推荐版本执行: ```bash 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` 中存在的版本文件。 - 运行验证,创建 commit `chore: bump version to <版本号>`,创建并推送 tag `v<版本号>`。 ## 失败处理 - 按脚本错误输出处理。 - 验证失败时终止,不创建 commit/tag。 - 推送失败时提示用户本地 commit/tag 状态和手动推送命令。 ## Forbidden - 绕过 `${CLAUDE_PLUGIN_ROOT}/scripts/release.py` 手工执行发布。 - 创建或推送不带 `v` 前缀的 release tag。 - 使用 `--force` 推送。
- 执行流程
- 失败处理
- Forbidden
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py [版本号]
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/release.py <推荐版本号>What does the t-release skill do?
Bump project version, create git tag, and push release commit to remote.
How do I install it?
Run `npx skills add timzaak/web-dev-skills --skill t-release --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From timzaak/web-dev-skills, a repository with 55 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.