@topmindspace/tms-skills 2.0.1 → 2.0.2

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