mit einem Klick
bash-scripting
Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.
Menü
Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.
AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use for any "make slides", "create a deck", or "slides from this document" request.
Diff a live page's accessibility violations against a baseline — by default compares uncommitted changes (stash-based), or pass --branch [<name>] to diff against a branch. Reports only new violations introduced, violations fixed, and pre-existing count. Use `scan` for a full audit with no diffing.
Use the Hugging Face Hub CLI (`hf`) to download, upload, and manage models, datasets, and Spaces.
Plan, orchestrate, and adversarially verify parallel AI coding agents with a dynamic multi-agent workflow engine.
Manage opencode permissions: review always-allow lists, suggest safe read-only commands, configure permission patterns
Generate AI images, videos, and music/audio from agents using the RunAPI CLI.
| name | bash-scripting |
| description | Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing. |
| category | granular-workflow-bundle |
| risk | safe |
| source | personal |
| date_added | 2026-02-27 |
Specialized workflow for creating robust, production-ready bash scripts with defensive programming patterns, comprehensive error handling, and automated testing.
Use this workflow when:
bash-pro - Professional scriptingbash-defensive-patterns - Defensive patternsUse @bash-pro to design production-ready bash script
bash-pro - Script structurebash-defensive-patterns - Safety patternsUse @bash-defensive-patterns to implement strict mode and error handling
bash-linux - Linux commandslinux-shell-scripting - Shell scriptingUse @bash-linux to implement system commands
bash-defensive-patterns - Error handlingerror-handling-patterns - Error patternsUse @bash-defensive-patterns to add comprehensive error handling
bash-pro - Logging patternsUse @bash-pro to implement structured logging
bats-testing-patterns - Bats testingshellcheck-configuration - ShellCheckUse @bats-testing-patterns to write script tests
Use @shellcheck-configuration to lint bash script
documentation-templates - DocumentationUse @documentation-templates to document bash script
#!/usr/bin/env bash
set -euo pipefail
readonly SCRIPT_NAME=$(basename "$0")
readonly SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"; }
error() { log "ERROR: $*" >&2; exit 1; }
usage() { cat <<EOF
Usage: $SCRIPT_NAME [OPTIONS]
Options:
-h, --help Show help
-v, --verbose Verbose output
EOF
}
main() {
log "Script started"
# Implementation
log "Script completed"
}
main "$@"
os-scripting - OS scriptinglinux-troubleshooting - Linux troubleshootingcloud-devops - DevOps automation