Bash Code Standarts banner
Mybono Mybono

Bash Code Standarts

Development community

Description

# Bash/Shell Scripting Standards ## Safety header (required in every script) ```bash #!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' ``` ## Naming - `UPPER_CASE` — constants and env vars - `snake_case` — local variables and functions - Descriptive names: `input_file` not `f` ## Variables - Always quote: `"$var"`, `"$@"`, `"${array[@]}"` - Use `${var}` in strings: `"${prefix}_suffix"` - Declare readonly constants: `readonly MAX_RETRIES=3` - Never use uninitialized variables (`set -u` catc

Installation

Installs to ~/.claude/skills/mybono-ai-orchestrator-bash-code-standarts/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mybono-ai-orchestrator-bash-code-standarts && curl -fsSL https://raw.githubusercontent.com/Mybono/ai-orchestrator/HEAD/skills/bash-code-standarts.md -o ~/.claude/skills/mybono-ai-orchestrator-bash-code-standarts/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository