

Commit Intent
Pre-commit hook that writes an intent doc by mining AI chats
What is Commit Intent?
Git records what changed, not why. When AI writes a 300-line diff, the reasoning, constraints, and decisions stay behind in chat logs on your disk. That's the newest technical debt: lost context. At commit time, it matches session transcripts to your staged files and uses the Claude Code CLI you already have to distill the intent into docs/intents/, staged into the same commit as the code it explains. The why travels with the what. No new platform, no new workflow, no commit ever blocked.
Screenshots
?
No comments yet. Be the first!
Real conversations about Commit Intent on X
Post on X

