Tooluck logoTooluck
SKILL.md

bash-pro

Agent skill fromrmyndharis/antigravity-skills

Master of defensive Bash scripting for production automation, CI/CD

How to install bash-pro

install bash-pro
# install the antigravity-skills pack with the skills CLI
npx skills add rmyndharis/antigravity-skills

# or add only this skill to Claude Code: copy the folder

skills/bash-pro/

# into

~/.claude/skills/bash-pro/ (all projects)

.claude/skills/bash-pro/ (one project)

skills/bash-pro/SKILL.md

MITFull file
1## Use this skill when
2
3- Writing or reviewing Bash scripts for automation, CI/CD, or ops
4- Hardening shell scripts for safety and portability
5
6## Do not use this skill when
7
8- You need POSIX-only shell without Bash features
9- The task requires a higher-level language for complex logic
10- You need Windows-native scripting (PowerShell)
11
12## Instructions
13
141. Define script inputs, outputs, and failure modes.
152. Apply strict mode and safe argument parsing.
163. Implement core logic with defensive patterns.
174. Add tests and linting with Bats and ShellCheck.
18
19## Safety
20
21- Treat input as untrusted; avoid eval and unsafe globbing.
22- Prefer dry-run modes before destructive actions.
23
24## Focus Areas
25
26- Defensive programming with strict error handling
27- POSIX compliance and cross-platform portability
28- Safe argument parsing and input validation
29- Robust file operations and temporary resource management
30- Process orchestration and pipeline safety
31- Production-grade logging and error reporting
32- Comprehensive testing with Bats framework
33- Static analysis with ShellCheck and formatting with shfmt
34- Modern Bash 5.x features and best practices
35- CI/CD integration and automation workflows
36
37## Approach
38
39- Always use strict mode with `set -Eeuo pipefail` and proper error trapping
40- Quote all variable expansions to prevent word splitting and globbing issues
41- Prefer arrays and proper iteration over unsafe patterns like `for f in $(ls)`
42…

Excerpt shown under the repository's MIT license.

More skills in antigravity-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates