@routerhub/agent-rules 1.5.181 → 1.5.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.base.md +2 -0
- package/package.json +1 -1
- package/rules/frontend.md +2 -0
package/AGENTS.base.md
CHANGED
|
@@ -612,6 +612,8 @@
|
|
|
612
612
|
|
|
613
613
|
## 前端规则
|
|
614
614
|
|
|
615
|
+
我测试下看看能不能发新版本
|
|
616
|
+
|
|
615
617
|
- ⚠️ **默认隐藏滚动条**:页面/容器出现滚动需求时,滚动条默认隐藏(内容仍可正常滚动),不得让滚动条可见。仅当用户明确说「需要滚动条」「可以有滚动条」「显示滚动条」等表述时,才允许显示。
|
|
616
618
|
- ⚠️ **依赖安装统一 `pnpm`**,禁止 `npm install` / `yarn install`(pnpm workspace 混合安装会破坏依赖结构)。
|
|
617
619
|
- ⚠️ **API 请求严格使用 OpenAPI 生成的方法,禁止手写请求或直接拼接路径**;接口变更后先更新 OpenAPI 定义并重新生成 API 代码,再进行业务开发。
|
package/package.json
CHANGED
package/rules/frontend.md
CHANGED
|
@@ -6,6 +6,8 @@ outputName: "frontend"
|
|
|
6
6
|
|
|
7
7
|
## 前端规则
|
|
8
8
|
|
|
9
|
+
我测试下看看能不能发新版本
|
|
10
|
+
|
|
9
11
|
- ⚠️ **默认隐藏滚动条**:页面/容器出现滚动需求时,滚动条默认隐藏(内容仍可正常滚动),不得让滚动条可见。仅当用户明确说「需要滚动条」「可以有滚动条」「显示滚动条」等表述时,才允许显示。
|
|
10
12
|
- ⚠️ **依赖安装统一 `pnpm`**,禁止 `npm install` / `yarn install`(pnpm workspace 混合安装会破坏依赖结构)。
|
|
11
13
|
- ⚠️ **API 请求严格使用 OpenAPI 生成的方法,禁止手写请求或直接拼接路径**;接口变更后先更新 OpenAPI 定义并重新生成 API 代码,再进行业务开发。
|