script-patterns
CommunityReusable shell script patterns for reliability.
Authorjsamuelsen11
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides reusable shell script patterns to standardize common tasks.
Core Features & Use Cases
- Argument parsing patterns using getopts and while-case loops with robust validation and clear usage messages.
- Logging and trap cleanup helpers that ensure diagnostics go to stderr and resources are cleaned up safely.
- Portable utilities for script directory resolution, temporary file handling, and cross-platform command compatibility.
Quick Start
Integrate these patterns into your shell projects by adapting the CORRECT examples to your scripts.
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: script-patterns Download link: https://github.com/jsamuelsen11/claude-config/archive/main.zip#script-patterns 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 223,000+ vetted skills library on demand.