sickn33/agentic-awesome-skills/bash
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Language-specific super-code guidelines for bash.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/bashSKILL.md
Bash / Shell: Idiomatic Efficiency Reference
Apply only within the requested scope and current project conventions. Preserve behavior, ownership, error handling, accessibility and security; examples are independent fragments, not equivalent rewrites in every context. Verify language/library versions and run relevant checks. Required tests and user-facing progress/results take precedence over brevity rules. Do not install dependencies or delete files merely to follow these examples.
When to Use
- Use this skill when the task matches this description: Language-specific super-code guidelines for bash.
Table of Contents
- Quoting & Word Splitting
- Conditionals & Tests
- Loops & Iteration
- Pipes & Process Substitution
- Functions & Return Values
- Error Handling
- Anti-patterns specific to Bash
1. Quoting & Word Splitting {#quoting}
Rule: double-quote every `$variable` and `$(command)` unless you specifically need splitting.
2. Conditionals & Tests {#conditionals}
3. Loops & Iteration {#loops}
4. Pipes & Process Substitution {#pipes}
5. Functions & Return Values {#functions}
6. Error Handling {#errors}
Start every script with `set -euo pipefail`. Remove selectively where needed.
7. Anti-patterns specific to Bash {#antipatterns}
| Anti-pattern | Preferred | ||
|---|---|---|---|
Parsing ls output | glob: for f in *.txt | ||
| `cat file \ | grep` | grep pattern file | |
Unquoted $var | "$var" always | ||
[ ] for complex tests | [[ ]] | ||
| Backtick substitution | $(command) | ||
$? check after command | if command; then | ||
echo for debug | printf '%s\n' (portable) | ||
No set -euo pipefail | always set at script top | ||
| Temp files without cleanup | trap 'rm -f "$tmp"' EXIT | ||
eval with user input | avoid; use arrays for dynamic commands | ||
#!/bin/sh with Bash features | #!/usr/bin/env bash | ||
String math expr 1 + 1 | $(( 1 + 1 )) | ||
test -z for number comparison | (( )) for arithmetic |
Limitations
- These are language-specific guidelines and do not cover overall architectural decisions.
- Over-compression might reduce readability; apply judgement.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/super-code/bash/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/bash)