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:

  1. Co-Authored-By lines in the commit message body (Claude Code, Copilot)
  2. 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 message
  • post-commit — detects AI tool names in the author field and amends the commit to use your real git identity

Core Capabilities

Installs
2
GitHub Stars
1
First Seen
10 days ago
git-commit-hygiene — johnefemer/skillfish