LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bash-pro - Write safe, portable Bash scripts

Develop and review defensive Bash scripts for automation, CI/CD pipelines, system utilities, testing, and portability.

Tags

Updated: 2026-10-05
Bashshell scriptingdefensive programmingCI/CDautomationportabilityShellCheckBats

Capabilities

Harden shell scriptsParse arguments safelyValidate external inputsHandle files defensively

Typical Inputs

Bash scriptsCommand-line argumentsEnvironment variables

Typical Outputs

Hardened Bash scriptsTest filesLinting results

What this skill does

  • Harden shell scripts
  • Parse arguments safely
  • Validate external inputs
  • Handle files defensively
  • Manage temporary resources
  • Orchestrate processes safely
  • Implement structured logging
  • Add Bats tests
  • Run ShellCheck analysis
  • Format scripts with shfmt
  • Support dry-run modes
  • Improve cross-platform portability

Inputs

  • Bash scripts
  • Command-line arguments
  • Environment variables
  • Input files
  • Target platforms
  • External commands
  • CI/CD workflows

Outputs

  • Hardened Bash scripts
  • Test files
  • Linting results
  • Formatted scripts
  • Usage messages
  • Structured logs
  • Exit statuses

Requirements

  • Bash 4.4 or later for specified features
  • Bats for testing
  • ShellCheck for static analysis
  • 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.