← All skills
bash-defensive-patterns
97 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By Dicklesworthstone/pi_agent_rust (GitHub) · coding · 1,977 stars · scanned at commit 9804223
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 17 places.
Show 14 more
- tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 75
declare -a items=("item 1" "item 2" "item 3") - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 92
if [[ -f "$file" && -r "$file" ]]; then - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 113
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 126
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 166
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 187
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 250
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 282
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 320
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 371
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 410
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 435
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 460
set -Eeuo pipefail - tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns/SKILL.md, line 497
set -Eeuo pipefail
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'bash-defensive-patterns' ] || [ -L ~/.agents/skills/'bash-defensive-patterns' ]; then echo 'A skill folder named bash-defensive-patterns already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Dicklesworthstone/pi_agent_rust' "$d" && git -C "$d" checkout --quiet '98042236aae3a774dad12caf432c76d347806020' -- 'tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns' && mkdir -p ~/.agents/skills && cp -R "$d"/'tests/ext_conformance/artifacts/agents-wshobson/shell-scripting/skills/bash-defensive-patterns' ~/.agents/skills/'bash-defensive-patterns' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'bash-defensive-patterns' ~/.claude/skills/'bash-defensive-patterns' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for Dicklesworthstone/pi_agent_rust shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/Dicklesworthstone/pi_agent_rust/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | 9804223 | 97 |
| 2026-11-08 | b41008f | 97 |
| 2026-11-06 | b57cea1 | 97 |