Skip to main content
Back to the directory
wshobson/agentsSoftware EngineeringFrontend and Design

bash-defensive-patterns

Production-grade Bash scripting with strict error handling, defensive patterns, and safety best practices.

SkillJury keeps community verdicts, source metadata, and external repository signals in separate lanes so ranking data never pretends to be a review.

SkillJury verdict
Pending

No approved reviews yet

Would recommend
Pending

Waiting on enough review volume

Install signal
6

Weekly or total install activity from catalog data

Sign in to review
0 review requests
Install command
npx skills add https://github.com/wshobson/agents --skill bash-defensive-patterns
SkillJury does not have enough approved reviews to publish a community verdict yet. Source metadata and repository proof are still available above.
SkillJury Signal Summary

As of Apr 30, 2026, bash-defensive-patterns has 6 weekly installs, 0 community reviews on SkillJury. Community votes currently stand at 0 upvotes and 0 downvotes. Source: wshobson/agents. Canonical URL: https://skills.sh/wshobson/agents/bash-defensive-patterns.

Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykWARN
About this skill
Production-grade Bash scripting with strict error handling, defensive patterns, and safety best practices. 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. Enable bash strict mode at the start of every script to catch errors early. Key flags: Implement proper cleanup on script exit or error. Always quote variables to prevent word splitting and globbing issues. Use arrays safely for complex data handling. Use [[ ]] for Bash-specific features, [ ] for POSIX. - Covers 10 fundamental patterns including strict mode ( set -Eeuo pipefail ), error trapping, variable quoting, array handling, and safe temporary file management - Includes advanced techniques for argument parsing, structured logging, process orchestration with signals, and idempotent script design - Provides templates for function definitions, file operations, command substitution, and dry-run support to prevent common pitfalls - Emphasizes input validation, dependency checking, and cleanup mechanisms to ensure reliability across different platforms and edge cases - Writing production automation scripts - Building CI/CD pipeline scripts - Creating system administration utilities - Developing error-resilient deployment automation - Writing scripts that must handle edge cases...

Source description provided by the upstream listing. Community review signal and install context stay separate from this narrative layer.

Community reviews

Latest reviews

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does bash-defensive-patterns do?

Production-grade Bash scripting with strict error handling, defensive patterns, and safety best practices.

Is bash-defensive-patterns good?

bash-defensive-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

Which AI agents support bash-defensive-patterns?

bash-defensive-patterns currently lists compatibility with Skills CLI.

Is bash-defensive-patterns safe to install?

bash-defensive-patterns has been scanned by security audit providers tracked on SkillJury. Check the security audits section on this page for detailed results from Socket.dev and Snyk.

What are alternatives to bash-defensive-patterns?

Skills in the same category include grimoire-morpho-blue, conversation-memory, second-brain-ingest, zai-tts.

How do I install bash-defensive-patterns?

Run the following command to install bash-defensive-patterns: npx skills add https://github.com/wshobson/agents --skill bash-defensive-patterns

Related skills

More from wshobson/agents

Related skills

Alternatives in Software Engineering