mcpbeat Sign in

Cc Bash Style Agent Skill

Bash、Shell、Dockerfile、Makefile 与命令片段规范,适用于脚本修改、命令编写和文档中的 shell 示例;不负责运维审批策略。

216 tokens
context cost
SKILL.md, read when the skill is used
5
files
plus reference files
0
copies elsewhere
how many repositories repackaged it
1 027
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/doccker/cc-use-exp --skill cc-bash-style

What comes with it

850 bytes besides the instruction
agents/openai.yaml
references/bash-comments.md
references/heredoc.md
references/tee-write.md

The instruction itself

1 sections, as written by the author

CC Bash Style

在编写或修改 shell 脚本、Dockerfile、Makefile、命令示例时,使用本技能保持脚本风格一致且可维护。

不要用于:

  • 运维风险评估或审批判断
  • 语言无关的通用编码原则
  • 正式 review 或 debug 工作流

核心规则

  • 保持脚本直接、可读、可复制执行。
  • 注释单独成行,不写行尾注释。
  • 优先使用清晰的 heredoc、tee 和分步命令。
  • 避免不必要的 shell 花活和难以审查的复合命令。

按需展开

  • 注释规范:references/bash-comments.md
  • heredoc 使用:references/heredoc.md
  • tee 写入:references/tee-write.md

How to use it

Copy the folder

Take doccker/cc-bash-style from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.