bash-shell-scripting-reference
Shell scripting reference — Bash syntax, redirections, process substitution, signal handling, debugging techniques. Use when writing shell scripts…
by rondoflow★ 37 GitHub stars
Install bash-shell-scripting-reference in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Shell — Shell Scripting Reference
Quick-reference skill for Bash shell scripting, built-in features, and best practices.
When to Use
- Writing reliable Bash scripts with proper error handling
- Understanding redirections, pipes, and process substitution
- Managing signals, traps, and background processes
- Debugging shell scripts with set options and tracing
- Choosing between shell features and external tools
Commands
intro
scripts/script.sh intro
Overview of shell scripting — Bash features, shebang, execution, portability.
variables
scripts/script.sh variables
Variables — declaration, scope, arrays, parameter expansion, special variables.
control
scripts/script.sh control
Control flow — if/else, case, for, while, until, select, functions.
redirections
scripts/script.sh redirections
Redirections and pipes — stdin/stdout/stderr, heredocs, process substitution.
safety
scripts/script.sh safety
Safety practices — set -euo pipefail, quoting, shellcheck, error handling.
tools
scripts/script.sh tools
Essential tools — awk, sed, grep, find, xargs, cut, sort, jq patterns.
signals
scripts/script.sh signals
Signals and traps — SIGTERM, SIGINT, cleanup handlers, background jobs.
checklist
scripts/script.sh checklist
Shell script quality checklist.
help
scripts/script.sh help
version
scripts/script.sh version
Configuration
| Variable | Description |
|---|---|
SHELL_DIR |
Data directory (default: ~/.shell/) |
Powered by BytesAgain | bytesagain.com | [email protected]
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- manifest.json
FAQ
What does the bash-shell-scripting-reference skill do?
Shell scripting reference — Bash syntax, redirections, process substitution, signal handling, debugging techniques. Use when writing shell scripts, troubleshooting Bash behavior, or automating system tasks.
How do I install the bash-shell-scripting-reference skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the bash-shell-scripting-reference skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…