@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.
Files changed (90) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +13 -7
  3. package/files/.cursor/mcp.json +8 -8
  4. package/files/.github/guides/README.md +13 -13
  5. package/files/.github/guides/architecture.md +555 -555
  6. package/files/.github/guides/mcp-setup.md +109 -109
  7. package/files/.github/guides/usage.md +184 -184
  8. package/files/.github/reports/README.md +65 -65
  9. package/files/.github/reports/SYS_DICT_INFO.md +50 -50
  10. package/files/.github/reports/SYS_MENU_INFO.md +247 -247
  11. package/files/.github/reports/SYS_PERMISSION_INFO.md +20 -20
  12. 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
  13. 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
  14. package/files/.github/skills/_compat/README.md +108 -108
  15. package/files/.github/skills/_compat/headers/agents.txt +8 -8
  16. package/files/.github/skills/_compat/headers/claude-code.txt +7 -7
  17. package/files/.github/skills/_compat/headers/cline.txt +7 -7
  18. package/files/.github/skills/_compat/headers/cursor-mdc.txt +16 -16
  19. package/files/.github/skills/_compat/headers/cursor-rules.txt +7 -7
  20. package/files/.github/skills/_compat/headers/github-copilot.txt +1 -1
  21. package/files/.github/skills/_compat/headers/kiro.txt +10 -10
  22. package/files/.github/skills/_compat/headers/qoder.txt +8 -8
  23. package/files/.github/skills/_compat/headers/trae.txt +11 -11
  24. package/files/.github/skills/_compat/headers/windsurf.txt +7 -7
  25. package/files/.github/skills/_registry.md +81 -81
  26. package/files/.github/skills/core/api-contract/SKILL.md +344 -344
  27. package/files/.github/skills/core/api-contract/USAGE.md +110 -110
  28. package/files/.github/skills/core/convention-audit/SKILL.md +189 -189
  29. package/files/.github/skills/core/convention-audit/USAGE.md +99 -99
  30. package/files/.github/skills/core/page-codegen/SKILL.md +973 -973
  31. package/files/.github/skills/core/page-codegen/USAGE.md +102 -102
  32. package/files/.github/skills/core/page-codegen/templates/_index.md +46 -46
  33. package/files/.github/skills/core/page-codegen/templates/domains/_CONTRIBUTING.md +107 -107
  34. package/files/.github/skills/core/page-codegen/templates/domains/produce/TPL-OPERATION-STATION.md +442 -442
  35. package/files/.github/skills/core/page-codegen/templates/domains/sale/README.md +26 -26
  36. package/files/.github/skills/core/page-codegen/templates/universal/TPL-CHANGE-HISTORY.md +276 -276
  37. package/files/.github/skills/core/page-codegen/templates/universal/TPL-DETAIL-TABS.md +1145 -1145
  38. package/files/.github/skills/core/page-codegen/templates/universal/TPL-DRIVEN.md +309 -309
  39. package/files/.github/skills/core/page-codegen/templates/universal/TPL-FORM-ROUTE.md +436 -436
  40. package/files/.github/skills/core/page-codegen/templates/universal/TPL-LIST.md +191 -191
  41. package/files/.github/skills/core/page-codegen/templates/universal/TPL-MASTER-DETAIL.md +148 -148
  42. package/files/.github/skills/core/page-codegen/templates/universal/TPL-RECORD-FORM.md +376 -376
  43. package/files/.github/skills/core/page-codegen/templates/universal/TPL-TREE-LIST.md +186 -186
  44. package/files/.github/skills/core/prototype-scan/SKILL.md +498 -498
  45. package/files/.github/skills/core/prototype-scan/USAGE.md +95 -95
  46. package/files/.github/skills/core/template-extract/SKILL.md +139 -139
  47. package/files/.github/skills/core/template-extract/USAGE.md +93 -93
  48. package/files/.github/skills/domain/README.md +51 -51
  49. package/files/.github/skills/sync/menu-sync/SKILL.md +263 -263
  50. package/files/.github/skills/sync/menu-sync/USAGE.md +104 -104
  51. package/files/.github/skills/sync/menu-sync/env/env.local.json +7 -7
  52. package/files/.github/skills/sync/menu-sync/env/guide.md +99 -99
  53. package/files/.github/skills/sync/permission-sync/SKILL.draft.md +91 -91
  54. package/files/.github/standards/01-toolchain.md +57 -57
  55. package/files/.github/standards/02-code-structure.md +111 -111
  56. package/files/.github/standards/03-comments.md +53 -53
  57. package/files/.github/standards/04-coding-basics.md +33 -33
  58. package/files/.github/standards/05-logging.md +38 -38
  59. package/files/.github/standards/06-security.md +44 -44
  60. package/files/.github/standards/07-config.md +52 -52
  61. package/files/.github/standards/08-git.md +60 -60
  62. package/files/.github/standards/09-typescript.md +71 -71
  63. package/files/.github/standards/10-pinia.md +57 -57
  64. package/files/.github/standards/11-form-validation.md +81 -81
  65. package/files/.github/standards/12-base-table.md +153 -153
  66. package/files/.github/standards/13-platform-components.md +123 -123
  67. package/files/.github/standards/index.md +89 -89
  68. package/files/.kiro/settings/mcp.json +8 -8
  69. package/files/.mcp.json +8 -8
  70. package/files/.vscode/mcp.json +9 -9
  71. package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/data.ts +196 -196
  72. package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/index.scss +150 -150
  73. package/files/demo/produce/aiflow/mmwr-customer-apply-change-history/index.vue +79 -79
  74. package/files/docs/jh-date-range.md +257 -257
  75. package/files/docs/jh-date.md +222 -222
  76. package/files/docs/jh-dept-picker.md +190 -190
  77. package/files/docs/jh-drag-row.md +590 -590
  78. package/files/docs/jh-file-upload.md +216 -216
  79. package/files/docs/jh-picker.md +218 -218
  80. package/files/docs/jh-select.md +148 -148
  81. package/files/docs/jh-text.md +248 -248
  82. package/files/docs/jh-user-picker.md +197 -197
  83. package/files/src/components/global/C_RightToolbar/data.ts +228 -228
  84. package/files/src/components/global/C_RightToolbar/index.scss +44 -44
  85. package/files/src/components/global/C_Splitter/index.scss +61 -61
  86. package/files/src/components/global/C_SvgIcon/index.scss +15 -15
  87. package/files/src/components/global/C_TagStatus/index.scss +20 -20
  88. package/files/src/components/global/C_Tree/data.ts +61 -61
  89. package/files/src/components/local/c_listModal/index.scss +4 -4
  90. package/package.json +1 -1
@@ -1,81 +1,81 @@
1
- # Skills 注册表(单一数据源)
2
-
3
- > 触发词 → SKILL 路径的唯一映射。所有 AI 编辑器/模型从此处查路由,**禁止在其他文件重复定义触发词**。
4
-
5
- ---
6
-
7
- ## 目录分级(v2.0+)
8
-
9
- ```
10
- skills/
11
- ├── _registry.md ← 本文件
12
- ├── _compat/ 多 AI 编辑器适配(配置 + 注入逻辑)
13
-
14
- ├── core/ 核心通用 Skill(任何前端业务项目通用)
15
- │ ├── prototype-scan/
16
- │ ├── api-contract/
17
- │ ├── page-codegen/
18
- │ ├── convention-audit/
19
- │ └── template-extract/
20
-
21
- ├── sync/ 数据同步类(与后端联动)
22
- │ ├── menu-sync/
23
- │ ├── dict-sync/
24
- │ └── permission-sync/ [PLANNED]
25
-
26
- ├── ops/ 运维/构建类
27
- │ └── code-fix/
28
-
29
- └── domain/ 领域专属 Skill(按域扩展,初始为空)
30
- ```
31
-
32
- > **扩展策略**:
33
- >
34
- > - Skill 数 ≤ 15 个:留在本仓库分子目录管理
35
- > - Skill 数 > 15 或出现领域强相关 Skill 集群:拆为独立 npm 包(如 `@agile-team/wl-skills-produce`),主包仅保留 core/sync/ops
36
-
37
- ---
38
-
39
- ## 启用 Skill 路由表
40
-
41
- | Skill 名 | 状态 | 路径 | 触发关键词 |
42
- | ---------------- | ---------- | -------------------------------------------- | -------------------------------------------------------------------------- |
43
- | prototype-scan | ✅ 启用 | `skills/core/prototype-scan/SKILL.md` | 扫描原型 / 解析原型 / 页面清单 / 详设文档 / 口述需求 / 建个页面 / 写个页面 |
44
- | api-contract | ✅ 启用 | `skills/core/api-contract/SKILL.md` | 接口约定 / api.md / 字段定义 / 前后端对齐 / 接口设计 |
45
- | page-codegen | ✅ 启用 | `skills/core/page-codegen/SKILL.md` | 生成页面 / 创建页面 / 代码生成 / vue页面 / 按原型生成 / 帮我生成 |
46
- | convention-audit | ✅ 启用 | `skills/core/convention-audit/SKILL.md` | 规范审计 / 代码审计 / 规范检查 / 对齐规范 / 规范偏差 / 接手新项目 / 存量代码分析 / 项目体检 |
47
- | template-extract | ✅ 启用 | `skills/core/template-extract/SKILL.md` | 提取模板 / 抽取模板 / 沉淀模板 / 模板贡献 |
48
- | menu-sync | ✅ 启用 | `skills/sync/menu-sync/SKILL.md` | 创建菜单 / 注册菜单 / 同步菜单 / 补菜单 |
49
- | dict-sync | ✅ 启用 | `skills/sync/dict-sync/SKILL.md` | 同步字典 / 创建字典 / 刷新字典基线 / 字典对比 / 字典审计 |
50
- | permission-sync | ⏳ PLANNED | `skills/sync/permission-sync/SKILL.draft.md` | (草稿,不参与调度) |
51
- | code-fix | ✅ 启用 | `skills/ops/code-fix/SKILL.md` | 自动修复 / 整改偏差 / 修复报告 / 规范整改 / 修复偏差 / code fix |
52
-
53
- ---
54
-
55
- ## 调度规则
56
-
57
- 1. AI 收到用户消息 → 匹配上表 `触发关键词` → `read_file` 加载 `路径` 列对应的 SKILL.md
58
- 2. SKILL.md 中标注的 `必读 standards` 按 `standards/index.md` 任务类型映射加载
59
- 3. 在 SKILL.md 指示下输出 **Pre-flight 声明**(强制约定式输出)
60
-
61
- ---
62
-
63
- ## 多触发词时的优先级
64
-
65
- 当用户消息同时匹配多个 Skill 时(如"扫描原型并生成页面"):
66
-
67
- 1. 优先识别**完整流水线意图**:触发 `prototype-scan` → 串接 `api-contract` → 串接 `page-codegen` → 串接 `menu-sync`
68
- 2. 否则按**最具体的触发词**匹配单个 Skill
69
- 3. 用户明确指定时(如"只扫描,不生成"),按用户指示
70
-
71
- ---
72
-
73
- ## 配套人读文档
74
-
75
- 每个启用 Skill 同目录下都有 `USAGE.md`:
76
-
77
- | 文件 | 读者 | 用途 |
78
- | --------------- | -------------- | ------------------------------------------ |
79
- | `SKILL.md` | AI 编辑器/模型 | 触发规则、流程步骤、Pre-flight 声明 |
80
- | `USAGE.md` | 团队成员 | 示例对话、踩坑、FAQ、快速上手 |
81
- | `*.MAINTAIN.md` | kit 维护者 | 维护要点(在 `kit-internal/skills/` 目录) |
1
+ # Skills 注册表(单一数据源)
2
+
3
+ > 触发词 → SKILL 路径的唯一映射。所有 AI 编辑器/模型从此处查路由,**禁止在其他文件重复定义触发词**。
4
+
5
+ ---
6
+
7
+ ## 目录分级(v2.0+)
8
+
9
+ ```
10
+ skills/
11
+ ├── _registry.md ← 本文件
12
+ ├── _compat/ 多 AI 编辑器适配(配置 + 注入逻辑)
13
+
14
+ ├── core/ 核心通用 Skill(任何前端业务项目通用)
15
+ │ ├── prototype-scan/
16
+ │ ├── api-contract/
17
+ │ ├── page-codegen/
18
+ │ ├── convention-audit/
19
+ │ └── template-extract/
20
+
21
+ ├── sync/ 数据同步类(与后端联动)
22
+ │ ├── menu-sync/
23
+ │ ├── dict-sync/
24
+ │ └── permission-sync/ [PLANNED]
25
+
26
+ ├── ops/ 运维/构建类
27
+ │ └── code-fix/
28
+
29
+ └── domain/ 领域专属 Skill(按域扩展,初始为空)
30
+ ```
31
+
32
+ > **扩展策略**:
33
+ >
34
+ > - Skill 数 ≤ 15 个:留在本仓库分子目录管理
35
+ > - Skill 数 > 15 或出现领域强相关 Skill 集群:拆为独立 npm 包(如 `@agile-team/wl-skills-produce`),主包仅保留 core/sync/ops
36
+
37
+ ---
38
+
39
+ ## 启用 Skill 路由表
40
+
41
+ | Skill 名 | 状态 | 路径 | 触发关键词 |
42
+ | ---------------- | ---------- | -------------------------------------------- | -------------------------------------------------------------------------- |
43
+ | prototype-scan | ✅ 启用 | `skills/core/prototype-scan/SKILL.md` | 扫描原型 / 解析原型 / 页面清单 / 详设文档 / 口述需求 / 建个页面 / 写个页面 |
44
+ | api-contract | ✅ 启用 | `skills/core/api-contract/SKILL.md` | 接口约定 / api.md / 字段定义 / 前后端对齐 / 接口设计 |
45
+ | page-codegen | ✅ 启用 | `skills/core/page-codegen/SKILL.md` | 生成页面 / 创建页面 / 代码生成 / vue页面 / 按原型生成 / 帮我生成 |
46
+ | convention-audit | ✅ 启用 | `skills/core/convention-audit/SKILL.md` | 规范审计 / 代码审计 / 规范检查 / 对齐规范 / 规范偏差 / 接手新项目 / 存量代码分析 / 项目体检 |
47
+ | template-extract | ✅ 启用 | `skills/core/template-extract/SKILL.md` | 提取模板 / 抽取模板 / 沉淀模板 / 模板贡献 |
48
+ | menu-sync | ✅ 启用 | `skills/sync/menu-sync/SKILL.md` | 创建菜单 / 注册菜单 / 同步菜单 / 补菜单 |
49
+ | dict-sync | ✅ 启用 | `skills/sync/dict-sync/SKILL.md` | 同步字典 / 创建字典 / 刷新字典基线 / 字典对比 / 字典审计 |
50
+ | permission-sync | ⏳ PLANNED | `skills/sync/permission-sync/SKILL.draft.md` | (草稿,不参与调度) |
51
+ | code-fix | ✅ 启用 | `skills/ops/code-fix/SKILL.md` | 自动修复 / 整改偏差 / 修复报告 / 规范整改 / 修复偏差 / code fix |
52
+
53
+ ---
54
+
55
+ ## 调度规则
56
+
57
+ 1. AI 收到用户消息 → 匹配上表 `触发关键词` → `read_file` 加载 `路径` 列对应的 SKILL.md
58
+ 2. SKILL.md 中标注的 `必读 standards` 按 `standards/index.md` 任务类型映射加载
59
+ 3. 在 SKILL.md 指示下输出 **Pre-flight 声明**(强制约定式输出)
60
+
61
+ ---
62
+
63
+ ## 多触发词时的优先级
64
+
65
+ 当用户消息同时匹配多个 Skill 时(如"扫描原型并生成页面"):
66
+
67
+ 1. 优先识别**完整流水线意图**:触发 `prototype-scan` → 串接 `api-contract` → 串接 `page-codegen` → 串接 `menu-sync`
68
+ 2. 否则按**最具体的触发词**匹配单个 Skill
69
+ 3. 用户明确指定时(如"只扫描,不生成"),按用户指示
70
+
71
+ ---
72
+
73
+ ## 配套人读文档
74
+
75
+ 每个启用 Skill 同目录下都有 `USAGE.md`:
76
+
77
+ | 文件 | 读者 | 用途 |
78
+ | --------------- | -------------- | ------------------------------------------ |
79
+ | `SKILL.md` | AI 编辑器/模型 | 触发规则、流程步骤、Pre-flight 声明 |
80
+ | `USAGE.md` | 团队成员 | 示例对话、踩坑、FAQ、快速上手 |
81
+ | `*.MAINTAIN.md` | kit 维护者 | 维护要点(在 `kit-internal/skills/` 目录) |