Skip to content
B

bash-defensive-patterns

Master defensive Bash programming techniques for production-grade scripts

by wshobsonFree

Launch
#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

bats-testing-patterns

Master Bash Automated Testing System

AI Skills
Launch
S

shellcheck-configuration

Master ShellCheck static analysis configuration and usage

AI Skills
Launch
B

bash-scripting

Bash scripting workflow for creating production-ready shell scripts

AI Skills
Launch
A

azure-cost-optimization

Identify cost savings across Azure subscriptions through resource analysis

AI Skills
Launch
G

gitlab-ci-patterns

Build GitLab CI/CD pipelines

AI Skills
Launch
K

k8s-manifest-generator

Create production-ready Kubernetes manifests for Deployments, Services

AI Skills
Launch

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 bats-testing-patterns, shellcheck-configuration and bash-scripting. See all bash-defensive-patterns alternatives

Developer Stuff

Badges