shell-conventions - Guidelines for writing bash and helper scripts
Guides writing and updating bash scripts, CLI wrappers, and Node.js helper scripts following strict portability and execution rules.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write portable bash scripts
- Enable bash strict mode
- Use explicit ESM extensions
- Resolve project root relative paths
- Handle parameter defaults safely
- Implement cleanup traps
Inputs
- Scripts in scripts directory
- Script arguments and flags
Outputs
- Executable shell scripts
- Command line process execution results
- Cleaned temporary files
Requirements
- Bash shell environment
- Script execute permissions
- Node.js runtime environment
