git-line-endings
Installation
SKILL.md
Git Line Endings
Invoke whenever git prints an LF/CRLF warning, a diff churns whole files or shows ^M, files sit modified right after a fresh clone, or before creating a repository that will be cloned on both Windows and non-Windows machines. Diagnose the current state with git ls-files --eol — it prints index vs worktree endings per file.
warning: in the working copy of '<file>', LF will be replaced by CRLF the next time Git touches it means the repo relies on per-user core.autocrlf instead of declaring its contract. Never "fix" this by re-saving files or suppressing warnings. Do: