用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cbgbt/bottlerocket-forest --skill update-twoliter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Edit Bottlerocket RPM spec files following project style conventions
Transform a rough plan into implement-commit ready artifacts. Allows rigorous review while implementing.
Implement commits from an implementation plan using a TDD pipeline
基于 SOC 职业分类
正在显示 SKILL.md
| name | update-twoliter |
| description | Update all Bottlerocket repositories to a new Twoliter version |
Update all repositories in the forest to a new version of Twoliter. This creates git commits in core-kit, kernel-kit, and bottlerocket repositories with the updated version and SHA256 checksums.
Replace X.Y.Z with the target version (e.g., 0.13.0 or 0.13.0-rc1):
# For x86_64
curl -sSL "https://github.com/bottlerocket-os/twoliter/releases/download/vX.Y.Z/twoliter-x86_64-unknown-linux-musl.tar.xz.sha256"
# For aarch64
curl -sSL "https://github.com/bottlerocket-os/twoliter/releases/download/vX.Y.Z/twoliter-aarch64-unknown-linux-musl.tar.xz.sha256"
For each kit in the worktree (e.g., bottlerocket-core-kit, bottlerocket-kernel-kit), edit the Makefile:
TWOLITER_VERSION ?= "X.Y.Z"
TWOLITER_SHA256_AARCH64 ?= "<aarch64-sha256>"
TWOLITER_SHA256_X86_64 ?= "<x86_64-sha256>"
Commit each kit:
cd kits/<kit-name>
git add Makefile
git commit -m "chore: bump to twoliter X.Y.Z"
cd ../..
Edit bottlerocket/Makefile.toml in the worktree (note the v prefix):
TWOLITER_VERSION = "vX.Y.Z"
TWOLITER_SHA256_AARCH64 = "<aarch64-sha256>"
TWOLITER_SHA256_X86_64 = "<x86_64-sha256>"
Commit:
cd bottlerocket
git add Makefile.toml
git commit -m "chore: bump to twoliter X.Y.Z"
Verify commits were created in all kits and bottlerocket:
# Check each kit
for kit in kits/*/; do
echo "=== $(basename $kit) ==="
(cd "$kit" && git show HEAD --stat)
done
# Check bottlerocket
(cd bottlerocket && git show HEAD --stat)
Each should show:
chore: bump to twoliter X.Y.ZSHA256 checksum not found:
https://github.com/bottlerocket-os/twoliter/releases/tag/vX.Y.ZWrong version format:
"X.Y.Z" (no v prefix) in their Makefiles"vX.Y.Z" (with v prefix) in Makefile.tomlAmending commits: If you need to update an existing commit (e.g., moving from RC to stable):
# Make the file changes, then:
git add <file>
git commit --amend -m "chore: bump to twoliter X.Y.Z"