bash-linux

Installation
SKILL.md

Bash & Linux — Shell Scripting Mastery


Mandatory Pre-Flight Context Inspection

Before writing Bash scripts or terminal automation pipelines, you MUST inspect:

  1. Strict Mode Flags (set -euo pipefail) (Section 39) → Always set set -euo pipefail and IFS=$'\n\t' at top of every script to fail fast on errors or unset vars
  2. Variable Quoting Safeguards (Section 122) → Double-quote all path and string variables ("$FILE", "${FILES[@]}") to prevent whitespace expansion bugs
  3. Modern CLI Efficiency Rules (Section 102) → Prefer rg over grep, fd over find, jq over regex JSON parsing for performance and safety

Activation Boundaries

  • Activate when: Operating in tasks requiring Bash/Linux terminal mastery. Shell scripting, piping, stream redirection, process substitution, strict mode (set -euo pipefail), AWK, ripgrep parsing, and robust error handling. Use when writing CI scripts, debugging POSIX environments, or manipulating text pipelines..
  • DO NOT activate when: The task falls strictly outside bash-linux domain or belongs to a different dedicated specialist.

Hallucination Traps (Read First)

Installs
4
GitHub Stars
7
First Seen
Apr 26, 2026