一键导入
release
Prepare and publish a Kit release. Use when asked to release Kit, cut a release, publish a new version, or bump the package for release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare and publish a Kit release. Use when asked to release Kit, cut a release, publish a new version, or bump the package for release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Kit's UI design language and visual standards. Use when building or modifying any UI component, view, or screen. Covers color palette, overlay hierarchy, layout patterns, and component conventions.
Component composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component APIs, or designing reusable compound components. Covers compound components, context providers, state lifting, and explicit variants. Examples use React but the principles apply to any component framework including SolidJS.
Comprehensive OpenTUI skill for building terminal user interfaces. Covers the core imperative API, React reconciler, and Solid reconciler. Use for any TUI development task including components, layout, keyboard handling, animations, and testing.
| name | release |
| description | Prepare and publish a Kit release. Use when asked to release Kit, cut a release, publish a new version, or bump the package for release. |
Use this skill to publish a new Kit package release.
Inspect the working tree.
git status --short.Find the last release bump commit.
bump: x.x.x, for example:
git log --grep='^bump: [0-9]\+\.[0-9]\+\.[0-9]\+$' --format='%H %s' -n 1
Review changes since that bump.
git log <last-bump-sha>..HEAD --oneline --no-merges
git diff --stat <last-bump-sha>..HEAD
minor for user-facing features or meaningful new capabilities.patch for fixes, documentation, refactors, chores, and small internal improvements.Update package.json to the next version.
Run required validation before publishing.
bun run typecheckbun run checkbun run typecheck after bun run check.bun test before publishing.Publish to npm.
npm publish --access public
Commit the version bump.
bump: x.x.x
x.x.x with the version that was published.origin/main.Tag the release to trigger the binary build.
git tag vx.x.x
git push origin vx.x.x
.github/workflows/release.yml, which builds
the compiled binary on four platforms (darwin/linux × arm64/amd64)
and attaches kit_vx.x.x_<platform>.tar.gz tarballs to a GitHub
release.gh run list --workflow=release.yml --limit 1
gh run watch <run-id> --exit-status
gh release view vx.x.x --json assets -q '.assets[].name'
Update the Homebrew formula in ../homebrew-tap.
for p in darwin_arm64 darwin_amd64 linux_arm64 linux_amd64; do
curl -sL "https://github.com/akonwi/kit/releases/download/vx.x.x/kit_vx.x.x_${p}.tar.gz" | shasum -a 256
done
../homebrew-tap/Formula/kit.rb, update the version, the four
url values, the four sha256 values, and the version asserted in
the test block.kit x.x.x and push.brew update && brew upgrade akonwi/tap/kit && brew test kit
Report the result.