SuperAPI AI Directory

cc-bash-style

Coding & development

View repository

Updated 10-15 21:11

About this skill

CC Bash Style

When writing or modifying shell scripts, Dockerfiles, Makefiles, and command examples, use this skill to keep script style consistent and maintainable.

Do not use for:

  • Operations risk assessment or approval decisions
  • Language-agnostic general coding principles
  • Formal review or debug workflows

Core rules

  • Keep scripts direct, readable, and copy-paste executable.
  • Comments go on their own line; do not write end-of-line comments.
  • Prefer clear heredocs,tee and step-by-step commands.
  • Avoid unnecessary shell tricks and hard-to-review compound commands.

Expand as needed

  • Comment conventions:references/bash-comments.md
  • heredoc usage:references/heredoc.md
  • tee write with:references/tee-write.md