一键导入
release
Publish a new release of the openusd crate. Use when cutting a release, bumping the version, or publishing to crates.io. Use when this capability is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Publish a new release of the openusd crate. Use when cutting a release, bumping the version, or publishing to crates.io. Use when this capability is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes Use when this capability is needed.
Use when the user wants to set, change, or clear git commit co-authors for pair or mob programming.
Use when the user asks to install, add, or set up a package, tool, CLI, or application
Use when the user wants to fetch and contextualize a GitHub repository for future reference.
Use when writing or reviewing GitHub-flavored Markdown (README, issues, PRs, docs)
Copy content to my clipboard using `pbcopy`. Use when this capability is needed.
| name | release |
| description | Publish a new release of the openusd crate. Use when cutting a release, bumping the version, or publishing to crates.io. Use when this capability is needed. |
| metadata | {"author":"mxpv"} |
Publish a new release of the openusd crate. The version argument is: $ARGUMENTS
Follow these steps:
Validate version: The arguments may include a version, highlights for the changelog, and/or other instructions — parse them out.
0.3.0) and must NOT include a v prefix.version in Cargo.toml: bump the minor component and reset the patch to 0 (e.g. 0.3.0 → 0.4.0, 0.9.1 → 0.10.0, 1.2.3 → 1.3.0).Pre-flight checks: Run these in parallel and stop if any fail:
cargo clippy --all-targets --all-features -- -D warningscargo fmt --all -- --check --files-with-diffcargo test --all-targets --all-featuresGenerate changelog:
git describe --tags --abbrev=0 to find the previous tag, then git log <prev_tag>..HEAD --pretty=format:"- %s (%h)" to list commits.main (about to become this version). Format each item as `<section>` <name> (e.g. `10.3.2.6` Relocates). Skip this section if no new spec coverage was added.- Add \ListOp::compose_over` for list-edit composition (82845fd)`./tmp/CHANGELOG-<version>.md), NOT to the repo. It is only used for the GitHub release notes.Bump version and commit: Edit the version field in Cargo.toml to <version>. Also update the dependency example in the "Getting started" section of README.md to the new version (use the major.minor form, e.g. openusd = "0.5" for 0.5.0). Stage Cargo.toml and README.md (Cargo.lock is gitignored). Commit with message Bump crate version to <version>.
Tag: Create tag v<version> on the version bump commit. Do NOT move the tag later — it must stay on this commit.
Update roadmap: In ROADMAP.md, replace every occurrence of the literal string `main` with `<version>` — this includes both the Version column cells and any `main` — annotations inside the Notes column. Use the Edit tool to make each replacement individually and precisely; do NOT use sed, awk, or any shell one-liner (they mangle backticks on macOS). After editing, run grep -n 'main' ROADMAP.md to confirm zero matches remain, then show the full git diff ROADMAP.md to the user and wait for confirmation before staging or committing anything. Commit with message Update ROADMAP only after the user approves the diff.
Publish to crates.io: Run cargo publish. Wait for confirmation from the user before running this step.
Push: Run git push --atomic origin HEAD v<version> to push commits and tag together. Wait for confirmation from the user before running this step.
Create GitHub release: Run gh release create v<version> --notes-file /tmp/CHANGELOG-<version>.md --latest.
Important:
--dry-run unless the user explicitly asks for a dry run.Source: mxpv/openusd — distributed by TomeVault.