
Bash Script Generator
This is a structured workflow for generating production-ready bash scripts with a requirements capture phase, deterministic decision tree for template vs custom generation, and validation loops. It shines when you need CLI utilities with proper arg parsing, error handling, and logging scaffolded quickly. The multi-stage approach with REQ-* traceability feels heavyweight for throwaway scripts but makes sense for automation that needs to survive in production. Includes fallback paths for constrained environments where shellcheck or the validator skill aren't available. The template-first default and progressive doc loading keep it from turning into a choose-your-own-adventure. Good if you want consistent structure across your tooling rather than ad-hoc script writing.
- skills.sh installs
- 710
- GitHub stars
- 337
- last updated
- Aug 21, 2026
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill bash-script-generator --agent claude-codeInstalls into .claude/skills of the current project.
Files
Bash Script Generator
Overview
Generate production-ready Bash scripts with clear requirements capture, deterministic generation flow, and validation-first iteration.
Trigger Phrases
Use this skill when the user asks to:
- Create, generate, write, or build a Bash/shell script
- Convert manual CLI steps into an automation script
- Build a text-processing script using
grep,awk, orsed - Create an operations helper script, cron script, or CI utility script
Do not use this skill for validating an existing script only. Use devops-skills:bash-script-validator for validation-only requests.
Execution Model
Follow stages in order. Do not skip a stage; use the documented fallback when blocked.
Stage 0: Preflight
- Confirm scope and target output path.
- Confirm shell target:
- Default:
bash - If portability is requested: POSIX
sh
- Check capabilities and pick fallback path:
Sponsors
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Categories
- DevOps & CI/CD, Automation & Workflows, CLI & Terminal
- First seen
- Jun 3, 2026
More from akin-ozer/cc-devops-skills
All 31- Jenkinsfile Validator706
- Terragrunt Validator703
- K8s Yaml Generator694
- Azure Pipelines Generator692
- Github Actions Validator686
- Gitlab Ci Generator686
- Github Actions Generator684
- Terraform Validator681
- Azure Pipelines Validator680
- Terraform Generator680
- Helm Generator674
- Makefile Validator671
- Makefile Generator659
- Promql Generator656
- Promql Validator646
- Fluentbit Generator640
- Logql Generator640
- Fluentbit Validator637
- Loki Config Generator622
- Ansible Validator1.6K
- Terragrunt Generator1.2K
- Ansible Generator907
- K8s Debug887
- Jenkinsfile Generator862