spring-ai-rag-demo / rules
Cursor rule86 starsChanged 7 months agoApache-2.0View on GitHub
OpenSpec 文档编写语言与结构约束
In this repository16 other files it gives its agents.
- .cursor/rules/ai-coding.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: OpenSpec 文档编写语言与结构约束 globs: openspec/**/*.md alwaysApply: false --- # OpenSpec 文档规则 - `openspec/` 下的 `proposal.md`、`design.md`、`tasks.md`、`spec.md` 正文默认使用中文。 - OpenSpec 工具可能依赖固定结构关键字;如模板或同步工具要求保留 `## ADDED Requirements`、`### Requirement:`、`#### Scenario:`、`## Purpose`、`## Requirements` 等结构标记时,可以保留这些英文结构词,但其后的标题、说明、场景内容应使用中文。 - 若主 `spec` 由 change 下的 delta spec 同步而来,源 delta spec 也应优先写成中文,否则同步结果会延续源文档语言。 - 编写 `spec.md` 时优先保证结构兼容性,其次保证语言一致性;不要为了翻译把 OpenSpec 所需层级或关键标记改坏。 - 主 `spec` 的标题也应优先使用中文,例如 `# <capability> 规格`,不要保留 CLI 自动生成的 `# <capability> Specification` 英文标题。 - `## Purpose` 段落必须写成正式中文说明,禁止保留 `TBD - created by archiving change ...`、`Update Purpose after archive.` 等英文占位文案。 - 当归档或同步主 spec 时,如果工具自动生成了英文外壳,必须在归档流程结束前立即改写为中文,再视为完成。
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.

