bash-best-practices

Community

Write robust and portable Bash scripts.

Authorkobogithub
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write more reliable, maintainable, and portable Bash scripts by providing a comprehensive set of best practices and patterns.

Core Features & Use Cases

  • Defensive Coding: Implement strict modes, safe variable handling, and robust error checking.
  • Portability: Write scripts that work consistently across different operating systems and Bash versions.
  • Common Patterns: Utilize pre-built functions and structures for logging, retries, argument parsing, and more.
  • Use Case: Ensure your CI/CD pipeline scripts are resilient to failures and execute predictably by adopting these best practices.

Quick Start

Apply the bash-best-practices skill to review and refactor your existing Bash script located at './my_script.sh'.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: bash-best-practices
Download link: https://github.com/kobogithub/knowledge/archive/main.zip#bash-best-practices

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 223,000+ vetted skills library on demand.