Skip to content

Rules catalog · 社区索引与 local 引用 ​

Super Cursor 母版仅含 通用 rules(core · workflow · execution/* · tech/* 等)。栈专用 rules 请放入目标项目 .cursor/rules/local/(安装后指向 .cursorGrowth/rules/local/;模板见 rules/local README)。

四模式(Cursor / 社区最佳实践) ​

模式frontmatter用途
AlwaysalwaysApply: true母版 4 个:core · workflow · communication/cursor-standalone · communication/super-cursor-persona
Autoglobs: [...]tech/* · testing.mdc 等
Agentdescription 清晰Agent 按任务 relevance 加载
Manual@ruleName显式引用

保持 alwaysApply =4(当前母版即 4;新增须同步 .cursor/AGENTS.md 与根 README 的常驻说明) · 单 rule 宜 <500 行 · 细节进 skills 或 references/。

社区策展(高引用 · 只链不拷) ​

资源说明
PatrickJS/awesome-cursorrules~40k ⭐ · 最大 .mdc 列表
LessUp/awesome-cursorrules-zhPatrickJS 中文镜像 · 132 栈规则 · 通用项已蒸馏进母版
sickn33/agentic-awesome-skills~43k ⭐ · 跨工具 SKILL 合集
spencerpauly/awesome-cursor-skillsCursor 原生向 skill 策展(browser QA 等)
cursor.directory社区 rule 浏览
digitalchild/cursor-best-practices规则组织与模式
Cursor Docs · Rules官方 globs / RULE.md

吸收门禁(母版) ​

做不做
栈专用 → 目标项目 .cursor/rules/local/禁止整仓拷贝进母版 .cursor/skills/ / rules/
通用缺口 → 蒸馏进现有 skill/rule(过通用性门禁)为追星新建第 N 个平行入口 skill
本表外链仅作策展索引把业务包名/产品路径写进母版

母版已吸收(通用蒸馏) ​

社区主题母版落点
anti-overengineeringrules/execution/scope.mdc
anti-sycophancy(精选)rules/communication/agent-discipline.mdc
Vitest/Playwright testingrules/execution/testing.mdc
PR review 分角rules/communication/collaboration.mdc
Svelte 5rules/tech/svelte.mdc
Next Supabase authrules/tech/nextjs.mdc § Auth
IA / 导航迷路 / 角色入口rules/execution/ux.mdc · rules/execution/ia.mdc · ux / ia skills
交付 UX 验收rules/execution/delivery.mdc · delivery §5 导航与 IA
数据访问批处理(IN 分块)rules/execution/data-batch.mdc(吸收自跨项目通用护栏)
开源优先 / vendor 溯源rules/execution/oss-first.mdc · submodule.mdc(吸收自跨项目通用护栏)
输入边界 / 安全默认rules/execution/input-bounds.mdc
扩展宿主(可选)rules/execution/extensibility.mdc(三级 · glob)
Prompt / Agent 安全rules/execution/prompt-security.mdc
BDD / Gherkinrules/execution/testing.mdc § BDD
评审清单 · Issue 模板collaboration.mdc · bugfix.mdc
Conventional Commits 速查git skill
awesome-cursorrules-zh 通用蒸馏上四行 · 栈专用仅本表外链

引用到 local/ ​

bash
# 示例:从 awesome 复制 Next+Supabase 专 rule(勿 commit 进母版仓库)
curl -o .cursor/rules/local/my-stack.mdc \
  'https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/...'

# 中文镜像(栈专用 · 同上门禁)
curl -o .cursor/rules/local/flutter.mdc \
  'https://raw.githubusercontent.com/LessUp/awesome-cursorrules-zh/master/docs/rules/mobile/flutter/flutter-app-expert/.cursorrules'

安装后编辑 alwaysApply: false · 收窄 globs · 与母版 tech/* 互补而非重复。

与 skills 分工 ​

  • Rules — 纪律、栈约定、globs 触发
  • Skills — 多步流程(plan/run/release/git)
  • 流程不要写进长 rule;rule 不要重复 skill 全文

内容 SSOT:仓库内 .cursor/docs/ · 本站由 sync 镜像生成