SKILL13.5K installs41.8K

Bash Defensive Patterns

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.

Type
Skill
Author
wshobson
Category
Devops
GitHub stars
41.8K
Installs
13.5K
Last updated
November 2, 2026

Install

npx skills add https://github.com/wshobson/agents --skill bash-defensive-patterns

Use cases


Frequently Asked Questions

What kind of scripts is this for?

Production-grade shell scripts, CI/CD pipelines, and system utilities that need fault tolerance and safety.

Does it cover application code?

No, it is aimed at shell scripting rather than application code.

What does defensive mean in this context?

Techniques that keep scripts safe and fault tolerant, so silent failure is less costly.


About this skill

Teaches defensive Bash techniques for scripts that need to survive production use, including fault tolerance and safety practices. It fits CI/CD pipelines, system utilities, and any shell script where silent failure is costly. Aimed at shell scripting rather than application code.

Summary written with AI assistance from the project's public description.


Categories


More from wshobson


Similar Skills