If you're writing shell scripts for production environments or CI/CD pipelines, this skill enforces defensive patterns that prevent the usual footguns. It defaults to strict mode with proper error trapping, safe argument parsing with getopts, and comprehensive input validation. The approach is opinionated about things like NUL-safe file iteration, proper quoting to avoid word splitting, and using arrays instead of parsing ls output. It also integrates testing with Bats and static analysis with ShellCheck, which honestly should be standard but often isn't. The focus on portability across Linux, macOS, and BSD variants is useful if you maintain scripts that run in different environments.
- skills.sh installs
- 813
- GitHub stars
- 43.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill bash-pro --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- CLI & Terminal
- First seen
- May 16, 2026
More from sickn33/antigravity-awesome-skills
All 708- Outlook Calendar Automation812
- Git Pushing810
- Codebase Cleanup Refactor Clean808
- Red Team Tactics808
- Claude Scientific Skills806
- Voice Ai Development804
- Code Reviewer796
- Architecture Patterns787
- Server Management782
- Quant Analyst775
- Data Scientist774
- Plan Writing772
- Voice Agents771
- Clerk Auth767
- Web Design Guidelines766
- Ai Wrapper Product762
- React Best Practices762
- Agent Orchestration Multi Agent Optimize760
- Prompt Caching760
- Notebooklm751
- Architecture Decision Records749
- Deployment Procedures749
- Notion Template Business749
- Antigravity Workflows748
