RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/imazen/imageflow

Cursor rule

.cursor/rules/git-commits.mdc

Git Conventional Commits

Cursor rules

Quality

30/100

Scores the file, not the repository.

Length

264 words

0 headings · 0 code blocks

Repository

4.4k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
imazen/imageflow/.cursor/rules/git-commits.mdcRawGitHub
1---
2description: Git Conventional Commits
3globs:
4---
5Rule for automatically committing changes made by CursorAI using conventional commits format.
6 
7<rule>
8name: conventional_commits
9description: Automatically commit changes made by CursorAI using conventional commits format
10filters:
11 - type: event
12 pattern: "build_success"
13 - type: file_change
14 pattern: "*"
15 
16actions:
17 - type: execute
18 command: |
19 # Extract the change type and scope from the changes
20 CHANGE_TYPE=""
21 case "$CHANGE_DESCRIPTION" in
22 *"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 esac
31 
32 # Extract scope from file path
33 SCOPE=$(dirname "$FILE" | tr '/' '-')W
34 
35 # Commit the changes
36 git add "$FILE"
37 git commit -m "$CHANGE_TYPE($SCOPE): $CHANGE_DESCRIPTION"
38 
39 - type: suggest
40 message: |
41 Changes should be committed using conventional commits format:
42 
43 Format: <type>(<scope>): <description>
44 
45 Types:
46 - feat: A new feature
47 - fix: A bug fix
48 - docs: Documentation only changes
49 - style: Changes that do not affect the meaning of the code
50 - refactor: A code change that neither fixes a bug nor adds a feature
51 - perf: A code change that improves performance
52 - test: Adding missing tests or correcting existing tests
53 - chore: Changes to the build process or auxiliary tools
54 
55 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.
58 
59examples:
60 - input: |
61 # After adding a new function
62 CHANGE_DESCRIPTION="add user authentication function"
63 FILE="src/auth/login.ts"
64 output: "feat(src-auth): add user authentication function"
65 
66 - input: |
67 # After fixing a bug
68 CHANGE_DESCRIPTION="fix incorrect date parsing"
69 FILE="lib/utils/date.js"
70 output: "fix(lib-utils): fix incorrect date parsing"
71 
72metadata:
73 priority: high
74 version: 1.0
75</rule>

What it covers

git-pr

Stack — with the evidence

rust

(1.00)

csharp

(1.00)

dotnet

(0.60)

github-actions

(0.60)

Glob targeting

  • [object Object]

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
imazen
Language
—
License
—
Archived
no

All configs in this repo

Also in imazen/imageflow

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
imazen/imageflow.cursor/rules/bash.mdc · 4.4kCursor rulesrustcsharp+2setuparchgitdo-not55/1003 days ago
imazen/imageflow.cursor/rules/ci.mdc · 4.4kCursor rulesrustcsharp+2setupbuildtestarch+379/1003 days ago
imazen/imageflow.cursor/rules/creating-rules.mdc · 4.4kCursor rulesrustcsharp+2do-notagent-behaviour11/1003 days ago
imazen/imageflow.cursor/rules/ffi.mdc · 4.4kCursor rulesrustcsharp+2no sections16/1003 days ago
imazen/imageflow.cursor/rules/json-api.mdc · 4.4kCursor rulesrustcsharp+2no sections16/1003 days ago
imazen/imageflow.cursor/rules/riapi.mdc · 4.4kCursor rulesrustcsharp+2no sections30/1003 days ago
imazen/imageflow.cursor/rules/rust.mdc · 4.4kCursor rulesrustcsharp+2no sections30/1003 days ago
imazen/imageflowCLAUDE.md · 4.4kCLAUDE.mdrustcsharp+2buildteststylegit+285/1003 days ago
Diff against .cursor/rules/bash.mdc Diff against .cursor/rules/ci.mdc Diff against .cursor/rules/creating-rules.mdc Diff against .cursor/rules/ffi.mdc Diff against .cursor/rules/json-api.mdc Diff against .cursor/rules/riapi.mdc Diff against .cursor/rules/rust.mdc Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
ThanhTrunggDEV/DontBeLazy.cursor/rules/rust-testing.mdc · 6Cursor rulesjavascriptcsharp+2teststyletesting-strategy90/1003 days ago
ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-testing.mdc · 6Cursor rulesjavascriptcsharp+2teststyletypestesting-strategy85/1003 days ago
ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-coding-style.mdc · 6Cursor rulesjavascriptcsharp+2lint-formatstyletypesdo-not84/1003 days ago
quinnjr/skia-rs.cursor/rules/commands.mdc · 28Cursor rulesrusttypescript+1buildtestlint-formatgit+482/1003 days ago
hashintel/hash.cursor/rules/rust-testing-strategy.mdc · 1.6kCursor rulestypescriptrust+16testlint-formatstyletesting-strategy81/1003 days ago
ThanhTrunggDEV/DontBeLazy.cursor/rules/rust-security.mdc · 6Cursor rulesjavascriptcsharp+2stylesecuritydatabasedo-not80/1003 days ago
imazen/imageflow.cursor/rules/ci.mdc · 4.4kCursor rulesrustcsharp+2setupbuildtestarch+379/1003 days ago
ThanhTrunggDEV/DontBeLazy.cursor/rules/dart-hooks.mdc · 6Cursor rulesjavascriptcsharp+2lint-formatarchtesting-strategygit+178/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack