fix-line-endings-check-bash

一步修复行尾并检查bash语法(推荐)。在创建或编辑bash脚本后使用。

📖 中文导读:一步修复行尾并检查bash语法(推荐)。在创建或编辑bash脚本后使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: fix-line-endings-check-bash description: Fix line endings AND check bash syntax in one step (recommended). Use after creating or editing bash scripts. allowed-tools: Bash

Fix Line Endings + Check Bash

Recommended tool for bash script preparation.

.claude/skills/fix-line-endings-check-bash/scripts/fix-line-endings-check-bash.sh script1.sh script2.sh

Converts CRLF→LF, then validates syntax. Stops on first failure.