Skip to content

Expert Bash scripting guide covering safety, portability across Linux, macOS, WSL, Git Bash, and containers.

CCM score
53 of 100
skills.sh installs
469
GitHub stars
67
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Bash-only scripting with ShellCheck validation, Google Shell Style Guide conventions, and POSIX compliance where needed
  • Includes platform detection, Git Bash path-translation fixes, BSD-versus-GNU differences, and BATS testing patterns
  • Enforces a safety preamble (set -euo pipefail, safe IFS), quoting rules, and checked exit codes in every script
  • Designed for DevOps, CI/CD, and system automation work; PowerShell and batch scripting are out of scope

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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:

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Categories
CLI & Terminal, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the bash-master skill do?

bash-master is an expert guide for writing, reviewing and debugging Bash scripts wherever Bash runs, including Linux, macOS, WSL, Git Bash and containers. It covers ShellCheck validation, Google Shell Style Guide compliance, POSIX portability, security hardening and BATS testing. It does not provide native PowerShell support.

How do I install the bash-master skill?

Run npx -y skills add josiahsiegel/claude-plugin-marketplace --skill bash-master -y in your project. Once installed, the agent activates it for any shell script task, including automation, CI/CD scripts and script debugging.

Does bash-master work on Windows?

Yes, but only through a Bash environment such as Git Bash or WSL, not native PowerShell. The skill addresses the path translation quirks of Git Bash and expects you to run scripts with the Bash interpreter.

Where does bash-master stand in the CLI and Terminal category?

bash-master is listed in the CLI and Terminal category on Claude Marketplaces, alongside herdr, gws-shared, opentui, cf-cli and pnpm. It focuses on Bash itself, with security-first patterns and cross-platform execution.

More from josiahsiegel/claude-plugin-marketplace

All 26

Similar to Bash Master

More CLI & Terminal