Bash 脚本与系统命令规范。禁止行尾注释,强制使用 tee/heredoc 写入,提升命令执行的可维护性。
npx skills add https://github.com/doccker/cc-use-exp --skill bash-style
<instructions>
> 参考来源: Google Shell Style Guide
curl -X POST ... # 发送请求rm test.txtrm "${WORK_DIR}/test.txt".sh 文件首行必须包含 set -euo pipefail。"${VAR}"),防止空格溢出。cat <<EOF > file。优先使用 write_file (工具) 或分步 tee 写入。# ✅ 良好的脚本头
#!/usr/bin/env bash
set -euo pipefail
tee -a "${LOG_FILE}" 同时记录到屏幕和日志。[1/50] Processing...)。> 📋 本回复遵循:bash-style - [章节]
</instructions>
Take doccker/cc-use-exp-.gemini-bash-style from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
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.