用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TypedDevs/bashunit --skill pre-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | pre-release |
| description | Run comprehensive pre-release validation checklist |
| allowed-tools | Read, Bash, Grep, Glob |
Run all checks before releasing a new bashunit version.
Verify version matches across: package.json, CHANGELOG.md, src/bashunit.sh
./bashunit tests/unit/
./bashunit tests/functional/
./bashunit tests/acceptance/
./bashunit tests/
./bashunit --parallel tests/
All must pass. Run 3-5 times to catch flaky tests.
make sa # ShellCheck — zero warnings
make lint # EditorConfig — clean
# NB: no shfmt gate — it conflicts with .editorconfig here; make lint is the authority
CHANGELOG.md — version section complete with all changesREADME.md — examples current, no broken linksgrep -rn '\[\[' src/ # Should not use [[
grep -rn 'declare -A' src/ # No associative arrays
grep -rn '\${.*,,}' src/ # No case conversion
make docker/alpine
make docker/ubuntu
No hardcoded secrets, no unsafe eval, input validation present.
Review git log since last release. Breaking changes must be documented with migration guide.
gh run list --limit 5./bashunit --help
./bashunit --version
echo 'function test_smoke() { assert_equals "1" "1"; }' > /tmp/smoke_test.sh
./bashunit /tmp/smoke_test.sh
rm /tmp/smoke_test.sh
Report each check as pass/fail/warning. Only proceed to release when ALL checks pass.
git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin vX.Y.Z