一键导入
push-release
Push to GitHub and optionally bump version to trigger PyPI release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push to GitHub and optionally bump version to trigger PyPI release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| 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 syncRun PR-grade real Codex E2E validation through claude-tap, including resume turns, multiple tool calls, optional image input, viewer verification, and screenshot evidence.
Run claude-tap end-to-end tests with pytest
Full pre-PR merge-readiness check. Run this before opening or merging a pull request — it validates local gates (lint, format, tests), CI status, screenshot evidence, and PR metadata in one pass. Also useful for reviewing an existing PR's readiness.
Test JS logic embedded in HTML using two-layer strategy - Python unit tests + Playwright browser integration tests
Fill missing i18n translations in the viewer source JSON. Run this after adding or modifying English or Chinese UI strings in claude_tap/viewer_i18n.json — it auto-translates to ja, ko, fr, ar, de, ru via OpenRouter.
Validate screenshot and viewer HTML quality for PR evidence. Run this after adding or modifying images under .agents/evidence/pr/ or .agents/recordings/, or after generating a new viewer HTML file. Combines image quality checks (resolution, blankness, file size) with Playwright-based viewer rendering verification.