用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cbgbt/bottlerocket-forest --skill test-local-twoliter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | test-local-twoliter |
| description | Build and test local changes to twoliter before releasing |
Build twoliter from local source and configure kits to use the locally-built binary for testing changes before release.
Edit files in twoliter/twoliter/src/ or twoliter/twoliter/embedded/.
cd twoliter
cargo build --release
The binary will be at target/release/twoliter.
Override TWOLITER_DIR to point to your local build directory:
cd kits/bottlerocket-core-kit
make build TWOLITER_DIR=./twoliter/target/release
After making more changes:
# Rebuild twoliter
cd ./twoliter
cargo build --release
# Test again
cd kits/bottlerocket-core-kit
make build TWOLITER_DIR=./twoliter/target/release
Verify the local twoliter is being used by checking the path:
cd kits/bottlerocket-core-kit
make build TWOLITER_DIR=./twoliter/target/release 2>&1 | head -5
You should see your modified twoliter being invoked.
Changes not taking effect:
cargo build --release after making changesTWOLITER_DIR is correctls -lh ./twoliter/target/release/twoliterBuild errors in twoliter:
cargo check to see detailed error messagescargo clippy to catch common issuescargo test to verify tests passKit build fails with local twoliter:
--log-level debug by modifying the Makefile temporarily or using the twoliter binary directlyTo go back to using the released version, simply omit the TWOLITER_DIR override:
cd kits/bottlerocket-core-kit
make build
This uses the default tools/twoliter/twoliter from the released version.