configuring-git-hygiene
Installation
SKILL.md
Configure Git Hygiene
Set up project-local git hygiene. Keep hooks fast enough to stay enabled. Do not overwrite hooks, change global config, remove tracked files, or install tools without user approval.
Scope
Use this skill for:
- Git hook setup or migration to a project hooks directory.
- Staged-file pre-commit checks.
- Full pre-push validation.
- Gitleaks secret scanning.
.gitignorerules and tracked-file cleanup.- Local git config such as
core.hooksPath,includeIf, signing, pull behavior, and pruning.
Do not use this skill for: