I've been looking for something similar for AI git commit messages... basically feed ChatGPT a git diff and ask it what changed and to write a git message. I've done this directly in the ChatGPT UI with some small changes and it produces some great messages...
I would be very concerned to run this on company code or large diffs. But small simple commits, which should be the goal with commit messages anyways, would take away some of the tedium of the git flow.
CommitGPT was in a Show HN but didn't gather much attention back then: https://github.com/RomanHotsiy/commitgpt