bash-scripting
Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.
npx skills add sickn33/agentic-awesome-skills --skill bash-scripting --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 ## 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 ``` Use @bash-pro to design production-ready bash script ``` ### 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 ``` Use @bash-defensive-patterns to implement strict mode and error handling ``` ### Phase 3: Core Implementation ####
- Overview
- When to Use This Workflow
- Workflow Phases
- Phase 1: Script Design
- Phase 2: Script Structure
- Phase 3: Core Implementation
- Phase 4: Error Handling
- Phase 5: Logging
- Phase 6: Testing
- Phase 7: Documentation
- Script Template
- Quality Gates
- Related Workflow Bundles
- Limitations
set -euo pipefail readonly SCRIPT_NAME=$(basename "$0") readonly SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) log "Script started" log "Script completed" main "$@"
What does the bash-scripting skill do?
Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill bash-scripting --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.