Skip to content
akin-ozer avatar

Bash Script Generator

Multi-stage workflow that captures requirements, generates Bash scripts from a template or custom path, and validates them.

CCM score
59 of 100
skills.sh installs
774
GitHub stars
345
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full generation flow: preflight, requirement capture, generation path choice, reference loading, generation, and validation
  • Includes a REQ-* requirements table, a template scaffold via scripts/generate_script_template.sh, and a scripts/run_ci_checks.sh gate with optional --require-shellcheck
  • Enforces validation-first iteration with explicit reporting of any skipped checks, their reasons, and risks
  • Designed for generating new shell scripts, automation helpers, or CLI tools, and hands validation-only requests to a separate validator skill

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill bash-script-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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:

Details

Repository
github.com/akin-ozer/cc-devops-skills
Category
CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the bash-script-generator skill do?

bash-script-generator creates production-ready Bash scripts from clear requirements, using a template-first generation flow and validation-first iteration. It covers converting manual CLI steps into automation scripts, text-processing scripts built with grep, awk, or sed, and operations helper, cron, or CI utility scripts.

How do I install the bash-script-generator skill?

Run npx -y skills add akin-ozer/cc-devops-skills --skill bash-script-generator -y inside your project. Once installed, bash-script-generator lets your agent generate Bash or POSIX sh scripts, scaffold them from a standard template, and check them with bash -n and shellcheck.

Does bash-script-generator validate existing scripts too?

No, bash-script-generator is for creating new scripts, and it hands validation-only requests to devops-skills:bash-script-validator. Its own workflow still runs validation after generation, rerunning checks until they pass or a blocker is identified.

Where does bash-script-generator fit in the CLI & Terminal category?

bash-script-generator is listed in the CLI & Terminal category on Claude Marketplaces. It is part of the devops-skills pack from akin-ozer, which ships generator and validator skills for DevOps work.

More from akin-ozer/cc-devops-skills

All 31

Similar to Bash Script Generator

More CLI & Terminal