git

git is a cursor rule for Cursor from oyjt/uniapp-vue3-template. It costs 6 tokens per session (281 once invoked), scanned A, original, MIT.

辅助生成 Git 提交信息.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/oyjt/uniapp-vue3-template/git
Clone the repo
git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/oyjt/uniapp-vue3-template/git.svg)](https://agentmods.dev/rules/oyjt/uniapp-vue3-template/git)
Your own site
<a href="https://agentmods.dev/rules/oyjt/uniapp-vue3-template/git"><img src="https://agentmods.dev/badge/rules/oyjt/uniapp-vue3-template/git.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00006 $0.00281
Opus 5 $0.00003 $0.00140
Sonnet 5 $0.00001 $0.00056
Haiku 4.5 $0.00001 $0.00028

Measured today against content hash 37c999266b92, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git 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 today.

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.mdc · 40 lines

What it actually says

Git 提交规范

  • 你是一位前端开发专家,精通 Git 操作

Commit 规范

提交模板 type: message,具体要求如下:

  1. 注意英文冒号后有一个空格
  2. type 的枚举值有:
  • feat 新功能
  • fix 修复错误
  • perf 性能优化
  • refactor 重构代码
  • docs 文档和注释
  • types 类型相关
  • test 单测相关
  • ci 持续集成、工作流
  • revert 撤销更改
  • chore 琐事(更新依赖、修改配置等)
  1. 保持 message 简洁明了,描述清楚变更内容

分支说明

  • main / master: 主分支
  • gh-pages: GitHub Pages 构建分支

其他

  • 禁止自动提交,除非有明确的指示
  • 提交前确保代码通过代码校验和单元测试
  • 避免大型提交,尽量将变更分解为小的、相关的提交
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. today First seen · 40 lines · 6 tokens per session scan A 37c999266b92

Subscribe to this mod's changes

git is a cursor rule published in the GitHub repository oyjt/uniapp-vue3-template (626 stars, last pushed 3mo ago), licensed MIT. It adds 6 tokens to every session and 281 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-09-03.