@topmindspace/tms-skills 2.0.1 → 2.1.0

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 (95) hide show
  1. package/CHANGELOG.md +145 -134
  2. package/README.md +1 -1
  3. package/bin/tms-skills.js +160 -160
  4. package/package.json +48 -48
  5. package/top-ppt-html/README.md +254 -254
  6. package/top-ppt-html/SKILL.md +111 -111
  7. package/top-ppt-html/assets/examples/2026-09-09-architecture-graphite-dark.html +3926 -3926
  8. package/top-ppt-html/assets/examples/2026-09-09-architecture-graphite-dark.model.json +167 -167
  9. package/top-ppt-html/assets/examples/2026-09-09-architecture-spectrum.html +3926 -3926
  10. package/top-ppt-html/assets/examples/2026-09-09-architecture-spectrum.model.json +167 -167
  11. package/top-ppt-html/assets/examples/2026-09-09-presentation-apple-mono.html +4325 -4325
  12. package/top-ppt-html/assets/examples/2026-09-09-presentation-apple-mono.model.json +320 -320
  13. package/top-ppt-html/assets/examples/2026-09-09-presentation-brand-red.html +4325 -4325
  14. package/top-ppt-html/assets/examples/2026-09-09-presentation-brand-red.model.json +320 -320
  15. package/top-ppt-html/assets/examples/2026-09-09-presentation-business-blue.html +4325 -4325
  16. package/top-ppt-html/assets/examples/2026-09-09-presentation-business-blue.model.json +320 -320
  17. package/top-ppt-html/assets/examples/2026-09-09-research-deep-teal.html +5527 -5527
  18. package/top-ppt-html/assets/examples/2026-09-09-research-deep-teal.model.json +913 -913
  19. package/top-ppt-html/assets/examples/2026-09-09-research-indigo-violet.html +5527 -5527
  20. package/top-ppt-html/assets/examples/2026-09-09-research-indigo-violet.model.json +913 -913
  21. package/top-ppt-html/assets/examples/2026-09-09-research-mckinsey.html +5527 -5527
  22. package/top-ppt-html/assets/examples/2026-09-09-research-mckinsey.model.json +913 -913
  23. package/top-ppt-html/assets/examples/2026-09-09-research-warm-sand.html +5527 -5527
  24. package/top-ppt-html/assets/examples/2026-09-09-research-warm-sand.model.json +913 -913
  25. package/top-ppt-html/assets/pptx-export.js +1944 -1944
  26. package/top-ppt-html/assets/style-gallery.html +589 -589
  27. package/top-ppt-html/assets/templates/architecture.html +3728 -3728
  28. package/top-ppt-html/assets/templates/engine.css +840 -840
  29. package/top-ppt-html/assets/templates/presentation.html +3738 -3738
  30. package/top-ppt-html/assets/templates/research.html +4017 -4017
  31. package/top-ppt-html/assets/templates/ui.js +520 -520
  32. package/top-ppt-html/evals/prompts.csv +15 -15
  33. package/top-ppt-html/evals/rubric.schema.json +25 -25
  34. package/top-ppt-html/evals/run_evals.py +220 -220
  35. package/top-ppt-html/evals/trace.example.json +16 -16
  36. package/top-ppt-html/package-lock.json +207 -0
  37. package/top-ppt-html/package.json +35 -35
  38. package/top-ppt-html/references/charts-basic.md +624 -624
  39. package/top-ppt-html/references/charts-discipline.md +108 -108
  40. package/top-ppt-html/references/charts-extended.md +482 -482
  41. package/top-ppt-html/references/charts.md +28 -28
  42. package/top-ppt-html/references/components-atoms.md +624 -624
  43. package/top-ppt-html/references/components.md +30 -30
  44. package/top-ppt-html/references/content-rules.md +490 -490
  45. package/top-ppt-html/references/design-system-engine.md +235 -235
  46. package/top-ppt-html/references/design-system.md +478 -478
  47. package/top-ppt-html/references/failure-modes.md +214 -214
  48. package/top-ppt-html/references/high-fidelity.md +127 -127
  49. package/top-ppt-html/references/icons.md +397 -397
  50. package/top-ppt-html/references/industry-benchmark.md +105 -105
  51. package/top-ppt-html/references/infographics-stats.md +308 -308
  52. package/top-ppt-html/references/infographics-structure.md +226 -226
  53. package/top-ppt-html/references/infographics.md +43 -43
  54. package/top-ppt-html/references/layout-grammar.md +315 -315
  55. package/top-ppt-html/references/layouts-architecture.md +108 -108
  56. package/top-ppt-html/references/layouts-combo.md +600 -600
  57. package/top-ppt-html/references/layouts-research.md +160 -160
  58. package/top-ppt-html/references/modes.md +254 -254
  59. package/top-ppt-html/references/outline-design.md +275 -275
  60. package/top-ppt-html/references/playbook.md +266 -266
  61. package/top-ppt-html/references/pptx-export.md +209 -209
  62. package/top-ppt-html/references/reform-plan.md +252 -252
  63. package/top-ppt-html/references/styles.md +370 -370
  64. package/top-ppt-html/references/tech-design.md +138 -138
  65. package/top-ppt-html/scripts/audit_css.py +109 -109
  66. package/top-ppt-html/scripts/audit_docs.py +176 -176
  67. package/top-ppt-html/scripts/audit_skill.py +220 -220
  68. package/top-ppt-html/scripts/audit_styles.py +351 -351
  69. package/top-ppt-html/scripts/build_examples.py +2276 -2276
  70. package/top-ppt-html/scripts/build_pptx.js +2380 -2380
  71. package/top-ppt-html/scripts/capture_theme_overview.js +78 -78
  72. package/top-ppt-html/scripts/checks_html.py +127 -127
  73. package/top-ppt-html/scripts/cross_verify.py +294 -294
  74. package/top-ppt-html/scripts/env_probe.py +158 -158
  75. package/top-ppt-html/scripts/extract_model.py +210 -210
  76. package/top-ppt-html/scripts/extract_snippet.py +374 -374
  77. package/top-ppt-html/scripts/gen_channel_a.js +214 -214
  78. package/top-ppt-html/scripts/layout-constants.json +3377 -3377
  79. package/top-ppt-html/scripts/layout_slots.json +830 -830
  80. package/top-ppt-html/scripts/lib_layout_regions.js +412 -412
  81. package/top-ppt-html/scripts/measure_height.py +178 -178
  82. package/top-ppt-html/scripts/model-schema.json +547 -547
  83. package/top-ppt-html/scripts/negative_tests.py +307 -307
  84. package/top-ppt-html/scripts/package_skill.py +291 -291
  85. package/top-ppt-html/scripts/prepare_images.py +341 -341
  86. package/top-ppt-html/scripts/probe_image_export.py +188 -188
  87. package/top-ppt-html/scripts/quality_gate.py +301 -301
  88. package/top-ppt-html/scripts/regression.py +308 -308
  89. package/top-ppt-html/scripts/render_compare.py +275 -275
  90. package/top-ppt-html/scripts/render_from_model.py +698 -698
  91. package/top-ppt-html/scripts/scaffold_report.py +1054 -1054
  92. package/top-ppt-html/scripts/section-file-map.json +104 -104
  93. package/top-ppt-html/scripts/sync_runtime.py +662 -662
  94. package/top-ppt-html/scripts/validate_pptx.py +1510 -1510
  95. package/top-ppt-html/scripts/validate_report.py +1456 -1456
@@ -0,0 +1,207 @@
1
+ {
2
+ "name": "top-ppt-html",
3
+ "version": "9.2.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "top-ppt-html",
9
+ "version": "9.2.0",
10
+ "license": "MIT",
11
+ "dependencies": {
12
+ "pptxgenjs": "^4.0.0"
13
+ },
14
+ "devDependencies": {
15
+ "playwright": "^1.63.0"
16
+ },
17
+ "engines": {
18
+ "node": ">=18"
19
+ }
20
+ },
21
+ "node_modules/@types/node": {
22
+ "version": "22.20.4",
23
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.4.tgz",
24
+ "integrity": "sha512-zJRE40jpHtKqE/C4fgHrAKQLJuSpzEnP9ff9Y7YtoR3Wd2pwqzlekDeEuUQXjRd+QCYnVnNwuJYmhdk9XV8gvA==",
25
+ "license": "MIT",
26
+ "dependencies": {
27
+ "undici-types": "~6.21.0"
28
+ }
29
+ },
30
+ "node_modules/core-util-is": {
31
+ "version": "1.0.3",
32
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
33
+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
34
+ "license": "MIT"
35
+ },
36
+ "node_modules/https": {
37
+ "version": "1.0.0",
38
+ "resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
39
+ "integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg==",
40
+ "license": "ISC"
41
+ },
42
+ "node_modules/image-size": {
43
+ "version": "1.2.1",
44
+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.1.tgz",
45
+ "integrity": "sha512-rH+46sQJ2dlwfjfhCyNx5thzrv+dtmBIhPHk0zgRUukHzZ/kRueTJXoYYsclBaKcSMBWuGbOFXtioLpzTb5euw==",
46
+ "license": "MIT",
47
+ "dependencies": {
48
+ "queue": "6.0.2"
49
+ },
50
+ "bin": {
51
+ "image-size": "bin/image-size.js"
52
+ },
53
+ "engines": {
54
+ "node": ">=16.x"
55
+ }
56
+ },
57
+ "node_modules/immediate": {
58
+ "version": "3.0.6",
59
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
60
+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
61
+ "license": "MIT"
62
+ },
63
+ "node_modules/inherits": {
64
+ "version": "2.0.4",
65
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
66
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
67
+ "license": "ISC"
68
+ },
69
+ "node_modules/isarray": {
70
+ "version": "1.0.0",
71
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
72
+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
73
+ "license": "MIT"
74
+ },
75
+ "node_modules/jszip": {
76
+ "version": "3.10.2",
77
+ "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.2.tgz",
78
+ "integrity": "sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==",
79
+ "license": "(MIT OR GPL-3.0-or-later)",
80
+ "dependencies": {
81
+ "lie": "~3.3.0",
82
+ "pako": "~1.0.2",
83
+ "readable-stream": "~2.3.6",
84
+ "setimmediate": "^1.0.5"
85
+ }
86
+ },
87
+ "node_modules/lie": {
88
+ "version": "3.3.0",
89
+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
90
+ "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",
91
+ "license": "MIT",
92
+ "dependencies": {
93
+ "immediate": "~3.0.5"
94
+ }
95
+ },
96
+ "node_modules/pako": {
97
+ "version": "1.0.11",
98
+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
99
+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
100
+ "license": "(MIT AND Zlib)"
101
+ },
102
+ "node_modules/playwright": {
103
+ "version": "1.63.0",
104
+ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.63.0.tgz",
105
+ "integrity": "sha512-+7ziBLidS4NaNCdt57SUDT+wYmmd5fmiQejUic/kb+YsYSCPyOOE9sebzMjNmQrsnNpDJqd4WHvV/8lfKfUDUg==",
106
+ "dev": true,
107
+ "license": "Apache-2.0",
108
+ "dependencies": {
109
+ "playwright-core": "1.63.0"
110
+ },
111
+ "bin": {
112
+ "playwright": "cli.js"
113
+ },
114
+ "engines": {
115
+ "node": ">=20"
116
+ }
117
+ },
118
+ "node_modules/playwright-core": {
119
+ "version": "1.63.0",
120
+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0.tgz",
121
+ "integrity": "sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==",
122
+ "dev": true,
123
+ "license": "Apache-2.0",
124
+ "bin": {
125
+ "playwright-core": "cli.js"
126
+ },
127
+ "engines": {
128
+ "node": ">=20"
129
+ }
130
+ },
131
+ "node_modules/pptxgenjs": {
132
+ "version": "4.0.1",
133
+ "resolved": "https://registry.npmjs.org/pptxgenjs/-/pptxgenjs-4.0.1.tgz",
134
+ "integrity": "sha512-TeJISr8wouAuXw4C1F/mC33xbZs/FuEG6nH9FG1Zj+nuPcGMP5YRHl6X+j3HSUnS1f3at6k75ZZXPMZlA5Lj9A==",
135
+ "license": "MIT",
136
+ "dependencies": {
137
+ "@types/node": "^22.8.1",
138
+ "https": "^1.0.0",
139
+ "image-size": "^1.2.1",
140
+ "jszip": "^3.10.1"
141
+ }
142
+ },
143
+ "node_modules/process-nextick-args": {
144
+ "version": "2.0.1",
145
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
146
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
147
+ "license": "MIT"
148
+ },
149
+ "node_modules/queue": {
150
+ "version": "6.0.2",
151
+ "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz",
152
+ "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==",
153
+ "license": "MIT",
154
+ "dependencies": {
155
+ "inherits": "~2.0.3"
156
+ }
157
+ },
158
+ "node_modules/readable-stream": {
159
+ "version": "2.3.8",
160
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
161
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
162
+ "license": "MIT",
163
+ "dependencies": {
164
+ "core-util-is": "~1.0.0",
165
+ "inherits": "~2.0.3",
166
+ "isarray": "~1.0.0",
167
+ "process-nextick-args": "~2.0.0",
168
+ "safe-buffer": "~5.1.1",
169
+ "string_decoder": "~1.1.1",
170
+ "util-deprecate": "~1.0.1"
171
+ }
172
+ },
173
+ "node_modules/safe-buffer": {
174
+ "version": "5.1.2",
175
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
176
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
177
+ "license": "MIT"
178
+ },
179
+ "node_modules/setimmediate": {
180
+ "version": "1.0.5",
181
+ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
182
+ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",
183
+ "license": "MIT"
184
+ },
185
+ "node_modules/string_decoder": {
186
+ "version": "1.1.1",
187
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
188
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
189
+ "license": "MIT",
190
+ "dependencies": {
191
+ "safe-buffer": "~5.1.0"
192
+ }
193
+ },
194
+ "node_modules/undici-types": {
195
+ "version": "6.21.0",
196
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
197
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
198
+ "license": "MIT"
199
+ },
200
+ "node_modules/util-deprecate": {
201
+ "version": "1.0.2",
202
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
203
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
204
+ "license": "MIT"
205
+ }
206
+ }
207
+ }
@@ -1,35 +1,35 @@
1
- {
2
- "name": "top-ppt-html",
3
- "version": "9.1.0",
4
- "private": true,
5
- "description": "TopPPT HTML:报告 / 演示 / 信息架构图技能。单文件 HTML + 版式保真的可编辑 PPTX;布局骨架 P1–P12;模型单写;strict 0/0 交付。",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/topmindspace/tms-skills.git",
10
- "directory": "top-ppt-html"
11
- },
12
- "type": "commonjs",
13
- "engines": {
14
- "node": ">=18"
15
- },
16
- "scripts": {
17
- "scaffold": "python scripts/scaffold_report.py",
18
- "sync": "python scripts/sync_runtime.py",
19
- "audit": "python scripts/audit_styles.py && python scripts/audit_docs.py && python scripts/audit_skill.py && python scripts/audit_css.py",
20
- "capture-themes": "node scripts/capture_theme_overview.js",
21
- "measure": "python scripts/measure_height.py",
22
- "eval": "python evals/run_evals.py",
23
- "build-examples": "python scripts/build_examples.py",
24
- "regression": "python scripts/regression.py",
25
- "negative": "python scripts/negative_tests.py",
26
- "package": "python scripts/package_skill.py",
27
- "check": "python scripts/package_skill.py --check"
28
- },
29
- "dependencies": {
30
- "pptxgenjs": "^4.0.0"
31
- },
32
- "devDependencies": {
33
- "playwright": "^1.63.0"
34
- }
35
- }
1
+ {
2
+ "name": "top-ppt-html",
3
+ "version": "9.2.0",
4
+ "private": true,
5
+ "description": "TopPPT HTML:报告 / 演示 / 信息架构图技能。单文件 HTML + 版式保真的可编辑 PPTX;布局骨架 P1–P12;模型单写;strict 0/0 交付。",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/topmindspace/tms-skills.git",
10
+ "directory": "top-ppt-html"
11
+ },
12
+ "type": "commonjs",
13
+ "engines": {
14
+ "node": ">=18"
15
+ },
16
+ "scripts": {
17
+ "scaffold": "python scripts/scaffold_report.py",
18
+ "sync": "python scripts/sync_runtime.py",
19
+ "audit": "python scripts/audit_styles.py && python scripts/audit_docs.py && python scripts/audit_skill.py && python scripts/audit_css.py",
20
+ "capture-themes": "node scripts/capture_theme_overview.js",
21
+ "measure": "python scripts/measure_height.py",
22
+ "eval": "python evals/run_evals.py",
23
+ "build-examples": "python scripts/build_examples.py",
24
+ "regression": "python scripts/regression.py",
25
+ "negative": "python scripts/negative_tests.py",
26
+ "package": "python scripts/package_skill.py",
27
+ "check": "python scripts/package_skill.py --check"
28
+ },
29
+ "dependencies": {
30
+ "pptxgenjs": "^4.0.0"
31
+ },
32
+ "devDependencies": {
33
+ "playwright": "^1.63.0"
34
+ }
35
+ }