@routerhub/agent-rules 1.5.35 → 1.5.36

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.
Files changed (2) hide show
  1. package/AGENTS.base.md +1 -0
  2. package/package.json +1 -1
package/AGENTS.base.md CHANGED
@@ -201,6 +201,7 @@ Closes #456
201
201
 
202
202
  - 依赖安装统一 `pnpm`,禁止 `npm install`/`yarn install`。
203
203
  - 写完代码先 `npm run format`,再 `npm run build`,构建通过才可发版。
204
+ - AI 改完代码后禁止自动执行任何格式化命令(包括但不限于 `npm run format`、`pnpm run format`、`prettier`、`eslint --fix` 等),避免产生仅含格式差异的文件变更,防止 PR 中混入大量与业务逻辑无关的格式化 diff;仅在用户明确要求格式化时才执行格式化操作。
204
205
 
205
206
  ## 测试
206
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.5.35",
3
+ "version": "1.5.36",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {