Skip to content

Instantly share code, notes, and snippets.

@dotWee
Created March 10, 2025 12:09
Show Gist options
  • Save dotWee/a090d722df49a48480020d0f6175fd38 to your computer and use it in GitHub Desktop.
Save dotWee/a090d722df49a48480020d0f6175fd38 to your computer and use it in GitHub Desktop.
Cursor rule for git commits
Commit Messages must have a short description that is less than 50 characters followed by a newline and a more detailed description.
- Commit message should have one of the following prefixes: "feat: ", "fix: ", "refactor: "
- Use markdown syntax
- Write concisely using an informal tone
- List significant changes
- Do not use specific names or files from the code
- Do not use phrases like "this commit", "this change", etc.
- Sentences in the detailed description should be separated by newlines
- Mention implications and possible usages of the code changes
- Do not respond as code with ``` on the start and end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment