Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/dokhacgiakhoa-bats-testing-patterns/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 21% | 0% |
| case-16 | ✓→✗ | ▼ Worse | -40% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 11% | 0% |
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.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 17,008 | 30,333 | +78% | 1 | 1 | 0% | 3,648 | 3,171 | -13% | 0 | 0 | — |
case-02 | fail→fail | 20,784 | 24,627 | +18% | 1 | 1 | 0% | 4,324 | 4,496 | +4% | 0 | 0 | — |
case-03 | fail→fail | 20,721 | 16,185 | -22% | 1 | 1 | 0% | 4,909 | 3,311 | -33% | 0 | 0 | — |
case-04 | pass→pass | 15,891 | 12,371 | -22% | 1 | 1 | 0% | 2,602 | 2,892 | +11% | 0 | 0 | — |
case-05 | pass→pass | 24,760 | 27,818 | +12% | 1 | 1 | 0% | 4,962 | 4,748 | -4% | 0 | 0 | — |
case-22 | pass→pass | 7,431 | 5,991 | -19% | 1 | 1 | 0% | 1,507 | 1,424 | -6% | 0 | 0 | — |
case-06 | pass→pass | 18,471 | 17,825 | -3% | 1 | 1 | 0% | 4,157 | 4,526 | +9% | 0 | 0 | — |
case-07 | pass→pass | 14,092 | 9,018 | -36% | 1 | 1 | 0% | 2,539 | 1,881 | -26% | 0 | 0 | — |
case-08 | pass→pass | 8,129 | 6,023 | -26% | 1 | 1 | 0% | 1,655 | 1,412 | -15% | 0 | 0 | — |
case-09 | pass→pass | 8,136 | 7,865 | -3% | 1 | 1 | 0% | 1,644 | 1,817 | +11% | 0 | 0 | — |
case-10 | pass→pass | 9,278 | 7,925 | -15% | 1 | 1 | 0% | 1,946 | 1,960 | +1% | 0 | 0 | — |
case-11 | fail→pass | 9,779 | 9,228 | -6% | 1 | 1 | 0% | 1,955 | 2,151 | +10% | 0 | 0 | — |
case-12 | pass→pass | 9,767 | 5,183 | -47% | 1 | 1 | 0% | 2,050 | 1,359 | -34% | 0 | 0 | — |
case-13 | pass→pass | 13,253 | 10,477 | -21% | 1 | 1 | 0% | 1,973 | 2,028 | +3% | 0 | 0 | — |
case-14 | pass→pass | 17,211 | 15,352 | -11% | 1 | 1 | 0% | 2,630 | 3,101 | +18% | 0 | 0 | — |
case-15 | fail→pass | 11,485 | 10,812 | -6% | 1 | 1 | 0% | 2,224 | 2,368 | +6% | 0 | 0 | — |
case-16 | pass→fail | 12,253 | 6,785 | -45% | 1 | 1 | 0% | 2,359 | 1,424 | -40% | 0 | 0 | — |
case-17 | pass→pass | 10,979 | 8,129 | -26% | 1 | 1 | 0% | 2,081 | 1,808 | -13% | 0 | 0 | — |
case-18 | fail→pass | 8,701 | 8,073 | -7% | 1 | 1 | 0% | 1,412 | 1,708 | +21% | 0 | 0 | — |
case-19 | pass→pass | 13,569 | 11,941 | -12% | 1 | 1 | 0% | 2,642 | 2,427 | -8% | 0 | 0 | — |
case-20 | pass→pass | 18,003 | 13,868 | -23% | 1 | 1 | 0% | 2,717 | 2,546 | -6% | 0 | 0 | — |
case-21 | pass→pass | 9,277 | 7,705 | -17% | 1 | 1 | 0% | 1,861 | 1,619 | -13% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.