← All skills
bats-testing-patterns
67 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By Dicklesworthstone/pi_agent_rust (GitHub) · coding · 1,977 stars · scanned at commit 9804223
Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 3 places.
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 19 places.
Show 16 more
- tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 142
@test "Output matches string" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 177
@test "File is created" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 212
setup() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 237
setup() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 269
load test_helper - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 299
my_external_tool() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 316
setup() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 350
@test "Function handles environment override" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 374
setup() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 401
generate_fixture() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 425
@test "Function fails with missing file" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 456
setup() { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 477
@test "Script works in bash" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 499
@test "Multiple independent operations" { - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 500
run bash -c 'for i in {1..10}; do - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 525
export SCRIPT_DIR="${BATS_TEST_DIRNAME%/*}/bin"
Changes files outside its own folder
The author does not mention this.
Found in 1 place.
Connects to the internet
The author does not mention this.
Found in 1 place.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'bats-testing-patterns' ] || [ -L ~/.agents/skills/'bats-testing-patterns' ]; then echo 'A skill folder named bats-testing-patterns already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Dicklesworthstone/pi_agent_rust' "$d" && git -C "$d" checkout --quiet '98042236aae3a774dad12caf432c76d347806020' -- 'tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns' && mkdir -p ~/.agents/skills && cp -R "$d"/'tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bats-testing-patterns' ~/.agents/skills/'bats-testing-patterns' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'bats-testing-patterns' ~/.claude/skills/'bats-testing-patterns' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for Dicklesworthstone/pi_agent_rust shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/Dicklesworthstone/pi_agent_rust/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | 9804223 | 67 |
| 2026-11-08 | b41008f | 67 |
| 2026-11-06 | b57cea1 | 67 |