/master-skills-qa-testing:bash-scriptingfrom master-skills-qa-testing
Guides creation of production-ready bash scripts with defensive patterns, error handling, logging, and testing via Bats and ShellCheck.
Ships in master-skills-qa-testing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 automationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sinhoneyy/master-skills --plugin master-skills-qa-testing53 skills in this plugin
/active-directory-attacksProvide comprehensive techniques for attacking Microsoft Active Directory environments. Covers reconnaissance, credential harvesting, Kerberos attacks, lateral movement, privilege escalation, and domain dominance for red team operations and penetration testing./ai-mdConvert human-written CLAUDE.md into AI-native structured-label format. Battle-tested across 4 models. Same rules, fewer tokens, higher compliance./android_ui_verificationAutomated end-to-end UI testing and verification on an Android Emulator using ADB./backtesting-frameworksBuild robust, production-grade backtesting systems that avoid common pitfalls and produce reliable strategy performance estimates./bats-testing-patternsMaster Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities./channel-economicsUse when reviewing or rebalancing direct vs. partner-led channel economics — computing fully-loaded cost-to-serve per channel, channel ROI with cash / LTV / marginal lenses, and optimal channel mix subject to constraints. For Head of Commercial, RevOps, and VP Sales doing quarterly channel review when pipeline is mixed (e.g., 60% direct + 40% partner-led) and nobody actually knows which channel makes money after CAC, support load, partner discount, deal-velocity differences, retention differential, and overhead allocation are all loaded in. Outputs cost to serve, channel ROI verdicts (DOUBLE-DOWN / MAINTAIN / DEFUND / EXIT), a sensitivity-tested channel-mix recommendation, and the diminishing-returns inflection (e.g., 'which channel actually makes money — direct or partner?').22 plugins in 12 repositories ship this exact skill · first indexed Jun 3, 2026
Showing 6 of 22 plugins, one per repository first
Other plugins' skills for the same job