shell-error-handling

Official

Robust error handling in shell scripts.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill teaches patterns for robust error handling, traps, and cleanup in Bash scripts.

Core Features & Use Cases

  • Exit codes: Standard codes and checking.
  • Trap for cleanup: Cleanup routines with traps.
  • Defensive programming: Prerequisites and input validation.

Quick Start

Add a trap-based cleanup snippet to a shell script.

Dependency Matrix

Required Modules

None required

Components

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: shell-error-handling
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#shell-error-handling

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