

Commit Intent
Pre-commit hook that writes an intent doc by mining AI chats
什么是 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.
截图
?
还没有评论,来抢沙发吧!
X 上关于 Commit Intent 的真实讨论
去 X 发帖

