akin-ozer avatar

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

Installs 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, or sed
  • 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

  1. Confirm scope and target output path.
  2. Confirm shell target:
  • Default: bash
  • If portability is requested: POSIX sh
  1. 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
1dash0hq avatarotel-collectordash0hq/agent-skillsExpert guidance for configuring and deploying the OpenTelemetry Collector. Use when setting up a Collector pipeline, configuring receivers, exporters, or proces694skills.sh installs
2joellewis avataradvisor-dashboardsjoellewis/finance_skillsDesign, build, and optimize dashboards for RIA practice management with AUM tracking, revenue analytics, and KPI frameworks. Use when the user asks about tracki690skills.sh installs
3joellewis avataraccount-opening-compliancejoellewis/finance_skillsEmbed compliance controls into account opening and verify regulatory readiness. Use when designing CIP/KYC identity verification gates, implementing OFAC and sa687skills.sh installs
4mblode avatarautoshipmblode/agent-skillsRuns the npm release flow for an existing changesets package: create a changeset, fix lint/type/test/format failures, push, watch CI, merge the Version Packages687skills.sh installs
5zxkane avataraws-agentic-aizxkane/aws-skillsAWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime687skills.sh installs
6akin-ozer avatarhelm-generatorakin-ozer/cc-devops-skillsCreate, scaffold, or generate Helm charts, Chart.yaml, values.yaml, templates, helpers.674skills.sh installs