CC Bash Style
SkillDocs & knowledgeYour AI can follow one consistent set of conventions when writing or editing Bash and Shell scripts, Dockerfiles, Makefiles, and command snippets. cc-bash-style is a skill for script changes, command writing, and shell examples in documentation. It covers writing style only and does not handle operations approval policies.
Available today. Use it from your connected AI after setup.
No other account needed.
After adding it, give your AI a script, Dockerfile, Makefile, or shell example to write or revise, and it will apply these conventions as it works.
Then ask your AI: use the CC Bash Style skill
What your AI can do with it
- Edit Bash and Shell scripts so they follow consistent conventions
- Write new commands and command snippets in a standard style
- Create Dockerfiles that match the same conventions
- Write Makefiles in a consistent format
- Add shell examples to documentation that follow the conventions
What this skill tells your AI
The instructions your AI receives, as published by doccker/cc-use-exp in .codex/skills/cc-bash-style/SKILL.md and read by ahel’s review.
在编写或修改 shell 脚本、Dockerfile、Makefile、命令示例时,使用本技能保持脚本风格一致且可维护。
不要用于:
- 运维风险评估或审批判断
- 语言无关的通用编码原则
- 正式 review 或 debug 工作流
核心规则
- 保持脚本直接、可读、可复制执行。
- 注释单独成行,不写行尾注释。
- 优先使用清晰的 heredoc、
tee和分步命令。 - 避免不必要的 shell 花活和难以审查的复合命令。
按需展开
- 注释规范:
references/bash-comments.md - heredoc 使用:
references/heredoc.md tee写入:references/tee-write.md
Signals
- GitHub stars
- 1k
- Forks
- 112
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
cc-bash-style- Source
- github.com/doccker/cc-use-exp