This script automatically generates a commit message for staged changes in a git repository using OpenAI's API.
It tries to enforce the contributing guidelines for a [good commit message][commit_messages].
Unfortunately, this doesn't always work. If you have ideas for a better prompt, please let me know!