一键导入
release
Run the full release process for PtcRunner - validates, bumps version, commits, tags, and pushes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full release process for PtcRunner - validates, bumps version, commits, tags, and pushes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release |
| description | Run the full release process for PtcRunner - validates, bumps version, commits, tags, and pushes |
| disable-model-invocation | true |
| argument-hint | ["version e.g. 0.7.0"] |
| allowed-tools | Bash, Read, Edit, Grep, Glob |
Release version $ARGUMENTS of PtcRunner. Follow every step in order. Stop and report if any step fails.
ptc_runner Hex package (v* tags). For the
MCP server (ptc_runner_mcp), use mcp_server/RELEASING.md (mcp-v* tags).
docs/RELEASING.md is the authoritative root release checklist.HEX_API_KEY secret must be configured in GitHub repo settingsrelease.yml GitHub Action handles publishing after pushRun these checks and stop on first failure:
main branchgit fetch origin main and confirm local is not behind remotev$ARGUMENTS does not already exist## [$ARGUMENTS]git log $(git describe --tags --abbrev=0)..HEAD --onelineRun the authoritative local release gate from docs/RELEASING.md (the source of
truth, together with .github/workflows/release.yml). Run each in order and fix
all issues before proceeding:
mix precommit - format, compile (warnings-as-errors), credo, schema, spec, testsmix prepush - dialyzer, unused-depsmix release.smoke - deterministic root release checks, root + MCP soak,
mix hex.build package-content verification, schema/spec/bench baselines,
mix docs --warnings-as-errors, and the sibling mcp_server release smokemix release.smoke publishes nothing and supersedes the standalone mix docs /
mix hex.build steps (set PTC_SOAK_ITERATIONS to tune soak duration; default
3000). After the release commit lands on main, run the Release workflow
manually with skip_llm: true as a CI dry run before tagging - see
docs/RELEASING.md.
mix.exsversion: field in mix.exs to "$ARGUMENTS"grep -r 'OLD_VERSION' README.md livebooks/ docs/{:ptc_runner, "~> OLD_VERSION"} references to "~> $ARGUMENTS" in README.md and livebooksAsk the user for confirmation before proceeding. Show:
git status --short)After confirmation:
git add mix.exs CHANGELOG.md (and any other modified files)chore: prepare release $ARGUMENTSgit tag -a "v$ARGUMENTS" -m "Release $ARGUMENTS"git push && git push --tagsReport success and remind the user:
Follow Semantic Versioning: