bash-style
✓当用户操作 .sh、Dockerfile、Makefile、.yml、.yaml 文件,或在 Markdown 中编写 bash 代码块时触发。提供 Bash 编写规范。
Installation
SKILL.md
| sudo tee | 简洁、无嵌套 | 需 > /dev/null 抑制输出 | 首选 | | sudo bash -c 'cat >' | 无需 tee | 嵌套引号复杂 | 不推荐 | | 临时文件 + mv | 可先验证 | 步骤多 | 复杂配置 |
| 配置文件 | << 'EOF' | 避免意外展开 | | 模板生成 | << EOF | 需要插入变量 | | 不确定时 | << 'EOF' | 更安全 |
| -e | 命令失败时退出 | | -u | 使用未定义变量时报错 | | -o pipefail | 管道中任一命令失败则整体失败 |
当用户操作 .sh、Dockerfile、Makefile、.yml、.yaml 文件,或在 Markdown 中编写 bash 代码块时触发。提供 Bash 编写规范。 Source: doccker/cc-use-exp.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/doccker/cc-use-exp --skill bash-style- Source
- doccker/cc-use-exp
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is bash-style?
当用户操作 .sh、Dockerfile、Makefile、.yml、.yaml 文件,或在 Markdown 中编写 bash 代码块时触发。提供 Bash 编写规范。 Source: doccker/cc-use-exp.
How do I install bash-style?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/doccker/cc-use-exp --skill bash-style Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/doccker/cc-use-exp
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01