Skip to content

Commit 1b5fcbe

Browse files
committed
Enhance agent.mdc guidelines and remove unused README files
- Updated agent.mdc to include explicit prohibitions against automatic commands and file generation. - Deleted outdated README files from packages: dev-utils, env, i18n, module-manager, shared, ui, content, content-runtime, and content-ui to streamline documentation. - Added FeedbackButton component to the Dashboard for improved user interaction.
1 parent 00b6d8f commit 1b5fcbe

File tree

13 files changed

+219
-826
lines changed

13 files changed

+219
-826
lines changed

.cursor/rules/agent.mdc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22
alwaysApply: true
33
---
44

5-
- 不要自动跑任何 pnpm 命令
6-
- 不要自动书写 README.md 文件
5+
## 禁止做以下的行为, 如非被明确要求
6+
7+
- 禁止自动跑任何 pnpm 命令
8+
- 禁止自动创建 README.md 文件
9+
- 禁止自动生成 console.log 语句
10+
- 禁止自动跑任何的 linter 命令
11+
- 禁止自动构建任何的 e2e 测试
12+
- 禁止自动使用 tailwindcss
13+
14+
## 建议做以下的行为
15+
716
- 尽量使用 for 循环, 尽量不实用 forEach
8-
- 在 Typescript 中, 不要使用 any, 尽量推导出来类型
9-
- 不要输出任何 console.log 语句
17+
- 在 Typescript 中, 禁止使用 any, 尽量推导出来类型

packages/dev-utils/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/env/README.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/i18n/README.md

Lines changed: 0 additions & 173 deletions
This file was deleted.

packages/module-manager/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

packages/shared/README.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)