Cursor rule
.cursor/rules/git-commits.mdcGit Conventional Commits
Cursor rules
Quality
30/100
Scores the file, not the repository.Length
264 words
0 headings · 0 code blocksRepository
4.4k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.12345Rule for automatically committing changes made by CursorAI using conventional commits format.67<rule>8name: conventional_commits9description: Automatically commit changes made by CursorAI using conventional commits format10filters:11 - type: event12 pattern: "build_success"13 - type: file_change14 pattern: "*"1516actions:17 - type: execute18 command: |19 # Extract the change type and scope from the changes20 CHANGE_TYPE=""21 case "$CHANGE_DESCRIPTION" in22 *"add"*|*"create"*|*"implement"*) CHANGE_TYPE="feat";;23 *"fix"*|*"correct"*|*"resolve"*) CHANGE_TYPE="fix";;24 *"refactor"*|*"restructure"*) CHANGE_TYPE="refactor";;25 *"test"*) CHANGE_TYPE="test";;26 *"doc"*|*"comment"*) CHANGE_TYPE="docs";;27 *"style"*|*"format"*) CHANGE_TYPE="style";;28 *"perf"*|*"optimize"*) CHANGE_TYPE="perf";;29 *) CHANGE_TYPE="chore";;30 esac3132 # Extract scope from file path33 SCOPE=$(dirname "$FILE" | tr '/' '-')W3435 # Commit the changes36 git add "$FILE"37 git commit -m "$CHANGE_TYPE($SCOPE): $CHANGE_DESCRIPTION"3839 - type: suggest40 message: |41 Changes should be committed using conventional commits format:4243 Format: <type>(<scope>): <description>4445 Types:46 - feat: A new feature47 - fix: A bug fix48 - docs: Documentation only changes49 - style: Changes that do not affect the meaning of the code50 - refactor: A code change that neither fixes a bug nor adds a feature51 - perf: A code change that improves performance52 - test: Adding missing tests or correcting existing tests53 - chore: Changes to the build process or auxiliary tools5455 The scope should be derived from the file path or affected component.56 The description should be clear and concise, written in imperative mood.57 For anything in .github or ci folders, (ci) is the correct scope.5859examples:60 - input: |61 # After adding a new function62 CHANGE_DESCRIPTION="add user authentication function"63 FILE="src/auth/login.ts"64 output: "feat(src-auth): add user authentication function"6566 - input: |67 # After fixing a bug68 CHANGE_DESCRIPTION="fix incorrect date parsing"69 FILE="lib/utils/date.js"70 output: "fix(lib-utils): fix incorrect date parsing"7172metadata:73 priority: high74 version: 1.075</rule>
Also in imazen/imageflow
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| imazen/imageflow.cursor/rules/bash.mdc · 4.4k | Cursor rules | setuparchgitdo-not | 55/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/ci.mdc · 4.4k | Cursor rules | setupbuildtestarch+3 | 79/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/creating-rules.mdc · 4.4k | Cursor rules | do-notagent-behaviour | 11/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/ffi.mdc · 4.4k | Cursor rules | no sections | 16/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/json-api.mdc · 4.4k | Cursor rules | no sections | 16/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/riapi.mdc · 4.4k | Cursor rules | no sections | 30/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/rust.mdc · 4.4k | Cursor rules | no sections | 30/100 | 3 days ago | |
| imazen/imageflowCLAUDE.md · 4.4k | CLAUDE.md | buildteststylegit+2 | 85/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ThanhTrunggDEV/DontBeLazy.cursor/rules/rust-testing.mdc · 6 | Cursor rules | teststyletesting-strategy | 90/100 | 3 days ago | |
| ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-testing.mdc · 6 | Cursor rules | teststyletypestesting-strategy | 85/100 | 3 days ago | |
| ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-coding-style.mdc · 6 | Cursor rules | lint-formatstyletypesdo-not | 84/100 | 3 days ago | |
| quinnjr/skia-rs.cursor/rules/commands.mdc · 28 | Cursor rules | buildtestlint-formatgit+4 | 82/100 | 3 days ago | |
| hashintel/hash.cursor/rules/rust-testing-strategy.mdc · 1.6k | Cursor rules | testlint-formatstyletesting-strategy | 81/100 | 3 days ago | |
| ThanhTrunggDEV/DontBeLazy.cursor/rules/rust-security.mdc · 6 | Cursor rules | stylesecuritydatabasedo-not | 80/100 | 3 days ago | |
| imazen/imageflow.cursor/rules/ci.mdc · 4.4k | Cursor rules | setupbuildtestarch+3 | 79/100 | 3 days ago | |
| ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-hooks.mdc · 6 | Cursor rules | lint-formatarchtesting-strategygit+1 | 78/100 | 3 days ago |
