发布 创建
- 作者仓库星标 0
- 作者仓库 skills-registry
Use this skill after the release code version has already been committed to the repository. Keep code-version bumping separate.
This skill creates a release by:
- Verifying the requested version matches both
apps/node/package.jsonandapps/node/package-lock.json. - Refusing to proceed unless
CHANGELOG.mdalready contains exactly one release block for the requested version. - Refusing to proceed if the version is already published on npm, if the tag already exists, or if a GitHub Release already exists.
- Running the same local Node checks used by
.github/workflows/publish-npm.yml:npm --prefix apps/node cinpm --prefix apps/node run buildnpm --prefix apps/node run test
- Creating an annotated
v<version>tag at the requested SHA. - Pushing only that tag.
- Inspecting the resulting
Publish npm PackageandRelease APKworkflow runs withgh. - Attempting
.agents/skills/release-update-published-version/after the workflows succeed, retrying briefly for npm/GitHub propagation and creating a follow-up local commit for public docs and website content when the release is discoverable.
Run:
cd "$(git rev-parse --show-toplevel)"
.agents/skills/release-create/scripts/create_release.sh <version> [sha]
Example:
.agents/skills/release-create/scripts/create_release.sh 0.9.6
If sha is omitted, the script tags HEAD.
Preconditions
- The target release commit must already exist locally.
apps/node/package.jsonandapps/node/package-lock.jsonmust already contain the target version.CHANGELOG.mdmust already contain exactly one## [<version>]block for the target release.- Public release-facing docs do not need to be pre-bumped. This skill will try to prepare the published-version follow-up after the release succeeds.
git,npm, andghmust be installed and authenticated.
Safety Rules
- Do not force-move existing tags.
- Do not publish a version that already exists on npm.
- Do not push a branch as part of this step. Push the tag only.
- Do not use this skill to repair a partially published version. Bump to a new version instead.
- The post-release published-version update is a separate local commit. Review and push or merge it explicitly.
- If npm or GitHub Release propagation is still catching up after the workflows finish, the script reports a skipped published-version update instead of failing the release. Run
.agents/skills/release-update-published-version/later in that case.
Output Expectations
The script prints:
- release version
- target tag
- target commit SHA
- local validation status
- pushed tag confirmation
- detected workflow run URLs and conclusions
- published-version follow-up commit information when the release is already discoverable
- or a clear skipped message if publication metadata is still propagating
If a workflow does not appear quickly, the script reports that clearly instead of guessing success.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: clawperator/clawperator — distributed by TomeVault.
- 流狐分类
- 文档
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 The target release commit must already exist locally. apps/node/package.json and apps/node/package-lock.json must already contain the target version. CHANGELOG.md must already contain exactly one [<version>] block for the target release.
Do not force-move existing tags. Do not publish a version that already exists on npm. Do not push a branch as part of this step. Push the tag only.
The script prints: release version target tag
Use this skill after the release code version has already been committed to the repository. Keep code-version bumping separate.
This skill creates a release by:
1. Verifying the requested version matches both `apps/node/package.json` and `apps/node/package-lock.json`.
2. Refusing to proceed unless `CHANGELOG.md` already contains exactly one release block for the requested version.
3. Refusing to proceed if the version is already published on npm, if the tag already exists, or if a GitHub Release already exists.
4. Running the same local Node checks used by `.github/workflows/publish-npm.yml`:
- `npm --prefix apps/node ci`
- `npm --prefix apps/node run build`
- `npm --prefix apps/node run test`
5. Creating an annotated `v<version>` tag at the requested SHA.
6. Pushing only that tag.
7. Inspecting the resulting `Publish npm Package` and `Release APK` workflow runs with `gh`.
8. Attempting `.agents/skills/release-update-published-version/` after the workflows succeed, retrying briefly for npm/GitHub propagation and creating a follow-up local commit for public docs and website content when the release is discoverable.
Run:
```bash
cd "$(git rev-parse --show-toplevel)"
.agents/skills/release-create/scripts/create_release.sh <version> [sha]
```
Example:
```bash
.agents/skills/release-create/scripts/create_release.sh 0.9.6
```
If `sha` is omitted, the script tags `HEAD`.
## Preconditions
- The target release commit must already exist locally.
- `apps/node/package.json` and `apps/node/package-lock.json` must already contain the target version.
- `CHANGELOG.md` must already contain exactly one `## [<version>]` block for the target release.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Preconditions → Safety Rules → Output Expectations
要点 -> Use this skill after the release code version has already been committed to the repository. · This skill creates a release by: 1. · If sha is omitted, the script tags HEAD. · - The target release commit must already exist locally. · - Do not force-move existing tags. · If a workflow does not appear quickly, the script reports that clearly instead of guessing success. · --- > Source: [clawperator/clawperator](https://github.com/clawperator/clawperator) — distributed by [TomeVault](https://tomevault.io).
文件/命令 -> apps/node/package.json · apps/node/package-lock.json · CHANGELOG.md · .github/workflows/publish-npm.yml · npm --prefix apps/node ci · npm --prefix apps/node run build · npm --prefix apps/node run test · v<version>
内容 SHA-256 -> 18a7bd78e38e
原文结构
适用与边界
原文中的明确线索
apps/node/package.json、apps/node/package-lock.json、CHANGELOG.md、.github/workflows/publish-npm.yml、npm --prefix apps/node ci、npm --prefix apps/node run build、npm --prefix apps/node run test、v<version>