40-conventional-commits

40-conventional-commits is a cursor rule for Cursor from gurezo/web-serial-rxjs. It costs 617 tokens per session, scanned A, original, MIT.

A set of rules for Conventional Commits, a standard format for describing code changes in Git commit messages. It defines commit types, scopes, summaries, and how to record breaking changes.

In plain words
What is it for?
Use it to write commit messages for features, bug fixes, documentation, tests, builds, configuration, and other changes.
Why use it?
It keeps commit history consistent and makes the purpose of each change easier to understand and process.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to write commit messages for features, bug fixes, documentation, tests, builds, configuration, and other changes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/gurezo/web-serial-rxjs/40-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/gurezo/web-serial-rxjs

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/gurezo/web-serial-rxjs/40-conventional-commits/github.svg)](https://agentmods.dev/rules/gurezo/web-serial-rxjs/40-conventional-commits)
Your own site
<a href="https://agentmods.dev/rules/gurezo/web-serial-rxjs/40-conventional-commits"><img src="https://agentmods.dev/badge/rules/gurezo/web-serial-rxjs/40-conventional-commits/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 40-conventional-commits

Your own site · 80×15
<a href="https://agentmods.dev/rules/gurezo/web-serial-rxjs/40-conventional-commits"><img src="https://agentmods.dev/badge/rules/gurezo/web-serial-rxjs/40-conventional-commits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 617 This file is loaded in full into every session.
When invoked 617 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.00617 $0.00617
Opus 5.5 $0.00247 $0.00247
Sonnet 5.5 $0.00123 $0.00123
Haiku 4.5 $0.00062 $0.00062

Measured 1mo ago against content hash 3fd8b90c40d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

40-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 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/commits/40-conventional-commits.mdc · 69 lines

What it actually says

Conventional Commits Rules

すべてのコミットメッセージは Conventional Commits に準拠する。

形式

<type>(<scope>): <summary>

[optional body]

[optional footer(s)]

ルール

  • type は小文字。
  • scope は小文字、ハイフン区切り。プロジェクトの commitlint.config.js の scope-enum から選ぶ。
  • summary は簡潔な英語、命令形 (imperative mood)。
  • summary の先頭は小文字。
  • summary の末尾にピリオドを付けない。
  • summary は 72 文字以内に収める。
  • type と変更内容を一致させる。
  • 関連性のない変更を 1 つのコミットに混在させない。

許可される type

type 用途
feat 新機能の追加
fix バグ修正
docs ドキュメントのみの変更
style コードフォーマット (動作に影響しない)
refactor リファクタリング (機能変更なし)
perf パフォーマンス改善
test テスト追加・修正
build ビルド・依存・設定の変更
ci CI 設定の変更
chore その他の雑務
revert 過去のコミットの取り消し

scope の選び方

  • scope は .cursor/rules/nx/30-nx-project-scope.mdc に従い、apps/**/project.json / packages/**/project.json の name を優先する。
  • project 非依存の変更は workspace / docs / ci / build / deps などの fallback scope を使う。

Breaking Change

破壊的変更は footer に BREAKING CHANGE: を記載する。type! 表記は使わない。

feat(web-serial-rxjs): change SerialSession connect api

BREAKING CHANGE: SerialSession の API が変更されました

参照

  • .cursor/skills/conventional-commits/SKILL.md
  • commitlint.config.js
  • CONTRIBUTING.md
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 · 69 lines · 617 tokens per session scan A 3fd8b90c40d3

Subscribe to this mod's changes

40-conventional-commits is a cursor rule published in the GitHub repository gurezo/web-serial-rxjs (2 stars, last pushed 7d ago), licensed MIT. It adds 617 tokens to every session, about $0.0025 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-09-12.