This is your comprehensive Bash scripting reference that works across Linux, macOS, WSL, Git Bash, and containers. It opens every script with the safety preamble (set -euo pipefail), enforces ShellCheck validation, and follows the Google Shell Style Guide. The real value is in the platform-specific guidance: it handles MSYS path conversion quirks on Windows, knows when macOS needs gsed instead of sed, and tells you when Alpine containers need bash installed. It won't help with PowerShell or batch files, but if you're writing shell scripts for CI/CD pipelines or system automation, this covers the cross-platform gotchas and security patterns you'd otherwise learn the hard way.

skills.sh installs
462
GitHub stars
61
last updated
Aug 21, 2026

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill bash-master --agent claude-code

Installs into .claude/skills of the current project.

Files

Bash Scripting Mastery

Scope and platform contract

This skill targets Bash itself, wherever Bash runs - Linux, macOS, WSL, Git Bash / MSYS2 on Windows, and Bash-based container images. It does not cover native PowerShell: a PowerShell script is a different language and should use powershell-master. On Windows, bash-master assumes the user is running Bash inside Git Bash, WSL, or a similar Bash environment, and addresses the MSYS path-translation quirks that result.

Repository conventions

Project-level conventions (Windows backslashes in tool calls, documentation discipline, etc.) live in the agent body and the windows-path-master plugin. This skill focuses on Bash content; do not duplicate that boilerplate here.

Quick reference

#!/usr/bin/env bash
set -euo pipefail  # Exit on error, undefined vars, pipe failures
IFS=$'\n\t'        # Safe word splitting
# Run shellcheck your_script.sh before deployment.
# Test on every target platform before production.

Bash-portability quick check:

Sponsors

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Categories
Testing & QA, Security, DevOps & CI/CD, Git & Pull Requests, Documentation, Code Review & Quality, Debugging, Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026

More from josiahsiegel/claude-plugin-marketplace

All 26
1ejirocodes avatarnestjs-best-practicesejirocodes/agent-skillsNestJS 11+ best practices for enterprise Node.js applications with TypeScript. Use when writing, reviewing, or refactoring NestJS controllers, services, modules460skills.sh installs
2openclaudia avataremail-subject-linesopenclaudia/openclaudia-skillsGenerate, evaluate, and A/B test email subject lines for maximum open rates. Includes formulas for curiosity, urgency, personalization, and more. Trigger phrase458skills.sh installs
3postman-devrel avatarpostmanpostman-devrel/agent-skillsFull API lifecycle management through Postman. Sync OpenAPI specs to collections, generate typed client code, run API tests, create mock servers, publish docume458skills.sh installs
4davila7 avatarcode-reviewdavila7/claude-code-templatesPerform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Co457skills.sh installs
5secondsky avatarsystematic-debuggingsecondsky/claude-skillsFour-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions. Use when encountering any bug, test failu457skills.sh installs
6openclaudia avatarpricing-strategyopenclaudia/openclaudia-skillsOptimize pricing pages, pricing models, and pricing strategy. Use when the user asks about pricing, pricing pages, how to price a product, tiered pricing, freem452skills.sh installs