@routerhub/agent-rules 1.0.7 → 1.0.8

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 CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  - 不能随意修改核心业务文件和 API 相关代码。
12
12
  - 不要编写或修改 `README.md`(由项目维护)。
13
- - 先用`typings.d.ts` 中的类型定义,如果没有再自定义 TypeScript类型
13
+ - 先用`typings.d.ts` 中的类型定义,另外用的时候要确认下typings.d.ts中有这个类型定义,如果没有再自定义 TypeScript类型
14
14
 
15
15
  ## 样式与 UI 约束
16
16
 
@@ -21,7 +21,6 @@
21
21
 
22
22
  ## 命名与类型约束
23
23
 
24
- - 参数名、变量名应与 `typings.d.ts` 中字段命名保持一致。
25
24
  - 命名使用小驼峰或大驼峰,不使用下划线命名。
26
25
  - 变量或值命名时,至少使用两个单词。
27
26
  - TS 中不允许使用 `as`,不允许使用 `any`。
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  在你的项目里安装:
11
11
 
12
12
  ```bash
13
- pnpm add -D concurrently https://github.com/routerhub/agentRules.git#v1.0.6
13
+ pnpm add -D concurrently @routerhub/agent-rules
14
14
  ```
15
15
 
16
16
  ## 使用
@@ -29,9 +29,3 @@ pnpm add -D concurrently https://github.com/routerhub/agentRules.git#v1.0.6
29
29
  - 监听 `AGENTS.private.md` 变更
30
30
  - 变更后自动重新同步 `AGENTS.md`
31
31
 
32
-
33
- ## 如何打tag
34
- ```
35
- git tag v1.0.6
36
- git push --tags
37
- ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {