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.
npx agentmods add rules/gifflet/cursor-like-pro/git-conventionsgit clone --depth 1 https://github.com/gifflet/cursor-like-proWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00009 | $0.02561 |
| Opus 5 | $0.00005 | $0.01281 |
| Sonnet 5 | $0.00002 | $0.00512 |
| Haiku 4.5 | $0.00001 | $0.00256 |
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 384 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Conventions and Workflow Guidelines 🔄
Language Requirements
All git-related text MUST be written in English:
- Commit messages
- Branch names
- Pull request titles and descriptions
- Code review comments
- Issue titles and descriptions
Commit Message Format
All commit messages MUST follow the Conventional Commits specification:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (formatting, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary toolsci: Changes to CI configuration files and scripts
Scope
The scope should be the name of the component affected (as perceived by the person reading the changelog).
Examples:
feat(auth): add login with Googlefix(api): handle null response from serverdocs(readme): update installation steps
Description
- Use the imperative, present tense: "change" not "changed" nor "changes"
- Don't capitalize first letter
- No dot (.) at the end
- Write in english
Branch Naming Convention
Branches should follow this pattern:
<type>/<short-description>
For features and fixes that are tracked in a project management system, include the ticket number:
<type>/<ticket-number>-<short-description>
Examples:
feat/add-google-authfix/handle-null-responsesdocs/update-readmefeat/PROJ-123-add-google-authfix/PROJ-456-handle-null-responses
Workflow Guidelines
- Protected Branches
main(ormaster): Production-ready code, protected branch- Direct commits to protected branches are NOT allowed
- All changes must come through Pull Requests
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.
- 2d ago First seen · 384 lines · 9 tokens per session scan A 1abee799e09d
git-conventions is a cursor rule published in the GitHub repository gifflet/cursor-like-pro (17 stars, last pushed 1y ago), licensed MIT. It adds 9 tokens to every session and 2,561 once invoked, about $0.0000 per session on Opus 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.
Other cursor rules, from other repositories
nextjs
Rules for Next.js projects (App Router and Pages Router).
java-kotlin
Rules applied when working in Java or Kotlin files (incl. Android).
php
Rules applied when working in PHP files (incl. Laravel, Symfony, WordPress).
vue
Rules for Vue (2 and 3) single-file components.
cursorrules
40 lines, or explicitly requested.
shell
Rules for shell scripts (bash, zsh, sh, PowerShell).