LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bash-pro - Write safe, portable Bash scripts

Writes and reviews defensive Bash scripts for production automation, CI/CD pipelines, and system utilities.

Tags

Updated: 2026-10-04
Bashshell scriptingautomationCI/CDportabilitysecuritytestingShellCheck

Capabilities

Harden shell scriptsParse arguments safelyValidate external inputsHandle files defensively

Typical Inputs

Bash script sourceCommand-line argumentsEnvironment variables

Typical Outputs

Revised Bash scriptsTest filesLinting results

What this skill does

  • Harden shell scripts
  • Parse arguments safely
  • Validate external inputs
  • Handle files defensively
  • Orchestrate processes safely
  • Add structured logging
  • Create cleanup traps
  • Write Bats tests
  • Run ShellCheck analysis
  • Format with shfmt

Inputs

  • Bash script source
  • Command-line arguments
  • Environment variables
  • Input files
  • Target platforms
  • External command availability

Outputs

  • Revised Bash scripts
  • Test files
  • Linting results
  • Formatted shell files
  • Usage documentation
  • Log messages
  • Exit statuses

Requirements

  • Bash runtime
  • Bash 4.4+ for selected features
  • Bats for testing
  • ShellCheck for linting
  • shfmt for formatting

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.