git-conventions

git-conventions is a cursor rule for Cursor from jentic/jentic-one. It costs 1,117 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,117 This file is loaded in full into every session.
When invoked 1,117 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.01117 $0.01117
Opus 5.5 $0.00447 $0.00447
Sonnet 5.5 $0.00223 $0.00223
Haiku 4.5 $0.00112 $0.00112

Measured 1mo ago against content hash 231b27738201, 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 1mo 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 · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 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. This document is the human-readable source of truth those reference; 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 Dependency updates, tooling, configs
docs Documentation only
style Formatting, whitespace (no logic change)
refactor Code restructuring (no behavior change)
perf Performance improvement
build Build system or external deps (Docker, pkg)
revert Reverting a previous commit

Read the full file on GitHub · 133 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. 1mo 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 (186 stars, last pushed today), licensed Apache-2.0. It adds 1,117 tokens to every session, about $0.0045 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.