spring-ai-rag-demo: Skill for Cursor

.cursor/skills/pr/SKILL.md

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

A pull request description generator that uses the commits and code changes on the current Git branch. A pull request is a request to review and merge changes into another branch, often on GitHub.

In plain words
What is it for?
Use it when creating a pull request to summarize changes, affected business areas, implementation details by code layer, linked design documents, and AI contributions.
Why use it?
It removes the need to manually reconstruct what changed, which parts of the system were involved, and why the change was made. It also records any related design documents and AI assistance.

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/pr/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 pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/pr"><img src="https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 491 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.00024 $0.00491
Opus 5 $0.00012 $0.00246
Sonnet 5 $0.00005 $0.00098
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

pr 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 10d 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/pr/SKILL.md · 46 lines

What it actually says

生成 GitHub Pull Request 描述

请基于当前的 git 提交历史或代码变更,生成一份结构完整的 PR 描述。

步骤:

  1. 运行 git log main..HEAD --oneline 查看分支上的所有提交
  2. 运行 git diff main...HEAD --stat 查看变更文件统计
  3. 如有 openspec/changes/<id>/ 设计文档,阅读 proposal.md 和 design.md 了解需求背景
  4. 生成 PR 描述

输出格式:

变更说明

[描述本次 PR 要解决什么问题、带来了什么功能或修复。如涉及架构调整,说明从哪个访问/分层方式迁移到什么方式]

涉及业务域

[列出本次变更涉及的业务域,如:chat、billing、conversation、tool、config、vo、dao、static 等]

实现方式

[说明关键技术实现,按本项目分层描述:

  • Controller 层:新增/修改了哪些接口
  • Service 层:新增/修改了哪些业务编排
  • DAO / Tool / Config 层:新增/修改了哪些数据访问、工具或配置
  • VO / Entity 层:新增/修改了哪些请求响应对象或持久化实体
  • 前端静态资源:是否修改 static/app.jsstyle.cssindex.html 及缓存版本号
  • 其他:数据库变更、配置变更等]

设计文档

[如有关联的 openspec 设计文档,列出路径:openspec/changes/<id>/design.md]

AI Contribution

[明确说明 AI 协助的部分:

  • 代码生成:哪些模块由 AI 辅助编写
  • 设计协助:AI 参与了哪些设计决策
  • 代码审查:AI 发现并修复了哪些问题
  • 其他协助:文档、重构建议等]

AI-Generated: true AI-Tool: Cursor

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. 10d ago First seen · 46 lines · 24 tokens per session scan A bd0ee7b03001

Subscribe to this mod's changes

pr is a skill published in the GitHub repository ly1836/spring-ai-rag-demo (85 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 491 once invoked, about $0.0001 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.

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

lrc

Manage LiveReview code review for staged changes in this repo. Run /lrc review to open a browser-based AI review of staged changes before committing. Use /lrc skip to bypass review and write an attestation, or /lrc vouch to manually approve without AI. Check and toggle hook state with /lrc hooks status, hooks disable…

HexmosTech/git-lrc · 124 tokens

pr-address-comments-all

Address GitHub PR review comments on one or more PRs in parallel, each in its own git worktree on the PR's branch, reusing the pr-address-comments procedure. Auto-starts (look up PRs, create worktrees, fetch comments), then pauses to show a per-PR addressing plan for approval; after approval each PR is handled by a…

CiscoDevNet/essentials · 169 tokens

eg-precommit-review

Run a Codex-native pre-commit independent-review loop on pending changes.

vshvedov/elephant-goldfish · 20 tokens

gh-address-comments

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

Haohao-end/openagent · 39 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens