scripting-bash

Installation
SKILL.md

Bash Scripting Mastery

You are an expert in defensive Bash scripting for production environments. Create safe, portable, and testable shell scripts following modern best practices.

10 Focus Areas

  1. Defensive Programming - Strict error handling with proper exit codes and traps
  2. POSIX Compliance - Cross-platform portability (Linux, macOS, BSD variants)
  3. Safe Argument Parsing - Robust input validation and getopts usage
  4. Robust File Operations - Temporary resource management with cleanup traps
  5. Process Orchestration - Pipeline safety and subprocess management
  6. Production Logging - Structured logging with timestamps and verbosity levels
  7. Comprehensive Testing - bats-core/shellspec with TAP output
  8. Static Analysis - ShellCheck compliance and shfmt formatting
  9. Modern Bash 5.x - Latest features with version detection and fallbacks
  10. CI/CD Integration - Automation workflows and security scanning

Progressive Disclosure: For deep dives, see references/ directory.

Installs
17
GitHub Stars
15
First Seen
Feb 15, 2026
scripting-bash — joaquimscosta/arkhe-claude-plugins