一键导入
fix-line-endings
Fix CRLF (Windows) to LF (Unix) line endings in files. Use when encountering `/bin/bash: line 1: $'\r': command not found` errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fix CRLF (Windows) to LF (Unix) line endings in files. Use when encountering `/bin/bash: line 1: $'\r': command not found` errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check bash script syntax without executing. Use before committing bash scripts or when verifying syntax correctness.
Return to normal stop behavior. Use PROACTIVELY after completing all tasks in continuous work mode, when work is committed and tests pass, or when reaching natural stopping point. User can invoke with /claude-allow-stop.
Enable continuous work mode. Use PROACTIVELY when user says "keep working", "don't stop", "finish everything", "complete all tasks". Automatically continues until work is complete. User can invoke with /claude-do-not-stop [reason].
Shared utility script for getting Claude PID and Session ID. Source this in other scripts to access CLAUDE_PID and SESSION_ID variables.
Start fresh with cleared history after task completion. Use PROACTIVELY when user says "done"/"finished", all tasks complete, or starting new unrelated work. Clears all history.
Compact context at natural breakpoints to free tokens and continue working. Use PROACTIVELY at phase boundaries, after commits, or when token usage >150k. Better than random auto-compact. Supports custom compaction prompts.
/bin/bash: line 1: $'\r': command not found errors.Convert CRLF to LF line endings.
.claude/skills/fix-line-endings/scripts/fix-line-endings.sh file1.sh file2.sh
For combined fix + syntax check, use fix-line-endings-check-bash instead.