用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/0xku/kon --skill kon-release-publish命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | kon-release-publish |
| description | Tag, publish to PyPI, and create GitHub release for Kon with validation and rollback-safe steps |
Use this skill when the user asks to cut a new Kon version, tag it, publish to PyPI, and/or create a GitHub release.
0.2.1)v0.2.0..HEAD)mainMAJOR.MINOR.PATCH versions such as 0.2.7 and 0.3.0.0.3.0rc1, 0.3.0b1, 0.3.0.post1, or 0.3.0.dev1 unless the update-check logic is updated first.X.Y.Z so update detection stays correct.pyproject.toml → [project].versionsrc/kon/version.py → fallback VERSION = "..."uv.lock → local package version blockPreflight
git status --short --branch must be clean (or confirm with user)git tag --list and git log --oneline <prev_tag>..HEAD to summarize changesUpdate CHANGELOG.md
## [Unreleased] section's - No changes yet. with a new versioned heading: ## <version> - YYYY-MM-DDgit log --oneline <prev_tag>..HEAD to categorize changes into ### Added, ### Changed, ### Fixed sections- @usernamedocs: update changelog for <version>Version bump
Quality gates
uv run ruff format .uv run ruff check .uv run pyright .uv run pytestCommit
build: bump version to <version>Tag
git tag -a v<version> -m "v<version> ..."Push
git push origin maingit push origin v<version>Build + verify artifacts
rm -rf dist && uv builduv run python -m twine check dist/*Publish to PyPI
~/.pypi-token):TWINE_USERNAME=__token__ TWINE_PASSWORD="$(< ~/.pypi-token)" uv run python -m twine upload dist/*https://pypi.org/project/kon-coding-agent/<version>/https://pypi.org/pypi/kon-coding-agent/json reports latest versionCreate GitHub release
~/.github-token, call Releases API:POST /repos/<owner>/<repo>/releases with:
tag_name: v<version>target_commitish: mainname: v<version>generate_release_notes: truecontents:write required)<version>基于 SOC 职业分类