language-bash
CommunityWrite safe, portable Bash scripts fast.
Authorlugassawan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents common Bash production failures by guiding you to write strict-mode, correctly quoted, idempotent scripts that fail safely and behave predictably.
Core Features & Use Cases
- Strict-mode correctness: applies robust defaults like set -euo pipefail, safe IFS, and predictable pipeline failures to reduce silent errors.
- Quoting and word-splitting discipline: enforces safe parameter expansion practices and array iteration patterns to avoid broken filenames and injection-like bugs.
- Operational safety patterns: covers trap-based cleanup, signal handling, idempotency via sentinels/atomic rewrites, and heredocs (literal vs interpolated) for reliable automation.
- Portability guardrails: distinguishes Bash-only features from POSIX sh and points to shellcheck-compatible practices for enforceable contracts.
- Use Case: When maintaining a deployment or migration script that may be re-run, use this Skill to make it resilient to partial execution, handle interrupts cleanly, and avoid breaking on edge-case inputs like spaces.
Quick Start
Ask the skill to show how to restructure your Bash script with strict mode, correct quoting/arrays, and an idempotency sentinel while using trap cleanup for safe re-runs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: language-bash Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#language-bash Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.