conventional-commits

conventional-commits is a cursor rule for Cursor from iSerter/laravel-claude-agents. It costs 431 tokens per session, scanned A, original, MIT.

A commit-message convention that labels changes, such as fixes, features, tests, or documentation, in a standard format.

In plain words
What is it for?
Use it whenever creating Git commits, including the change type, optional area, and a short description.
Why use it?
Consistent messages make project history easier to scan and can support automated release and version tracking.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it whenever creating Git commits, including the change type, optional area, and a short description.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/iserter/laravel-claude-agents/conventional-commits
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/iSerter/laravel-claude-agents

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 conventional-commits

README.md
[![agentmods](https://agentmods.dev/badge/rules/iserter/laravel-claude-agents/conventional-commits.svg)](https://agentmods.dev/rules/iserter/laravel-claude-agents/conventional-commits)
Your own site
<a href="https://agentmods.dev/rules/iserter/laravel-claude-agents/conventional-commits"><img src="https://agentmods.dev/badge/rules/iserter/laravel-claude-agents/conventional-commits.svg" alt="Measured on agentmods" height="20"></a>
Per session 431 This file is loaded in full into every session.
When invoked 431 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.00431 $0.00431
Opus 5 $0.00216 $0.00216
Sonnet 5 $0.00086 $0.00086
Haiku 4.5 $0.00043 $0.00043

Measured 8d ago against content hash ef1bd6de38a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

conventional-commits 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 8d 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/conventional-commits.mdc · 58 lines

What it actually says

Conventional Commits

Use Conventional Commits for every commit message.

Format

<type>[optional scope]: <description>

[optional body]

[optional footer]
  • First line: type (required), optional scope in parentheses, colon and space, short description in imperative mood (lowercase, no period).
  • Body (optional): wrap at 72 chars; explain what and why, not how.
  • Footer (optional): e.g. BREAKING CHANGE:, Refs #123.

Types

Type Use for
feat New feature (MINOR bump)
fix Bug fix (PATCH bump)
docs Documentation only
style Formatting, whitespace, no code change
refactor Code change that is not a fix or feature
perf Performance improvement
test Adding or updating tests
build Build system, dependencies, tooling
ci CI configuration
chore Other changes (e.g. repo maintenance)
revert Revert a previous commit

Examples

feat(api): add pagination to skills list
fix(auth): resolve token expiry race condition
docs: update README installation steps
chore(deps): bump composer dependencies
feat(parser)!: drop support for PHP 7.4

BREAKING CHANGE: PHP 8.0+ is now required.

Rules

  • Use imperative mood: "add feature" not "added feature" or "adds feature".
  • No period at the end of the subject line.
  • For breaking changes, use ! after type/scope and/or a BREAKING CHANGE: footer.
  • When suggesting or writing commits, always use this format.
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. 8d ago First seen · 58 lines · 431 tokens per session scan A ef1bd6de38a7

Subscribe to this mod's changes

conventional-commits is a cursor rule published in the GitHub repository iSerter/laravel-claude-agents (44 stars, last pushed 4mo ago), licensed MIT. It adds 431 tokens to every session, about $0.0022 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.