Pre-commit custom behavior

I love the part where I click the magic button and commit msg go brrr. But In some my projects I use GitHub - changesets/changesets: 🦋 A way to manage your versioning and changelogs with a focus on monorepos to have a concise changelog. I can perhaps use a terminal ai tool like Warp terminal to do it (I haven’t tried) but it wouldn’t know what the changes are in order to write an accurate changelog.

Is there a way I can make Cursor do that? like a custom workflow positioned right before a commit that prompts the ai to write a bulletpoints of the changes made via the changesets cli tool.