一键导入
project-pin-crates
Pin managed crates and workflow runtime crate versions to an exact release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pin managed crates and workflow runtime crate versions to an exact release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | project-pin-crates |
| description | Pin managed crates and workflow runtime crate versions to an exact release. |
| argument-hint | --version <x.y.z> [--targets <t,…>] [--dry-run] |
| allowed-tools | Bash, Read |
Prereqs:
bash, git, perl, and python3 available on PATH.codex-cli, crates.io for cargo-managed targets.semantic-commit required when --auto-commit or --auto-push is enabled.Inputs:
--version <x.y.z|pre-release>--targets <target[,target...]>--all (pin all managed targets; default when --targets omitted)--dry-run (validate and print planned updates without writing files)--update-lock (run cargo update -p <crate> --precise <version> for cargo targets)--auto-commit (stage touched files and create a semantic commit)--auto-push (push current branch after auto-commit; implies --auto-commit)--push-remote <remote> (remote name for auto-push; default origin)--list-targetsManaged targets:
codex-cli
codex-cli, codex, nils-codex-clisympoies/nils-cli GitHub release bundlememo
memo, nils-memonils-memoOutputs:
Exit codes:
0: success1: runtime failure2: usage errorFailure modes:
--version missing (except --list-targets).--targets.cargo update failed when --update-lock is enabled.semantic-commit missing when --auto-commit/--auto-push is enabled.--auto-commit is enabled.git push failed when --auto-push is enabled.<PROJECT_ROOT>/.agents/skills/project-pin-crates/scripts/project-pin-crates.shcodex-cli: runtime script and docs pin strings.memo: cargo dependency and docs pin strings.--update-lock) for cargo targets.This is a project-local skill scoped to version pinning for this repository's
managed crates and workflow runtime versions. It only touches the documented
target mappings (pin strings, related docs text, and the Cargo lockfile under
--update-lock) and — when explicitly requested — creates a semantic-commit
and pushes the current branch. It must not mutate runtime-kit manifests,
rendered product output, global runtime homes, credentials, sessions, or files
outside the declared managed targets.