Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ancoleman/shell-scripting
Write robust, portable shell scripts with proper error handling, argument parsing, and testing.
Passed 23 of 23 test cases with the skill, and 20 of 23 without it.
and 1 more in the full report
3 fixed20 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a command to update the key 'port' to value 5432 in a YAML file named 'config.yaml' using yq v4.
| Checked | Without skill | With skill |
|---|---|---|
| Uses yq eval to execute the key modification expression. | Missed | Passed |
| Employs the -i flag for in-place file modification. | Passed | Passed |
The instructions your model reads when the skill loads.
Provides patterns and best practices for writing maintainable shell scripts with error handling, argument parsing, and portability considerations. Covers POSIX sh vs Bash decision-making, parameter expansion, integration with common utilities (jq, yq, awk), and testing with ShellCheck and Bats.
Use shell scripting when:
Consider Python/Go instead when:
Use POSIX sh (#!/bin/sh) when:
Use Bash (#!/bin/bash) when:
<(cmd) usefulFor detailed comparison and testing strategies, see references/portability-guide.md.
test cases passed, vs 20 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.