LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bash-shell-scripting - Bash scripting best practices and patterns

Provides bash scripting best practices for production scripts, CLI tools, and Makefiles with strict mode and error handling.

Tags

Updated: 2026-03-10

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • write bash scripts
  • parse command-line arguments
  • handle errors
  • validate shell scripts
  • format shell scripts
  • check command existence
  • create lock files
  • manage temporary files
  • use shell arrays

Inputs

  • shell source files
  • Makefile
  • script template

Outputs

  • formatted shell scripts
  • validated scripts
  • error-handling code
  • CLI tools

Requirements

  • bash environment
  • 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.
bash
shell
scripting
cli
automation
devops
write bash scripts
parse command-line arguments
handle errors
validate shell scripts
shell source files
Makefile
script template
formatted shell scripts
validated scripts
error-handling code