Agent skill · Workflow & Productivity

bash-scripting

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

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill bash-scripting --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/bash-scripting/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ####

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Workflow
  3. Workflow Phases
  4. Phase 1: Script Design
  5. Phase 2: Script Structure
  6. Phase 3: Core Implementation
  7. Phase 4: Error Handling
  8. Phase 5: Logging
  9. Phase 6: Testing
  10. Phase 7: Documentation
  11. Script Template
  12. Quality Gates
  13. Related Workflow Bundles
  14. Limitations
Commands it runs
set -euo pipefail
readonly SCRIPT_NAME=$(basename "$0")
readonly SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
log "Script started"
log "Script completed"
main "$@"
More from agentic-awesome-skills
All skills →
About this skill
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.

Keep going