a5c-ai/babysitter / library/specializations/cli-mcp-development/skills/bash-script-template
bash-script-template
VerifiedGenerate bash script templates with best practices including error handling, argument parsing, logging, and portability considerations.
README.md
View on GitHub# Bash Script Template Skill
Generate bash script templates with best practices for error handling and portability.
## Overview
This skill generates robust bash script templates with proper error handling, argument parsing, logging, and portability considerations.
## When to Use
- Creating new bash scripts
- Setting up error handling patterns
- Implementing argument parsing
- Creating portable shell scripts
## Features
- Strict mode (set -euo pipefail)
- Argument parsing with getopts
- Color-coded logging
- Cleanup trap handling
- Long option support
## Integration with Processes
| Process | Integration |
|---------|-------------|
| shell-script-development | Script templates |
| cross-platform-cli-compatibility | Portable patterns |
| cli-application-bootstrap | Shell CLI setup |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |