This skill equips Claude with advanced shell scripting capabilities focused on the 'Defensive Bash' paradigm, designed to prevent common pitfalls such as word splitting, silent pipe failures, and unhandled errors. It provides comprehensive patterns for strict mode initialization, robust error trapping, safe variable expansion, and idempotent design. By applying these standards, developers can transform brittle, legacy-style scripts into resilient, production-ready utilities suitable for mission-critical CI/CD pipelines, system administration, and infrastructure automation tasks.
主な機能
01Comprehensive error trapping and automated cleanup routines
02Strict mode implementation using set -Eeuo pipefail
03Safe variable quoting and advanced array handling patterns
04Robust argument parsing and structured logging systems
05Idempotent script design with integrated dry-run support
061 GitHub stars