@routerhub/agent-rules 1.3.11 → 1.3.12

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 +7 -0
  2. package/package.json +1 -1
package/AGENTS.base.md CHANGED
@@ -70,6 +70,13 @@
70
70
 
71
71
  - 每次开发新功能时,尽可能将其封装为组件,方便后续在其它页面或场景中复用。
72
72
 
73
+ ## 需求文档前置规则
74
+
75
+ - 每次开始实现新需求前,必须先编写对应的需求说明 MD 文档。
76
+ - 需求文档统一存放在项目根目录的 `docs/` 文件夹下。
77
+ - 需求文档至少包含以下内容:需求目标、需求范围、功能要求、验收标准。
78
+ - 如存在补充信息,需在文档中增加“备注”章节说明。
79
+
73
80
  ## 依赖安装规范
74
81
 
75
82
  - 无论在 Docker 环境还是本地环境,安装和下载依赖都必须使用 `pnpm`,禁止使用 `npm install`、`yarn install` 等其它包管理器安装命令。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.3.11",
3
+ "version": "1.3.12",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {