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-code

Installs 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

  1. Define script inputs, outputs, and failure modes.
  2. Apply strict mode and safe argument parsing.
  3. Implement core logic with defensive patterns.
  4. 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
1alchemyplatform avataralchemy-clialchemyplatform/skillsUse the Alchemy CLI (`@alchemy/cli`) for live blockchain data, transaction lookups, NFT/token/portfolio queries, simulation, tracing/debugging, account abstract800skills.sh installs
2riba2534 avatarfeishu-cli-permriba2534/feishu-cli飞书云文档权限管理。支持添加/更新/删除/查看协作者、公开权限管理、分享密码、批量添加、 权限检查、转移所有权。当用户请求"添加权限"、"权限管理"、"共享文档"、"授权"、 "协作者"、"full_access"、"转移所有权"时使用。781skills.sh installs
3easysoft avatarzentao-clieasysoft/zentao-skills通过 zentao 命令行工具查询和操作禅道(ZenTao)数据,覆盖项目集、产品、项目、执行、需求、Bug、任务、测试用例、测试单、产品计划、版本、发布、反馈、工单、应用、用户、附件等模块的增删改查及状态流转。当用户提到禅道、zentao、查询项目进展、获取 Bug 列表、创建任务、更新需求状态等项目管理操作时使用本764skills.sh installs
4softaworks avatardatadog-clisoftaworks/agent-toolkitDatadog CLI for searching logs, querying metrics, tracing requests, and managing dashboards. Use this when debugging production issues or working with Datadog o738skills.sh installs
5alirezarezvani avatargoogle-workspace-clialirezarezvani/claude-skillsGoogle Workspace administration via the gws CLI (github.com/googleworkspace/cli). Install, authenticate, and automate Gmail, Drive, Sheets, Calendar, Docs, Chat645skills.sh installs
6code-and-sorts avatarjira-clicode-and-sorts/awesome-copilot-agentsInteract with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use wh643skills.sh installs