andreswebs/shell
Skills for the command line: defensive Bash scripting, jq for JSON, shelltestrunner tests, and calculations with bc
Conventions and defensive patterns for writing, reviewing, and modifying Bash scripts, shell libraries, and BATS tests. Defines a short floor every script owes, then a triage gate that names which further features the script has actually earned: error handling, quoting, portability, path and JSON safety, logging, signal handling, CLI structure, and testing. Use when authoring or changing a shell script, shell function, or BATS test file, even if the user doesn't explicitly mention "conventions" or "style guide".
Use the jq CLI tool and jq language to query, transform, filter, and construct JSON data. Use this skill when working with JSON or JSONL/JSON Lines processing in the command line, such as extracting fields from API responses, reshaping data structures, filtering arrays, merging JSON files, or building JSON from shell variables, even if the user doesn't explicitly mention "jq".
Perform calculations, estimations, and quantitative reasoning for engineering and operations. Covers calculations with bc, back-of-the-envelope capacity planning, Fermi estimation techniques, and SRE math (percentiles, Little's Law, error budgets, queueing theory). Use when the user needs to calculate, estimate, size, or reason quantitatively about systems, infrastructure, latency, throughput, availability, or resource requirements — even if they don't explicitly mention "math" or "estimation".
Write shell tests using shelltestrunner format. Use when creating .test files, testing CLI programs, writing command-line tests, or when the user mentions shelltest, shelltestrunner, or shell testing.