@agile-team/wl-skills-kit 2.3.4 → 2.3.5
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/CHANGELOG.md +9 -0
- package/README.md +13 -7
- package/files/.cursor/mcp.json +8 -8
- package/files/.github/guides/README.md +13 -13
- package/files/.github/guides/architecture.md +555 -555
- package/files/.github/guides/mcp-setup.md +109 -109
- package/files/.github/guides/usage.md +184 -184
- package/files/.github/reports/README.md +65 -65
- package/files/.github/reports/SYS_DICT_INFO.md +50 -50
- package/files/.github/reports/SYS_MENU_INFO.md +247 -247
- package/files/.github/reports/SYS_PERMISSION_INFO.md +20 -20
- package/files/.github/reports//347/273/204/344/273/266/346/217/220/345/217/226/345/273/272/350/256/256.md +33 -33
- package/files/.github/reports//350/247/204/350/214/203/345/256/241/346/237/245/346/212/245/345/221/212.md +44 -44
- package/files/.github/skills/_compat/README.md +108 -108
- package/files/.github/skills/_compat/headers/agents.txt +8 -8
- package/files/.github/skills/_compat/headers/claude-code.txt +7 -7
- package/files/.github/skills/_compat/headers/cline.txt +7 -7
- package/files/.github/skills/_compat/headers/cursor-mdc.txt +16 -16
- package/files/.github/skills/_compat/headers/cursor-rules.txt +7 -7
- package/files/.github/skills/_compat/headers/github-copilot.txt +1 -1
- package/files/.github/skills/_compat/headers/kiro.txt +10 -10
- package/files/.github/skills/_compat/headers/qoder.txt +8 -8
- package/files/.github/skills/_compat/headers/trae.txt +11 -11
- package/files/.github/skills/_compat/headers/windsurf.txt +7 -7
- package/files/.github/skills/_registry.md +81 -81
- package/files/.github/skills/core/api-contract/SKILL.md +344 -344
- package/files/.github/skills/core/api-contract/USAGE.md +110 -110
- package/files/.github/skills/core/convention-audit/SKILL.md +189 -189
- package/files/.github/skills/core/convention-audit/USAGE.md +99 -99
- package/files/.github/skills/core/page-codegen/SKILL.md +973 -973
- package/files/.github/skills/core/page-codegen/USAGE.md +102 -102
- package/files/.github/skills/core/page-codegen/templates/_index.md +46 -46
- package/files/.github/skills/core/page-codegen/templates/domains/_CONTRIBUTING.md +107 -107
- package/files/.github/skills/core/page-codegen/templates/domains/produce/TPL-OPERATION-STATION.md +442 -442
- package/files/.github/skills/core/page-codegen/templates/domains/sale/README.md +26 -26
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-CHANGE-HISTORY.md +276 -276
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-DETAIL-TABS.md +1145 -1145
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-DRIVEN.md +309 -309
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-FORM-ROUTE.md +436 -436
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-LIST.md +191 -191
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-MASTER-DETAIL.md +148 -148
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-RECORD-FORM.md +376 -376
- package/files/.github/skills/core/page-codegen/templates/universal/TPL-TREE-LIST.md +186 -186
- package/files/.github/skills/core/prototype-scan/SKILL.md +498 -498
- package/files/.github/skills/core/prototype-scan/USAGE.md +95 -95
- package/files/.github/skills/core/template-extract/SKILL.md +139 -139
- package/files/.github/skills/core/template-extract/USAGE.md +93 -93
- package/files/.github/skills/domain/README.md +51 -51
- package/files/.github/skills/sync/menu-sync/SKILL.md +263 -263
- package/files/.github/skills/sync/menu-sync/USAGE.md +104 -104
- package/files/.github/skills/sync/menu-sync/env/env.local.json +7 -7
- package/files/.github/skills/sync/menu-sync/env/guide.md +99 -99
- package/files/.github/skills/sync/permission-sync/SKILL.draft.md +91 -91
- package/files/.github/standards/01-toolchain.md +57 -57
- package/files/.github/standards/02-code-structure.md +111 -111
- package/files/.github/standards/03-comments.md +53 -53
- package/files/.github/standards/04-coding-basics.md +33 -33
- package/files/.github/standards/05-logging.md +38 -38
- package/files/.github/standards/06-security.md +44 -44
- package/files/.github/standards/07-config.md +52 -52
- package/files/.github/standards/08-git.md +60 -60
- package/files/.github/standards/09-typescript.md +71 -71
- package/files/.github/standards/10-pinia.md +57 -57
- package/files/.github/standards/11-form-validation.md +81 -81
- package/files/.github/standards/12-base-table.md +153 -153
- package/files/.github/standards/13-platform-components.md +123 -123
- package/files/.github/standards/index.md +89 -89
- package/files/.kiro/settings/mcp.json +8 -8
- package/files/.mcp.json +8 -8
- package/files/.vscode/mcp.json +9 -9
- package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/data.ts +196 -196
- package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/index.scss +150 -150
- package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/index.vue +79 -79
- package/files/docs/jh-date-range.md +257 -257
- package/files/docs/jh-date.md +222 -222
- package/files/docs/jh-dept-picker.md +190 -190
- package/files/docs/jh-drag-row.md +590 -590
- package/files/docs/jh-file-upload.md +216 -216
- package/files/docs/jh-picker.md +218 -218
- package/files/docs/jh-select.md +148 -148
- package/files/docs/jh-text.md +248 -248
- package/files/docs/jh-user-picker.md +197 -197
- package/files/src/components/global/C_RightToolbar/data.ts +228 -228
- package/files/src/components/global/C_RightToolbar/index.scss +44 -44
- package/files/src/components/global/C_Splitter/index.scss +61 -61
- package/files/src/components/global/C_SvgIcon/index.scss +15 -15
- package/files/src/components/global/C_TagStatus/index.scss +20 -20
- package/files/src/components/global/C_Tree/data.ts +61 -61
- package/files/src/components/local/c_listModal/index.scss +4 -4
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
# 规范审查报告
|
|
2
|
-
|
|
3
|
-
> 由 `convention-audit` Skill 自动追加写入。**最新章节在顶部**,历史章节自然下沉。
|
|
4
|
-
>
|
|
5
|
-
> 整改优先级:🔴 严重 → 🟡 轻微 → 🟢 提示
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
<!--
|
|
10
|
-
追加格式示例(AI 生成时按此格式插入到文件顶部 ## 之前):
|
|
11
|
-
|
|
12
|
-
## 🕐 2026-04-26 14:30 | 范围:src/views/sale/ | 触发:user
|
|
13
|
-
|
|
14
|
-
### 概要
|
|
15
|
-
| 指标 | 值 |
|
|
16
|
-
|------|---|
|
|
17
|
-
| 扫描页面 | 12 |
|
|
18
|
-
| 合规页面 | 8 |
|
|
19
|
-
| 偏差页面 | 4 |
|
|
20
|
-
| 🔴 严重 | 5 |
|
|
21
|
-
| 🟡 轻微 | 7 |
|
|
22
|
-
|
|
23
|
-
### 🔴 严重偏差(必须整改)
|
|
24
|
-
|
|
25
|
-
#### src/views/sale/.../customer-list/index.vue — 违反规范 13(平台组件合规)
|
|
26
|
-
- **菜单位置**(来自文件头):销售管理 > 客户档案
|
|
27
|
-
- **现状**:使用 `<el-table>` 渲染数据
|
|
28
|
-
- **应为**:使用 `<BaseTable render-type="agGrid" cid="...">`
|
|
29
|
-
- **整改建议**:参考 templates/universal/TPL-LIST.md
|
|
30
|
-
- **修复标记**:🔧 待修复
|
|
31
|
-
|
|
32
|
-
### 🟡 轻微偏差
|
|
33
|
-
|
|
34
|
-
(同格式)
|
|
35
|
-
|
|
36
|
-
### ✅ 合规页面
|
|
37
|
-
- src/views/produce/.../mmwr-customer-archive/
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
(旧报告章节)
|
|
42
|
-
-->
|
|
43
|
-
|
|
44
|
-
> 本文件初始为空。首次执行 convention-audit 后,将自动填入审查内容。
|
|
1
|
+
# 规范审查报告
|
|
2
|
+
|
|
3
|
+
> 由 `convention-audit` Skill 自动追加写入。**最新章节在顶部**,历史章节自然下沉。
|
|
4
|
+
>
|
|
5
|
+
> 整改优先级:🔴 严重 → 🟡 轻微 → 🟢 提示
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
追加格式示例(AI 生成时按此格式插入到文件顶部 ## 之前):
|
|
11
|
+
|
|
12
|
+
## 🕐 2026-04-26 14:30 | 范围:src/views/sale/ | 触发:user
|
|
13
|
+
|
|
14
|
+
### 概要
|
|
15
|
+
| 指标 | 值 |
|
|
16
|
+
|------|---|
|
|
17
|
+
| 扫描页面 | 12 |
|
|
18
|
+
| 合规页面 | 8 |
|
|
19
|
+
| 偏差页面 | 4 |
|
|
20
|
+
| 🔴 严重 | 5 |
|
|
21
|
+
| 🟡 轻微 | 7 |
|
|
22
|
+
|
|
23
|
+
### 🔴 严重偏差(必须整改)
|
|
24
|
+
|
|
25
|
+
#### src/views/sale/.../customer-list/index.vue — 违反规范 13(平台组件合规)
|
|
26
|
+
- **菜单位置**(来自文件头):销售管理 > 客户档案
|
|
27
|
+
- **现状**:使用 `<el-table>` 渲染数据
|
|
28
|
+
- **应为**:使用 `<BaseTable render-type="agGrid" cid="...">`
|
|
29
|
+
- **整改建议**:参考 templates/universal/TPL-LIST.md
|
|
30
|
+
- **修复标记**:🔧 待修复
|
|
31
|
+
|
|
32
|
+
### 🟡 轻微偏差
|
|
33
|
+
|
|
34
|
+
(同格式)
|
|
35
|
+
|
|
36
|
+
### ✅ 合规页面
|
|
37
|
+
- src/views/produce/.../mmwr-customer-archive/
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
(旧报告章节)
|
|
42
|
+
-->
|
|
43
|
+
|
|
44
|
+
> 本文件初始为空。首次执行 convention-audit 后,将自动填入审查内容。
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
# \_compat — 多 AI 编辑器适配层
|
|
2
|
-
|
|
3
|
-
> ⚠️ **本目录是配置层,不是说明文档。**
|
|
4
|
-
> `bin/wl-skills.js` 在 `init` / `update` 时读取本目录的模板,**生成业务项目根目录下各 AI 编辑器需要的配置文件**。
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 设计原则
|
|
9
|
-
|
|
10
|
-
1. **解耦**:每个 AI 编辑器的配置文件**独立**,移除/新增任意编辑器不影响其他
|
|
11
|
-
2. **零污染**:每个编辑器**只读自己的配置文件**,不会读到其他编辑器的内容
|
|
12
|
-
3. **特化注入**:各编辑器的 frontmatter / 头部规范由对应模板决定(Cursor 需 `description+globs+alwaysApply`,Kiro 需 `inclusion`,Trae 需 `description`,Cline/Windsurf 无 frontmatter)
|
|
13
|
-
4. **内容统一**:所有编辑器的"主体内容"来自 `copilot-instructions.md`,**单一数据源**修改一处全员同步
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## 目录结构
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
_compat/
|
|
21
|
-
├── README.md ← 本文件
|
|
22
|
-
├── editors.json ← 编辑器注册表(bin/wl-skills.js 读取)
|
|
23
|
-
└── headers/ ← 各编辑器特化头部模板
|
|
24
|
-
├── github-copilot.txt
|
|
25
|
-
├── claude-code.txt
|
|
26
|
-
├── cursor-rules.txt (.cursorrules 用,无 frontmatter)
|
|
27
|
-
├── cursor-mdc.txt (.cursor/rules/conventions.mdc 用,含 frontmatter)
|
|
28
|
-
├── windsurf.txt
|
|
29
|
-
├── cline.txt
|
|
30
|
-
├── kiro.txt (.kiro/steering/conventions.md,含 frontmatter)
|
|
31
|
-
├── trae.txt (.trae/rules/conventions.md,含 frontmatter)
|
|
32
|
-
└── agents.txt (AGENTS.md 通用代理)
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 工作流程
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
bin/wl-skills.js (init/update)
|
|
41
|
-
│
|
|
42
|
-
├─ 读取 files/.github/copilot-instructions.md → MAIN_BODY
|
|
43
|
-
│
|
|
44
|
-
├─ 读取 _compat/editors.json → 编辑器列表
|
|
45
|
-
│
|
|
46
|
-
└─ 对每个 editor in editors.json:
|
|
47
|
-
├─ 读取 headers/{editor.headerFile} → HEADER(含特化 frontmatter)
|
|
48
|
-
├─ 拼接:HEADER + AUTO_HEADER_NOTE + MAIN_BODY
|
|
49
|
-
└─ 写入到业务项目:editor.outputPath
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## 解耦验证
|
|
55
|
-
|
|
56
|
-
| 场景 | 受影响文件 | 不受影响文件 |
|
|
57
|
-
| ------------------------------------- | ----------------------------- | --------------------------- |
|
|
58
|
-
| 团队不用 Cursor,从 editors.json 删除 | `.cursorrules`、`.cursor/` | `.github/`、CLAUDE.md、其他 |
|
|
59
|
-
| 团队新增某 AI 编辑器(如 Augment) | 加 headers/augment.txt + 注册 | 其他文件不动 |
|
|
60
|
-
| `copilot-instructions.md` 内容更新 | 全部 8 个根配置同步更新 | headers/ 不变(只是模板) |
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## 修改 / 扩展示例
|
|
65
|
-
|
|
66
|
-
### 添加新编辑器(如 Augment)
|
|
67
|
-
|
|
68
|
-
1. 在 `headers/` 创建 `augment.txt`(含该编辑器要求的 frontmatter)
|
|
69
|
-
2. 在 `editors.json` 追加:
|
|
70
|
-
```json
|
|
71
|
-
{
|
|
72
|
-
"name": "augment",
|
|
73
|
-
"headerFile": "augment.txt",
|
|
74
|
-
"outputPath": ".augment/rules.md",
|
|
75
|
-
"enabled": true
|
|
76
|
-
}
|
|
77
|
-
```
|
|
78
|
-
3. `npm publish`,业务项目执行 `update` 即可
|
|
79
|
-
|
|
80
|
-
### 临时禁用某编辑器
|
|
81
|
-
|
|
82
|
-
```json
|
|
83
|
-
{
|
|
84
|
-
"name": "kiro",
|
|
85
|
-
"headerFile": "kiro.txt",
|
|
86
|
-
"outputPath": ".kiro/...",
|
|
87
|
-
"enabled": false
|
|
88
|
-
}
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
`enabled: false` 的编辑器**不生成**对应根配置文件,已存在的用户可手动删除。
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
## 与官方机制的对应关系(截至 2026-04)
|
|
96
|
-
|
|
97
|
-
| 编辑器 | 官方加载路径 | 是否需要 frontmatter | 备注 |
|
|
98
|
-
| -------------- | -------------------------------------- | -------------------- | -------------------------------- |
|
|
99
|
-
| GitHub Copilot | `.github/copilot-instructions.md` | ❌ | 唯一识别 .github/ 子目录的编辑器 |
|
|
100
|
-
| Claude Code | `CLAUDE.md` (root) | ❌ | 自动加载根目录 CLAUDE.md |
|
|
101
|
-
| Cursor | `.cursorrules` + `.cursor/rules/*.mdc` | ❌ / ✅ | 双形式,新版 mdc 需 frontmatter |
|
|
102
|
-
| Windsurf | `.windsurfrules` (root) | ❌ | 单文件 |
|
|
103
|
-
| Cline | `.clinerules` (root) | ❌ | 单文件 |
|
|
104
|
-
| Kiro | `.kiro/steering/*.md` | ✅ | 需 inclusion 字段 |
|
|
105
|
-
| Trae | `.trae/rules/*.md` | ✅ | 需 description 字段 |
|
|
106
|
-
| 通用 Agent | `AGENTS.md` (root) | ❌ | 新兴跨平台规范 |
|
|
107
|
-
|
|
108
|
-
> 所有这些编辑器在加载完根配置后,**都支持按指令读取项目内任意文件**(含 `.github/standards/`、`.github/skills/`、`.github/guides/`),所以本架构的"懒加载门控 + 子目录规范"对所有编辑器**有效**。
|
|
1
|
+
# \_compat — 多 AI 编辑器适配层
|
|
2
|
+
|
|
3
|
+
> ⚠️ **本目录是配置层,不是说明文档。**
|
|
4
|
+
> `bin/wl-skills.js` 在 `init` / `update` 时读取本目录的模板,**生成业务项目根目录下各 AI 编辑器需要的配置文件**。
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 设计原则
|
|
9
|
+
|
|
10
|
+
1. **解耦**:每个 AI 编辑器的配置文件**独立**,移除/新增任意编辑器不影响其他
|
|
11
|
+
2. **零污染**:每个编辑器**只读自己的配置文件**,不会读到其他编辑器的内容
|
|
12
|
+
3. **特化注入**:各编辑器的 frontmatter / 头部规范由对应模板决定(Cursor 需 `description+globs+alwaysApply`,Kiro 需 `inclusion`,Trae 需 `description`,Cline/Windsurf 无 frontmatter)
|
|
13
|
+
4. **内容统一**:所有编辑器的"主体内容"来自 `copilot-instructions.md`,**单一数据源**修改一处全员同步
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 目录结构
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
_compat/
|
|
21
|
+
├── README.md ← 本文件
|
|
22
|
+
├── editors.json ← 编辑器注册表(bin/wl-skills.js 读取)
|
|
23
|
+
└── headers/ ← 各编辑器特化头部模板
|
|
24
|
+
├── github-copilot.txt
|
|
25
|
+
├── claude-code.txt
|
|
26
|
+
├── cursor-rules.txt (.cursorrules 用,无 frontmatter)
|
|
27
|
+
├── cursor-mdc.txt (.cursor/rules/conventions.mdc 用,含 frontmatter)
|
|
28
|
+
├── windsurf.txt
|
|
29
|
+
├── cline.txt
|
|
30
|
+
├── kiro.txt (.kiro/steering/conventions.md,含 frontmatter)
|
|
31
|
+
├── trae.txt (.trae/rules/conventions.md,含 frontmatter)
|
|
32
|
+
└── agents.txt (AGENTS.md 通用代理)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 工作流程
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
bin/wl-skills.js (init/update)
|
|
41
|
+
│
|
|
42
|
+
├─ 读取 files/.github/copilot-instructions.md → MAIN_BODY
|
|
43
|
+
│
|
|
44
|
+
├─ 读取 _compat/editors.json → 编辑器列表
|
|
45
|
+
│
|
|
46
|
+
└─ 对每个 editor in editors.json:
|
|
47
|
+
├─ 读取 headers/{editor.headerFile} → HEADER(含特化 frontmatter)
|
|
48
|
+
├─ 拼接:HEADER + AUTO_HEADER_NOTE + MAIN_BODY
|
|
49
|
+
└─ 写入到业务项目:editor.outputPath
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 解耦验证
|
|
55
|
+
|
|
56
|
+
| 场景 | 受影响文件 | 不受影响文件 |
|
|
57
|
+
| ------------------------------------- | ----------------------------- | --------------------------- |
|
|
58
|
+
| 团队不用 Cursor,从 editors.json 删除 | `.cursorrules`、`.cursor/` | `.github/`、CLAUDE.md、其他 |
|
|
59
|
+
| 团队新增某 AI 编辑器(如 Augment) | 加 headers/augment.txt + 注册 | 其他文件不动 |
|
|
60
|
+
| `copilot-instructions.md` 内容更新 | 全部 8 个根配置同步更新 | headers/ 不变(只是模板) |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## 修改 / 扩展示例
|
|
65
|
+
|
|
66
|
+
### 添加新编辑器(如 Augment)
|
|
67
|
+
|
|
68
|
+
1. 在 `headers/` 创建 `augment.txt`(含该编辑器要求的 frontmatter)
|
|
69
|
+
2. 在 `editors.json` 追加:
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"name": "augment",
|
|
73
|
+
"headerFile": "augment.txt",
|
|
74
|
+
"outputPath": ".augment/rules.md",
|
|
75
|
+
"enabled": true
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
3. `npm publish`,业务项目执行 `update` 即可
|
|
79
|
+
|
|
80
|
+
### 临时禁用某编辑器
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"name": "kiro",
|
|
85
|
+
"headerFile": "kiro.txt",
|
|
86
|
+
"outputPath": ".kiro/...",
|
|
87
|
+
"enabled": false
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
`enabled: false` 的编辑器**不生成**对应根配置文件,已存在的用户可手动删除。
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 与官方机制的对应关系(截至 2026-04)
|
|
96
|
+
|
|
97
|
+
| 编辑器 | 官方加载路径 | 是否需要 frontmatter | 备注 |
|
|
98
|
+
| -------------- | -------------------------------------- | -------------------- | -------------------------------- |
|
|
99
|
+
| GitHub Copilot | `.github/copilot-instructions.md` | ❌ | 唯一识别 .github/ 子目录的编辑器 |
|
|
100
|
+
| Claude Code | `CLAUDE.md` (root) | ❌ | 自动加载根目录 CLAUDE.md |
|
|
101
|
+
| Cursor | `.cursorrules` + `.cursor/rules/*.mdc` | ❌ / ✅ | 双形式,新版 mdc 需 frontmatter |
|
|
102
|
+
| Windsurf | `.windsurfrules` (root) | ❌ | 单文件 |
|
|
103
|
+
| Cline | `.clinerules` (root) | ❌ | 单文件 |
|
|
104
|
+
| Kiro | `.kiro/steering/*.md` | ✅ | 需 inclusion 字段 |
|
|
105
|
+
| Trae | `.trae/rules/*.md` | ✅ | 需 description 字段 |
|
|
106
|
+
| 通用 Agent | `AGENTS.md` (root) | ❌ | 新兴跨平台规范 |
|
|
107
|
+
|
|
108
|
+
> 所有这些编辑器在加载完根配置后,**都支持按指令读取项目内任意文件**(含 `.github/standards/`、`.github/skills/`、`.github/guides/`),所以本架构的"懒加载门控 + 子目录规范"对所有编辑器**有效**。
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# AGENTS.md — 通用代理协议(项目编码规范)
|
|
2
|
-
|
|
3
|
-
> 此文件遵循 [agents.md 跨编辑器协议](https://agents.md),可被任意支持该协议的 AI 代理读取。
|
|
4
|
-
> 由 @agile-team/wl-skills-kit 自动生成。源文件:`.github/copilot-instructions.md`
|
|
5
|
-
> 更新方式:`npx @agile-team/wl-skills-kit@latest update`
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
1
|
+
# AGENTS.md — 通用代理协议(项目编码规范)
|
|
2
|
+
|
|
3
|
+
> 此文件遵循 [agents.md 跨编辑器协议](https://agents.md),可被任意支持该协议的 AI 代理读取。
|
|
4
|
+
> 由 @agile-team/wl-skills-kit 自动生成。源文件:`.github/copilot-instructions.md`
|
|
5
|
+
> 更新方式:`npx @agile-team/wl-skills-kit@latest update`
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Claude Code 项目编码规范
|
|
2
|
-
|
|
3
|
-
> 此文件由 `@agile-team/wl-skills-kit` 自动生成。源文件:`.github/copilot-instructions.md`
|
|
4
|
-
> 请勿手动编辑本文件,更新时执行:`npx @agile-team/wl-skills-kit@latest update`
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
1
|
+
# Claude Code 项目编码规范
|
|
2
|
+
|
|
3
|
+
> 此文件由 `@agile-team/wl-skills-kit` 自动生成。源文件:`.github/copilot-instructions.md`
|
|
4
|
+
> 请勿手动编辑本文件,更新时执行:`npx @agile-team/wl-skills-kit@latest update`
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Cline 项目编码规范(.clinerules)
|
|
2
|
-
|
|
3
|
-
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
-
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
1
|
+
# Cline 项目编码规范(.clinerules)
|
|
2
|
+
|
|
3
|
+
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
+
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "项目编码规范(13 条标准 + 8 个 Skill 自动调度,由 wl-skills-kit 自动生成)"
|
|
3
|
-
globs:
|
|
4
|
-
- "**/*.vue"
|
|
5
|
-
- "**/*.ts"
|
|
6
|
-
- "**/*.tsx"
|
|
7
|
-
- "**/*.js"
|
|
8
|
-
- "**/*.scss"
|
|
9
|
-
alwaysApply: true
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
<!-- Cursor MDC 规则文件。由 @agile-team/wl-skills-kit 自动生成。 -->
|
|
13
|
-
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "项目编码规范(13 条标准 + 8 个 Skill 自动调度,由 wl-skills-kit 自动生成)"
|
|
3
|
+
globs:
|
|
4
|
+
- "**/*.vue"
|
|
5
|
+
- "**/*.ts"
|
|
6
|
+
- "**/*.tsx"
|
|
7
|
+
- "**/*.js"
|
|
8
|
+
- "**/*.scss"
|
|
9
|
+
alwaysApply: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<!-- Cursor MDC 规则文件。由 @agile-team/wl-skills-kit 自动生成。 -->
|
|
13
|
+
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Cursor 项目编码规范(.cursorrules)
|
|
2
|
-
|
|
3
|
-
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
-
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
1
|
+
# Cursor 项目编码规范(.cursorrules)
|
|
2
|
+
|
|
3
|
+
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
+
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!-- GitHub Copilot 自动加载 .github/copilot-instructions.md,无需特化 header。bin/wl-skills.js 对此编辑器实际是直接复制源文件,不附加任何头部。-->
|
|
1
|
+
<!-- GitHub Copilot 自动加载 .github/copilot-instructions.md,无需特化 header。bin/wl-skills.js 对此编辑器实际是直接复制源文件,不附加任何头部。-->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
inclusion: always
|
|
3
|
-
description: 项目编码规范(13 条标准 + 8 个 Skill 自动调度)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<!-- Kiro Steering 规则。由 @agile-team/wl-skills-kit 自动生成。-->
|
|
7
|
-
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
1
|
+
---
|
|
2
|
+
inclusion: always
|
|
3
|
+
description: 项目编码规范(13 条标准 + 8 个 Skill 自动调度)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Kiro Steering 规则。由 @agile-team/wl-skills-kit 自动生成。-->
|
|
7
|
+
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Qoder Rules — 项目编码规范
|
|
2
|
-
|
|
3
|
-
> 此文件为 Qoder IDE 规则文件(Always Apply),由 @agile-team/wl-skills-kit 自动生成。
|
|
4
|
-
> 源文件:`.github/copilot-instructions.md`
|
|
5
|
-
> 更新方式:`npx @agile-team/wl-skills-kit@latest update`
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
1
|
+
# Qoder Rules — 项目编码规范
|
|
2
|
+
|
|
3
|
+
> 此文件为 Qoder IDE 规则文件(Always Apply),由 @agile-team/wl-skills-kit 自动生成。
|
|
4
|
+
> 源文件:`.github/copilot-instructions.md`
|
|
5
|
+
> 更新方式:`npx @agile-team/wl-skills-kit@latest update`
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "项目编码规范(13 条标准 + 8 个 Skill 自动调度,由 wl-skills-kit 自动生成)"
|
|
3
|
-
globs: ["**/*.vue", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.scss"]
|
|
4
|
-
alwaysApply: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<!-- Trae Rules 规则。由 @agile-team/wl-skills-kit 自动生成。-->
|
|
8
|
-
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "项目编码规范(13 条标准 + 8 个 Skill 自动调度,由 wl-skills-kit 自动生成)"
|
|
3
|
+
globs: ["**/*.vue", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.scss"]
|
|
4
|
+
alwaysApply: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- Trae Rules 规则。由 @agile-team/wl-skills-kit 自动生成。-->
|
|
8
|
+
<!-- 源文件:.github/copilot-instructions.md,更新方式:npx @agile-team/wl-skills-kit@latest update -->
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Windsurf 项目编码规范(.windsurfrules)
|
|
2
|
-
|
|
3
|
-
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
-
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
1
|
+
# Windsurf 项目编码规范(.windsurfrules)
|
|
2
|
+
|
|
3
|
+
> 由 @agile-team/wl-skills-kit 自动生成。请勿手动编辑。
|
|
4
|
+
> 更新方式:npx @agile-team/wl-skills-kit@latest update
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|