shell-best-practices

Installation
SKILL.md

Shell Scripting Best Practices

Comprehensive guide to writing robust, maintainable, and secure shell scripts following modern best practices.

Script Foundation

Shebang Selection

Choose the appropriate shebang for your needs:

# Portable bash (recommended)
#!/usr/bin/env bash

# Direct bash path (faster, less portable)
#!/bin/bash

# POSIX-compliant shell (most portable)
#!/bin/sh
Installs
60
GitHub Stars
166
First Seen
Jan 22, 2026
shell-best-practices — thebushidocollective/han