一键导入
make-release
Prepare a new release by updating the changelog and version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare a new release by updating the changelog and version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a precise primitive handler to the jaxpr interpreter, replacing a conservative fallback.
Find bugs in asdex by testing edge cases against JAX's reference implementations. Use when asked to hunt for bugs, test edge cases, or verify correctness.
| name | make-release |
| description | Prepare a new release by updating the changelog and version |
| disable-model-invocation | true |
Prepare a new release for asdex.
grep '^version' pyproject.tomlgit describe --tags --abbrev=0git log <latest-tag>..HEAD --oneline using the tag above)Check out main and pull latest: git checkout main && git pull.
Determine the version bump using semver (MAJOR.MINOR.PATCH).
The highest bump among all commits wins.
While the version has a leading 0, the public API is not stable,
so shift bump levels down: breaking → MINOR, everything else → PATCH.
After 1.0.0: breaking → MAJOR, feat: → MINOR, fix: → PATCH.
For commits that also fix bugs or add features beyond what the commit type suggests
(check PR descriptions with gh pr view), include those as separate changelog entries.
Map commit types to changelog badge types:
badge-breaking ← any ! (e.g. feat!:, fix!:)badge-feature ← feat:badge-enhancement ← perf:, or refactor: when the PR description shows a user-facing improvementbadge-bugfix ← fix:badge-maintenance ← refactor:, chore: with a user-facing effectbadge-docs ← docs:test: commits, tooling-only
changes, and internal commits like claude:, ci:). When unsure, ask before including it.Update CHANGELOG.md:
## Version `vX.Y.Z` section above the previous releaseUpdate version in pyproject.toml
Show the user a summary of changes. Wait for user confirmation before proceeding to commit.
Commit as asdex `vX.Y.Z`.
IMPORTANT: Stage both CHANGELOG.md AND pyproject.toml in the commit.
Ask the user if there are any other uncommitted files that should be included.
Push the commit, then tag with git tag vX.Y.Z and push the tag with git push --tags.
vX.Y.Z is the new version number from pyproject.toml.
Create a GitHub release:
merged:<date> search, which misattributes
PRs merged on the previous tag's day:
gh api repos/adrhill/asdex/releases/generate-notes \
-f tag_name=vX.Y.Z -f previous_tag_name=<previous-tag> --jq .body \
| sed -nE 's~^\* (.+) by (@[^ ]+) in https://github.com/[^/]+/[^/]+/pull/([0-9]+)~- \1 (#\3) (\2)~p'
Each line becomes - <title> (#N) (@author), listing every merged PR (not just the
user-facing ones in the changelog).gh api "repos/adrhill/asdex/issues?state=closed&since=<prev-tag-date>" \
--jq '.[] | select(.pull_request == null) | "- \(.title) (#\(.number))"'
Get the previous tag date with: git log -1 --format=%aI <previous-tag>generate-notes body carries a "New Contributors" section listing first-time
contributors. Extract it if present.@-tagged**Full Changelog**: https://github.com/adrhill/asdex/compare/<prev>...vX.Y.Z@login mention. GitHub reads these mentions and
renders the release's "Contributors" avatar strip, so this credits everyone who contributed.
Keep the "New Contributors" section alongside it: the strip does not distinguish first-time
contributors, so that callout is not redundant.#N. Add a link definition for each in numerical order, pointing PR
numbers at .../pull/N and issue numbers at .../issues/N.gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."