# Git Commit Messages

> Conventional-commit message formatting for Cursor

Source: https://aistack.sh/rule/git-conventional-commit-messages
Real source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/git-conventional-commit-messages.mdc
Author: awesome-cursorrules community (curated by PatrickJS)
Category: cursor-rule
Stack: Git
Last verified: 2026-09-06

Cursor Project Rules for writing conventional commit messages: type prefixes, scope, and message structure.

## Install

### cursor

```
mkdir -p .cursor/rules
curl -o .cursor/rules/git-conventional-commit-messages.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/git-conventional-commit-messages.mdc
```

Per the repo's own instructions: create a .cursor/rules/ directory in your project, then copy the .mdc file into it. Cursor auto-attaches the rule based on the globs in its frontmatter.

---

From aistack.sh. Last verified 2026-09-06.
