shell

Installation
SKILL.md

Google Shell Style Guide

Official Google Shell scripting standards for consistent, maintainable Bash scripts.

Quick Reference

Golden Rules

  1. Use #!/bin/bash — specify interpreter
  2. Quote variables — "$var" not $var
  3. Check exit codes — set -e or explicit checks
  4. Use functions — organize code logically
  5. Avoid parsing ls — use globs or find
  6. Use [[ over [ — more features, fewer gotchas
  7. ShellCheck for linting — catch common mistakes

Naming Conventions (Preview)

Installs
16
GitHub Stars
11
First Seen
May 2, 2026