Enhanced Cursor Git Commits

Feature request for product/service

Cursor IDE

Describe the request

I would like to be able to template/control the AI generated commit messages. At present they are either too long or not specific enough for my git needs.

I propose two things:

  1. allow md/json formatting in (vscode) settings.json such as:
"cursor.git.commitSystemPrompt": "# prefix message with {cursor:} # label commit as {feat:} {bug:} or other #  "
  1. for power users (like myself) add a simple command to sequentially stage, commit, make ai message, check, and push to origin. I normally would handle with a .sh script, but this would be nice for simplicity.
"cursor.git.handleCommit": "all" ,"stage+commit","stage+commit+check"

personally I will be mapping this to a VM key binding like “leader + c”, I would suggest handling the case where there is nothing to commit and the git extension wants to crash/make an empty commit.

Operating System (if it applies)

Windows 10/11
MacOS