Agent skill · Design & Presentation

bash-script-template

Generate bash script templates with best practices including error handling, argument parsing, logging, and portability considerations.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill bash-script-template --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/cli-mcp-development/skills/bash-script-template/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Bash Script Template Generate bash script templates with best practices. ## Capabilities - Generate robust bash script templates - Set up proper error handling - Implement argument parsing with getopts - Create logging utilities - Configure strict mode settings - Generate reusable function libraries ## Usage Invoke this skill when you need to: - Create new bash scripts with best practices - Set up proper error handling patterns - Implement argument parsing - Create portable shell scripts ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | scriptName | string | Yes | Script name | | description | string | Yes | Script description | | arguments | array | No | Script arguments | | functions | array | No | Functions to include | ## Generated Template ```bash #!/usr/bin/env bash # # <scriptName> - <description> # # Usage: <scriptName> [options] <arguments> # set -euo pipefail IFS=$'\n\t' # Script directory readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" readonly SCRIPT_NAME="$(basename "${BASH_SOURCE[0]}")" # Colors (if terminal supports) if [[ -t 1 ]]; then readonly RED='\033[0;31m' readonly GREEN='\033[0;32m' re

What's inside
Steps it walks through
  1. Capabilities
  2. Usage
  3. Inputs
  4. Generated Template
  5. Target Processes
Ships with 1 file
  • README.md
Commands it runs
set -euo pipefail
Script directory
readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
readonly SCRIPT_NAME="$(basename "${BASH_SOURCE[0]}")"
Colors (if terminal supports)
if [[ -t 1 ]]; then
readonly RED='\033[0;31m'
readonly GREEN='\033[0;32m'
readonly YELLOW='\033[0;33m'
readonly BLUE='\033[0;34m'
More from babysitter
All skills →
About this skill
What does the bash-script-template skill do?

Generate bash script templates with best practices including error handling, argument parsing, logging, and portability considerations.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill bash-script-template --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going