@qilitt-mickey/vue3-temp-skill 1.1.71 → 1.1.74

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 (86) hide show
  1. package/SKILL.md +137 -136
  2. package/bin/cli.js +1 -1
  3. package/dist/theme-vars.js +1 -1
  4. package/dist/theme.css +1 -1
  5. package/mapping/basic/color.json +35 -35
  6. package/mapping/basic/radius.json +17 -17
  7. package/mapping/basic/semantic-values.json +72 -72
  8. package/mapping/basic/spacing.json +21 -21
  9. package/mapping/basic/typography.json +21 -21
  10. package/mapping/component/button.json +90 -90
  11. package/mapping/component/card.json +31 -31
  12. package/mapping/component/input.json +42 -42
  13. package/mapping/component/overlay.json +79 -79
  14. package/mapping/component/pagination.json +34 -34
  15. package/mapping/component/table.json +42 -42
  16. package/mapping/component/tag.json +48 -48
  17. package/mapping/layout/breakpoint.json +20 -20
  18. package/mapping/layout/shell-geometry.json +26 -26
  19. package/mapping/scenes/admin/content.json +494 -494
  20. package/mapping/scenes/admin/layout.json +574 -574
  21. package/package.json +1 -1
  22. package/parser/fixtures/changeset-fullpage-restore.json +259 -138
  23. package/parser/fixtures/changeset-gap-block.json +24 -0
  24. package/parser/fixtures/changeset-legacy.json +11 -11
  25. package/parser/fixtures/changeset-neg1.json +8 -8
  26. package/parser/fixtures/changeset-neg2.json +10 -10
  27. package/parser/fixtures/changeset-neg3.json +22 -22
  28. package/parser/fixtures/changeset-neg4-g8.json +15 -15
  29. package/parser/fixtures/changeset-neg5-g8-stub.json +26 -26
  30. package/parser/fixtures/changeset-neg6-g9-identity.json +39 -39
  31. package/parser/fixtures/changeset-neg7-g10-dims.json +57 -57
  32. package/parser/fixtures/changeset-neg8-g11-oracle.json +57 -57
  33. package/parser/fixtures/changeset-pos-theme-neutral.json +264 -264
  34. package/parser/fixtures/changeset-pos-theme-nometa.json +260 -260
  35. package/parser/fixtures/changeset-pos.json +50 -43
  36. package/parser/fixtures/changeset-registry-gap.json +29 -29
  37. package/parser/fixtures/changeset-v32-fields.json +71 -63
  38. package/parser/fixtures/fake-project/src/styles/app.scss +5 -5
  39. package/parser/fixtures/fake-project/src/views/list.vue +13 -13
  40. package/parser/fixtures/registry-bad.json +11 -11
  41. package/parser/fixtures/registry-sample.json +15 -15
  42. package/parser/fixtures/verify/actual-clean.json +35 -35
  43. package/parser/fixtures/verify/actual.json +33 -33
  44. package/parser/fixtures/verify/mockup-baseline-admin-list.html +27 -0
  45. package/parser/fixtures/verify/mockup-neutral.html +26 -26
  46. package/parser/fixtures/verify/mockup-nometa.html +26 -26
  47. package/parser/fixtures/verify/oracle.json +37 -37
  48. package/parser/fixtures/verify/snapshot-latest.json +102 -102
  49. package/parser/generator.js +178 -178
  50. package/parser/index.js +2675 -2605
  51. package/parser/loader.js +66 -66
  52. package/parser/override.js +119 -119
  53. package/parser/regression.js +301 -293
  54. package/parser/validator.js +206 -206
  55. package/parser/watch.js +103 -103
  56. package/references/auth-pages.md +217 -217
  57. package/references/base-code-dict.md +56 -56
  58. package/references/code-quality.md +3 -2
  59. package/references/data-compare.md +509 -509
  60. package/references/data-writeback.md +124 -124
  61. package/references/design-apply.md +167 -167
  62. package/references/detail-page.md +119 -119
  63. package/references/download-export.md +97 -97
  64. package/references/feedback-loading.md +104 -104
  65. package/references/feedback-ui.md +134 -134
  66. package/references/i18n-localization.md +230 -230
  67. package/references/project-inventory.md +438 -438
  68. package/references/rich-text.md +94 -94
  69. package/references/seamless-scroll.md +47 -47
  70. package/references/steps/maintenance.md +31 -31
  71. package/references/steps/regression.md +49 -49
  72. package/references/steps/step0-preflight.md +58 -58
  73. package/references/steps/step1-match.md +64 -64
  74. package/references/steps/step1b-audit.md +23 -23
  75. package/references/steps/step1c-registry.md +29 -29
  76. package/references/steps/step2-structure.md +73 -73
  77. package/references/steps/step3-style.md +33 -33
  78. package/references/steps/step3b-shell.md +61 -61
  79. package/references/steps/step3c-priority.md +26 -26
  80. package/references/steps/step4-l3.md +14 -14
  81. package/references/steps/step5-gates.md +63 -63
  82. package/references/steps/step6-verify.md +77 -77
  83. package/references/verify-captcha.md +119 -119
  84. package/scripts/apply-final-gate.mjs +170 -170
  85. package/scripts/check.mjs +38 -5
  86. package/scripts/design-audit.mjs +1502 -1498
@@ -1,39 +1,39 @@
1
- {
2
- "$comment": "G9 登记表身份闸负例:mode=restore 且基线三件套齐备(过 G8),但 coverage.registry 指向身份错配的登记表——变更集 scheme=tangerine,登记表 design_scheme=default → 凡身份对不上的表视同没有表。历史缺口:G8 只验 coverage.registry 是非空字符串,拿别的方案/场景的登记表甚至 6 条回归小表都能过 G8,覆盖率分母被偷换,面包屑/顶栏图标/表头 nowrap 等点位从分母消失,欠声明不可数。预期:match 打印「G9 登记表身份闸」并 exit 1。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "scheme": "tangerine",
8
- "mode": "restore",
9
- "layout_type": "vertical",
10
- "global": { "brand_primary": "橘橙-5" },
11
- "changes": [
12
- { "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "橘橙-10", "menu_active_bg": "橘橙-5" } },
13
- { "id": "admin.content.table.header_cell", "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" }, "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" }, "suppress_inner": true },
14
- { "id": "admin.content.table.cell", "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" }, "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" }, "suppress_inner": true },
15
- { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
16
- { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
17
- { "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
18
- ],
19
- "oracle": {
20
- "mockup": "verify/回归夹具-列表页-钴蓝.html",
21
- "theme_mapping": { "from": "钴蓝", "to": "橘橙" },
22
- "sids": [
23
- "admin.layout.sidebar.menu",
24
- "admin.content.table.header_cell",
25
- "admin.content.table.cell",
26
- "component.tag.status",
27
- "component.button.danger",
28
- "admin.content.pagination"
29
- ]
30
- },
31
- "coverage": {
32
- "registry": "parser/fixtures/registry-sample.json",
33
- "registrable": 6,
34
- "applicable": 5,
35
- "covered": 5,
36
- "gaps": []
37
- },
38
- "notes": "本夹具用于回归 G9 身份闸,不是真实设计交付件。变更集宣称橘橙(tangerine)方案,登记表却是 default 方案的表——设计侧真实交付时对应事故形态:橘橙还原却引用钴蓝方案的登记表,186 条壳层+表格分母被偷换成 6 条小表。oracle 已声明 theme_mapping 钴蓝→橘橙(同构异色合法),因此本夹具若登记表身份正确则其余闸门全绿,唯一拦截点就是 G9——保证负例的归因纯净。"
39
- }
1
+ {
2
+ "$comment": "G9 登记表身份闸负例:mode=restore 且基线三件套齐备(过 G8),但 coverage.registry 指向身份错配的登记表——变更集 scheme=tangerine,登记表 design_scheme=default → 凡身份对不上的表视同没有表。历史缺口:G8 只验 coverage.registry 是非空字符串,拿别的方案/场景的登记表甚至 6 条回归小表都能过 G8,覆盖率分母被偷换,面包屑/顶栏图标/表头 nowrap 等点位从分母消失,欠声明不可数。预期:match 打印「G9 登记表身份闸」并 exit 1。",
3
+ "schema": "design.changeset/1.0",
4
+ "changeset_version": "1.0.0",
5
+ "mapping_version": "1.0.0",
6
+ "scene": "admin",
7
+ "scheme": "tangerine",
8
+ "mode": "restore",
9
+ "layout_type": "vertical",
10
+ "global": { "brand_primary": "橘橙-5" },
11
+ "changes": [
12
+ { "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "橘橙-10", "menu_active_bg": "橘橙-5" } },
13
+ { "id": "admin.content.table.header_cell", "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" }, "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" }, "suppress_inner": true },
14
+ { "id": "admin.content.table.cell", "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" }, "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" }, "suppress_inner": true },
15
+ { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
16
+ { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
17
+ { "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
18
+ ],
19
+ "oracle": {
20
+ "mockup": "verify/回归夹具-列表页-钴蓝.html",
21
+ "theme_mapping": { "from": "钴蓝", "to": "橘橙" },
22
+ "sids": [
23
+ "admin.layout.sidebar.menu",
24
+ "admin.content.table.header_cell",
25
+ "admin.content.table.cell",
26
+ "component.tag.status",
27
+ "component.button.danger",
28
+ "admin.content.pagination"
29
+ ]
30
+ },
31
+ "coverage": {
32
+ "registry": "parser/fixtures/registry-sample.json",
33
+ "registrable": 6,
34
+ "applicable": 5,
35
+ "covered": 5,
36
+ "gaps": []
37
+ },
38
+ "notes": "本夹具用于回归 G9 身份闸,不是真实设计交付件。变更集宣称橘橙(tangerine)方案,登记表却是 default 方案的表——对应失效模式:橘橙还原却引用钴蓝方案的登记表,186 条壳层+表格分母被偷换成 6 条小表。oracle 已声明 theme_mapping 钴蓝→橘橙(同构异色合法),因此本夹具若登记表身份正确则其余闸门全绿,唯一拦截点就是 G9——保证负例的归因纯净。"
39
+ }
@@ -1,57 +1,57 @@
1
- {
2
- "$comment": "G10 dims 兑现闸负例:mode=restore、基线三件套齐备、登记表身份一致(过 G8/G9),但 admin.content.table.header_cell 的 ID 已声明却缺 nowrap / text_align 维度(表头竖排 = nowrap 丢失的机检复现件)——「点位在、细节丢」正是样式细节不还原的机制成因。历史缺口:兑现只数 ID 出现,漏给关键维度也算已兑现。预期:match 打印「G10」与「缺 dims=」并 exit 1。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "scheme": "default",
8
- "mode": "restore",
9
- "layout_type": "vertical",
10
- "global": { "brand_primary": "钴蓝-5" },
11
- "changes": [
12
- {
13
- "id": "admin.content.table.header_cell",
14
- "style": { "height": "48px", "padding": "16px", "font_weight": "中等" },
15
- "layer": { "height": "host", "padding": "host", "font_weight": "host" },
16
- "suppress_inner": true
17
- },
18
- {
19
- "id": "admin.content.table.cell",
20
- "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
21
- "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
22
- "suppress_inner": true
23
- },
24
- {
25
- "id": "admin.content.table.cell_amount",
26
- "style": { "align": "right" }
27
- },
28
- {
29
- "id": "admin.content.table.cell_status",
30
- "form": "filled",
31
- "style": { "bg": "#E8F3FF" }
32
- },
33
- { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
34
- { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
35
- { "id": "admin.content.pagination", "style": { "active_bg": "钴蓝-5", "active_color": "#FFFFFF" } }
36
- ],
37
- "oracle": {
38
- "mockup": "verify/回归夹具-列表页-钴蓝.html",
39
- "sids": [
40
- "admin.content.table.header_cell",
41
- "admin.content.table.cell",
42
- "admin.content.table.cell_amount",
43
- "admin.content.table.cell_status",
44
- "component.tag.status",
45
- "component.button.danger",
46
- "admin.content.pagination"
47
- ]
48
- },
49
- "coverage": {
50
- "registry": "parser/fixtures/registry-sample.json",
51
- "registrable": 6,
52
- "applicable": 5,
53
- "covered": 5,
54
- "gaps": []
55
- },
56
- "notes": "本夹具用于回归 G10 dims 闸,不是真实设计交付件。与 H 正例的差集只有一处:header_cell 少了 text_align / nowrap 两个维度(及其 layer)——ID 级覆盖率 100%,但表头竖排(nowrap 丢失)这类「点位在、细节丢」症状在旧口径下一路绿灯。G10 生效后 dims 缺口与欠声明同级阻断。所有条目均带 suppress_inner 硬闸所需声明、tag.status 的 bg_color 维度齐备,保证唯一拦截点 = G10。"
57
- }
1
+ {
2
+ "$comment": "G10 dims 兑现闸负例:mode=restore、基线三件套齐备、登记表身份一致(过 G8/G9),但 admin.content.table.header_cell 的 ID 已声明却缺 nowrap / text_align 维度(表头竖排 = nowrap 丢失的机检复现件)——「点位在、细节丢」正是样式细节不还原的机制成因。历史缺口:兑现只数 ID 出现,漏给关键维度也算已兑现。预期:match 打印「G10」与「缺 dims=」并 exit 1。",
3
+ "schema": "design.changeset/1.0",
4
+ "changeset_version": "1.0.0",
5
+ "mapping_version": "1.0.0",
6
+ "scene": "admin",
7
+ "scheme": "default",
8
+ "mode": "restore",
9
+ "layout_type": "vertical",
10
+ "global": { "brand_primary": "钴蓝-5" },
11
+ "changes": [
12
+ {
13
+ "id": "admin.content.table.header_cell",
14
+ "style": { "height": "48px", "padding": "16px", "font_weight": "中等" },
15
+ "layer": { "height": "host", "padding": "host", "font_weight": "host" },
16
+ "suppress_inner": true
17
+ },
18
+ {
19
+ "id": "admin.content.table.cell",
20
+ "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
21
+ "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
22
+ "suppress_inner": true
23
+ },
24
+ {
25
+ "id": "admin.content.table.cell_amount",
26
+ "style": { "align": "right" }
27
+ },
28
+ {
29
+ "id": "admin.content.table.cell_status",
30
+ "form": "filled",
31
+ "style": { "bg": "#E8F3FF" }
32
+ },
33
+ { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
34
+ { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
35
+ { "id": "admin.content.pagination", "style": { "active_bg": "钴蓝-5", "active_color": "#FFFFFF" } }
36
+ ],
37
+ "oracle": {
38
+ "mockup": "verify/回归夹具-列表页-钴蓝.html",
39
+ "sids": [
40
+ "admin.content.table.header_cell",
41
+ "admin.content.table.cell",
42
+ "admin.content.table.cell_amount",
43
+ "admin.content.table.cell_status",
44
+ "component.tag.status",
45
+ "component.button.danger",
46
+ "admin.content.pagination"
47
+ ]
48
+ },
49
+ "coverage": {
50
+ "registry": "parser/fixtures/registry-sample.json",
51
+ "registrable": 6,
52
+ "applicable": 5,
53
+ "covered": 5,
54
+ "gaps": []
55
+ },
56
+ "notes": "本夹具用于回归 G10 dims 闸,不是真实设计交付件。与 H 正例的差集只有一处:header_cell 少了 text_align / nowrap 两个维度(及其 layer)——ID 级覆盖率 100%,但表头竖排(nowrap 丢失)这类「点位在、细节丢」症状在旧口径下一路绿灯。G10 生效后 dims 缺口与欠声明同级阻断。所有条目均带 suppress_inner 硬闸所需声明、tag.status 的 bg_color 维度齐备,保证唯一拦截点 = G10。"
57
+ }
@@ -1,57 +1,57 @@
1
- {
2
- "$comment": "G11 oracle 基线硬闸负例:mode=restore、三件套齐备、登记表身份一致(过 G8/G9),但效果图是钴蓝主题、变更集主色是橘橙,且未声明 theme_mapping 同构异色复用 → 主题错配。历史缺口:基线断裂只打 ⚠ 软提示就继续交付,verify 无从做 1:1 证明。预期:match 打印「G11」与「主题错配」并 exit 1。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "scheme": "default",
8
- "mode": "restore",
9
- "layout_type": "vertical",
10
- "global": { "brand_primary": "橘橙-5" },
11
- "changes": [
12
- {
13
- "id": "admin.content.table.header_cell",
14
- "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" },
15
- "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" },
16
- "suppress_inner": true
17
- },
18
- {
19
- "id": "admin.content.table.cell",
20
- "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
21
- "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
22
- "suppress_inner": true
23
- },
24
- {
25
- "id": "admin.content.table.cell_amount",
26
- "style": { "align": "right" }
27
- },
28
- {
29
- "id": "admin.content.table.cell_status",
30
- "form": "filled",
31
- "style": { "bg": "#FFF3E6" }
32
- },
33
- { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
34
- { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
35
- { "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
36
- ],
37
- "oracle": {
38
- "mockup": "verify/回归夹具-列表页-钴蓝.html",
39
- "sids": [
40
- "admin.content.table.header_cell",
41
- "admin.content.table.cell",
42
- "admin.content.table.cell_amount",
43
- "admin.content.table.cell_status",
44
- "component.tag.status",
45
- "component.button.danger",
46
- "admin.content.pagination"
47
- ]
48
- },
49
- "coverage": {
50
- "registry": "parser/fixtures/registry-sample.json",
51
- "registrable": 6,
52
- "applicable": 5,
53
- "covered": 5,
54
- "gaps": []
55
- },
56
- "notes": "本夹具用于回归 G11 oracle 闸,不是真实设计交付件。与 H 正例的差集只有两处:global.brand_primary 改橘橙、且 oracle 不带 theme_mapping——「橘橙还原却拿钴蓝效果图当基线」正是橘橙主题还原事故的直接形态(registry 无橘橙沉淀基线时最易发生)。若设计侧补 theme_mapping { from: 钴蓝, to: 橘橙 } 即转合法(同构异色复用)。"
57
- }
1
+ {
2
+ "$comment": "G11 oracle 基线硬闸负例:mode=restore、三件套齐备、登记表身份一致(过 G8/G9),但效果图是钴蓝主题、变更集主色是橘橙,且未声明 theme_mapping 同构异色复用 → 主题错配。历史缺口:基线断裂只打 ⚠ 软提示就继续交付,verify 无从做 1:1 证明。预期:match 打印「G11」与「主题错配」并 exit 1。",
3
+ "schema": "design.changeset/1.0",
4
+ "changeset_version": "1.0.0",
5
+ "mapping_version": "1.0.0",
6
+ "scene": "admin",
7
+ "scheme": "default",
8
+ "mode": "restore",
9
+ "layout_type": "vertical",
10
+ "global": { "brand_primary": "橘橙-5" },
11
+ "changes": [
12
+ {
13
+ "id": "admin.content.table.header_cell",
14
+ "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" },
15
+ "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" },
16
+ "suppress_inner": true
17
+ },
18
+ {
19
+ "id": "admin.content.table.cell",
20
+ "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
21
+ "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
22
+ "suppress_inner": true
23
+ },
24
+ {
25
+ "id": "admin.content.table.cell_amount",
26
+ "style": { "align": "right" }
27
+ },
28
+ {
29
+ "id": "admin.content.table.cell_status",
30
+ "form": "filled",
31
+ "style": { "bg": "#FFF3E6" }
32
+ },
33
+ { "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
34
+ { "id": "component.button.danger", "style": { "bg_color": "错误色" } },
35
+ { "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
36
+ ],
37
+ "oracle": {
38
+ "mockup": "verify/回归夹具-列表页-钴蓝.html",
39
+ "sids": [
40
+ "admin.content.table.header_cell",
41
+ "admin.content.table.cell",
42
+ "admin.content.table.cell_amount",
43
+ "admin.content.table.cell_status",
44
+ "component.tag.status",
45
+ "component.button.danger",
46
+ "admin.content.pagination"
47
+ ]
48
+ },
49
+ "coverage": {
50
+ "registry": "parser/fixtures/registry-sample.json",
51
+ "registrable": 6,
52
+ "applicable": 5,
53
+ "covered": 5,
54
+ "gaps": []
55
+ },
56
+ "notes": "本夹具用于回归 G11 oracle 闸,不是真实设计交付件。与 H 正例的差集只有两处:global.brand_primary 改橘橙、且 oracle 不带 theme_mapping——「橘橙还原却拿钴蓝效果图当基线」正是「还原主题与基线图色板错配」失效模式的直接形态(registry 无橘橙沉淀基线时最易发生)。若设计侧补 theme_mapping { from: 钴蓝, to: 橘橙 } 即转合法(同构异色复用)。"
57
+ }