spring-ai-rag-demo / rules
Cursor rule86 starsChanged 7 months agoApache-2.0View on GitHub
AI 协作通用约定,适用于所有文件
In this repository16 other files it gives its agents.
- .cursor/rules/openspec-docs.mdcCursor rule
- .cursor/rules/spring-ai-rag-demo-module.mdcCursor rule
- commitSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- prSkill
- reviewSkill
The file
Files
--- description: AI 协作通用约定,适用于所有文件 globs: alwaysApply: true --- # AI 协作规则 ## 语言 - 所有对话、注释说明、提交信息优先使用中文 - 注释规则覆盖所有源码:Java / SQL / JavaScript / CSS / HTML(前端用 JSDoc 中文注释) ## Commit 格式 ``` <type>: <中文描述> AI-Generated: true AI-Tool: Cursor Reviewed-by: <git config user.name> ``` type: `feat` / `fix` / `refactor` / `docs` / `style` / `test` / `chore` ## AI 行为约束 1. 优先小提交(<500 行变更) 2. 安全敏感代码必须经过人工审核 3. 不确定的技术决策主动询问,不擅自决定 4. 修改代码前先阅读相关上下文,理解现有设计意图 5. 后端 API 改动时主动评估对前端的连带影响(请求/响应结构、错误码、SSE 协议),同步更新 `static/` 下相关文件 6. 修改 `static/app.js` / `static/style.css` / `static/vendor/*` 后,必须更新 `static/index.html` 中对应资源的 `?v=N` 版本号,避免浏览器缓存导致前端不刷新
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

