ワンクリックで
release-cli
Prep a knock-cli release. Use when the user asks to prepare, create, or cut a release, or bump the version.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prep a knock-cli release. Use when the user asks to prepare, create, or cut a release, or bump the version.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | release-cli |
| description | Prep a knock-cli release. Use when the user asks to prepare, create, or cut a release, or bump the version. |
| argument-hint | ["version"] |
Prepare a new CLI release by bumping the version, creating the tag, and opening a PR.
If no version is provided, ask the user what version to release. Check the current version in package.json to help them decide (patch, minor, or major bump).
Execute these steps:
Check prerequisites
git status to ensure working directory is cleangit checkout main && git pull to ensure you're on latest mainnode -p "require('./package.json').version"Create release branch
git checkout -b release-v{version}
Build and bump version
yarn build && yarn version --new-version {version}
This updates package.json and creates the git tag automatically.
Push branch and tag
git push origin release-v{version}
git push origin v{version}
Create PR Create a PR with title "v{version}" targeting main. The PR body should note this is a release version bump.
Provide next steps Tell the user:
/release cut knock-cli -v {version}yarn version creates both the package.json change AND the git tag