_cursor.ai/prompts/更新公共组件的文档.prompts.md | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/readme.md | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/all-dev-specification.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/all-project-info.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/fit-base-pilot.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/type-component-child.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/type-component-pub.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/type-fetchers.mdc | ●●●●● patch | view | raw | blame | history | |
_cursor.ai/rules/type-pilot.mdc | patch | view | raw | blame | history | |
_cursor.ai/rules/type-surface.mdc | ●●●●● patch | view | raw | blame | history |
_cursor.ai/prompts/更新公共组件的文档.prompts.md
New file @@ -0,0 +1,16 @@ # 更新公共组件的文档 ## 第一步,对比 请检查项目公共组件目录的所有组件,然后检查公共组件文档目录下 ### 文件位置 公共组件有三个目录 - src/components/forms - src/components/layout - src/components/plugins 公共组件文档有三个目录 - src/components/forms.doc - src/components/layout.doc - src/components/plugins.doc _cursor.ai/readme.md
@@ -12,7 +12,7 @@ 所有的聊天(Agent、Ask、Edit)和 ctrl+k 编辑,都会参考此规则 - [AI系统扮演角色](/src/components/_cursor.ai/rules/all-system-role.mdc) - [系统角色](/src/components/_cursor.ai/rules/all-system-role.mdc) - [项目介绍](/src/components/_cursor.ai/rules/all-project-info.mdc) - [开发规范](/src/components/_cursor.ai/rules/all-dev-specification.mdc) @@ -20,11 +20,11 @@ 当路径规则匹配上时,会参考此规则 - 请求集 - [数据控制器](/src/components/_cursor.ai/rules/type-controller.mdc) - 界面 - 子组件 - 公共组件 - [请求集](/src/components/_cursor.ai/rules/type-fetchers.mdc) - [数据控制器](/src/components/_cursor.ai/rules/type-pilot.mdc) - [界面](/src/components/_cursor.ai/rules/type-surface.mdc) - [子组件](/src/components/_cursor.ai/rules/type-component-child.mdc) - [公共组件](/src/components/_cursor.ai/rules/type-component-pub.mdc) ### 规则类型:自主决定 `Agent-Requested` _cursor.ai/rules/all-dev-specification.mdc
@@ -10,7 +10,7 @@ **代码首先是给人读的,其次才是给机器运行**,所以让代码容易阅读是你应尽的责任 包括但不限于以下内容: - 变量、函数命名需具有实义 - 给变量、函数命名时,需要具有实义 - 避免使用难懂的语法或设计,用最简单的方式解决问题 - 避免单块代码过长,拆分为多个更简短的函数或方法 - 避免代码重复,通过封装函数、类或模块进行复用,封装遵守单一职责原则 _cursor.ai/rules/all-project-info.mdc
@@ -10,7 +10,6 @@ 这是一套Web前端开发的工程文档,用于指导移动端(H5网页、混合App、小程序等)的开发 ## 技术栈 - 语法框架:Vue(v2.5.0) _cursor.ai/rules/fit-base-pilot.mdc
@@ -1,5 +1,5 @@ --- description: description: 数据控制器基类,所有数据控制器都需要继承此类 globs: alwaysApply: false --- _cursor.ai/rules/type-component-child.mdc
New file @@ -0,0 +1,7 @@ --- description: globs: src/pages/**/**/cmpt/*.vue alwaysApply: false --- # 界面子组件 _cursor.ai/rules/type-component-pub.mdc
New file @@ -0,0 +1,7 @@ --- description: globs: src/components/**/**/*.vue alwaysApply: false --- # 公共组件 _cursor.ai/rules/type-fetchers.mdc
New file @@ -0,0 +1,7 @@ --- description: globs: src/fetchers/F*.js alwaysApply: false --- # 请求集 _cursor.ai/rules/type-pilot.mdc
_cursor.ai/rules/type-surface.mdc
New file @@ -0,0 +1,7 @@ --- description: globs: src/pages/**/**/*.vue alwaysApply: false --- # 界面