spring-ai-rag-demo: Skill for Cursor

.cursor/skills/commit/SKILL.md

commit is a skill for Cursor from ly1836/spring-ai-rag-demo. It costs 25 tokens per session (338 once invoked), scanned A, original, Apache-2.0.

A guide for examining Git changes and writing a standard commit message in Chinese. A commit is a saved snapshot of changes in a version-control repository.

In plain words
What is it for?
Reviewing staged or unstaged changes and producing messages for features, fixes, refactors, documentation, tests, configuration work, or formatting changes.
Why use it?
It helps make commit history consistent and understandable by recording the change type, affected area, and main purpose in a prescribed format.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ly1836/spring-ai-rag-demo's own configuration. It tells Cursor how to work on spring-ai-rag-demo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spring-ai-rag-demo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ly1836/spring-ai-rag-demo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ly1836/spring-ai-rag-demo/main/.cursor/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ly1836/spring-ai-rag-demo

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 commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/commit/github.svg)](https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/commit)
Your own site
<a href="https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/commit"><img src="https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/commit/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 commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/commit"><img src="https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.00338
Opus 5.5 $0.00010 $0.00135
Sonnet 5.5 $0.00005 $0.00068
Haiku 4.5 $0.00003 $0.00034

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

Security

Grade A, and why

commit 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 2mo 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/skills/commit/SKILL.md · 48 lines

What it actually says

生成 Commit Message

分析当前 git 变更,生成规范的提交信息。

步骤:

  1. 运行 git diff --cached 或 git diff 查看变更内容
  2. 判断变更类型和涉及的业务域
  3. 生成符合规范的 commit message

格式:

<type>: <中文描述>

AI-Generated: true
AI-Tool: Cursor
Reviewed-by: <git config user.name>

type 选择:

  • feat: 新功能(新增 Controller / Service / Tool / DAO / 前端交互等)
  • fix: 修复缺陷
  • refactor: 重构(如数据访问层迁移、服务拆分、配置整理)
  • docs: 文档变更(openspec 设计文档等)
  • style: 格式调整(不影响逻辑)
  • test: 测试相关
  • chore: 构建/依赖/配置变更

描述规范:

  • 优先使用中文
  • 指明涉及的业务域(如:chat、billing、conversation、tool、config、vo、dao、static)
  • 说明变更的核心内容

示例:

refactor: 计费域 — 将 JdbcTemplate 查询迁移为 MyBatis-Plus Mapper

AI-Generated: true
AI-Tool: Cursor
Reviewed-by: developer
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. 2mo ago First seen · 48 lines · 25 tokens per session scan A c0768c529d44

Subscribe to this mod's changes

commit is a skill published in the GitHub repository ly1836/spring-ai-rag-demo (101 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 338 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

git-expert

Expert-level Git version control with advanced workflows, branching strategies, and best practices for team collaboration. Use when the user mentions version control, collaboration, or workflow, or when the task involves Essential Git Commands, Advanced Git Techniques, Branching Strategies, or Conflict Resolution.

personamanagmentlayer/pcl · 57 tokens

release

Use this skill for EVERY ClawRouter release. Enforces the full checklist — version sync, CHANGELOG, build, tests, npm publish, git tag, GitHub release. No step can be skipped.

BlockRunAI/ClawRouter · 44 tokens

git-ops

Close out a local coding task on the bound daemon — stage, commit, branch, merge, push via cloud git — and when a merge conflicts, STOP and escalate with the file list instead of auto-resolving. Push reaches only the bare replica; prod-triggering tags are refused.

Prismer-AI/PrismerCloud · 62 tokens

close-task-commit-push-pr

Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.

devoxx/DevoxxGenieIDEAPlugin · 64 tokens

git-commit-push-pr

Commit all changes, push to remote, and open a pull request in one go. Use when the user says "commit push pr", "ship it", "open a pr", or invokes /git-commit-push-pr.

devoxx/DevoxxGenieIDEAPlugin · 53 tokens

git-commit

A guided Git commit workflow that examines changes and creates a commit message using the Conventional Commits format, a shared style for labeling changes such as features, fixes, tests, or documentation.

adongwanai/learn-workbuddy · 0 tokens