Agent skill

bash

Language-specific super-code guidelines for bash.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill bash --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/super-code/bash/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Bash / Shell: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for bash. ## Table of Contents 1. [Quoting & Word Splitting](#quoting) 2. [Conditionals & Tests](#conditionals) 3. [Loops & Iteration](#loops) 4. [Pipes & Process Substitution](#pipes) 5. [Functions & Return Values](#functions) 6. [Error Handling](#errors) 7. [Anti-patterns specific to Bash](#antipatterns) --- ## 1. Quoting & Word Splitting {#quoting} ```bash # ❌ Unquoted variable (word splitting + globbing) for f in $files; do rm $f; done # ✅ for f in "${files[@]}"; do rm -- "$f"; done ``` ```bash # ❌ Unquoted command substitution path=$(find . -name config) cat $path # breaks on spaces # ✅ path="$(find . -name config)" cat "$path" ``` ```bash # ❌ Using backticks for command substitution result=`echo hello` # ✅ — $() nests cleanly result=$(echo hello) ``` ```bash # ❌ String comparison without quotes if [ $var = "hello" ]; then # breaks if var is empty or has spaces # ✅ if [[ "$var" = "hello" ]]; then ``` **Rule: double-quote every `$variable` and `$(command)` unless you specifically need splitting.** --- ## 2. Conditionals &

What's inside
Steps it walks through
  1. When to Use
  2. Table of Contents
  3. 1. Quoting & Word Splitting {#quoting}
  4. 2. Conditionals & Tests {#conditionals}
  5. 3. Loops & Iteration {#loops}
  6. 4. Pipes & Process Substitution {#pipes}
  7. 5. Functions & Return Values {#functions}
  8. 6. Error Handling {#errors}
  9. 7. Anti-patterns specific to Bash {#antipatterns}
  10. Limitations
Commands it runs
for f in $files; do rm $f; done
for f in "${files[@]}"; do rm -- "$f"; done
cat $path  # breaks on spaces
cat "$path"
if [ $var = "hello" ]; then  # breaks if var is empty or has spaces
if [[ "$var" = "hello" ]]; then
if [ -f "$file" -a -r "$file" ]; then
if [[ -f "$file" && -r "$file" ]]; then
grep -q pattern file
if [ $? -eq 0 ]; then echo "found"; fi
More from agentic-awesome-skills
All skills →
About this skill
What does the bash skill do?

Language-specific super-code guidelines for bash.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill bash --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going