LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bash-scripting - Defensive Bash Scripting for Production and CI/CD

Provides patterns, standards, and techniques for authoring safe, portable, and testable shell scripts for automation and CI/CD pipelines.

Tags

Updated: 2026-09-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write defensive Bash scripts
  • Validate script inputs and parameters
  • Manage temporary files and cleanup
  • Run ShellCheck static analysis
  • Format code with shfmt
  • Test scripts using Bats framework

Inputs

  • Shell script source code
  • Automation requirements
  • CI/CD pipeline specifications

Outputs

  • Defensive Bash scripts
  • Bats test suites
  • CI/CD pipeline configuration files
  • Static analysis configuration files
  • Script documentation

Requirements

  • Bash runtime environment
  • ShellCheck analysis tool
  • shfmt formatting tool
  • Bats testing framework

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.
bash
shell-scripting
automation
ci-cd
shellcheck
Write defensive Bash scripts
Validate script inputs and parameters
Manage temporary files and cleanup
Run ShellCheck static analysis
Shell script source code
Automation requirements
CI/CD pipeline specifications
Defensive Bash scripts
Bats test suites
CI/CD pipeline configuration files