
Bash Pro
Defensive Bash scripting guide for production automation, CI/CD pipelines, and portable system utilities with strict error handling.
- CCM score
- 49 of 100
- skills.sh installs
- 985
- GitHub stars
- 50.3K
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers strict-mode scripting, safe argument parsing, temporary file handling, process orchestration, and cross-platform portability between Linux and macOS
- Includes checks for
set -Eeuo pipefail, quoting and NUL-safe iteration,mktempcleanup traps, and dry-run modes before destructive actions - Enforces testing and static analysis with Bats and ShellCheck, plus formatting with shfmt, along with a ban on
evalfor untrusted input - Designed for teams writing or hardening Bash scripts for CI/CD pipelines and operations work, not for POSIX-only or Windows scripting
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill bash-pro -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Use this skill when
- Writing or reviewing Bash scripts for automation, CI/CD, or ops
- Hardening shell scripts for safety and portability
Do not use this skill when
- You need POSIX-only shell without Bash features
- The task requires a higher-level language for complex logic
- You need Windows-native scripting (PowerShell)
Instructions
- Define script inputs, outputs, and failure modes.
- Apply strict mode and safe argument parsing.
- Implement core logic with defensive patterns.
- Add tests and linting with Bats and ShellCheck.
Safety
- Treat input as untrusted; avoid eval and unsafe globbing.
- Prefer dry-run modes before destructive actions.
Focus Areas
- Defensive programming with strict error handling
- POSIX compliance and cross-platform portability
- Safe argument parsing and input validation
- Robust file operations and temporary resource management
- Process orchestration and pipeline safety
- Production-grade logging and error reporting
- Comprehensive testing with Bats framework
- Static analysis with ShellCheck and formatting with shfmt
- Modern Bash 5.x features and best practices
- CI/CD integration and automation workflows
Approach
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Categories
- CLI & Terminal, DevOps & Cloud
- First seen
- May 16, 2026
More from sickn33/agentic-awesome-skills
All 682- Autonomous Agent Patterns979
- Voice Ai Development974
- Agent Tool Builder973
- Codebase Cleanup Refactor Clean972
- Computer Use Agents972
- Quant Analyst972
- Ai Product970
- Outlook Calendar Automation967
- Plaid Fintech963
- Antigravity Design Expert950
- Agent Manager Skill942
- Planning With Files941
- Reverse Engineer941
- React Best Practices935
- Data Scientist933
- Git Pushing932
- Claude Scientific Skills929
- Performance Engineer929
- Antigravity Workflows924
- Architecture Patterns924
- Google Drive Automation917
- Python Pro917
- Web Design Guidelines908
- Voice Agents905
Similar to Bash Pro
More CLI & Terminal
bash-defensive-patternssickn33/agentic-awesome-skills319 installsDefensive Bash guidance for production scripts covering strict mode, input validation, safe file handling, and logging.
bash-scriptingsickn33/agentic-awesome-skills2.5K installsPhased workflow index for building production-ready bash scripts with defensive patterns, error handling, and testing.
bash-masterjosiahsiegel/claude-plugin-marketplace467 installsExpert Bash scripting guide covering safety, portability across Linux, macOS, WSL, Git Bash, and containers.
shellpproenca/dot-skills717 installsShell scripting guide of 49 rules for safe, portable, and maintainable bash and POSIX sh scripts.
shellcheck-configurationwshobson/agents12.3K installsSetup and triage guide for ShellCheck static analysis, covering shell script linting, suppressions, and portability.