Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dokhacgiakhoa/bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing.
Passed 18 of 22 test cases with the skill, and 16 of 22 without it.
3 fixed15 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
The script `build.sh` produces a multi-line log output. I need to assert that somewhere in the log output, the string 'Build completed successfully' appears. What pattern matching assertion should be used?
| Checked | Without skill | With skill |
|---|---|---|
| The response uses regex matching with `[[ "$output" =~ ... ]]` to verify output content. | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive guidance for writing comprehensive unit tests for shell scripts using Bats (Bash Automated Testing System), including test patterns, fixtures, and best practices for production-grade shell testing.
resources/implementation-playbook.md.resources/implementation-playbook.md for detailed patterns and examples.test cases passed, vs 16 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.