git-conventions

git-conventions is a cursor rule for Cursor from jentic/jentic-one. It costs 1,258 tokens per session, scanned A, original, Apache-2.0.

A set of rules for naming Git commits and choosing the right pull-request merge approach.

In plain words
What is it for?
It guides developers on when to use commit types such as fix, refactor, or test, including changes made before code is released.
Why use it?
It keeps the project's history and automatically generated release notes consistent.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It guides developers on when to use commit types such as fix, refactor, or test, including changes made before code is released.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jentic/jentic-one/git-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jentic/jentic-one

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-conventions

README.md
[![agentmods](https://agentmods.dev/badge/rules/jentic/jentic-one/git-conventions/github.svg)](https://agentmods.dev/rules/jentic/jentic-one/git-conventions)
Your own site
<a href="https://agentmods.dev/rules/jentic/jentic-one/git-conventions"><img src="https://agentmods.dev/badge/rules/jentic/jentic-one/git-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-conventions

Your own site · 80×15
<a href="https://agentmods.dev/rules/jentic/jentic-one/git-conventions"><img src="https://agentmods.dev/badge/rules/jentic/jentic-one/git-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,258 This file is loaded in full into every session.
When invoked 1,258 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01258 $0.01258
Opus 5.5 $0.00503 $0.00503
Sonnet 5.5 $0.00252 $0.00252
Haiku 4.5 $0.00126 $0.00126

Measured 6d ago against content hash 5cd226bad4cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/git-conventions.mdc · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Conventions

Conventional Commits are enforced repo-wide by the commit-msg hook (uv run cz check, pure Python — no Node). The allowed types and the schema regex live in pyproject.toml ([tool.commitizen.customize]) and are guarded by tests/arch/test_commit_convention.py, which checks the type table below against that regex. Keep all three in sync.

Commit Types — Use the Correct Type

Reserve fix exclusively for real bug fixes — something was broken in production (on main), now it works. Misusing fix pollutes the auto-generated changelog.

fix in feature branches

If you created the code and the bug in the same feature branch, it's not a fix. You're refactoring your own unshipped work:

# ❌ WRONG — AppLink was created in this branch, not shipped yet
fix(ui): harden AppLink against XSS and correct prop spread order

# ✅ CORRECT — refactoring new code before it ships
refactor(ui): harden AppLink against XSS and correct prop spread order

# ❌ WRONG — our own new password toggle broke the e2e locator
fix(e2e): use getByRole for password field to avoid toggle collision

# ✅ CORRECT — adjusting tests for our own new feature
test(e2e): use getByRole for password field to avoid toggle collision

Rule of thumb: if the bug doesn't exist on main, it's not a fix.

# ❌ WRONG — not a bug fix, and scope should be the file or area
fix(ci): fix CI concurrency and duplicate Docker builds on main

# ✅ CORRECT — use the type that matches the change
ci(release.yaml): fix CI concurrency and duplicate Docker builds on main

Type reference

Type Use for
feat New user-facing feature
fix Bug fix (something was broken, now it works)
test Adding or updating tests
ci CI/CD pipeline changes
chore Tooling, configs (hidden from changelog)
docs Documentation only
style Formatting, whitespace (no logic change)
refactor Code restructuring (no behavior change)
perf Performance improvement
build Build system or dependency updates (Docker, pkg, lib bumps)
revert Reverting a previous commit

Read the full file on GitHub · 145 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +12 lines · +141 tokens per session 5cd226bad4cd
  2. 3mo ago First seen · 133 lines · 1,117 tokens per session scan A 231b27738201

Subscribe to this mod's changes

git-conventions is a cursor rule published in the GitHub repository jentic/jentic-one (231 stars, last pushed 5d ago), licensed Apache-2.0. It adds 1,258 tokens to every session, about $0.0050 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

git-conventions compared with cursor rules from other repositories

git-conventions next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-conventionsjentic/jentic-oneCursor rule2315d agoApache-2.0A1,258Cursor
gitblockmatic/basilicCursor rule901mo agoMITA51Cursor
hatch3r-git-conventionshatch3r/hatch3rCursor rule262mo agoMITA39Cursor
git-workflowuseshape/ShapeCursor rule43todaynoneA174Cursor
git-disciplinemennyg19-cmyk/MasterGenAIInstructionsCursor rule2yesterdaynoneA656Cursor
git-commit-standardsivangrynenko/cursorrulesCursor rule881y agoMITA0Cursor
auto-commitjsnyde0/model-context-playgroundCursor rule01y agononeA361Cursor