·bash-defensive-patterns
</>

bash-defensive-patterns

microck/ordinary-claude-skills

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

0Installs·0Trend·@microck

Installation

$npx skills add https://github.com/microck/ordinary-claude-skills --skill bash-defensive-patterns

SKILL.md

Comprehensive guidance for writing production-ready Bash scripts using defensive programming techniques, error handling, and safety best practices to prevent common pitfalls and ensure reliability.

Strict Mode Enable bash strict mode at the start of every script to catch errors early.

Error Trapping and Cleanup Implement proper cleanup on script exit or error.

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety. Source: microck/ordinary-claude-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/microck/ordinary-claude-skills --skill bash-defensive-patterns
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is bash-defensive-patterns?

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety. Source: microck/ordinary-claude-skills.

How do I install bash-defensive-patterns?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/microck/ordinary-claude-skills --skill bash-defensive-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/microck/ordinary-claude-skills