shell-scripting-fundamentals

Installation
SKILL.md

Shell Scripting Fundamentals

Core patterns and best practices for writing robust, maintainable shell scripts.

Script Structure

Always start scripts with a proper shebang and safety options:

#!/usr/bin/env bash
set -euo pipefail

# Script description here

Safety Options Explained

  • set -e: Exit on any command failure
  • set -u: Error on undefined variables
Related skills
Installs
28
GitHub Stars
150
First Seen
Jan 22, 2026