I have mixed feelings about AI-written commit messages and pull request descriptions. My main concern is that they can omit the broader framing people need to understand a change, or supply a rationale that is simply wrong.
I have been letting Claude and GLT-5.5 write almost all of my commit messages recently, but I don't feel great about it.
I see omitting the higher-level framing needed to understand broadly what the code is doing as definitely the key problem with AI-written change descriptions.
Sometimes AI tools attempt to explain the rationale for a change but guess the rationale incorrectly, which is worse than not adding no a rationale at all.
I do try to link commits back to issues though, which are written by me and provide a much better answer to the reason behind a change.
I recently started hiding the bulk of my AI-generated GitHub PR descriptions behind a collapsed <details><summary> HTML tag, which GitHub Markdown supports.
I think collapsing AI-generated PR descriptions is a useful pattern for making PR slop a little bit less exhausting.
Related: engineering quality with agents, ai contribution policies, ai generated software documentation