shell-scripting
Shell scripting best practices for bash and other shells. Use when writing shell scripts, bash functions, or command-line automation.
$ 安裝
git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/productivity/shell-scripting ~/.claude/skills/claude-skill-registry// tip: Run this command in your terminal to install the skill
SKILL.md
name: shell-scripting description: Shell scripting best practices for bash and other shells. Use when writing shell scripts, bash functions, or command-line automation.
Shell Scripting Skill
When to Use
- Writing bash scripts
- Creating shell functions
- Automating command-line tasks
- Setting up environment configurations
- Writing CI/CD scripts
Guidelines
Comprehensive shell scripting best practices: @general.md
Key Principles
- Use shellcheck for validation
- Handle errors with set -e and set -u
- Quote variables properly
- Use meaningful variable names
- Document complex logic
- Test scripts thoroughly
Repository

majiayu000
Author
majiayu000/claude-skill-registry/skills/productivity/shell-scripting
0
Stars
0
Forks
Updated1d ago
Added1w ago