Hope to enhance the Generate Commit Message feature to support cursor rules

1. Support Custom Rules

To maintain consistent commit message styles across our team, we’d like the ability to define custom rules (e.g., format, prefixes, or templates) that guide the AI in generating commit messages. This ensures clarity and uniformity for all team members.

2. Support Prompt Input for Better Context

Sometimes, the AI may not fully grasp the intent behind a commit. We propose allowing optional user prompts in the message input to provide additional context, helping the AI generate more accurate and meaningful commit messages.

3. Support Branch Information Parsing

In our workflow, development tasks are tracked via branch names (e.g., containing task/issue IDs). It would be extremely useful if the AI could:

  • Parse branch names (via cursor rules)
  • Extract relevant metadata (e.g., task ID)
  • Include them in commit messages
    This would help automatically link commits to our project management system (e.g., Jira, Linear).