Skip to content
Back to skills

Cc Bash Style

ASecurity

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

  • 1,035 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 28, 2026
ai-agentsshellbashdocker

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add doccker/cc-use-exp --skill cc-bash-style --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cc Bash Style?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cc Bash Style
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/doccker-cc-bash-style/badge)](https://www.skillsdirectory.com/skills/doccker-cc-bash-style)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cc-bash-style
description: Bash、Shell、Dockerfile、Makefile 与命令片段规范,适用于脚本修改、命令编写和文档中的 shell 示例;不负责运维审批策略。
---

# CC Bash Style

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

不要用于:

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

## 核心规则

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

## 按需展开

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

Files in this skill

  • SKILL.md866 B
  • agents/openai.yaml169 B
  • references/bash-comments.md207 B
  • references/heredoc.md253 B
  • references/tee-write.md221 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…