Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
.claude/skills/dokhacgiakhoa-bash-defensive-patterns/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✓→✓ | = Same ✓ | 43% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 34% | 0% |
| case-09 | ✓→✓ | = Same ✓ | 30% | 0% |
| case-10 | ✗→✗ | = Same ✗ | 47% | 0% |
| case-01 | ✗→✗ | = Same ✗ | 26% | 0% |
Comprehensive guidance for writing production-ready Bash scripts using defensive programming techniques, error handling, and safety best practices to prevent common pitfalls and ensure reliability.
Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.
resources/implementation-playbook.md for detailed patterns, checklists, and templates.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-10 | fail→fail | 14,099 | 17,072 | +21% | 1 | 1 | 0% | 2,845 | 4,185 | +47% | 0 | 0 | — |
case-01 | fail→fail | 16,067 | 23,778 | +48% | 1 | 1 | 0% | 3,367 | 4,242 | +26% | 0 | 0 | — |
case-02 | fail→fail | 16,820 | 20,655 | +23% | 1 | 1 | 0% | 3,620 | 5,063 | +40% | 0 | 0 | — |
case-03 | fail→fail | 6,752 | 6,748 | -0% | 1 | 1 | 0% | 1,331 | 1,696 | +27% | 0 | 0 | — |
case-04 | pass→pass | 11,928 | 17,760 | +49% | 1 | 1 | 0% | 2,233 | 3,186 | +43% | 0 | 0 | — |
case-05 | pass→pass | 18,207 | 22,468 | +23% | 1 | 1 | 0% | 4,223 | 5,666 | +34% | 0 | 0 | — |
case-06 | fail→fail | 26,053 | 17,716 | -32% | 1 | 1 | 0% | 4,285 | 3,954 | -8% | 0 | 0 | — |
case-07 | fail→fail | 9,602 | 15,737 | +64% | 1 | 1 | 0% | 2,049 | 2,882 | +41% | 0 | 0 | — |
case-08 | fail→fail | 14,787 | 17,159 | +16% | 1 | 1 | 0% | 3,172 | 4,156 | +31% | 0 | 0 | — |
case-09 | pass→pass | 11,555 | 13,101 | +13% | 1 | 1 | 0% | 2,317 | 3,018 | +30% | 0 | 0 | — |
case-11 | fail→fail | 10,943 | 14,463 | +32% | 1 | 1 | 0% | 2,509 | 3,493 | +39% | 0 | 0 | — |
case-12 | fail→fail | 11,787 | 14,883 | +26% | 1 | 1 | 0% | 2,443 | 3,195 | +31% | 0 | 0 | — |
case-13 | fail→fail | 17,592 | 20,123 | +14% | 1 | 1 | 0% | 3,445 | 4,400 | +28% | 0 | 0 | — |
case-14 | fail→fail | 25,539 | 31,369 | +23% | 1 | 1 | 0% | 5,166 | 5,799 | +12% | 0 | 0 | — |
case-15 | fail→fail | 20,229 | 40,989 | +103% | 1 | 1 | 0% | 4,096 | 7,122 | +74% | 0 | 0 | — |
case-16 | fail→fail | 9,214 | 10,203 | +11% | 1 | 1 | 0% | 1,618 | 2,201 | +36% | 0 | 0 | — |
case-17 | fail→fail | 11,388 | 16,827 | +48% | 1 | 1 | 0% | 2,207 | 3,137 | +42% | 0 | 0 | — |
case-18 | fail→fail | 13,848 | 18,833 | +36% | 1 | 1 | 0% | 2,750 | 4,272 | +55% | 0 | 0 | — |
case-19 | fail→fail | 11,489 | 20,204 | +76% | 1 | 1 | 0% | 1,873 | 3,947 | +111% | 0 | 0 | — |
case-20 | fail→fail | 13,623 | 23,744 | +74% | 1 | 1 | 0% | 2,810 | 5,650 | +101% | 0 | 0 | — |
case-21 | fail→fail | 14,598 | 27,624 | +89% | 1 | 1 | 0% | 2,844 | 6,065 | +113% | 0 | 0 | — |
case-22 | fail→fail | 22,998 | 25,463 | +11% | 1 | 1 | 0% | 4,002 | 5,206 | +30% | 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 0 percentage points is the difference between those two pass rates over the 22 comparable cases.
Other measured skills in the registry, with their headline benchmark lift.