bash-scripting
Installation
SKILL.md
Bash Scripting & Shell Best Practices
Comprehensive guide to writing robust, maintainable, and secure shell scripts following modern best practices. Master Bash, Zsh, error handling, and leverage powerful command-line tools for automation.
Core Competencies
- Script Structure
- Proper shebang usage (#!/bin/bash or #!/usr/bin/env bash)
- Set safe defaults:
set -euo pipefail - Organize code into functions
- Include usage/help information
- Add comments for complex logic