用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ok-oldking/ok-script --skill deploy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | deploy |
| description | Create and push a version tag to publish to PyPI and create a GitHub Release through GitHub Actions |
When instructed to deploy, release, or publish to PyPI, follow these steps in order. GitHub Actions builds the tagged commit, publishes it with the repository's PYPI_API_TOKEN secret, and creates the GitHub Release.
// turbo
git status --short
If there are uncommitted changes:
git diff --stat and git diff to review them.
// turbogit diff --stat
// turbo
git diff
git add -A
// turbo
git commit -m "<generated commit message>"
If there are NO uncommitted changes, proceed directly to Step 2.
Choose the exact package version to release (for example, 1.0.98). The Git tag must be v<version>, and the workflow passes <version> to the build through OK_SCRIPT_BUILD_VERSION.
// turbo
git tag v<version>
Replace <version> with the chosen version (e.g. 1.0.98).
// turbo
git push --tags
Open the GitHub Actions run triggered by the pushed tag. It must complete both the Build and publish and Create GitHub release jobs. If publishing fails, do not create or move another tag; report the failure.
Tell the user:
基于 SOC 职业分类