用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/liaohch3/claude-tap --skill push-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | push-release |
| description | Push to GitHub and optionally bump version to trigger PyPI release |
| user_invocable | true |
Push code to GitHub. If the pending commits contain feature changes, bump the version number so CI auto-publishes to PyPI.
Check working tree: Ensure no uncommitted changes (prompt user to commit first if dirty).
Determine whether a version bump is needed:
pyproject.tomlgit log origin/main..HEAD --oneline to inspect pending commitsIf bump is needed:
version field in pyproject.toml__version__ in claude_tap/__init__.pygit commit --amend to fold the version bump into the last commit (avoids extra commits)Push:
git push origin main
Confirm CI status:
The CI pipeline works as follows: push to main → auto-tag (only if version changed) → PyPI publish (triggered by new tag).
A version bump is the ONLY way to trigger a new PyPI release. If you push without bumping the version, CI will skip tagging and nothing gets published. So whenever commits include meaningful code changes (features, fixes, improvements), you MUST bump the version before pushing.
pyproject.toml and claude_tap/__init__.py must stay in sync