git-commit-hygiene
Installation
SKILL.md
Git Commit Hygiene
Tier: ESSENTIAL Category: Engineering Domain: Git / Version Control
Overview
AI coding tools (Claude Code, Cursor Agent, Copilot, etc.) inject attribution into commits in two ways:
- Co-Authored-By lines in the commit message body (Claude Code, Copilot)
- Author hijacking — setting themselves as the git commit author (Cursor Agent sets
--author="cursoragent <...>")
This skill installs two git hooks that catch both vectors:
commit-msg— strips Co-Authored-By, Made-with, and other attribution lines from the messagepost-commit— detects AI tool names in the author field and amends the commit to use your real git identity