pre-release

A checklist for checking a new bashunit release, including version files, tests, code checks, documentation, compatibility, security, and breaking changes. bashunit is a Bash testing tool, and Bash is the command-line scripting language being checked.

In plain words
What is it for?
Preparing bashunit releases, running the full test suite repeatedly, checking ShellCheck and formatting, testing on Linux distributions, scanning for unsafe code, and reviewing breaking changes.
Why use it?
A release can fail because files show different versions, tests are flaky, documentation is outdated, or the code uses features unavailable in older Bash versions. The checklist gathers these checks in one process.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/typeddevs/bashunit/pre-release
Any agent
npx skills add TypedDevs/bashunit --skill pre-release
Clone the repo
git clone --depth 1 https://github.com/TypedDevs/bashunit

Made for: Claude Code, Codex.

Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00529
Opus 5 $0.00005 $0.00264
Sonnet 5 $0.00002 $0.00106
Haiku 4.5 $0.00001 $0.00053

Measured 2d ago against content hash 30339dc2f8d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pre-release scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/pre-release/SKILL.md · 91 lines

What it actually says

Pre-Release Validation

Run all checks before releasing a new bashunit version.

Checklist

1. Version Consistency

Verify version matches across: package.json, CHANGELOG.md, src/bashunit.sh

2. Full Test Suite

./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.

3. Static Analysis & Formatting

make sa           # ShellCheck — zero warnings
make lint         # EditorConfig — clean
# NB: no shfmt gate — it conflicts with .editorconfig here; make lint is the authority

4. Documentation

  • CHANGELOG.md — version section complete with all changes
  • README.md — examples current, no broken links
  • No remaining TODOs/FIXMEs in docs

5. Bash 3.0+ Compatibility

grep -rn '\[\[' src/            # Should not use [[
grep -rn 'declare -A' src/      # No associative arrays
grep -rn '\${.*,,}' src/        # No case conversion

6. Cross-Platform (if Docker available)

make docker/alpine
make docker/ubuntu

7. Security Scan

No hardcoded secrets, no unsafe eval, input validation present.

8. Breaking Changes

Review git log since last release. Breaking changes must be documented with migration guide.

9. Git & CI Status

  • Working directory clean
  • All CI checks passing: gh run list --limit 5

10. Smoke Test

./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

Output

Report each check as pass/fail/warning. Only proceed to release when ALL checks pass.

After Validation

git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin vX.Y.Z
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 91 lines · 9 tokens per session scan A 30339dc2f8d0

Subscribe to this mod's changes

pre-release is a skill published in the GitHub repository TypedDevs/bashunit (424 stars, last pushed 2d ago), licensed MIT. It adds 9 tokens to every session and 529 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

x-nets

Enhanced netstat module with cached data and structured output. View network connections, routing tables, and interface statistics in interactive or TSV/CSV formats. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

x-mankier

Search and browse man pages from ManKier.com. Command line interface for ManKier man page repository. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 62 tokens

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).

x-cmd/x-cmd · 72 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens