bash-conventions
OfficialWrite robust, portable Bash scripts.
Authorzb-ss
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide and best practices for writing secure, portable, and maintainable Bash scripts, reducing errors and improving script reliability.
Core Features & Use Cases
- Error Handling: Implements robust error checking, traps, and safe variable handling.
- Portability: Offers guidance on writing scripts that work across different Unix-like systems.
- Testing: Includes examples for testing Bash scripts using BATS.
- Use Case: Ensure your deployment scripts are safe, don't fail unexpectedly, and run consistently across development, staging, and production environments.
Quick Start
Apply the bash-conventions skill to review and improve the provided script for better error handling and portability.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bash-conventions Download link: https://github.com/zb-ss/opencode-workflows/archive/main.zip#bash-conventions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.