git-repo-normalize
Installation
SKILL.md
Git Repo Normalize
When to use
-
Use this skill only when at least one trigger is present.
- The user explicitly asks to fix
.gitattributes, line endings, or LF/CRLF warnings. - Git emits
LF will be replaced by CRLF,CRLF will be replaced by LF, or similar warnings. - The repository has no committed root
.gitattributesEOL policy and the current task needs one. - A repo-wide diff or staging state suggests line-ending churn and you need to normalize intentionally.
- The user explicitly asks to fix
-
Do not use this skill just because the task touches Git.
- Routine commits, version bumps, tags, changelog edits, CI workflow edits, and diff review do not trigger normalization by themselves.
- If the repo already has a committed EOL policy and no line-ending problem is in scope, continue the main task without renormalizing.