LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bash-pro - Defensive Bash scripting for production automation

Writes, reviews, hardens, tests, and documents portable Bash scripts for automation, CI/CD, and system utilities.

Tags

Updated: 2026-10-04
Bashshell scriptingdefensive programmingCI/CDautomationportabilitysecuritytestingShellCheck

Capabilities

Define script failure modesApply Bash strict modeParse arguments safelyValidate external inputs

Typical Inputs

Bash scriptsScript requirementsCommand-line arguments

Typical Outputs

Bash scriptsTest resultsLint results

What this skill does

  • Define script failure modes
  • Apply Bash strict mode
  • Parse arguments safely
  • Validate external inputs
  • Manage files defensively
  • Handle temporary resources safely
  • Orchestrate processes safely
  • Implement structured logging
  • Add dry-run support
  • Write Bats tests
  • Run ShellCheck analysis
  • Format scripts with shfmt
  • Check platform compatibility
  • Document script interfaces
  • Integrate CI/CD workflows

Inputs

  • Bash scripts
  • Script requirements
  • Command-line arguments
  • Environment variables
  • Target platforms
  • CI/CD configuration

Outputs

  • Bash scripts
  • Test results
  • Lint results
  • Formatted source files
  • Usage documentation
  • CI/CD workflow changes

Requirements

  • Bash runtime
  • Bash 4.4 or newer
  • Bats framework
  • ShellCheck
  • shfmt

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.