Skip to content
B

bash-defensive-patterns

Master defensive Bash programming techniques for production-grade scripts

by wshobsonFree

#1712in AI Skills
0In stores

Description

bash-defensive-patterns is an agent skill from the wshobson/agents collection for writing production-grade Bash scripts. It collects defensi…

Highlights

  • Defensive Bash techniques for production scripts
  • Error handling and safe variable use
  • Logging and monitoring patterns
  • Guidance for CI/CD and deployment scripts
  • Detailed examples in a reference file
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate bash-defensive-patterns.

People also visit

B

bash-scripting

Bash scripting workflow for creating production-ready shell scripts

AI Skills
Get
B

bash-master

Expert bash/shell scripting system across ALL platforms

AI Skills
Get
S

shellcheck-configuration

Master ShellCheck static analysis configuration and usage

AI Skills
Get
B

bats-testing-patterns

Master Bash Automated Testing System

AI Skills
Get
B

bash-linux

Bash/Linux terminal patterns

AI Skills
Get
D

Dippy

by Lily Dayton - Auto-approve safe bash commands

AI Skills
Get

bash-defensive-patterns FAQ

What does this skill cover?

Defensive techniques for writing reliable Bash scripts, including error handling, safe variable handling and logging.

Which scripts is it for?

Automation scripts, CI/CD pipelines, system administration utilities and deployment helpers.

Where are the detailed examples?

In a reference file named references/details.md, which the agent reads when the main guidance is not enough.

Does it cover edge cases?

Yes. It is written for scripts that must handle edge cases safely and work across platforms.

How do I install it?

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

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best bash-defensive-patterns alternatives?

Popular alternatives to bash-defensive-patterns include bash-scripting, bash-master and shellcheck-configuration. See all bash-defensive-patterns alternatives

Developer Stuff

Badges