Bash & Shell Scripting Style
Standardizes Bash, Shell, Dockerfile, and Makefile syntax to ensure scripts are readable, maintainable, and easy to execute.
The cc-bash-style skill provides a comprehensive set of guidelines for Claude when generating or refactoring shell-related files, including Dockerfiles and Makefiles. It prioritizes clarity over complexity by enforcing rules such as standalone comments, the preferred use of heredocs, and the use of the tee command for file writing. By avoiding cryptic 'shell magic' and complex one-liners, this skill ensures that all command-line snippets and scripts are production-grade, easy to audit, and optimized for both automated execution and manual copy-pasting into documentation.
主な機能
01Optimizes command snippets for direct use in technical documentation
02Enforces standalone line comments for better script readability
03Discourages brittle or hard-to-review composite shell commands
04772 GitHub stars
05Prioritizes clean heredoc and tee patterns over complex redirects
06Standardizes syntax across Shell scripts, Dockerfiles, and Makefiles
ユースケース
01Refactoring legacy shell scripts to improve maintainability and auditability
02Generating standardized Dockerfiles and Makefiles for new project setups
03Creating clear, step-by-step command-line examples for developer documentation