用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/software-mansion/scarb --skill cairo-rc-bump-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | cairo-rc-bump-release |
| description | Use when preparing a Cairo release candidate bump across the local Cairo sibling repos. |
Use this workflow for coordinated Cairo RC bumps across local sibling repos such as:
proving-utilscairo-language-commoncairo-lintcairolsscarb2.17.0-rc.4.MAINTAINING.md and any local agent instructions before changing anything.[patch.crates-io]; use the repo's xtask upgrade flow and then verify there are no leftover unused patches.Before every mutating action, tell the user exactly what will be done next and wait for approval.
Treat all of these as mutating:
git fetchcargo publishDo not continue to the next mutating step until the user approves it.
main is the release branch.v2.17.0-rc.4.main unless the user explicitly asks.main was used by mistake, move the work onto the release branch first, then reset local main back to origin/main.main commit.origin/main is up to date locally, inspect whether local main matches it, and base the release branch or worktree on that latest origin/main.main, stop and ask before doing any syncing operation such as fetch, pull, reset, or worktree creation.proving-utilscairo-language-commoncairo-lintcairo-language-server / cairolsscarbmain commit.Cargo.lock with normal Cargo resolution.cargo check.cargo publish, if that crate is supposed to be released now.proving-utilsmain tip and the fork remote state before starting release work there.main.main is synced to that upstream main commit. If it is not, stop and ask before doing any syncing or corrective push on the fork.Cargo.lock.cairo-language-commoncargo xtask upgrade cairo <VERSION>. Otherwise apply the equivalent manifest change manually.cairo-lang-* dependencies to the exact RC version.[patch.crates-io].cargo metadata --format-version 1 and a clean cargo check.v<version> (e.g. v2.18.0-rc.0) pointing to the release commit.cairo-lintcargo xtask upgrade cairo <VERSION>.cairo-language-common to the exact RC version after it is published.[patch.crates-io].cargo metadata --format-version 1 and a clean cargo check.v<version> (e.g. v2.18.0-rc.0) pointing to the release commit.cairolscargo xtask upgrade cairo <VERSION>.cairo-language-common and cairo-lint to the exact RC version after they are published.[patch.crates-io].cargo metadata --format-version 1 and a clean cargo check.v<version> (e.g. v2.18.0-rc.0) pointing to the release commit.scarbmain.release/<version>.workspace.package.version to the RC.cargo xtask upgrade cairo <VERSION> to bump Cairo crates.cargo xtask upgrade cairo-lint <VERSION> to bump the lint dependency if that xtask exists in the repo.cairo-language-server and cairo-lint to the exact RC version only once those crates are visible on crates.io.[patch.crates-io].proving-utils in the user-provided fork checkout, commit the Cairo RC bump there on the same-named branch, push that branch, and point Scarb to the exact commit SHA. This is required for Scarb RC releases because otherwise version solving can become unresolvable.cargo metadata --format-version 1cargo check -p scarb-executev<version> (e.g. v2.18.0-rc.0) pointing to the release commit.If downstream resolution fails because a newly published crate is not yet visible on crates.io:
cargo info crate@versionDo not replace the release dependency with a patch section just to keep moving.
cargo publish is allowed, but only after an explicit approval message immediately before the command.cargo info crate@version until the requested version is visible before continuing downstream.cargo xtask upgrade cairo <VERSION> in repos that provide it.cargo xtask upgrade cairo-lint <VERSION> if that helper exists in the repo.[patch.crates-io] by hand after xtask.cargo check for the affected repo or targeted crate path before committing.Keep updates short and concrete. Before each mutating step, say exactly what will happen next.
Examples:
Waiting for your permission to fetch origin in the cairo-lint checkout and verify the release branch will be based on the latest origin/main.Waiting for your permission to check whether the proving-utils fork remote main is synced with upstream main before creating branch 2.17.0-rc.4.Waiting for your permission to fetch origin in the cairols checkout and create worktree 2.17.0-rc.4 from origin/main.Waiting for your permission to commit the cairo-lint release changes in the cairo-lint 2.17.0-rc.4 checkout.Waiting for your permission to push branch 2.17.0-rc.4 so you can open a PR and watch CI.CI is green on the release PR. Waiting for your permission to create and push tag v2.17.0-rc.4.Waiting for your permission to run cargo publish for cairo-language-server 2.17.0-rc.4.