원클릭으로
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