← 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 ahang1598/doubao-workbuddy-qwenwork-skills (GitHub) · coding · 97 stars · scanned at commit 5e45653
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
- workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 141
@test "Output matches string" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 176
@test "File is created" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 211
setup() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 236
setup() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 268
load test_helper - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 298
my_external_tool() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 315
setup() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 349
@test "Function handles environment override" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 373
setup() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 400
generate_fixture() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 424
@test "Function fails with missing file" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 455
setup() { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 476
@test "Script works in bash" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 498
@test "Multiple independent operations" { - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 499
run bash -c 'for i in {1..10}; do - workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns/SKILL.md, line 524
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/ahang1598/doubao-workbuddy-qwenwork-skills' "$d" && git -C "$d" checkout --quiet '5e45653f59a2e4a2a65f575e8aaf7637165674d5' -- 'workbuddy/official_experts/external_plugins/shell-scripting/skills/bats-testing-patterns' && mkdir -p ~/.agents/skills && cp -R "$d"/'workbuddy/official_experts/external_plugins/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 ahang1598/doubao-workbuddy-qwenwork-skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/ahang1598/doubao-workbuddy-qwenwork-skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | 5e45653 | 67 |
Also found in
Identical copies of this skill exist at:
- infometa/workbuddyskills/plugins/codebuddy-plugins-official/external_plugins/shell-scripting/skills/bats-testing-patterns