
Shell
This is a comprehensive shell scripting reference with 49 rules organized by priority, from critical safety issues like command injection prevention down to style preferences. It's built for AI agents but reads like a well-structured style guide. You'd pull this in when writing bash scripts, reviewing Dockerfiles, or debugging CI pipelines. The rules are properly categorized (safety, portability, error handling) and each links to detailed examples with before/after code. Honestly, the strict prioritization is the standout bit here. It separates "your script will have security holes" from "your indentation is inconsistent," which matters when you're trying to ship fast. Based on solid sources like ShellCheck and the Google style guide.
- skills.sh installs
- 704
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill shell --agent claude-codeInstalls into .claude/skills of the current project.
Files
Shell Scripts Best Practices (Community)
Comprehensive best practices guide for shell scripting, designed for AI agents and LLMs. Contains 49 rules across 9 categories, prioritized by impact from critical (safety, portability) to incremental (style). Each rule includes detailed explanations, real-world examples comparing incorrect vs. correct implementations, and specific impact metrics.
When to Apply
Reference these guidelines when:
- Writing new bash or POSIX shell scripts
- Reviewing shell scripts for security vulnerabilities
- Debugging scripts that fail silently or behave unexpectedly
- Porting scripts between Linux, macOS, and containers
- Optimizing shell script performance
- Setting up CI/CD pipelines with shell scripts
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- DevOps & CI/CD, Documentation, Code Review & Quality, Debugging, Automation & Workflows, Sales & Marketing, CLI & Terminal
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Tailwind657
- Refactor651
- Expo561
- React496
- Tailwind Responsive Ui470
- Tailwind Ui Refactor467
- Zustand453
- Debug444
- Ios Design436
- Feature Spec431
- Feature Arch423
- React Testing Library418
- Jscodeshift416
- Expo React Native Coder415
- Tdd415
- Humanize409
- React Optimise403
- Knip Deadcode390
- Rails Hotwire380
- Ts Google378
- Nginx C Module Design369
- Vite367
- Nginx C Modules365
- Ios Animations355