Bash Script Framework Best Practices

Sub-skill of bash-script-framework: Best Practices.

vamseeachanta 7b4f331 371 B Updated

File contents

Best Practices

Best Practices

  1. Use set -e - Exit on errors
  2. Source libraries - Don't duplicate code
  3. Use functions - Modular, testable code
  4. Handle signals - Cleanup on exit
  5. Validate inputs - Check before executing

vamseeachanta/workspace-hub/tree/main/.agents/skills/_core/bash/bash-script-framework/best-practices commit 7b4f331988

Frequently asked questions

npx skillmds@latest add vamseeachanta/bash-script-framework-best-practices