write-script-bash

Official

Write robust Bash scripts with guidance.

Authorwindmill-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a clear, guideline-driven approach to creating reusable Bash scripts for automating simple CLI tasks, reducing setup time and errors.

Core Features & Use Cases

  • Argument handling: Use positional parameters ($1, $2, ...) with validation to ensure predictable inputs.
  • Structured output: Emit JSON to stdout for seamless integration with other tools and workflows.
  • Best-practice guidance: Avoid unnecessary shebang lines and follow a consistent, testable pattern.
  • Use Case: Create a small automation script that accepts two inputs and returns a JSON summary for downstream steps.

Quick Start

Create a Bash script named my-script.sh, read two arguments ($1 and $2), and print a JSON object to stdout. Make the script executable and run: ./my-script.sh hello 123

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-script-bash
Download link: https://github.com/windmill-labs/windmill/archive/main.zip#write-script-bash

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.