Agent skill · software engineering · sickn33

bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

Why this skill is useful

Adds a comprehensive bash scripting workflow with defensive patterns, error handling, and testing scripts that enhance the AI's scripting capabilities.

What it needs

Requires bash installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Bash Scripting Workflow Overview Specialized workflow for creating robust, production-ready bash scripts with defensive programming patterns, comprehensive error handling, and automated testing. When to Use This Workflow Use this workflow when: Creating automation scripts Writing system administration tools Building deployment scripts Developing backup solutions Creating CI/CD scripts Scope and execution Choose the phases that match the user’s task; this document is an index, not an instruction to run every listed skill. Read a selected skill before using it. Respect repository and user constraints. Cloud calls, host configuration, publishing, destructive operations and spending require the applicable authorization; a workflow checklist does not grant it. The template is a starting point, not a completed script: it does not implement argument parsing or rollback. Validate paths, quote expansions, test in a disposable directory, and make retries bounded and safe for the specific command. Never log credentials or imply strict mode catches every failure. Workflow Phases Phase 1: Script Design Skills to Invoke bash-pro - Professional scripting bash-defensive-patterns - Defensive patterns Actions 1. Define script purpose 2. Identify inputs/outputs 3. Plan error handling 4. Design logging strategy 5. Document requirements Copy-Paste Prompts Phase 2: Script Structure Skills to Invoke bash-pro - Script structure bash-defensive-patterns - Safety patterns Actions 1. Add shebang and strict mode 2. Create usage function 3. Implement argument parsing 4. Set up logging 5. Add cleanup handlers Copy-Paste Prompts Phase 3: Core Implementation Skills to Invoke bash-linux - Linux commands linux-shell-scripting - Shell scripting Actions 1. Implement main functions 2. Add input validation 3. Create helper functions 4. Handle edge cases 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/bash-scripting

View the source on GitHub

Browse the @skills marketplace