anchi-kit 1.2.0 → 1.2.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 (1244) hide show
  1. package/.antigravity/compliance/audit-standard.yaml +70 -0
  2. package/.antigravity/compliance/data-retention.yaml +55 -0
  3. package/.antigravity/compliance/gdpr-checklist.yaml +73 -0
  4. package/.antigravity/data-classification.yaml +138 -0
  5. package/.antigravity/deploy-guard.yaml +135 -0
  6. package/.antigravity/skills/article-extractor/SKILL.md +52 -0
  7. package/.antigravity/skills/artifacts-builder/SKILL.md +63 -0
  8. package/.antigravity/skills/aws-deployment/SKILL.md +85 -0
  9. package/.antigravity/skills/brainstorming/SKILL.md +73 -0
  10. package/.antigravity/skills/canvas-design/SKILL.md +62 -0
  11. package/.antigravity/skills/changelog-generator/SKILL.md +149 -0
  12. package/.antigravity/skills/claude-code/skill.md +60 -0
  13. package/.antigravity/skills/code-quality/SKILL.md +273 -0
  14. package/.antigravity/skills/content-research-writer/SKILL.md +65 -0
  15. package/.antigravity/skills/csv-data-analyzer/SKILL.md +91 -0
  16. package/.antigravity/skills/d3-visualization/SKILL.md +65 -0
  17. package/.antigravity/skills/file-organizer/SKILL.md +64 -0
  18. package/.antigravity/skills/git-automation/SKILL.md +68 -0
  19. package/.antigravity/skills/impact-scoring/SKILL.md +219 -0
  20. package/.antigravity/skills/kaizen/SKILL.md +94 -0
  21. package/.antigravity/skills/performance-patterns/SKILL.md +209 -0
  22. package/.antigravity/skills/playwright-testing/SKILL.md +115 -0
  23. package/.antigravity/skills/prompt-engineering/SKILL.md +126 -0
  24. package/.antigravity/skills/pypict-testing/SKILL.md +79 -0
  25. package/.antigravity/skills/review-implementing/SKILL.md +287 -0
  26. package/.antigravity/skills/security-audit/SKILL.md +263 -0
  27. package/.antigravity/skills/software-architecture/SKILL.md +91 -0
  28. package/.antigravity/skills/subagent-driven-development/SKILL.md +237 -0
  29. package/.antigravity/skills/test-driven-development/SKILL.md +130 -0
  30. package/.antigravity/skills/test-fixing/SKILL.md +256 -0
  31. package/.antigravity/skills/theme-factory/SKILL.md +63 -0
  32. package/.antigravity/workflows/clean.md +333 -0
  33. package/.antigravity/workflows/health.md +228 -0
  34. package/.cursor/compliance/audit-standard.yaml +70 -0
  35. package/.cursor/compliance/data-retention.yaml +55 -0
  36. package/.cursor/compliance/gdpr-checklist.yaml +73 -0
  37. package/.cursor/data-classification.yaml +138 -0
  38. package/.cursor/deploy-guard.yaml +135 -0
  39. package/.cursor/skills/advanced-coding/skill.md +34 -0
  40. package/.cursor/skills/template-skill/SKILL.md +6 -0
  41. package/ANTIGRAVITY.md +379 -0
  42. package/CHANGELOG.md +27 -4
  43. package/CURSOR.md +53 -1
  44. package/README.md +3 -3
  45. package/docs/reference/ARCHITECTURE.md +3 -3
  46. package/docs/reference/ORCHESTRATION.md +11 -11
  47. package/docs/reference/SECURITY.md +1 -1
  48. package/docs/team/ONBOARDING.md +1 -1
  49. package/docs/team/README.md +1 -1
  50. package/docs/team/ROLES_PERMISSIONS.md +1 -1
  51. package/docs/team/SETUP_GUIDE.md +1 -1
  52. package/docs/team/TEAM_WORKFLOW.md +1 -1
  53. package/package.json +31 -5
  54. package/presets/memory-template/.ai-audit/README.md +42 -0
  55. package/presets/memory-template/.ai-memory/README.md +42 -0
  56. package/presets/memory-template/.ai-memory/context.json +11 -0
  57. package/presets/memory-template/.ai-memory/decisions.json +1 -0
  58. package/presets/memory-template/.ai-memory/graph/.gitkeep +1 -0
  59. package/presets/memory-template/.ai-memory/sessions/.gitkeep +1 -0
  60. package/presets/memory-template/.ai-memory/vector/.gitkeep +1 -0
  61. package/presets/professional/contract.json +1 -1
  62. package/presets/rapid/contract.json +1 -1
  63. package/scripts/pre-commit-secrets.ps1 +84 -0
  64. package/scripts/pre-commit-secrets.sh +86 -0
  65. package/src/cli.js +29 -8
  66. package/src/commands/dashboard.js +8 -34
  67. package/src/commands/init.js +15 -3
  68. package/src/commands/scan.js +103 -0
  69. package/src/commands/security.js +420 -0
  70. package/src/lib/encryptedStorage.js +326 -0
  71. package/src/lib/secretScanner.js +330 -0
  72. package/src/lib/vector/store.js +2 -0
  73. package/.antigravity/.ai-memory/context.json +0 -36
  74. package/.antigravity/.ai-memory/knowledge-graph.json +0 -3470
  75. package/.antigravity/anchi-kit.config.yaml +0 -32
  76. package/.antigravity/codebase-index.json +0 -3049
  77. package/.antigravity/skills/.env.example +0 -100
  78. package/.antigravity/skills/INSTALLATION.md +0 -360
  79. package/.antigravity/skills/SKILLS_INDEX.md +0 -118
  80. package/.antigravity/skills/THIRD_PARTY_NOTICES.md +0 -405
  81. package/.antigravity/skills/_packs/common/pack-architecture.md +0 -40
  82. package/.antigravity/skills/_packs/common/pack-devops.md +0 -43
  83. package/.antigravity/skills/_packs/common/pack-productivity.md +0 -37
  84. package/.antigravity/skills/_packs/common/pack-quality.md +0 -41
  85. package/.antigravity/skills/_packs/data/pack-ai.md +0 -41
  86. package/.antigravity/skills/_packs/data/pack-data-science.md +0 -36
  87. package/.antigravity/skills/_packs/mobile/pack-mobile.md +0 -40
  88. package/.antigravity/skills/_packs/web/pack-backend.md +0 -61
  89. package/.antigravity/skills/_packs/web/pack-frontend.md +0 -66
  90. package/.antigravity/skills/_packs/web3/pack-blockchain.md +0 -37
  91. package/.antigravity/skills/_template.md +0 -30
  92. package/.antigravity/skills/advanced-coding/references/getting-started.md +0 -93
  93. package/.antigravity/skills/aesthetic/assets/design-guideline-template.md +0 -163
  94. package/.antigravity/skills/aesthetic/assets/design-story-template.md +0 -135
  95. package/.antigravity/skills/aesthetic/references/design-principles.md +0 -62
  96. package/.antigravity/skills/aesthetic/references/design-resources.md +0 -75
  97. package/.antigravity/skills/aesthetic/references/micro-interactions.md +0 -53
  98. package/.antigravity/skills/aesthetic/references/storytelling-design.md +0 -50
  99. package/.antigravity/skills/agent_skills_spec.md +0 -55
  100. package/.antigravity/skills/ai-multimodal/.env.example +0 -181
  101. package/.antigravity/skills/ai-multimodal/references/audio-processing.md +0 -386
  102. package/.antigravity/skills/ai-multimodal/references/image-generation.md +0 -722
  103. package/.antigravity/skills/ai-multimodal/references/video-analysis.md +0 -515
  104. package/.antigravity/skills/ai-multimodal/references/video-generation.md +0 -457
  105. package/.antigravity/skills/ai-multimodal/references/vision-understanding.md +0 -492
  106. package/.antigravity/skills/ai-multimodal/scripts/.coverage +0 -0
  107. package/.antigravity/skills/ai-multimodal/scripts/check_setup.py +0 -299
  108. package/.antigravity/skills/ai-multimodal/scripts/document_converter.py +0 -395
  109. package/.antigravity/skills/ai-multimodal/scripts/gemini_batch_process.py +0 -896
  110. package/.antigravity/skills/ai-multimodal/scripts/media_optimizer.py +0 -506
  111. package/.antigravity/skills/ai-multimodal/scripts/requirements.txt +0 -26
  112. package/.antigravity/skills/ai-multimodal/scripts/tests/.coverage +0 -0
  113. package/.antigravity/skills/ai-multimodal/scripts/tests/requirements.txt +0 -20
  114. package/.antigravity/skills/ai-multimodal/scripts/tests/test_document_converter.py +0 -74
  115. package/.antigravity/skills/ai-multimodal/scripts/tests/test_failures.log +0 -258
  116. package/.antigravity/skills/ai-multimodal/scripts/tests/test_gemini_batch_process.py +0 -362
  117. package/.antigravity/skills/ai-multimodal/scripts/tests/test_media_optimizer.py +0 -373
  118. package/.antigravity/skills/backend-development/references/backend-api-design.md +0 -495
  119. package/.antigravity/skills/backend-development/references/backend-architecture.md +0 -454
  120. package/.antigravity/skills/backend-development/references/backend-authentication.md +0 -338
  121. package/.antigravity/skills/backend-development/references/backend-code-quality.md +0 -659
  122. package/.antigravity/skills/backend-development/references/backend-debugging.md +0 -904
  123. package/.antigravity/skills/backend-development/references/backend-devops.md +0 -494
  124. package/.antigravity/skills/backend-development/references/backend-mindset.md +0 -387
  125. package/.antigravity/skills/backend-development/references/backend-performance.md +0 -397
  126. package/.antigravity/skills/backend-development/references/backend-security.md +0 -290
  127. package/.antigravity/skills/backend-development/references/backend-technologies.md +0 -256
  128. package/.antigravity/skills/backend-development/references/backend-testing.md +0 -429
  129. package/.antigravity/skills/better-auth/references/advanced-features.md +0 -553
  130. package/.antigravity/skills/better-auth/references/database-integration.md +0 -577
  131. package/.antigravity/skills/better-auth/references/email-password-auth.md +0 -416
  132. package/.antigravity/skills/better-auth/references/oauth-providers.md +0 -430
  133. package/.antigravity/skills/better-auth/scripts/.coverage +0 -0
  134. package/.antigravity/skills/better-auth/scripts/better_auth_init.py +0 -521
  135. package/.antigravity/skills/better-auth/scripts/requirements.txt +0 -15
  136. package/.antigravity/skills/better-auth/scripts/tests/.coverage +0 -0
  137. package/.antigravity/skills/better-auth/scripts/tests/test_better_auth_init.py +0 -421
  138. package/.antigravity/skills/chrome-devtools/references/cdp-domains.md +0 -694
  139. package/.antigravity/skills/chrome-devtools/references/performance-guide.md +0 -940
  140. package/.antigravity/skills/chrome-devtools/references/puppeteer-reference.md +0 -953
  141. package/.antigravity/skills/chrome-devtools/scripts/__tests__/selector.test.js +0 -210
  142. package/.antigravity/skills/chrome-devtools/scripts/click.js +0 -79
  143. package/.antigravity/skills/chrome-devtools/scripts/console.js +0 -75
  144. package/.antigravity/skills/chrome-devtools/scripts/evaluate.js +0 -49
  145. package/.antigravity/skills/chrome-devtools/scripts/fill.js +0 -72
  146. package/.antigravity/skills/chrome-devtools/scripts/install-deps.sh +0 -181
  147. package/.antigravity/skills/chrome-devtools/scripts/install.sh +0 -83
  148. package/.antigravity/skills/chrome-devtools/scripts/lib/browser.js +0 -122
  149. package/.antigravity/skills/chrome-devtools/scripts/lib/selector.js +0 -178
  150. package/.antigravity/skills/chrome-devtools/scripts/navigate.js +0 -46
  151. package/.antigravity/skills/chrome-devtools/scripts/network.js +0 -102
  152. package/.antigravity/skills/chrome-devtools/scripts/package.json +0 -15
  153. package/.antigravity/skills/chrome-devtools/scripts/performance.js +0 -145
  154. package/.antigravity/skills/chrome-devtools/scripts/screenshot.js +0 -180
  155. package/.antigravity/skills/chrome-devtools/scripts/snapshot.js +0 -131
  156. package/.antigravity/skills/code-review/references/code-review-reception.md +0 -209
  157. package/.antigravity/skills/code-review/references/requesting-code-review.md +0 -105
  158. package/.antigravity/skills/code-review/references/verification-before-completion.md +0 -139
  159. package/.antigravity/skills/common/api_key_helper.py +0 -300
  160. package/.antigravity/skills/databases/references/mongodb-aggregation.md +0 -447
  161. package/.antigravity/skills/databases/references/mongodb-atlas.md +0 -465
  162. package/.antigravity/skills/databases/references/mongodb-crud.md +0 -408
  163. package/.antigravity/skills/databases/references/mongodb-indexing.md +0 -442
  164. package/.antigravity/skills/databases/references/postgresql-administration.md +0 -594
  165. package/.antigravity/skills/databases/references/postgresql-performance.md +0 -527
  166. package/.antigravity/skills/databases/references/postgresql-psql-cli.md +0 -467
  167. package/.antigravity/skills/databases/references/postgresql-queries.md +0 -475
  168. package/.antigravity/skills/databases/scripts/.coverage +0 -0
  169. package/.antigravity/skills/databases/scripts/db_backup.py +0 -502
  170. package/.antigravity/skills/databases/scripts/db_migrate.py +0 -414
  171. package/.antigravity/skills/databases/scripts/db_performance_check.py +0 -444
  172. package/.antigravity/skills/databases/scripts/requirements.txt +0 -20
  173. package/.antigravity/skills/databases/scripts/tests/coverage-db.json +0 -1
  174. package/.antigravity/skills/databases/scripts/tests/requirements.txt +0 -4
  175. package/.antigravity/skills/databases/scripts/tests/test_db_backup.py +0 -340
  176. package/.antigravity/skills/databases/scripts/tests/test_db_migrate.py +0 -277
  177. package/.antigravity/skills/databases/scripts/tests/test_db_performance_check.py +0 -370
  178. package/.antigravity/skills/debugging/references/defense-in-depth.md +0 -124
  179. package/.antigravity/skills/debugging/references/root-cause-tracing.md +0 -122
  180. package/.antigravity/skills/debugging/references/systematic-debugging.md +0 -102
  181. package/.antigravity/skills/debugging/references/verification.md +0 -123
  182. package/.antigravity/skills/debugging/scripts/find-polluter.sh +0 -63
  183. package/.antigravity/skills/debugging/scripts/find-polluter.test.md +0 -102
  184. package/.antigravity/skills/devops/.env.example +0 -76
  185. package/.antigravity/skills/devops/references/browser-rendering.md +0 -305
  186. package/.antigravity/skills/devops/references/cloudflare-d1-kv.md +0 -123
  187. package/.antigravity/skills/devops/references/cloudflare-platform.md +0 -271
  188. package/.antigravity/skills/devops/references/cloudflare-r2-storage.md +0 -280
  189. package/.antigravity/skills/devops/references/cloudflare-workers-advanced.md +0 -312
  190. package/.antigravity/skills/devops/references/cloudflare-workers-apis.md +0 -309
  191. package/.antigravity/skills/devops/references/cloudflare-workers-basics.md +0 -418
  192. package/.antigravity/skills/devops/references/docker-basics.md +0 -297
  193. package/.antigravity/skills/devops/references/docker-compose.md +0 -292
  194. package/.antigravity/skills/devops/references/gcloud-platform.md +0 -297
  195. package/.antigravity/skills/devops/references/gcloud-services.md +0 -304
  196. package/.antigravity/skills/devops/scripts/cloudflare_deploy.py +0 -269
  197. package/.antigravity/skills/devops/scripts/docker_optimize.py +0 -320
  198. package/.antigravity/skills/devops/scripts/requirements.txt +0 -20
  199. package/.antigravity/skills/devops/scripts/tests/requirements.txt +0 -3
  200. package/.antigravity/skills/devops/scripts/tests/test_cloudflare_deploy.py +0 -285
  201. package/.antigravity/skills/devops/scripts/tests/test_docker_optimize.py +0 -436
  202. package/.antigravity/skills/docs-seeker/.env.example +0 -15
  203. package/.antigravity/skills/docs-seeker/package.json +0 -25
  204. package/.antigravity/skills/docs-seeker/references/advanced.md +0 -79
  205. package/.antigravity/skills/docs-seeker/references/context7-patterns.md +0 -68
  206. package/.antigravity/skills/docs-seeker/references/errors.md +0 -68
  207. package/.antigravity/skills/docs-seeker/scripts/analyze-llms-txt.js +0 -211
  208. package/.antigravity/skills/docs-seeker/scripts/detect-topic.js +0 -172
  209. package/.antigravity/skills/docs-seeker/scripts/fetch-docs.js +0 -213
  210. package/.antigravity/skills/docs-seeker/scripts/tests/run-tests.js +0 -72
  211. package/.antigravity/skills/docs-seeker/scripts/tests/test-analyze-llms.js +0 -119
  212. package/.antigravity/skills/docs-seeker/scripts/tests/test-detect-topic.js +0 -112
  213. package/.antigravity/skills/docs-seeker/scripts/tests/test-fetch-docs.js +0 -84
  214. package/.antigravity/skills/docs-seeker/scripts/utils/env-loader.js +0 -94
  215. package/.antigravity/skills/docs-seeker/workflows/library-search.md +0 -87
  216. package/.antigravity/skills/docs-seeker/workflows/repo-analysis.md +0 -91
  217. package/.antigravity/skills/docs-seeker/workflows/topic-search.md +0 -77
  218. package/.antigravity/skills/document-skills/docx/LICENSE.txt +0 -30
  219. package/.antigravity/skills/document-skills/docx/SKILL.md +0 -197
  220. package/.antigravity/skills/document-skills/docx/docx-js.md +0 -350
  221. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  222. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  223. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  224. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  225. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  226. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  227. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  228. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  229. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  230. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  231. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  232. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  233. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  234. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  235. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  236. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  237. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  238. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  239. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  240. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  241. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  242. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  243. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  244. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  245. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  246. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  247. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  248. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  249. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  250. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  251. package/.antigravity/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  252. package/.antigravity/skills/document-skills/docx/ooxml/schemas/mce/mc.xsd +0 -75
  253. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  254. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  255. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  256. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  257. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  258. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  259. package/.antigravity/skills/document-skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  260. package/.antigravity/skills/document-skills/docx/ooxml/scripts/pack.py +0 -159
  261. package/.antigravity/skills/document-skills/docx/ooxml/scripts/unpack.py +0 -29
  262. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validate.py +0 -69
  263. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validation/__init__.py +0 -15
  264. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validation/base.py +0 -951
  265. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validation/docx.py +0 -274
  266. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validation/pptx.py +0 -315
  267. package/.antigravity/skills/document-skills/docx/ooxml/scripts/validation/redlining.py +0 -279
  268. package/.antigravity/skills/document-skills/docx/ooxml.md +0 -610
  269. package/.antigravity/skills/document-skills/docx/scripts/__init__.py +0 -1
  270. package/.antigravity/skills/document-skills/docx/scripts/document.py +0 -1276
  271. package/.antigravity/skills/document-skills/docx/scripts/templates/comments.xml +0 -3
  272. package/.antigravity/skills/document-skills/docx/scripts/templates/commentsExtended.xml +0 -3
  273. package/.antigravity/skills/document-skills/docx/scripts/templates/commentsExtensible.xml +0 -3
  274. package/.antigravity/skills/document-skills/docx/scripts/templates/commentsIds.xml +0 -3
  275. package/.antigravity/skills/document-skills/docx/scripts/templates/people.xml +0 -3
  276. package/.antigravity/skills/document-skills/docx/scripts/utilities.py +0 -374
  277. package/.antigravity/skills/document-skills/pdf/LICENSE.txt +0 -30
  278. package/.antigravity/skills/document-skills/pdf/SKILL.md +0 -294
  279. package/.antigravity/skills/document-skills/pdf/forms.md +0 -205
  280. package/.antigravity/skills/document-skills/pdf/reference.md +0 -612
  281. package/.antigravity/skills/document-skills/pdf/scripts/check_bounding_boxes.py +0 -70
  282. package/.antigravity/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py +0 -226
  283. package/.antigravity/skills/document-skills/pdf/scripts/check_fillable_fields.py +0 -12
  284. package/.antigravity/skills/document-skills/pdf/scripts/convert_pdf_to_images.py +0 -35
  285. package/.antigravity/skills/document-skills/pdf/scripts/create_validation_image.py +0 -41
  286. package/.antigravity/skills/document-skills/pdf/scripts/extract_form_field_info.py +0 -152
  287. package/.antigravity/skills/document-skills/pdf/scripts/fill_fillable_fields.py +0 -114
  288. package/.antigravity/skills/document-skills/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  289. package/.antigravity/skills/document-skills/pptx/LICENSE.txt +0 -30
  290. package/.antigravity/skills/document-skills/pptx/SKILL.md +0 -484
  291. package/.antigravity/skills/document-skills/pptx/html2pptx.md +0 -625
  292. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  293. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  294. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  295. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  296. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  297. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  298. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  299. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  300. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  301. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  302. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  303. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  304. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  305. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  306. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  307. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  308. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  309. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  310. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  311. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  312. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  313. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  314. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  315. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  316. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  317. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  318. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  319. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  320. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  321. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  322. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  323. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  324. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  325. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  326. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  327. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  328. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  329. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  330. package/.antigravity/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  331. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/pack.py +0 -159
  332. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/unpack.py +0 -29
  333. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validate.py +0 -69
  334. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validation/__init__.py +0 -15
  335. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validation/base.py +0 -951
  336. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validation/docx.py +0 -274
  337. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py +0 -315
  338. package/.antigravity/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py +0 -279
  339. package/.antigravity/skills/document-skills/pptx/ooxml.md +0 -427
  340. package/.antigravity/skills/document-skills/pptx/scripts/html2pptx.js +0 -979
  341. package/.antigravity/skills/document-skills/pptx/scripts/inventory.py +0 -1020
  342. package/.antigravity/skills/document-skills/pptx/scripts/rearrange.py +0 -231
  343. package/.antigravity/skills/document-skills/pptx/scripts/replace.py +0 -385
  344. package/.antigravity/skills/document-skills/pptx/scripts/thumbnail.py +0 -450
  345. package/.antigravity/skills/document-skills/xlsx/LICENSE.txt +0 -30
  346. package/.antigravity/skills/document-skills/xlsx/SKILL.md +0 -289
  347. package/.antigravity/skills/document-skills/xlsx/recalc.py +0 -178
  348. package/.antigravity/skills/frontend-design/references/ai-multimodal-overview.md +0 -165
  349. package/.antigravity/skills/frontend-design/references/analysis-best-practices.md +0 -80
  350. package/.antigravity/skills/frontend-design/references/analysis-prompts.md +0 -141
  351. package/.antigravity/skills/frontend-design/references/analysis-techniques.md +0 -118
  352. package/.antigravity/skills/frontend-design/references/animejs.md +0 -396
  353. package/.antigravity/skills/frontend-design/references/asset-generation.md +0 -337
  354. package/.antigravity/skills/frontend-design/references/design-extraction-overview.md +0 -71
  355. package/.antigravity/skills/frontend-design/references/extraction-best-practices.md +0 -141
  356. package/.antigravity/skills/frontend-design/references/extraction-output-templates.md +0 -162
  357. package/.antigravity/skills/frontend-design/references/extraction-prompts.md +0 -127
  358. package/.antigravity/skills/frontend-design/references/technical-accessibility.md +0 -119
  359. package/.antigravity/skills/frontend-design/references/technical-best-practices.md +0 -97
  360. package/.antigravity/skills/frontend-design/references/technical-optimization.md +0 -44
  361. package/.antigravity/skills/frontend-design/references/technical-overview.md +0 -90
  362. package/.antigravity/skills/frontend-design/references/technical-workflows.md +0 -150
  363. package/.antigravity/skills/frontend-design/references/visual-analysis-overview.md +0 -95
  364. package/.antigravity/skills/frontend-development/resources/common-patterns.md +0 -331
  365. package/.antigravity/skills/frontend-development/resources/complete-examples.md +0 -872
  366. package/.antigravity/skills/frontend-development/resources/component-patterns.md +0 -502
  367. package/.antigravity/skills/frontend-development/resources/data-fetching.md +0 -767
  368. package/.antigravity/skills/frontend-development/resources/file-organization.md +0 -502
  369. package/.antigravity/skills/frontend-development/resources/loading-and-error-states.md +0 -501
  370. package/.antigravity/skills/frontend-development/resources/performance.md +0 -406
  371. package/.antigravity/skills/frontend-development/resources/routing-guide.md +0 -364
  372. package/.antigravity/skills/frontend-development/resources/styling-guide.md +0 -428
  373. package/.antigravity/skills/frontend-development/resources/typescript-standards.md +0 -418
  374. package/.antigravity/skills/install.ps1 +0 -600
  375. package/.antigravity/skills/install.sh +0 -685
  376. package/.antigravity/skills/mcp-builder/LICENSE.txt +0 -202
  377. package/.antigravity/skills/mcp-builder/reference/evaluation.md +0 -602
  378. package/.antigravity/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  379. package/.antigravity/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  380. package/.antigravity/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  381. package/.antigravity/skills/mcp-builder/scripts/connections.py +0 -151
  382. package/.antigravity/skills/mcp-builder/scripts/evaluation.py +0 -373
  383. package/.antigravity/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  384. package/.antigravity/skills/mcp-builder/scripts/requirements.txt +0 -2
  385. package/.antigravity/skills/mcp-management/assets/tools.json +0 -3146
  386. package/.antigravity/skills/mcp-management/references/configuration.md +0 -114
  387. package/.antigravity/skills/mcp-management/references/gemini-cli-integration.md +0 -215
  388. package/.antigravity/skills/mcp-management/references/mcp-protocol.md +0 -116
  389. package/.antigravity/skills/mcp-management/scripts/.env.example +0 -10
  390. package/.antigravity/skills/mcp-management/scripts/cli.ts +0 -195
  391. package/.antigravity/skills/mcp-management/scripts/mcp-client.ts +0 -230
  392. package/.antigravity/skills/mcp-management/scripts/package.json +0 -20
  393. package/.antigravity/skills/mcp-management/scripts/tsconfig.json +0 -15
  394. package/.antigravity/skills/media-processing/references/common-workflows.md +0 -132
  395. package/.antigravity/skills/media-processing/references/ffmpeg-encoding.md +0 -358
  396. package/.antigravity/skills/media-processing/references/ffmpeg-filters.md +0 -503
  397. package/.antigravity/skills/media-processing/references/ffmpeg-streaming.md +0 -403
  398. package/.antigravity/skills/media-processing/references/format-compatibility.md +0 -375
  399. package/.antigravity/skills/media-processing/references/imagemagick-batch.md +0 -612
  400. package/.antigravity/skills/media-processing/references/imagemagick-editing.md +0 -623
  401. package/.antigravity/skills/media-processing/references/rmbg-background-removal.md +0 -66
  402. package/.antigravity/skills/media-processing/references/troubleshooting.md +0 -109
  403. package/.antigravity/skills/media-processing/scripts/batch-remove-background.sh +0 -124
  404. package/.antigravity/skills/media-processing/scripts/batch_resize.py +0 -342
  405. package/.antigravity/skills/media-processing/scripts/media_convert.py +0 -311
  406. package/.antigravity/skills/media-processing/scripts/remove-background.sh +0 -96
  407. package/.antigravity/skills/media-processing/scripts/remove-bg-node.js +0 -158
  408. package/.antigravity/skills/media-processing/scripts/requirements.txt +0 -24
  409. package/.antigravity/skills/media-processing/scripts/tests/.coverage +0 -0
  410. package/.antigravity/skills/media-processing/scripts/tests/requirements.txt +0 -2
  411. package/.antigravity/skills/media-processing/scripts/tests/test_batch_resize.py +0 -372
  412. package/.antigravity/skills/media-processing/scripts/tests/test_media_convert.py +0 -259
  413. package/.antigravity/skills/media-processing/scripts/tests/test_video_optimize.py +0 -397
  414. package/.antigravity/skills/media-processing/scripts/video_optimize.py +0 -414
  415. package/.antigravity/skills/mobile-development/references/mobile-android.md +0 -604
  416. package/.antigravity/skills/mobile-development/references/mobile-best-practices.md +0 -545
  417. package/.antigravity/skills/mobile-development/references/mobile-debugging.md +0 -1089
  418. package/.antigravity/skills/mobile-development/references/mobile-frameworks.md +0 -465
  419. package/.antigravity/skills/mobile-development/references/mobile-ios.md +0 -496
  420. package/.antigravity/skills/mobile-development/references/mobile-mindset.md +0 -544
  421. package/.antigravity/skills/payment-integration/references/polar/benefits.md +0 -396
  422. package/.antigravity/skills/payment-integration/references/polar/best-practices.md +0 -482
  423. package/.antigravity/skills/payment-integration/references/polar/checkouts.md +0 -266
  424. package/.antigravity/skills/payment-integration/references/polar/overview.md +0 -184
  425. package/.antigravity/skills/payment-integration/references/polar/products.md +0 -244
  426. package/.antigravity/skills/payment-integration/references/polar/sdk.md +0 -436
  427. package/.antigravity/skills/payment-integration/references/polar/subscriptions.md +0 -340
  428. package/.antigravity/skills/payment-integration/references/polar/webhooks.md +0 -405
  429. package/.antigravity/skills/payment-integration/references/sepay/api.md +0 -140
  430. package/.antigravity/skills/payment-integration/references/sepay/best-practices.md +0 -337
  431. package/.antigravity/skills/payment-integration/references/sepay/overview.md +0 -138
  432. package/.antigravity/skills/payment-integration/references/sepay/qr-codes.md +0 -228
  433. package/.antigravity/skills/payment-integration/references/sepay/sdk.md +0 -213
  434. package/.antigravity/skills/payment-integration/references/sepay/webhooks.md +0 -208
  435. package/.antigravity/skills/payment-integration/scripts/.env.example +0 -20
  436. package/.antigravity/skills/payment-integration/scripts/checkout-helper.js +0 -244
  437. package/.antigravity/skills/payment-integration/scripts/package.json +0 -17
  438. package/.antigravity/skills/payment-integration/scripts/polar-webhook-verify.js +0 -202
  439. package/.antigravity/skills/payment-integration/scripts/sepay-webhook-verify.js +0 -193
  440. package/.antigravity/skills/payment-integration/scripts/test-scripts.js +0 -237
  441. package/.antigravity/skills/planning/references/codebase-understanding.md +0 -62
  442. package/.antigravity/skills/planning/references/output-standards.md +0 -87
  443. package/.antigravity/skills/planning/references/plan-organization.md +0 -123
  444. package/.antigravity/skills/planning/references/research-phase.md +0 -49
  445. package/.antigravity/skills/planning/references/solution-design.md +0 -63
  446. package/.antigravity/skills/problem-solving/references/attribution.md +0 -69
  447. package/.antigravity/skills/problem-solving/references/collision-zone-thinking.md +0 -79
  448. package/.antigravity/skills/problem-solving/references/inversion-exercise.md +0 -91
  449. package/.antigravity/skills/problem-solving/references/meta-pattern-recognition.md +0 -87
  450. package/.antigravity/skills/problem-solving/references/scale-game.md +0 -95
  451. package/.antigravity/skills/problem-solving/references/simplification-cascades.md +0 -80
  452. package/.antigravity/skills/problem-solving/references/when-stuck.md +0 -72
  453. package/.antigravity/skills/repomix/references/configuration.md +0 -211
  454. package/.antigravity/skills/repomix/references/usage-patterns.md +0 -232
  455. package/.antigravity/skills/repomix/scripts/.coverage +0 -0
  456. package/.antigravity/skills/repomix/scripts/repomix_batch.py +0 -455
  457. package/.antigravity/skills/repomix/scripts/repos.example.json +0 -15
  458. package/.antigravity/skills/repomix/scripts/requirements.txt +0 -15
  459. package/.antigravity/skills/repomix/scripts/tests/test_repomix_batch.py +0 -531
  460. package/.antigravity/skills/sequential-thinking/.env.example +0 -8
  461. package/.antigravity/skills/sequential-thinking/package.json +0 -31
  462. package/.antigravity/skills/sequential-thinking/references/advanced-strategies.md +0 -79
  463. package/.antigravity/skills/sequential-thinking/references/advanced-techniques.md +0 -76
  464. package/.antigravity/skills/sequential-thinking/references/core-patterns.md +0 -95
  465. package/.antigravity/skills/sequential-thinking/references/examples-api.md +0 -88
  466. package/.antigravity/skills/sequential-thinking/references/examples-architecture.md +0 -94
  467. package/.antigravity/skills/sequential-thinking/references/examples-debug.md +0 -90
  468. package/.antigravity/skills/sequential-thinking/scripts/format-thought.js +0 -159
  469. package/.antigravity/skills/sequential-thinking/scripts/process-thought.js +0 -236
  470. package/.antigravity/skills/sequential-thinking/tests/format-thought.test.js +0 -133
  471. package/.antigravity/skills/sequential-thinking/tests/process-thought.test.js +0 -215
  472. package/.antigravity/skills/shopify/references/app-development.md +0 -470
  473. package/.antigravity/skills/shopify/references/extensions.md +0 -493
  474. package/.antigravity/skills/shopify/references/themes.md +0 -498
  475. package/.antigravity/skills/shopify/scripts/.coverage +0 -0
  476. package/.antigravity/skills/shopify/scripts/requirements.txt +0 -19
  477. package/.antigravity/skills/shopify/scripts/shopify_init.py +0 -423
  478. package/.antigravity/skills/shopify/scripts/tests/.coverage +0 -0
  479. package/.antigravity/skills/shopify/scripts/tests/test_shopify_init.py +0 -385
  480. package/.antigravity/skills/skill-creator/LICENSE.txt +0 -202
  481. package/.antigravity/skills/skill-creator/scripts/init_skill.py +0 -303
  482. package/.antigravity/skills/skill-creator/scripts/package_skill.py +0 -110
  483. package/.antigravity/skills/skill-creator/scripts/quick_validate.py +0 -65
  484. package/.antigravity/skills/threejs/references/01-getting-started.md +0 -177
  485. package/.antigravity/skills/threejs/references/02-loaders.md +0 -169
  486. package/.antigravity/skills/threejs/references/03-textures.md +0 -170
  487. package/.antigravity/skills/threejs/references/04-cameras.md +0 -195
  488. package/.antigravity/skills/threejs/references/05-lights.md +0 -183
  489. package/.antigravity/skills/threejs/references/06-animations.md +0 -214
  490. package/.antigravity/skills/threejs/references/07-math.md +0 -260
  491. package/.antigravity/skills/threejs/references/08-interaction.md +0 -267
  492. package/.antigravity/skills/threejs/references/09-postprocessing.md +0 -240
  493. package/.antigravity/skills/threejs/references/10-controls.md +0 -259
  494. package/.antigravity/skills/threejs/references/11-materials-advanced.md +0 -270
  495. package/.antigravity/skills/threejs/references/12-performance.md +0 -269
  496. package/.antigravity/skills/threejs/references/13-node-materials.md +0 -298
  497. package/.antigravity/skills/threejs/references/14-physics-vr.md +0 -304
  498. package/.antigravity/skills/threejs/references/15-specialized-loaders.md +0 -333
  499. package/.antigravity/skills/threejs/references/16-webgpu.md +0 -302
  500. package/.antigravity/skills/ui-styling/LICENSE.txt +0 -202
  501. package/.antigravity/skills/ui-styling/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  502. package/.antigravity/skills/ui-styling/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  503. package/.antigravity/skills/ui-styling/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  504. package/.antigravity/skills/ui-styling/canvas-fonts/BigShoulders-OFL.txt +0 -93
  505. package/.antigravity/skills/ui-styling/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  506. package/.antigravity/skills/ui-styling/canvas-fonts/Boldonse-OFL.txt +0 -93
  507. package/.antigravity/skills/ui-styling/canvas-fonts/Boldonse-Regular.ttf +0 -0
  508. package/.antigravity/skills/ui-styling/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  509. package/.antigravity/skills/ui-styling/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  510. package/.antigravity/skills/ui-styling/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  511. package/.antigravity/skills/ui-styling/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  512. package/.antigravity/skills/ui-styling/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  513. package/.antigravity/skills/ui-styling/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  514. package/.antigravity/skills/ui-styling/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  515. package/.antigravity/skills/ui-styling/canvas-fonts/DMMono-OFL.txt +0 -93
  516. package/.antigravity/skills/ui-styling/canvas-fonts/DMMono-Regular.ttf +0 -0
  517. package/.antigravity/skills/ui-styling/canvas-fonts/EricaOne-OFL.txt +0 -94
  518. package/.antigravity/skills/ui-styling/canvas-fonts/EricaOne-Regular.ttf +0 -0
  519. package/.antigravity/skills/ui-styling/canvas-fonts/GeistMono-Bold.ttf +0 -0
  520. package/.antigravity/skills/ui-styling/canvas-fonts/GeistMono-OFL.txt +0 -93
  521. package/.antigravity/skills/ui-styling/canvas-fonts/GeistMono-Regular.ttf +0 -0
  522. package/.antigravity/skills/ui-styling/canvas-fonts/Gloock-OFL.txt +0 -93
  523. package/.antigravity/skills/ui-styling/canvas-fonts/Gloock-Regular.ttf +0 -0
  524. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  525. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  526. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  527. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  528. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  529. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  530. package/.antigravity/skills/ui-styling/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  531. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  532. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  533. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  534. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  535. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  536. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  537. package/.antigravity/skills/ui-styling/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  538. package/.antigravity/skills/ui-styling/canvas-fonts/Italiana-OFL.txt +0 -93
  539. package/.antigravity/skills/ui-styling/canvas-fonts/Italiana-Regular.ttf +0 -0
  540. package/.antigravity/skills/ui-styling/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  541. package/.antigravity/skills/ui-styling/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  542. package/.antigravity/skills/ui-styling/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  543. package/.antigravity/skills/ui-styling/canvas-fonts/Jura-Light.ttf +0 -0
  544. package/.antigravity/skills/ui-styling/canvas-fonts/Jura-Medium.ttf +0 -0
  545. package/.antigravity/skills/ui-styling/canvas-fonts/Jura-OFL.txt +0 -93
  546. package/.antigravity/skills/ui-styling/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  547. package/.antigravity/skills/ui-styling/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  548. package/.antigravity/skills/ui-styling/canvas-fonts/Lora-Bold.ttf +0 -0
  549. package/.antigravity/skills/ui-styling/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  550. package/.antigravity/skills/ui-styling/canvas-fonts/Lora-Italic.ttf +0 -0
  551. package/.antigravity/skills/ui-styling/canvas-fonts/Lora-OFL.txt +0 -93
  552. package/.antigravity/skills/ui-styling/canvas-fonts/Lora-Regular.ttf +0 -0
  553. package/.antigravity/skills/ui-styling/canvas-fonts/NationalPark-Bold.ttf +0 -0
  554. package/.antigravity/skills/ui-styling/canvas-fonts/NationalPark-OFL.txt +0 -93
  555. package/.antigravity/skills/ui-styling/canvas-fonts/NationalPark-Regular.ttf +0 -0
  556. package/.antigravity/skills/ui-styling/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  557. package/.antigravity/skills/ui-styling/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  558. package/.antigravity/skills/ui-styling/canvas-fonts/Outfit-Bold.ttf +0 -0
  559. package/.antigravity/skills/ui-styling/canvas-fonts/Outfit-OFL.txt +0 -93
  560. package/.antigravity/skills/ui-styling/canvas-fonts/Outfit-Regular.ttf +0 -0
  561. package/.antigravity/skills/ui-styling/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  562. package/.antigravity/skills/ui-styling/canvas-fonts/PixelifySans-OFL.txt +0 -93
  563. package/.antigravity/skills/ui-styling/canvas-fonts/PoiretOne-OFL.txt +0 -93
  564. package/.antigravity/skills/ui-styling/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  565. package/.antigravity/skills/ui-styling/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  566. package/.antigravity/skills/ui-styling/canvas-fonts/RedHatMono-OFL.txt +0 -93
  567. package/.antigravity/skills/ui-styling/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  568. package/.antigravity/skills/ui-styling/canvas-fonts/Silkscreen-OFL.txt +0 -93
  569. package/.antigravity/skills/ui-styling/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  570. package/.antigravity/skills/ui-styling/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  571. package/.antigravity/skills/ui-styling/canvas-fonts/SmoochSans-OFL.txt +0 -93
  572. package/.antigravity/skills/ui-styling/canvas-fonts/Tektur-Medium.ttf +0 -0
  573. package/.antigravity/skills/ui-styling/canvas-fonts/Tektur-OFL.txt +0 -93
  574. package/.antigravity/skills/ui-styling/canvas-fonts/Tektur-Regular.ttf +0 -0
  575. package/.antigravity/skills/ui-styling/canvas-fonts/WorkSans-Bold.ttf +0 -0
  576. package/.antigravity/skills/ui-styling/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  577. package/.antigravity/skills/ui-styling/canvas-fonts/WorkSans-Italic.ttf +0 -0
  578. package/.antigravity/skills/ui-styling/canvas-fonts/WorkSans-OFL.txt +0 -93
  579. package/.antigravity/skills/ui-styling/canvas-fonts/WorkSans-Regular.ttf +0 -0
  580. package/.antigravity/skills/ui-styling/canvas-fonts/YoungSerif-OFL.txt +0 -93
  581. package/.antigravity/skills/ui-styling/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  582. package/.antigravity/skills/ui-styling/references/canvas-design-system.md +0 -320
  583. package/.antigravity/skills/ui-styling/references/shadcn-accessibility.md +0 -471
  584. package/.antigravity/skills/ui-styling/references/shadcn-components.md +0 -424
  585. package/.antigravity/skills/ui-styling/references/shadcn-theming.md +0 -373
  586. package/.antigravity/skills/ui-styling/references/tailwind-customization.md +0 -483
  587. package/.antigravity/skills/ui-styling/references/tailwind-responsive.md +0 -382
  588. package/.antigravity/skills/ui-styling/references/tailwind-utilities.md +0 -455
  589. package/.antigravity/skills/ui-styling/scripts/.coverage +0 -0
  590. package/.antigravity/skills/ui-styling/scripts/requirements.txt +0 -17
  591. package/.antigravity/skills/ui-styling/scripts/shadcn_add.py +0 -292
  592. package/.antigravity/skills/ui-styling/scripts/tailwind_config_gen.py +0 -456
  593. package/.antigravity/skills/ui-styling/scripts/tests/coverage-ui.json +0 -1
  594. package/.antigravity/skills/ui-styling/scripts/tests/requirements.txt +0 -3
  595. package/.antigravity/skills/ui-styling/scripts/tests/test_shadcn_add.py +0 -266
  596. package/.antigravity/skills/ui-styling/scripts/tests/test_tailwind_config_gen.py +0 -336
  597. package/.antigravity/skills/ui-ux-pro-max/data/charts.csv +0 -26
  598. package/.antigravity/skills/ui-ux-pro-max/data/colors.csv +0 -97
  599. package/.antigravity/skills/ui-ux-pro-max/data/landing.csv +0 -31
  600. package/.antigravity/skills/ui-ux-pro-max/data/products.csv +0 -97
  601. package/.antigravity/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  602. package/.antigravity/skills/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  603. package/.antigravity/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -51
  604. package/.antigravity/skills/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  605. package/.antigravity/skills/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  606. package/.antigravity/skills/ui-ux-pro-max/data/stacks/react.csv +0 -54
  607. package/.antigravity/skills/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  608. package/.antigravity/skills/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  609. package/.antigravity/skills/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  610. package/.antigravity/skills/ui-ux-pro-max/data/styles.csv +0 -59
  611. package/.antigravity/skills/ui-ux-pro-max/data/typography.csv +0 -58
  612. package/.antigravity/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  613. package/.antigravity/skills/ui-ux-pro-max/scripts/core.py +0 -236
  614. package/.antigravity/skills/ui-ux-pro-max/scripts/search.py +0 -61
  615. package/.antigravity/skills/web-frameworks/references/nextjs-app-router.md +0 -465
  616. package/.antigravity/skills/web-frameworks/references/nextjs-data-fetching.md +0 -459
  617. package/.antigravity/skills/web-frameworks/references/nextjs-optimization.md +0 -511
  618. package/.antigravity/skills/web-frameworks/references/nextjs-server-components.md +0 -495
  619. package/.antigravity/skills/web-frameworks/references/remix-icon-integration.md +0 -603
  620. package/.antigravity/skills/web-frameworks/references/turborepo-caching.md +0 -551
  621. package/.antigravity/skills/web-frameworks/references/turborepo-pipelines.md +0 -517
  622. package/.antigravity/skills/web-frameworks/references/turborepo-setup.md +0 -542
  623. package/.antigravity/skills/web-frameworks/scripts/.coverage +0 -0
  624. package/.antigravity/skills/web-frameworks/scripts/__init__.py +0 -0
  625. package/.antigravity/skills/web-frameworks/scripts/nextjs_init.py +0 -547
  626. package/.antigravity/skills/web-frameworks/scripts/requirements.txt +0 -16
  627. package/.antigravity/skills/web-frameworks/scripts/tests/coverage-web.json +0 -1
  628. package/.antigravity/skills/web-frameworks/scripts/tests/requirements.txt +0 -3
  629. package/.antigravity/skills/web-frameworks/scripts/tests/test_nextjs_init.py +0 -319
  630. package/.antigravity/skills/web-frameworks/scripts/tests/test_turborepo_migrate.py +0 -374
  631. package/.antigravity/skills/web-frameworks/scripts/turborepo_migrate.py +0 -394
  632. package/.cursor/.ckignore +0 -11
  633. package/.cursor/.env.example +0 -87
  634. package/.cursor/.mcp.json.example +0 -23
  635. package/.cursor/anchi-toolkit.config.yaml +0 -32
  636. package/.cursor/custom-commands/example.md +0 -30
  637. package/.cursor/hooks/.env.example +0 -15
  638. package/.cursor/hooks/README.md +0 -356
  639. package/.cursor/hooks/dev-rules-reminder.cjs +0 -115
  640. package/.cursor/hooks/dev-rules-reminder.js +0 -115
  641. package/.cursor/hooks/discord-hook-setup.md +0 -412
  642. package/.cursor/hooks/discord_notify.sh +0 -221
  643. package/.cursor/hooks/scout-block.cjs +0 -100
  644. package/.cursor/hooks/scout-block.js +0 -104
  645. package/.cursor/hooks/scout-block.ps1 +0 -92
  646. package/.cursor/hooks/scout-block.sh +0 -119
  647. package/.cursor/hooks/send-discord.sh +0 -75
  648. package/.cursor/hooks/telegram-hook-setup.md +0 -774
  649. package/.cursor/hooks/telegram_notify.sh +0 -158
  650. package/.cursor/hooks/tests/test-ckignore.js +0 -194
  651. package/.cursor/hooks/tests/test-modularization-hook.js +0 -126
  652. package/.cursor/hooks/tests/test-scout-block.js +0 -125
  653. package/.cursor/hooks.yaml +0 -28
  654. package/.cursor/metadata.json +0 -15
  655. package/.cursor/scripts/ck-help.py +0 -489
  656. package/.cursor/scripts/commands_data.yaml +0 -363
  657. package/.cursor/scripts/generate_catalogs.py +0 -163
  658. package/.cursor/scripts/requirements.txt +0 -1
  659. package/.cursor/scripts/resolve_env.py +0 -329
  660. package/.cursor/scripts/scan_commands.py +0 -99
  661. package/.cursor/scripts/scan_skills.py +0 -187
  662. package/.cursor/scripts/skills_data.yaml +0 -367
  663. package/.cursor/settings.json +0 -31
  664. package/.cursor/skill-manifest.json +0 -66
  665. package/.cursor/skills/.env.example +0 -100
  666. package/.cursor/skills/INSTALLATION.md +0 -360
  667. package/.cursor/skills/SKILLS_INDEX.md +0 -118
  668. package/.cursor/skills/THIRD_PARTY_NOTICES.md +0 -405
  669. package/.cursor/skills/_template.md +0 -30
  670. package/.cursor/skills/aesthetic/assets/design-guideline-template.md +0 -163
  671. package/.cursor/skills/aesthetic/assets/design-story-template.md +0 -135
  672. package/.cursor/skills/aesthetic/references/design-principles.md +0 -62
  673. package/.cursor/skills/aesthetic/references/design-resources.md +0 -75
  674. package/.cursor/skills/aesthetic/references/micro-interactions.md +0 -53
  675. package/.cursor/skills/aesthetic/references/storytelling-design.md +0 -50
  676. package/.cursor/skills/agent_skills_spec.md +0 -55
  677. package/.cursor/skills/ai-multimodal/.env.example +0 -181
  678. package/.cursor/skills/ai-multimodal/references/audio-processing.md +0 -386
  679. package/.cursor/skills/ai-multimodal/references/image-generation.md +0 -722
  680. package/.cursor/skills/ai-multimodal/references/video-analysis.md +0 -515
  681. package/.cursor/skills/ai-multimodal/references/video-generation.md +0 -457
  682. package/.cursor/skills/ai-multimodal/references/vision-understanding.md +0 -492
  683. package/.cursor/skills/ai-multimodal/scripts/.coverage +0 -0
  684. package/.cursor/skills/ai-multimodal/scripts/check_setup.py +0 -299
  685. package/.cursor/skills/ai-multimodal/scripts/document_converter.py +0 -395
  686. package/.cursor/skills/ai-multimodal/scripts/gemini_batch_process.py +0 -896
  687. package/.cursor/skills/ai-multimodal/scripts/media_optimizer.py +0 -506
  688. package/.cursor/skills/ai-multimodal/scripts/requirements.txt +0 -26
  689. package/.cursor/skills/ai-multimodal/scripts/tests/.coverage +0 -0
  690. package/.cursor/skills/ai-multimodal/scripts/tests/requirements.txt +0 -20
  691. package/.cursor/skills/ai-multimodal/scripts/tests/test_document_converter.py +0 -74
  692. package/.cursor/skills/ai-multimodal/scripts/tests/test_failures.log +0 -258
  693. package/.cursor/skills/ai-multimodal/scripts/tests/test_gemini_batch_process.py +0 -362
  694. package/.cursor/skills/ai-multimodal/scripts/tests/test_media_optimizer.py +0 -373
  695. package/.cursor/skills/backend-development/references/backend-api-design.md +0 -495
  696. package/.cursor/skills/backend-development/references/backend-architecture.md +0 -454
  697. package/.cursor/skills/backend-development/references/backend-authentication.md +0 -338
  698. package/.cursor/skills/backend-development/references/backend-code-quality.md +0 -659
  699. package/.cursor/skills/backend-development/references/backend-debugging.md +0 -904
  700. package/.cursor/skills/backend-development/references/backend-devops.md +0 -494
  701. package/.cursor/skills/backend-development/references/backend-mindset.md +0 -387
  702. package/.cursor/skills/backend-development/references/backend-performance.md +0 -397
  703. package/.cursor/skills/backend-development/references/backend-security.md +0 -290
  704. package/.cursor/skills/backend-development/references/backend-technologies.md +0 -256
  705. package/.cursor/skills/backend-development/references/backend-testing.md +0 -429
  706. package/.cursor/skills/better-auth/references/advanced-features.md +0 -553
  707. package/.cursor/skills/better-auth/references/database-integration.md +0 -577
  708. package/.cursor/skills/better-auth/references/email-password-auth.md +0 -416
  709. package/.cursor/skills/better-auth/references/oauth-providers.md +0 -430
  710. package/.cursor/skills/better-auth/scripts/.coverage +0 -0
  711. package/.cursor/skills/better-auth/scripts/better_auth_init.py +0 -521
  712. package/.cursor/skills/better-auth/scripts/requirements.txt +0 -15
  713. package/.cursor/skills/better-auth/scripts/tests/.coverage +0 -0
  714. package/.cursor/skills/better-auth/scripts/tests/test_better_auth_init.py +0 -421
  715. package/.cursor/skills/changelog-generator/assets/changelog-template.md +0 -60
  716. package/.cursor/skills/changelog-generator/scripts/generate-changelog.js +0 -181
  717. package/.cursor/skills/chrome-devtools/references/cdp-domains.md +0 -694
  718. package/.cursor/skills/chrome-devtools/references/performance-guide.md +0 -940
  719. package/.cursor/skills/chrome-devtools/references/puppeteer-reference.md +0 -953
  720. package/.cursor/skills/chrome-devtools/scripts/__tests__/selector.test.js +0 -210
  721. package/.cursor/skills/chrome-devtools/scripts/click.js +0 -79
  722. package/.cursor/skills/chrome-devtools/scripts/console.js +0 -75
  723. package/.cursor/skills/chrome-devtools/scripts/evaluate.js +0 -49
  724. package/.cursor/skills/chrome-devtools/scripts/fill.js +0 -72
  725. package/.cursor/skills/chrome-devtools/scripts/install-deps.sh +0 -181
  726. package/.cursor/skills/chrome-devtools/scripts/install.sh +0 -83
  727. package/.cursor/skills/chrome-devtools/scripts/lib/browser.js +0 -122
  728. package/.cursor/skills/chrome-devtools/scripts/lib/selector.js +0 -178
  729. package/.cursor/skills/chrome-devtools/scripts/navigate.js +0 -46
  730. package/.cursor/skills/chrome-devtools/scripts/network.js +0 -102
  731. package/.cursor/skills/chrome-devtools/scripts/package.json +0 -15
  732. package/.cursor/skills/chrome-devtools/scripts/performance.js +0 -145
  733. package/.cursor/skills/chrome-devtools/scripts/screenshot.js +0 -180
  734. package/.cursor/skills/chrome-devtools/scripts/snapshot.js +0 -131
  735. package/.cursor/skills/claude-code/references/advanced-features.md +0 -399
  736. package/.cursor/skills/claude-code/references/agent-skills.md +0 -399
  737. package/.cursor/skills/claude-code/references/api-reference.md +0 -498
  738. package/.cursor/skills/claude-code/references/best-practices.md +0 -447
  739. package/.cursor/skills/claude-code/references/cicd-integration.md +0 -428
  740. package/.cursor/skills/claude-code/references/common-workflows.md +0 -119
  741. package/.cursor/skills/claude-code/references/configuration.md +0 -480
  742. package/.cursor/skills/claude-code/references/enterprise-features.md +0 -472
  743. package/.cursor/skills/claude-code/references/getting-started.md +0 -252
  744. package/.cursor/skills/claude-code/references/hooks-and-plugins.md +0 -444
  745. package/.cursor/skills/claude-code/references/hooks-comprehensive.md +0 -622
  746. package/.cursor/skills/claude-code/references/ide-integration.md +0 -316
  747. package/.cursor/skills/claude-code/references/mcp-integration.md +0 -386
  748. package/.cursor/skills/claude-code/references/slash-commands.md +0 -489
  749. package/.cursor/skills/claude-code/references/troubleshooting.md +0 -456
  750. package/.cursor/skills/code-review/references/code-review-reception.md +0 -209
  751. package/.cursor/skills/code-review/references/requesting-code-review.md +0 -105
  752. package/.cursor/skills/code-review/references/verification-before-completion.md +0 -139
  753. package/.cursor/skills/common/api_key_helper.py +0 -300
  754. package/.cursor/skills/comprehensive-review/complexity.md +0 -11
  755. package/.cursor/skills/comprehensive-review/index.yaml +0 -19
  756. package/.cursor/skills/comprehensive-review/maintainability.md +0 -12
  757. package/.cursor/skills/comprehensive-review/readability.md +0 -12
  758. package/.cursor/skills/databases/references/mongodb-aggregation.md +0 -447
  759. package/.cursor/skills/databases/references/mongodb-atlas.md +0 -465
  760. package/.cursor/skills/databases/references/mongodb-crud.md +0 -408
  761. package/.cursor/skills/databases/references/mongodb-indexing.md +0 -442
  762. package/.cursor/skills/databases/references/postgresql-administration.md +0 -594
  763. package/.cursor/skills/databases/references/postgresql-performance.md +0 -527
  764. package/.cursor/skills/databases/references/postgresql-psql-cli.md +0 -467
  765. package/.cursor/skills/databases/references/postgresql-queries.md +0 -475
  766. package/.cursor/skills/databases/scripts/.coverage +0 -0
  767. package/.cursor/skills/databases/scripts/db_backup.py +0 -502
  768. package/.cursor/skills/databases/scripts/db_migrate.py +0 -414
  769. package/.cursor/skills/databases/scripts/db_performance_check.py +0 -444
  770. package/.cursor/skills/databases/scripts/requirements.txt +0 -20
  771. package/.cursor/skills/databases/scripts/tests/coverage-db.json +0 -1
  772. package/.cursor/skills/databases/scripts/tests/requirements.txt +0 -4
  773. package/.cursor/skills/databases/scripts/tests/test_db_backup.py +0 -340
  774. package/.cursor/skills/databases/scripts/tests/test_db_migrate.py +0 -277
  775. package/.cursor/skills/databases/scripts/tests/test_db_performance_check.py +0 -370
  776. package/.cursor/skills/debugging/references/defense-in-depth.md +0 -124
  777. package/.cursor/skills/debugging/references/root-cause-analysis-methods.md +0 -140
  778. package/.cursor/skills/debugging/references/root-cause-tracing.md +0 -122
  779. package/.cursor/skills/debugging/references/systematic-debugging.md +0 -102
  780. package/.cursor/skills/debugging/references/verification.md +0 -123
  781. package/.cursor/skills/debugging/scripts/find-polluter.sh +0 -63
  782. package/.cursor/skills/debugging/scripts/find-polluter.test.md +0 -102
  783. package/.cursor/skills/devops/.env.example +0 -76
  784. package/.cursor/skills/devops/references/browser-rendering.md +0 -305
  785. package/.cursor/skills/devops/references/cloudflare-d1-kv.md +0 -123
  786. package/.cursor/skills/devops/references/cloudflare-platform.md +0 -271
  787. package/.cursor/skills/devops/references/cloudflare-r2-storage.md +0 -280
  788. package/.cursor/skills/devops/references/cloudflare-workers-advanced.md +0 -312
  789. package/.cursor/skills/devops/references/cloudflare-workers-apis.md +0 -309
  790. package/.cursor/skills/devops/references/cloudflare-workers-basics.md +0 -418
  791. package/.cursor/skills/devops/references/docker-basics.md +0 -297
  792. package/.cursor/skills/devops/references/docker-compose.md +0 -292
  793. package/.cursor/skills/devops/references/gcloud-platform.md +0 -297
  794. package/.cursor/skills/devops/references/gcloud-services.md +0 -304
  795. package/.cursor/skills/devops/scripts/cloudflare_deploy.py +0 -269
  796. package/.cursor/skills/devops/scripts/docker_optimize.py +0 -320
  797. package/.cursor/skills/devops/scripts/requirements.txt +0 -20
  798. package/.cursor/skills/devops/scripts/tests/requirements.txt +0 -3
  799. package/.cursor/skills/devops/scripts/tests/test_cloudflare_deploy.py +0 -285
  800. package/.cursor/skills/devops/scripts/tests/test_docker_optimize.py +0 -436
  801. package/.cursor/skills/docs-seeker/.env.example +0 -15
  802. package/.cursor/skills/docs-seeker/package.json +0 -25
  803. package/.cursor/skills/docs-seeker/references/advanced.md +0 -79
  804. package/.cursor/skills/docs-seeker/references/context7-patterns.md +0 -68
  805. package/.cursor/skills/docs-seeker/references/errors.md +0 -68
  806. package/.cursor/skills/docs-seeker/scripts/analyze-llms-txt.js +0 -211
  807. package/.cursor/skills/docs-seeker/scripts/detect-topic.js +0 -172
  808. package/.cursor/skills/docs-seeker/scripts/fetch-docs.js +0 -213
  809. package/.cursor/skills/docs-seeker/scripts/tests/run-tests.js +0 -72
  810. package/.cursor/skills/docs-seeker/scripts/tests/test-analyze-llms.js +0 -119
  811. package/.cursor/skills/docs-seeker/scripts/tests/test-detect-topic.js +0 -112
  812. package/.cursor/skills/docs-seeker/scripts/tests/test-fetch-docs.js +0 -84
  813. package/.cursor/skills/docs-seeker/scripts/utils/env-loader.js +0 -94
  814. package/.cursor/skills/docs-seeker/workflows/library-search.md +0 -87
  815. package/.cursor/skills/docs-seeker/workflows/repo-analysis.md +0 -91
  816. package/.cursor/skills/docs-seeker/workflows/topic-search.md +0 -77
  817. package/.cursor/skills/document-skills/docx/LICENSE.txt +0 -30
  818. package/.cursor/skills/document-skills/docx/SKILL.md +0 -197
  819. package/.cursor/skills/document-skills/docx/docx-js.md +0 -350
  820. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  821. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  822. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  823. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  824. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  825. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  826. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  827. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  828. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  829. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  830. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  831. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  832. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  833. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  834. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  835. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  836. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  837. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  838. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  839. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  840. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  841. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  842. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  843. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  844. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  845. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  846. package/.cursor/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  847. package/.cursor/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  848. package/.cursor/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  849. package/.cursor/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  850. package/.cursor/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  851. package/.cursor/skills/document-skills/docx/ooxml/schemas/mce/mc.xsd +0 -75
  852. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  853. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  854. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  855. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  856. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  857. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  858. package/.cursor/skills/document-skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  859. package/.cursor/skills/document-skills/docx/ooxml/scripts/pack.py +0 -159
  860. package/.cursor/skills/document-skills/docx/ooxml/scripts/unpack.py +0 -29
  861. package/.cursor/skills/document-skills/docx/ooxml/scripts/validate.py +0 -69
  862. package/.cursor/skills/document-skills/docx/ooxml/scripts/validation/__init__.py +0 -15
  863. package/.cursor/skills/document-skills/docx/ooxml/scripts/validation/base.py +0 -951
  864. package/.cursor/skills/document-skills/docx/ooxml/scripts/validation/docx.py +0 -274
  865. package/.cursor/skills/document-skills/docx/ooxml/scripts/validation/pptx.py +0 -315
  866. package/.cursor/skills/document-skills/docx/ooxml/scripts/validation/redlining.py +0 -279
  867. package/.cursor/skills/document-skills/docx/ooxml.md +0 -610
  868. package/.cursor/skills/document-skills/docx/scripts/__init__.py +0 -1
  869. package/.cursor/skills/document-skills/docx/scripts/document.py +0 -1276
  870. package/.cursor/skills/document-skills/docx/scripts/templates/comments.xml +0 -3
  871. package/.cursor/skills/document-skills/docx/scripts/templates/commentsExtended.xml +0 -3
  872. package/.cursor/skills/document-skills/docx/scripts/templates/commentsExtensible.xml +0 -3
  873. package/.cursor/skills/document-skills/docx/scripts/templates/commentsIds.xml +0 -3
  874. package/.cursor/skills/document-skills/docx/scripts/templates/people.xml +0 -3
  875. package/.cursor/skills/document-skills/docx/scripts/utilities.py +0 -374
  876. package/.cursor/skills/document-skills/pdf/LICENSE.txt +0 -30
  877. package/.cursor/skills/document-skills/pdf/SKILL.md +0 -294
  878. package/.cursor/skills/document-skills/pdf/forms.md +0 -205
  879. package/.cursor/skills/document-skills/pdf/reference.md +0 -612
  880. package/.cursor/skills/document-skills/pdf/scripts/check_bounding_boxes.py +0 -70
  881. package/.cursor/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py +0 -226
  882. package/.cursor/skills/document-skills/pdf/scripts/check_fillable_fields.py +0 -12
  883. package/.cursor/skills/document-skills/pdf/scripts/convert_pdf_to_images.py +0 -35
  884. package/.cursor/skills/document-skills/pdf/scripts/create_validation_image.py +0 -41
  885. package/.cursor/skills/document-skills/pdf/scripts/extract_form_field_info.py +0 -152
  886. package/.cursor/skills/document-skills/pdf/scripts/fill_fillable_fields.py +0 -114
  887. package/.cursor/skills/document-skills/pdf/scripts/fill_pdf_form_with_annotations.py +0 -108
  888. package/.cursor/skills/document-skills/pptx/LICENSE.txt +0 -30
  889. package/.cursor/skills/document-skills/pptx/SKILL.md +0 -484
  890. package/.cursor/skills/document-skills/pptx/html2pptx.md +0 -625
  891. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  892. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  893. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  894. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  895. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  896. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  897. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  898. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  899. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  900. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  901. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  902. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  903. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  904. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  905. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  906. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  907. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  908. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  909. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  910. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  911. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  912. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  913. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  914. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  915. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  916. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  917. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  918. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  919. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  920. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  921. package/.cursor/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  922. package/.cursor/skills/document-skills/pptx/ooxml/schemas/mce/mc.xsd +0 -75
  923. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +0 -560
  924. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +0 -67
  925. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +0 -14
  926. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +0 -20
  927. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +0 -13
  928. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  929. package/.cursor/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +0 -8
  930. package/.cursor/skills/document-skills/pptx/ooxml/scripts/pack.py +0 -159
  931. package/.cursor/skills/document-skills/pptx/ooxml/scripts/unpack.py +0 -29
  932. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validate.py +0 -69
  933. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validation/__init__.py +0 -15
  934. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validation/base.py +0 -951
  935. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validation/docx.py +0 -274
  936. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py +0 -315
  937. package/.cursor/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py +0 -279
  938. package/.cursor/skills/document-skills/pptx/ooxml.md +0 -427
  939. package/.cursor/skills/document-skills/pptx/scripts/html2pptx.js +0 -979
  940. package/.cursor/skills/document-skills/pptx/scripts/inventory.py +0 -1020
  941. package/.cursor/skills/document-skills/pptx/scripts/rearrange.py +0 -231
  942. package/.cursor/skills/document-skills/pptx/scripts/replace.py +0 -385
  943. package/.cursor/skills/document-skills/pptx/scripts/thumbnail.py +0 -450
  944. package/.cursor/skills/document-skills/xlsx/LICENSE.txt +0 -30
  945. package/.cursor/skills/document-skills/xlsx/SKILL.md +0 -289
  946. package/.cursor/skills/document-skills/xlsx/recalc.py +0 -178
  947. package/.cursor/skills/engineering-discipline/incremental-change.md +0 -15
  948. package/.cursor/skills/engineering-discipline/index.yaml +0 -30
  949. package/.cursor/skills/engineering-discipline/planning-first.md +0 -18
  950. package/.cursor/skills/engineering-discipline/reasoning-clarity.md +0 -19
  951. package/.cursor/skills/engineering-discipline/verify-before-commit.md +0 -17
  952. package/.cursor/skills/frontend-design/references/ai-multimodal-overview.md +0 -165
  953. package/.cursor/skills/frontend-design/references/analysis-best-practices.md +0 -80
  954. package/.cursor/skills/frontend-design/references/analysis-prompts.md +0 -141
  955. package/.cursor/skills/frontend-design/references/analysis-techniques.md +0 -118
  956. package/.cursor/skills/frontend-design/references/animejs.md +0 -396
  957. package/.cursor/skills/frontend-design/references/asset-generation.md +0 -337
  958. package/.cursor/skills/frontend-design/references/design-extraction-overview.md +0 -71
  959. package/.cursor/skills/frontend-design/references/extraction-best-practices.md +0 -141
  960. package/.cursor/skills/frontend-design/references/extraction-output-templates.md +0 -162
  961. package/.cursor/skills/frontend-design/references/extraction-prompts.md +0 -127
  962. package/.cursor/skills/frontend-design/references/technical-accessibility.md +0 -119
  963. package/.cursor/skills/frontend-design/references/technical-best-practices.md +0 -97
  964. package/.cursor/skills/frontend-design/references/technical-optimization.md +0 -44
  965. package/.cursor/skills/frontend-design/references/technical-overview.md +0 -90
  966. package/.cursor/skills/frontend-design/references/technical-workflows.md +0 -150
  967. package/.cursor/skills/frontend-design/references/visual-analysis-overview.md +0 -95
  968. package/.cursor/skills/frontend-development/resources/common-patterns.md +0 -331
  969. package/.cursor/skills/frontend-development/resources/complete-examples.md +0 -872
  970. package/.cursor/skills/frontend-development/resources/component-patterns.md +0 -502
  971. package/.cursor/skills/frontend-development/resources/data-fetching.md +0 -767
  972. package/.cursor/skills/frontend-development/resources/file-organization.md +0 -502
  973. package/.cursor/skills/frontend-development/resources/loading-and-error-states.md +0 -501
  974. package/.cursor/skills/frontend-development/resources/performance.md +0 -406
  975. package/.cursor/skills/frontend-development/resources/routing-guide.md +0 -364
  976. package/.cursor/skills/frontend-development/resources/styling-guide.md +0 -428
  977. package/.cursor/skills/frontend-development/resources/typescript-standards.md +0 -418
  978. package/.cursor/skills/git-automation/references/branch-finishing.md +0 -64
  979. package/.cursor/skills/install.ps1 +0 -600
  980. package/.cursor/skills/install.sh +0 -685
  981. package/.cursor/skills/mcp-builder/LICENSE.txt +0 -202
  982. package/.cursor/skills/mcp-builder/reference/evaluation.md +0 -602
  983. package/.cursor/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  984. package/.cursor/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  985. package/.cursor/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  986. package/.cursor/skills/mcp-builder/scripts/connections.py +0 -151
  987. package/.cursor/skills/mcp-builder/scripts/evaluation.py +0 -373
  988. package/.cursor/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  989. package/.cursor/skills/mcp-builder/scripts/requirements.txt +0 -2
  990. package/.cursor/skills/mcp-management/assets/tools.json +0 -3146
  991. package/.cursor/skills/mcp-management/references/configuration.md +0 -114
  992. package/.cursor/skills/mcp-management/references/gemini-cli-integration.md +0 -215
  993. package/.cursor/skills/mcp-management/references/mcp-protocol.md +0 -116
  994. package/.cursor/skills/mcp-management/scripts/.env.example +0 -10
  995. package/.cursor/skills/mcp-management/scripts/cli.ts +0 -195
  996. package/.cursor/skills/mcp-management/scripts/mcp-client.ts +0 -230
  997. package/.cursor/skills/mcp-management/scripts/package.json +0 -20
  998. package/.cursor/skills/mcp-management/scripts/tsconfig.json +0 -15
  999. package/.cursor/skills/media-processing/references/common-workflows.md +0 -132
  1000. package/.cursor/skills/media-processing/references/ffmpeg-encoding.md +0 -358
  1001. package/.cursor/skills/media-processing/references/ffmpeg-filters.md +0 -503
  1002. package/.cursor/skills/media-processing/references/ffmpeg-streaming.md +0 -403
  1003. package/.cursor/skills/media-processing/references/format-compatibility.md +0 -375
  1004. package/.cursor/skills/media-processing/references/imagemagick-batch.md +0 -612
  1005. package/.cursor/skills/media-processing/references/imagemagick-editing.md +0 -623
  1006. package/.cursor/skills/media-processing/references/rmbg-background-removal.md +0 -66
  1007. package/.cursor/skills/media-processing/references/troubleshooting.md +0 -109
  1008. package/.cursor/skills/media-processing/scripts/batch-remove-background.sh +0 -124
  1009. package/.cursor/skills/media-processing/scripts/batch_resize.py +0 -342
  1010. package/.cursor/skills/media-processing/scripts/media_convert.py +0 -311
  1011. package/.cursor/skills/media-processing/scripts/remove-background.sh +0 -96
  1012. package/.cursor/skills/media-processing/scripts/remove-bg-node.js +0 -158
  1013. package/.cursor/skills/media-processing/scripts/requirements.txt +0 -24
  1014. package/.cursor/skills/media-processing/scripts/tests/.coverage +0 -0
  1015. package/.cursor/skills/media-processing/scripts/tests/requirements.txt +0 -2
  1016. package/.cursor/skills/media-processing/scripts/tests/test_batch_resize.py +0 -372
  1017. package/.cursor/skills/media-processing/scripts/tests/test_media_convert.py +0 -259
  1018. package/.cursor/skills/media-processing/scripts/tests/test_video_optimize.py +0 -397
  1019. package/.cursor/skills/media-processing/scripts/video_optimize.py +0 -414
  1020. package/.cursor/skills/mobile-development/references/mobile-android.md +0 -604
  1021. package/.cursor/skills/mobile-development/references/mobile-best-practices.md +0 -545
  1022. package/.cursor/skills/mobile-development/references/mobile-debugging.md +0 -1089
  1023. package/.cursor/skills/mobile-development/references/mobile-frameworks.md +0 -465
  1024. package/.cursor/skills/mobile-development/references/mobile-ios.md +0 -496
  1025. package/.cursor/skills/mobile-development/references/mobile-mindset.md +0 -544
  1026. package/.cursor/skills/payment-integration/references/polar/benefits.md +0 -396
  1027. package/.cursor/skills/payment-integration/references/polar/best-practices.md +0 -482
  1028. package/.cursor/skills/payment-integration/references/polar/checkouts.md +0 -266
  1029. package/.cursor/skills/payment-integration/references/polar/overview.md +0 -184
  1030. package/.cursor/skills/payment-integration/references/polar/products.md +0 -244
  1031. package/.cursor/skills/payment-integration/references/polar/sdk.md +0 -436
  1032. package/.cursor/skills/payment-integration/references/polar/subscriptions.md +0 -340
  1033. package/.cursor/skills/payment-integration/references/polar/webhooks.md +0 -405
  1034. package/.cursor/skills/payment-integration/references/sepay/api.md +0 -140
  1035. package/.cursor/skills/payment-integration/references/sepay/best-practices.md +0 -337
  1036. package/.cursor/skills/payment-integration/references/sepay/overview.md +0 -138
  1037. package/.cursor/skills/payment-integration/references/sepay/qr-codes.md +0 -228
  1038. package/.cursor/skills/payment-integration/references/sepay/sdk.md +0 -213
  1039. package/.cursor/skills/payment-integration/references/sepay/webhooks.md +0 -208
  1040. package/.cursor/skills/payment-integration/scripts/.env.example +0 -20
  1041. package/.cursor/skills/payment-integration/scripts/checkout-helper.js +0 -244
  1042. package/.cursor/skills/payment-integration/scripts/package.json +0 -17
  1043. package/.cursor/skills/payment-integration/scripts/polar-webhook-verify.js +0 -202
  1044. package/.cursor/skills/payment-integration/scripts/sepay-webhook-verify.js +0 -193
  1045. package/.cursor/skills/payment-integration/scripts/test-scripts.js +0 -237
  1046. package/.cursor/skills/planning/references/codebase-understanding.md +0 -62
  1047. package/.cursor/skills/planning/references/output-standards.md +0 -87
  1048. package/.cursor/skills/planning/references/plan-organization.md +0 -123
  1049. package/.cursor/skills/planning/references/research-phase.md +0 -49
  1050. package/.cursor/skills/planning/references/solution-design.md +0 -63
  1051. package/.cursor/skills/playwright-testing/references/playwright-patterns.md +0 -122
  1052. package/.cursor/skills/problem-solving/references/attribution.md +0 -69
  1053. package/.cursor/skills/problem-solving/references/collision-zone-thinking.md +0 -79
  1054. package/.cursor/skills/problem-solving/references/inversion-exercise.md +0 -91
  1055. package/.cursor/skills/problem-solving/references/meta-pattern-recognition.md +0 -87
  1056. package/.cursor/skills/problem-solving/references/scale-game.md +0 -95
  1057. package/.cursor/skills/problem-solving/references/simplification-cascades.md +0 -80
  1058. package/.cursor/skills/problem-solving/references/when-stuck.md +0 -72
  1059. package/.cursor/skills/prompt-engineering/references/anthropic-best-practices.md +0 -160
  1060. package/.cursor/skills/repomix/references/configuration.md +0 -211
  1061. package/.cursor/skills/repomix/references/usage-patterns.md +0 -232
  1062. package/.cursor/skills/repomix/scripts/.coverage +0 -0
  1063. package/.cursor/skills/repomix/scripts/repomix_batch.py +0 -455
  1064. package/.cursor/skills/repomix/scripts/repos.example.json +0 -15
  1065. package/.cursor/skills/repomix/scripts/requirements.txt +0 -15
  1066. package/.cursor/skills/repomix/scripts/tests/test_repomix_batch.py +0 -531
  1067. package/.cursor/skills/sequential-thinking/.env.example +0 -8
  1068. package/.cursor/skills/sequential-thinking/package.json +0 -31
  1069. package/.cursor/skills/sequential-thinking/references/advanced-strategies.md +0 -79
  1070. package/.cursor/skills/sequential-thinking/references/advanced-techniques.md +0 -76
  1071. package/.cursor/skills/sequential-thinking/references/core-patterns.md +0 -95
  1072. package/.cursor/skills/sequential-thinking/references/examples-api.md +0 -88
  1073. package/.cursor/skills/sequential-thinking/references/examples-architecture.md +0 -94
  1074. package/.cursor/skills/sequential-thinking/references/examples-debug.md +0 -90
  1075. package/.cursor/skills/sequential-thinking/scripts/format-thought.js +0 -159
  1076. package/.cursor/skills/sequential-thinking/scripts/process-thought.js +0 -236
  1077. package/.cursor/skills/sequential-thinking/tests/format-thought.test.js +0 -133
  1078. package/.cursor/skills/sequential-thinking/tests/process-thought.test.js +0 -215
  1079. package/.cursor/skills/shopify/references/app-development.md +0 -470
  1080. package/.cursor/skills/shopify/references/extensions.md +0 -493
  1081. package/.cursor/skills/shopify/references/themes.md +0 -498
  1082. package/.cursor/skills/shopify/scripts/.coverage +0 -0
  1083. package/.cursor/skills/shopify/scripts/requirements.txt +0 -19
  1084. package/.cursor/skills/shopify/scripts/shopify_init.py +0 -423
  1085. package/.cursor/skills/shopify/scripts/tests/.coverage +0 -0
  1086. package/.cursor/skills/shopify/scripts/tests/test_shopify_init.py +0 -385
  1087. package/.cursor/skills/skill-creator/LICENSE.txt +0 -202
  1088. package/.cursor/skills/skill-creator/scripts/init_skill.py +0 -303
  1089. package/.cursor/skills/skill-creator/scripts/package_skill.py +0 -110
  1090. package/.cursor/skills/skill-creator/scripts/quick_validate.py +0 -65
  1091. package/.cursor/skills/software-architecture/references/solid-principles.md +0 -293
  1092. package/.cursor/skills/test-driven-development/references/tdd-patterns.md +0 -124
  1093. package/.cursor/skills/test-driven-development/references/testing-strategies.md +0 -131
  1094. package/.cursor/skills/threejs/references/01-getting-started.md +0 -177
  1095. package/.cursor/skills/threejs/references/02-loaders.md +0 -169
  1096. package/.cursor/skills/threejs/references/03-textures.md +0 -170
  1097. package/.cursor/skills/threejs/references/04-cameras.md +0 -195
  1098. package/.cursor/skills/threejs/references/05-lights.md +0 -183
  1099. package/.cursor/skills/threejs/references/06-animations.md +0 -214
  1100. package/.cursor/skills/threejs/references/07-math.md +0 -260
  1101. package/.cursor/skills/threejs/references/08-interaction.md +0 -267
  1102. package/.cursor/skills/threejs/references/09-postprocessing.md +0 -240
  1103. package/.cursor/skills/threejs/references/10-controls.md +0 -259
  1104. package/.cursor/skills/threejs/references/11-materials-advanced.md +0 -270
  1105. package/.cursor/skills/threejs/references/12-performance.md +0 -269
  1106. package/.cursor/skills/threejs/references/13-node-materials.md +0 -298
  1107. package/.cursor/skills/threejs/references/14-physics-vr.md +0 -304
  1108. package/.cursor/skills/threejs/references/15-specialized-loaders.md +0 -333
  1109. package/.cursor/skills/threejs/references/16-webgpu.md +0 -302
  1110. package/.cursor/skills/ui-styling/LICENSE.txt +0 -202
  1111. package/.cursor/skills/ui-styling/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  1112. package/.cursor/skills/ui-styling/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  1113. package/.cursor/skills/ui-styling/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  1114. package/.cursor/skills/ui-styling/canvas-fonts/BigShoulders-OFL.txt +0 -93
  1115. package/.cursor/skills/ui-styling/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  1116. package/.cursor/skills/ui-styling/canvas-fonts/Boldonse-OFL.txt +0 -93
  1117. package/.cursor/skills/ui-styling/canvas-fonts/Boldonse-Regular.ttf +0 -0
  1118. package/.cursor/skills/ui-styling/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  1119. package/.cursor/skills/ui-styling/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  1120. package/.cursor/skills/ui-styling/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  1121. package/.cursor/skills/ui-styling/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  1122. package/.cursor/skills/ui-styling/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  1123. package/.cursor/skills/ui-styling/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  1124. package/.cursor/skills/ui-styling/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  1125. package/.cursor/skills/ui-styling/canvas-fonts/DMMono-OFL.txt +0 -93
  1126. package/.cursor/skills/ui-styling/canvas-fonts/DMMono-Regular.ttf +0 -0
  1127. package/.cursor/skills/ui-styling/canvas-fonts/EricaOne-OFL.txt +0 -94
  1128. package/.cursor/skills/ui-styling/canvas-fonts/EricaOne-Regular.ttf +0 -0
  1129. package/.cursor/skills/ui-styling/canvas-fonts/GeistMono-Bold.ttf +0 -0
  1130. package/.cursor/skills/ui-styling/canvas-fonts/GeistMono-OFL.txt +0 -93
  1131. package/.cursor/skills/ui-styling/canvas-fonts/GeistMono-Regular.ttf +0 -0
  1132. package/.cursor/skills/ui-styling/canvas-fonts/Gloock-OFL.txt +0 -93
  1133. package/.cursor/skills/ui-styling/canvas-fonts/Gloock-Regular.ttf +0 -0
  1134. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  1135. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  1136. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  1137. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  1138. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  1139. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  1140. package/.cursor/skills/ui-styling/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  1141. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  1142. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  1143. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  1144. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  1145. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  1146. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  1147. package/.cursor/skills/ui-styling/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  1148. package/.cursor/skills/ui-styling/canvas-fonts/Italiana-OFL.txt +0 -93
  1149. package/.cursor/skills/ui-styling/canvas-fonts/Italiana-Regular.ttf +0 -0
  1150. package/.cursor/skills/ui-styling/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  1151. package/.cursor/skills/ui-styling/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  1152. package/.cursor/skills/ui-styling/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  1153. package/.cursor/skills/ui-styling/canvas-fonts/Jura-Light.ttf +0 -0
  1154. package/.cursor/skills/ui-styling/canvas-fonts/Jura-Medium.ttf +0 -0
  1155. package/.cursor/skills/ui-styling/canvas-fonts/Jura-OFL.txt +0 -93
  1156. package/.cursor/skills/ui-styling/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  1157. package/.cursor/skills/ui-styling/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  1158. package/.cursor/skills/ui-styling/canvas-fonts/Lora-Bold.ttf +0 -0
  1159. package/.cursor/skills/ui-styling/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  1160. package/.cursor/skills/ui-styling/canvas-fonts/Lora-Italic.ttf +0 -0
  1161. package/.cursor/skills/ui-styling/canvas-fonts/Lora-OFL.txt +0 -93
  1162. package/.cursor/skills/ui-styling/canvas-fonts/Lora-Regular.ttf +0 -0
  1163. package/.cursor/skills/ui-styling/canvas-fonts/NationalPark-Bold.ttf +0 -0
  1164. package/.cursor/skills/ui-styling/canvas-fonts/NationalPark-OFL.txt +0 -93
  1165. package/.cursor/skills/ui-styling/canvas-fonts/NationalPark-Regular.ttf +0 -0
  1166. package/.cursor/skills/ui-styling/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  1167. package/.cursor/skills/ui-styling/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  1168. package/.cursor/skills/ui-styling/canvas-fonts/Outfit-Bold.ttf +0 -0
  1169. package/.cursor/skills/ui-styling/canvas-fonts/Outfit-OFL.txt +0 -93
  1170. package/.cursor/skills/ui-styling/canvas-fonts/Outfit-Regular.ttf +0 -0
  1171. package/.cursor/skills/ui-styling/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  1172. package/.cursor/skills/ui-styling/canvas-fonts/PixelifySans-OFL.txt +0 -93
  1173. package/.cursor/skills/ui-styling/canvas-fonts/PoiretOne-OFL.txt +0 -93
  1174. package/.cursor/skills/ui-styling/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  1175. package/.cursor/skills/ui-styling/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  1176. package/.cursor/skills/ui-styling/canvas-fonts/RedHatMono-OFL.txt +0 -93
  1177. package/.cursor/skills/ui-styling/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  1178. package/.cursor/skills/ui-styling/canvas-fonts/Silkscreen-OFL.txt +0 -93
  1179. package/.cursor/skills/ui-styling/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  1180. package/.cursor/skills/ui-styling/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  1181. package/.cursor/skills/ui-styling/canvas-fonts/SmoochSans-OFL.txt +0 -93
  1182. package/.cursor/skills/ui-styling/canvas-fonts/Tektur-Medium.ttf +0 -0
  1183. package/.cursor/skills/ui-styling/canvas-fonts/Tektur-OFL.txt +0 -93
  1184. package/.cursor/skills/ui-styling/canvas-fonts/Tektur-Regular.ttf +0 -0
  1185. package/.cursor/skills/ui-styling/canvas-fonts/WorkSans-Bold.ttf +0 -0
  1186. package/.cursor/skills/ui-styling/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  1187. package/.cursor/skills/ui-styling/canvas-fonts/WorkSans-Italic.ttf +0 -0
  1188. package/.cursor/skills/ui-styling/canvas-fonts/WorkSans-OFL.txt +0 -93
  1189. package/.cursor/skills/ui-styling/canvas-fonts/WorkSans-Regular.ttf +0 -0
  1190. package/.cursor/skills/ui-styling/canvas-fonts/YoungSerif-OFL.txt +0 -93
  1191. package/.cursor/skills/ui-styling/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  1192. package/.cursor/skills/ui-styling/references/canvas-design-system.md +0 -320
  1193. package/.cursor/skills/ui-styling/references/shadcn-accessibility.md +0 -471
  1194. package/.cursor/skills/ui-styling/references/shadcn-components.md +0 -424
  1195. package/.cursor/skills/ui-styling/references/shadcn-theming.md +0 -373
  1196. package/.cursor/skills/ui-styling/references/tailwind-customization.md +0 -483
  1197. package/.cursor/skills/ui-styling/references/tailwind-responsive.md +0 -382
  1198. package/.cursor/skills/ui-styling/references/tailwind-utilities.md +0 -455
  1199. package/.cursor/skills/ui-styling/scripts/.coverage +0 -0
  1200. package/.cursor/skills/ui-styling/scripts/requirements.txt +0 -17
  1201. package/.cursor/skills/ui-styling/scripts/shadcn_add.py +0 -292
  1202. package/.cursor/skills/ui-styling/scripts/tailwind_config_gen.py +0 -456
  1203. package/.cursor/skills/ui-styling/scripts/tests/coverage-ui.json +0 -1
  1204. package/.cursor/skills/ui-styling/scripts/tests/requirements.txt +0 -3
  1205. package/.cursor/skills/ui-styling/scripts/tests/test_shadcn_add.py +0 -266
  1206. package/.cursor/skills/ui-styling/scripts/tests/test_tailwind_config_gen.py +0 -336
  1207. package/.cursor/skills/ui-ux-pro-max/data/charts.csv +0 -26
  1208. package/.cursor/skills/ui-ux-pro-max/data/colors.csv +0 -97
  1209. package/.cursor/skills/ui-ux-pro-max/data/landing.csv +0 -31
  1210. package/.cursor/skills/ui-ux-pro-max/data/products.csv +0 -97
  1211. package/.cursor/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  1212. package/.cursor/skills/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  1213. package/.cursor/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -51
  1214. package/.cursor/skills/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  1215. package/.cursor/skills/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  1216. package/.cursor/skills/ui-ux-pro-max/data/stacks/react.csv +0 -54
  1217. package/.cursor/skills/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  1218. package/.cursor/skills/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  1219. package/.cursor/skills/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  1220. package/.cursor/skills/ui-ux-pro-max/data/styles.csv +0 -59
  1221. package/.cursor/skills/ui-ux-pro-max/data/typography.csv +0 -58
  1222. package/.cursor/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  1223. package/.cursor/skills/ui-ux-pro-max/scripts/core.py +0 -236
  1224. package/.cursor/skills/ui-ux-pro-max/scripts/search.py +0 -61
  1225. package/.cursor/skills/web-frameworks/references/nextjs-app-router.md +0 -465
  1226. package/.cursor/skills/web-frameworks/references/nextjs-data-fetching.md +0 -459
  1227. package/.cursor/skills/web-frameworks/references/nextjs-optimization.md +0 -511
  1228. package/.cursor/skills/web-frameworks/references/nextjs-server-components.md +0 -495
  1229. package/.cursor/skills/web-frameworks/references/remix-icon-integration.md +0 -603
  1230. package/.cursor/skills/web-frameworks/references/turborepo-caching.md +0 -551
  1231. package/.cursor/skills/web-frameworks/references/turborepo-pipelines.md +0 -517
  1232. package/.cursor/skills/web-frameworks/references/turborepo-setup.md +0 -542
  1233. package/.cursor/skills/web-frameworks/scripts/.coverage +0 -0
  1234. package/.cursor/skills/web-frameworks/scripts/__init__.py +0 -0
  1235. package/.cursor/skills/web-frameworks/scripts/nextjs_init.py +0 -547
  1236. package/.cursor/skills/web-frameworks/scripts/requirements.txt +0 -16
  1237. package/.cursor/skills/web-frameworks/scripts/tests/coverage-web.json +0 -1
  1238. package/.cursor/skills/web-frameworks/scripts/tests/requirements.txt +0 -3
  1239. package/.cursor/skills/web-frameworks/scripts/tests/test_nextjs_init.py +0 -319
  1240. package/.cursor/skills/web-frameworks/scripts/tests/test_turborepo_migrate.py +0 -374
  1241. package/.cursor/skills/web-frameworks/scripts/turborepo_migrate.py +0 -394
  1242. package/.cursor/statusline.cjs +0 -274
  1243. package/.cursor/statusline.ps1 +0 -318
  1244. package/.cursor/statusline.sh +0 -165
@@ -1,979 +0,0 @@
1
- /**
2
- * html2pptx - Convert HTML slide to pptxgenjs slide with positioned elements
3
- *
4
- * USAGE:
5
- * const pptx = new pptxgen();
6
- * pptx.layout = 'LAYOUT_16x9'; // Must match HTML body dimensions
7
- *
8
- * const { slide, placeholders } = await html2pptx('slide.html', pptx);
9
- * slide.addChart(pptx.charts.LINE, data, placeholders[0]);
10
- *
11
- * await pptx.writeFile('output.pptx');
12
- *
13
- * FEATURES:
14
- * - Converts HTML to PowerPoint with accurate positioning
15
- * - Supports text, images, shapes, and bullet lists
16
- * - Extracts placeholder elements (class="placeholder") with positions
17
- * - Handles CSS gradients, borders, and margins
18
- *
19
- * VALIDATION:
20
- * - Uses body width/height from HTML for viewport sizing
21
- * - Throws error if HTML dimensions don't match presentation layout
22
- * - Throws error if content overflows body (with overflow details)
23
- *
24
- * RETURNS:
25
- * { slide, placeholders } where placeholders is an array of { id, x, y, w, h }
26
- */
27
-
28
- const { chromium } = require('playwright');
29
- const path = require('path');
30
- const sharp = require('sharp');
31
-
32
- const PT_PER_PX = 0.75;
33
- const PX_PER_IN = 96;
34
- const EMU_PER_IN = 914400;
35
-
36
- // Helper: Get body dimensions and check for overflow
37
- async function getBodyDimensions(page) {
38
- const bodyDimensions = await page.evaluate(() => {
39
- const body = document.body;
40
- const style = window.getComputedStyle(body);
41
-
42
- return {
43
- width: parseFloat(style.width),
44
- height: parseFloat(style.height),
45
- scrollWidth: body.scrollWidth,
46
- scrollHeight: body.scrollHeight
47
- };
48
- });
49
-
50
- const errors = [];
51
- const widthOverflowPx = Math.max(0, bodyDimensions.scrollWidth - bodyDimensions.width - 1);
52
- const heightOverflowPx = Math.max(0, bodyDimensions.scrollHeight - bodyDimensions.height - 1);
53
-
54
- const widthOverflowPt = widthOverflowPx * PT_PER_PX;
55
- const heightOverflowPt = heightOverflowPx * PT_PER_PX;
56
-
57
- if (widthOverflowPt > 0 || heightOverflowPt > 0) {
58
- const directions = [];
59
- if (widthOverflowPt > 0) directions.push(`${widthOverflowPt.toFixed(1)}pt horizontally`);
60
- if (heightOverflowPt > 0) directions.push(`${heightOverflowPt.toFixed(1)}pt vertically`);
61
- const reminder = heightOverflowPt > 0 ? ' (Remember: leave 0.5" margin at bottom of slide)' : '';
62
- errors.push(`HTML content overflows body by ${directions.join(' and ')}${reminder}`);
63
- }
64
-
65
- return { ...bodyDimensions, errors };
66
- }
67
-
68
- // Helper: Validate dimensions match presentation layout
69
- function validateDimensions(bodyDimensions, pres) {
70
- const errors = [];
71
- const widthInches = bodyDimensions.width / PX_PER_IN;
72
- const heightInches = bodyDimensions.height / PX_PER_IN;
73
-
74
- if (pres.presLayout) {
75
- const layoutWidth = pres.presLayout.width / EMU_PER_IN;
76
- const layoutHeight = pres.presLayout.height / EMU_PER_IN;
77
-
78
- if (Math.abs(layoutWidth - widthInches) > 0.1 || Math.abs(layoutHeight - heightInches) > 0.1) {
79
- errors.push(
80
- `HTML dimensions (${widthInches.toFixed(1)}" × ${heightInches.toFixed(1)}") ` +
81
- `don't match presentation layout (${layoutWidth.toFixed(1)}" × ${layoutHeight.toFixed(1)}")`
82
- );
83
- }
84
- }
85
- return errors;
86
- }
87
-
88
- function validateTextBoxPosition(slideData, bodyDimensions) {
89
- const errors = [];
90
- const slideHeightInches = bodyDimensions.height / PX_PER_IN;
91
- const minBottomMargin = 0.5; // 0.5 inches from bottom
92
-
93
- for (const el of slideData.elements) {
94
- // Check text elements (p, h1-h6, list)
95
- if (['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'list'].includes(el.type)) {
96
- const fontSize = el.style?.fontSize || 0;
97
- const bottomEdge = el.position.y + el.position.h;
98
- const distanceFromBottom = slideHeightInches - bottomEdge;
99
-
100
- if (fontSize > 12 && distanceFromBottom < minBottomMargin) {
101
- const getText = () => {
102
- if (typeof el.text === 'string') return el.text;
103
- if (Array.isArray(el.text)) return el.text.find(t => t.text)?.text || '';
104
- if (Array.isArray(el.items)) return el.items.find(item => item.text)?.text || '';
105
- return '';
106
- };
107
- const textPrefix = getText().substring(0, 50) + (getText().length > 50 ? '...' : '');
108
-
109
- errors.push(
110
- `Text box "${textPrefix}" ends too close to bottom edge ` +
111
- `(${distanceFromBottom.toFixed(2)}" from bottom, minimum ${minBottomMargin}" required)`
112
- );
113
- }
114
- }
115
- }
116
-
117
- return errors;
118
- }
119
-
120
- // Helper: Add background to slide
121
- async function addBackground(slideData, targetSlide, tmpDir) {
122
- if (slideData.background.type === 'image' && slideData.background.path) {
123
- let imagePath = slideData.background.path.startsWith('file://')
124
- ? slideData.background.path.replace('file://', '')
125
- : slideData.background.path;
126
- targetSlide.background = { path: imagePath };
127
- } else if (slideData.background.type === 'color' && slideData.background.value) {
128
- targetSlide.background = { color: slideData.background.value };
129
- }
130
- }
131
-
132
- // Helper: Add elements to slide
133
- function addElements(slideData, targetSlide, pres) {
134
- for (const el of slideData.elements) {
135
- if (el.type === 'image') {
136
- let imagePath = el.src.startsWith('file://') ? el.src.replace('file://', '') : el.src;
137
- targetSlide.addImage({
138
- path: imagePath,
139
- x: el.position.x,
140
- y: el.position.y,
141
- w: el.position.w,
142
- h: el.position.h
143
- });
144
- } else if (el.type === 'line') {
145
- targetSlide.addShape(pres.ShapeType.line, {
146
- x: el.x1,
147
- y: el.y1,
148
- w: el.x2 - el.x1,
149
- h: el.y2 - el.y1,
150
- line: { color: el.color, width: el.width }
151
- });
152
- } else if (el.type === 'shape') {
153
- const shapeOptions = {
154
- x: el.position.x,
155
- y: el.position.y,
156
- w: el.position.w,
157
- h: el.position.h,
158
- shape: el.shape.rectRadius > 0 ? pres.ShapeType.roundRect : pres.ShapeType.rect
159
- };
160
-
161
- if (el.shape.fill) {
162
- shapeOptions.fill = { color: el.shape.fill };
163
- if (el.shape.transparency != null) shapeOptions.fill.transparency = el.shape.transparency;
164
- }
165
- if (el.shape.line) shapeOptions.line = el.shape.line;
166
- if (el.shape.rectRadius > 0) shapeOptions.rectRadius = el.shape.rectRadius;
167
- if (el.shape.shadow) shapeOptions.shadow = el.shape.shadow;
168
-
169
- targetSlide.addText(el.text || '', shapeOptions);
170
- } else if (el.type === 'list') {
171
- const listOptions = {
172
- x: el.position.x,
173
- y: el.position.y,
174
- w: el.position.w,
175
- h: el.position.h,
176
- fontSize: el.style.fontSize,
177
- fontFace: el.style.fontFace,
178
- color: el.style.color,
179
- align: el.style.align,
180
- valign: 'top',
181
- lineSpacing: el.style.lineSpacing,
182
- paraSpaceBefore: el.style.paraSpaceBefore,
183
- paraSpaceAfter: el.style.paraSpaceAfter,
184
- margin: el.style.margin
185
- };
186
- if (el.style.margin) listOptions.margin = el.style.margin;
187
- targetSlide.addText(el.items, listOptions);
188
- } else {
189
- // Check if text is single-line (height suggests one line)
190
- const lineHeight = el.style.lineSpacing || el.style.fontSize * 1.2;
191
- const isSingleLine = el.position.h <= lineHeight * 1.5;
192
-
193
- let adjustedX = el.position.x;
194
- let adjustedW = el.position.w;
195
-
196
- // Make single-line text 2% wider to account for underestimate
197
- if (isSingleLine) {
198
- const widthIncrease = el.position.w * 0.02;
199
- const align = el.style.align;
200
-
201
- if (align === 'center') {
202
- // Center: expand both sides
203
- adjustedX = el.position.x - (widthIncrease / 2);
204
- adjustedW = el.position.w + widthIncrease;
205
- } else if (align === 'right') {
206
- // Right: expand to the left
207
- adjustedX = el.position.x - widthIncrease;
208
- adjustedW = el.position.w + widthIncrease;
209
- } else {
210
- // Left (default): expand to the right
211
- adjustedW = el.position.w + widthIncrease;
212
- }
213
- }
214
-
215
- const textOptions = {
216
- x: adjustedX,
217
- y: el.position.y,
218
- w: adjustedW,
219
- h: el.position.h,
220
- fontSize: el.style.fontSize,
221
- fontFace: el.style.fontFace,
222
- color: el.style.color,
223
- bold: el.style.bold,
224
- italic: el.style.italic,
225
- underline: el.style.underline,
226
- valign: 'top',
227
- lineSpacing: el.style.lineSpacing,
228
- paraSpaceBefore: el.style.paraSpaceBefore,
229
- paraSpaceAfter: el.style.paraSpaceAfter,
230
- inset: 0 // Remove default PowerPoint internal padding
231
- };
232
-
233
- if (el.style.align) textOptions.align = el.style.align;
234
- if (el.style.margin) textOptions.margin = el.style.margin;
235
- if (el.style.rotate !== undefined) textOptions.rotate = el.style.rotate;
236
- if (el.style.transparency !== null && el.style.transparency !== undefined) textOptions.transparency = el.style.transparency;
237
-
238
- targetSlide.addText(el.text, textOptions);
239
- }
240
- }
241
- }
242
-
243
- // Helper: Extract slide data from HTML page
244
- async function extractSlideData(page) {
245
- return await page.evaluate(() => {
246
- const PT_PER_PX = 0.75;
247
- const PX_PER_IN = 96;
248
-
249
- // Fonts that are single-weight and should not have bold applied
250
- // (applying bold causes PowerPoint to use faux bold which makes text wider)
251
- const SINGLE_WEIGHT_FONTS = ['impact'];
252
-
253
- // Helper: Check if a font should skip bold formatting
254
- const shouldSkipBold = (fontFamily) => {
255
- if (!fontFamily) return false;
256
- const normalizedFont = fontFamily.toLowerCase().replace(/['"]/g, '').split(',')[0].trim();
257
- return SINGLE_WEIGHT_FONTS.includes(normalizedFont);
258
- };
259
-
260
- // Unit conversion helpers
261
- const pxToInch = (px) => px / PX_PER_IN;
262
- const pxToPoints = (pxStr) => parseFloat(pxStr) * PT_PER_PX;
263
- const rgbToHex = (rgbStr) => {
264
- // Handle transparent backgrounds by defaulting to white
265
- if (rgbStr === 'rgba(0, 0, 0, 0)' || rgbStr === 'transparent') return 'FFFFFF';
266
-
267
- const match = rgbStr.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);
268
- if (!match) return 'FFFFFF';
269
- return match.slice(1).map(n => parseInt(n).toString(16).padStart(2, '0')).join('');
270
- };
271
-
272
- const extractAlpha = (rgbStr) => {
273
- const match = rgbStr.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)/);
274
- if (!match || !match[4]) return null;
275
- const alpha = parseFloat(match[4]);
276
- return Math.round((1 - alpha) * 100);
277
- };
278
-
279
- const applyTextTransform = (text, textTransform) => {
280
- if (textTransform === 'uppercase') return text.toUpperCase();
281
- if (textTransform === 'lowercase') return text.toLowerCase();
282
- if (textTransform === 'capitalize') {
283
- return text.replace(/\b\w/g, c => c.toUpperCase());
284
- }
285
- return text;
286
- };
287
-
288
- // Extract rotation angle from CSS transform and writing-mode
289
- const getRotation = (transform, writingMode) => {
290
- let angle = 0;
291
-
292
- // Handle writing-mode first
293
- // PowerPoint: 90° = text rotated 90° clockwise (reads top to bottom, letters upright)
294
- // PowerPoint: 270° = text rotated 270° clockwise (reads bottom to top, letters upright)
295
- if (writingMode === 'vertical-rl') {
296
- // vertical-rl alone = text reads top to bottom = 90° in PowerPoint
297
- angle = 90;
298
- } else if (writingMode === 'vertical-lr') {
299
- // vertical-lr alone = text reads bottom to top = 270° in PowerPoint
300
- angle = 270;
301
- }
302
-
303
- // Then add any transform rotation
304
- if (transform && transform !== 'none') {
305
- // Try to match rotate() function
306
- const rotateMatch = transform.match(/rotate\((-?\d+(?:\.\d+)?)deg\)/);
307
- if (rotateMatch) {
308
- angle += parseFloat(rotateMatch[1]);
309
- } else {
310
- // Browser may compute as matrix - extract rotation from matrix
311
- const matrixMatch = transform.match(/matrix\(([^)]+)\)/);
312
- if (matrixMatch) {
313
- const values = matrixMatch[1].split(',').map(parseFloat);
314
- // matrix(a, b, c, d, e, f) where rotation = atan2(b, a)
315
- const matrixAngle = Math.atan2(values[1], values[0]) * (180 / Math.PI);
316
- angle += Math.round(matrixAngle);
317
- }
318
- }
319
- }
320
-
321
- // Normalize to 0-359 range
322
- angle = angle % 360;
323
- if (angle < 0) angle += 360;
324
-
325
- return angle === 0 ? null : angle;
326
- };
327
-
328
- // Get position/dimensions accounting for rotation
329
- const getPositionAndSize = (el, rect, rotation) => {
330
- if (rotation === null) {
331
- return { x: rect.left, y: rect.top, w: rect.width, h: rect.height };
332
- }
333
-
334
- // For 90° or 270° rotations, swap width and height
335
- // because PowerPoint applies rotation to the original (unrotated) box
336
- const isVertical = rotation === 90 || rotation === 270;
337
-
338
- if (isVertical) {
339
- // The browser shows us the rotated dimensions (tall box for vertical text)
340
- // But PowerPoint needs the pre-rotation dimensions (wide box that will be rotated)
341
- // So we swap: browser's height becomes PPT's width, browser's width becomes PPT's height
342
- const centerX = rect.left + rect.width / 2;
343
- const centerY = rect.top + rect.height / 2;
344
-
345
- return {
346
- x: centerX - rect.height / 2,
347
- y: centerY - rect.width / 2,
348
- w: rect.height,
349
- h: rect.width
350
- };
351
- }
352
-
353
- // For other rotations, use element's offset dimensions
354
- const centerX = rect.left + rect.width / 2;
355
- const centerY = rect.top + rect.height / 2;
356
- return {
357
- x: centerX - el.offsetWidth / 2,
358
- y: centerY - el.offsetHeight / 2,
359
- w: el.offsetWidth,
360
- h: el.offsetHeight
361
- };
362
- };
363
-
364
- // Parse CSS box-shadow into PptxGenJS shadow properties
365
- const parseBoxShadow = (boxShadow) => {
366
- if (!boxShadow || boxShadow === 'none') return null;
367
-
368
- // Browser computed style format: "rgba(0, 0, 0, 0.3) 2px 2px 8px 0px [inset]"
369
- // CSS format: "[inset] 2px 2px 8px 0px rgba(0, 0, 0, 0.3)"
370
-
371
- const insetMatch = boxShadow.match(/inset/);
372
-
373
- // IMPORTANT: PptxGenJS/PowerPoint doesn't properly support inset shadows
374
- // Only process outer shadows to avoid file corruption
375
- if (insetMatch) return null;
376
-
377
- // Extract color first (rgba or rgb at start)
378
- const colorMatch = boxShadow.match(/rgba?\([^)]+\)/);
379
-
380
- // Extract numeric values (handles both px and pt units)
381
- const parts = boxShadow.match(/([-\d.]+)(px|pt)/g);
382
-
383
- if (!parts || parts.length < 2) return null;
384
-
385
- const offsetX = parseFloat(parts[0]);
386
- const offsetY = parseFloat(parts[1]);
387
- const blur = parts.length > 2 ? parseFloat(parts[2]) : 0;
388
-
389
- // Calculate angle from offsets (in degrees, 0 = right, 90 = down)
390
- let angle = 0;
391
- if (offsetX !== 0 || offsetY !== 0) {
392
- angle = Math.atan2(offsetY, offsetX) * (180 / Math.PI);
393
- if (angle < 0) angle += 360;
394
- }
395
-
396
- // Calculate offset distance (hypotenuse)
397
- const offset = Math.sqrt(offsetX * offsetX + offsetY * offsetY) * PT_PER_PX;
398
-
399
- // Extract opacity from rgba
400
- let opacity = 0.5;
401
- if (colorMatch) {
402
- const opacityMatch = colorMatch[0].match(/[\d.]+\)$/);
403
- if (opacityMatch) {
404
- opacity = parseFloat(opacityMatch[0].replace(')', ''));
405
- }
406
- }
407
-
408
- return {
409
- type: 'outer',
410
- angle: Math.round(angle),
411
- blur: blur * 0.75, // Convert to points
412
- color: colorMatch ? rgbToHex(colorMatch[0]) : '000000',
413
- offset: offset,
414
- opacity
415
- };
416
- };
417
-
418
- // Parse inline formatting tags (<b>, <i>, <u>, <strong>, <em>, <span>) into text runs
419
- const parseInlineFormatting = (element, baseOptions = {}, runs = [], baseTextTransform = (x) => x) => {
420
- let prevNodeIsText = false;
421
-
422
- element.childNodes.forEach((node) => {
423
- let textTransform = baseTextTransform;
424
-
425
- const isText = node.nodeType === Node.TEXT_NODE || node.tagName === 'BR';
426
- if (isText) {
427
- const text = node.tagName === 'BR' ? '\n' : textTransform(node.textContent.replace(/\s+/g, ' '));
428
- const prevRun = runs[runs.length - 1];
429
- if (prevNodeIsText && prevRun) {
430
- prevRun.text += text;
431
- } else {
432
- runs.push({ text, options: { ...baseOptions } });
433
- }
434
-
435
- } else if (node.nodeType === Node.ELEMENT_NODE && node.textContent.trim()) {
436
- const options = { ...baseOptions };
437
- const computed = window.getComputedStyle(node);
438
-
439
- // Handle inline elements with computed styles
440
- if (node.tagName === 'SPAN' || node.tagName === 'B' || node.tagName === 'STRONG' || node.tagName === 'I' || node.tagName === 'EM' || node.tagName === 'U') {
441
- const isBold = computed.fontWeight === 'bold' || parseInt(computed.fontWeight) >= 600;
442
- if (isBold && !shouldSkipBold(computed.fontFamily)) options.bold = true;
443
- if (computed.fontStyle === 'italic') options.italic = true;
444
- if (computed.textDecoration && computed.textDecoration.includes('underline')) options.underline = true;
445
- if (computed.color && computed.color !== 'rgb(0, 0, 0)') {
446
- options.color = rgbToHex(computed.color);
447
- const transparency = extractAlpha(computed.color);
448
- if (transparency !== null) options.transparency = transparency;
449
- }
450
- if (computed.fontSize) options.fontSize = pxToPoints(computed.fontSize);
451
-
452
- // Apply text-transform on the span element itself
453
- if (computed.textTransform && computed.textTransform !== 'none') {
454
- const transformStr = computed.textTransform;
455
- textTransform = (text) => applyTextTransform(text, transformStr);
456
- }
457
-
458
- // Validate: Check for margins on inline elements
459
- if (computed.marginLeft && parseFloat(computed.marginLeft) > 0) {
460
- errors.push(`Inline element <${node.tagName.toLowerCase()}> has margin-left which is not supported in PowerPoint. Remove margin from inline elements.`);
461
- }
462
- if (computed.marginRight && parseFloat(computed.marginRight) > 0) {
463
- errors.push(`Inline element <${node.tagName.toLowerCase()}> has margin-right which is not supported in PowerPoint. Remove margin from inline elements.`);
464
- }
465
- if (computed.marginTop && parseFloat(computed.marginTop) > 0) {
466
- errors.push(`Inline element <${node.tagName.toLowerCase()}> has margin-top which is not supported in PowerPoint. Remove margin from inline elements.`);
467
- }
468
- if (computed.marginBottom && parseFloat(computed.marginBottom) > 0) {
469
- errors.push(`Inline element <${node.tagName.toLowerCase()}> has margin-bottom which is not supported in PowerPoint. Remove margin from inline elements.`);
470
- }
471
-
472
- // Recursively process the child node. This will flatten nested spans into multiple runs.
473
- parseInlineFormatting(node, options, runs, textTransform);
474
- }
475
- }
476
-
477
- prevNodeIsText = isText;
478
- });
479
-
480
- // Trim leading space from first run and trailing space from last run
481
- if (runs.length > 0) {
482
- runs[0].text = runs[0].text.replace(/^\s+/, '');
483
- runs[runs.length - 1].text = runs[runs.length - 1].text.replace(/\s+$/, '');
484
- }
485
-
486
- return runs.filter(r => r.text.length > 0);
487
- };
488
-
489
- // Extract background from body (image or color)
490
- const body = document.body;
491
- const bodyStyle = window.getComputedStyle(body);
492
- const bgImage = bodyStyle.backgroundImage;
493
- const bgColor = bodyStyle.backgroundColor;
494
-
495
- // Collect validation errors
496
- const errors = [];
497
-
498
- // Validate: Check for CSS gradients
499
- if (bgImage && (bgImage.includes('linear-gradient') || bgImage.includes('radial-gradient'))) {
500
- errors.push(
501
- 'CSS gradients are not supported. Use Sharp to rasterize gradients as PNG images first, ' +
502
- 'then reference with background-image: url(\'gradient.png\')'
503
- );
504
- }
505
-
506
- let background;
507
- if (bgImage && bgImage !== 'none') {
508
- // Extract URL from url("...") or url(...)
509
- const urlMatch = bgImage.match(/url\(["']?([^"')]+)["']?\)/);
510
- if (urlMatch) {
511
- background = {
512
- type: 'image',
513
- path: urlMatch[1]
514
- };
515
- } else {
516
- background = {
517
- type: 'color',
518
- value: rgbToHex(bgColor)
519
- };
520
- }
521
- } else {
522
- background = {
523
- type: 'color',
524
- value: rgbToHex(bgColor)
525
- };
526
- }
527
-
528
- // Process all elements
529
- const elements = [];
530
- const placeholders = [];
531
- const textTags = ['P', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'UL', 'OL', 'LI'];
532
- const processed = new Set();
533
-
534
- document.querySelectorAll('*').forEach((el) => {
535
- if (processed.has(el)) return;
536
-
537
- // Validate text elements don't have backgrounds, borders, or shadows
538
- if (textTags.includes(el.tagName)) {
539
- const computed = window.getComputedStyle(el);
540
- const hasBg = computed.backgroundColor && computed.backgroundColor !== 'rgba(0, 0, 0, 0)';
541
- const hasBorder = (computed.borderWidth && parseFloat(computed.borderWidth) > 0) ||
542
- (computed.borderTopWidth && parseFloat(computed.borderTopWidth) > 0) ||
543
- (computed.borderRightWidth && parseFloat(computed.borderRightWidth) > 0) ||
544
- (computed.borderBottomWidth && parseFloat(computed.borderBottomWidth) > 0) ||
545
- (computed.borderLeftWidth && parseFloat(computed.borderLeftWidth) > 0);
546
- const hasShadow = computed.boxShadow && computed.boxShadow !== 'none';
547
-
548
- if (hasBg || hasBorder || hasShadow) {
549
- errors.push(
550
- `Text element <${el.tagName.toLowerCase()}> has ${hasBg ? 'background' : hasBorder ? 'border' : 'shadow'}. ` +
551
- 'Backgrounds, borders, and shadows are only supported on <div> elements, not text elements.'
552
- );
553
- return;
554
- }
555
- }
556
-
557
- // Extract placeholder elements (for charts, etc.)
558
- if (el.className && el.className.includes('placeholder')) {
559
- const rect = el.getBoundingClientRect();
560
- if (rect.width === 0 || rect.height === 0) {
561
- errors.push(
562
- `Placeholder "${el.id || 'unnamed'}" has ${rect.width === 0 ? 'width: 0' : 'height: 0'}. Check the layout CSS.`
563
- );
564
- } else {
565
- placeholders.push({
566
- id: el.id || `placeholder-${placeholders.length}`,
567
- x: pxToInch(rect.left),
568
- y: pxToInch(rect.top),
569
- w: pxToInch(rect.width),
570
- h: pxToInch(rect.height)
571
- });
572
- }
573
- processed.add(el);
574
- return;
575
- }
576
-
577
- // Extract images
578
- if (el.tagName === 'IMG') {
579
- const rect = el.getBoundingClientRect();
580
- if (rect.width > 0 && rect.height > 0) {
581
- elements.push({
582
- type: 'image',
583
- src: el.src,
584
- position: {
585
- x: pxToInch(rect.left),
586
- y: pxToInch(rect.top),
587
- w: pxToInch(rect.width),
588
- h: pxToInch(rect.height)
589
- }
590
- });
591
- processed.add(el);
592
- return;
593
- }
594
- }
595
-
596
- // Extract DIVs with backgrounds/borders as shapes
597
- const isContainer = el.tagName === 'DIV' && !textTags.includes(el.tagName);
598
- if (isContainer) {
599
- const computed = window.getComputedStyle(el);
600
- const hasBg = computed.backgroundColor && computed.backgroundColor !== 'rgba(0, 0, 0, 0)';
601
-
602
- // Validate: Check for unwrapped text content in DIV
603
- for (const node of el.childNodes) {
604
- if (node.nodeType === Node.TEXT_NODE) {
605
- const text = node.textContent.trim();
606
- if (text) {
607
- errors.push(
608
- `DIV element contains unwrapped text "${text.substring(0, 50)}${text.length > 50 ? '...' : ''}". ` +
609
- 'All text must be wrapped in <p>, <h1>-<h6>, <ul>, or <ol> tags to appear in PowerPoint.'
610
- );
611
- }
612
- }
613
- }
614
-
615
- // Check for background images on shapes
616
- const bgImage = computed.backgroundImage;
617
- if (bgImage && bgImage !== 'none') {
618
- errors.push(
619
- 'Background images on DIV elements are not supported. ' +
620
- 'Use solid colors or borders for shapes, or use slide.addImage() in PptxGenJS to layer images.'
621
- );
622
- return;
623
- }
624
-
625
- // Check for borders - both uniform and partial
626
- const borderTop = computed.borderTopWidth;
627
- const borderRight = computed.borderRightWidth;
628
- const borderBottom = computed.borderBottomWidth;
629
- const borderLeft = computed.borderLeftWidth;
630
- const borders = [borderTop, borderRight, borderBottom, borderLeft].map(b => parseFloat(b) || 0);
631
- const hasBorder = borders.some(b => b > 0);
632
- const hasUniformBorder = hasBorder && borders.every(b => b === borders[0]);
633
- const borderLines = [];
634
-
635
- if (hasBorder && !hasUniformBorder) {
636
- const rect = el.getBoundingClientRect();
637
- const x = pxToInch(rect.left);
638
- const y = pxToInch(rect.top);
639
- const w = pxToInch(rect.width);
640
- const h = pxToInch(rect.height);
641
-
642
- // Collect lines to add after shape (inset by half the line width to center on edge)
643
- if (parseFloat(borderTop) > 0) {
644
- const widthPt = pxToPoints(borderTop);
645
- const inset = (widthPt / 72) / 2; // Convert points to inches, then half
646
- borderLines.push({
647
- type: 'line',
648
- x1: x, y1: y + inset, x2: x + w, y2: y + inset,
649
- width: widthPt,
650
- color: rgbToHex(computed.borderTopColor)
651
- });
652
- }
653
- if (parseFloat(borderRight) > 0) {
654
- const widthPt = pxToPoints(borderRight);
655
- const inset = (widthPt / 72) / 2;
656
- borderLines.push({
657
- type: 'line',
658
- x1: x + w - inset, y1: y, x2: x + w - inset, y2: y + h,
659
- width: widthPt,
660
- color: rgbToHex(computed.borderRightColor)
661
- });
662
- }
663
- if (parseFloat(borderBottom) > 0) {
664
- const widthPt = pxToPoints(borderBottom);
665
- const inset = (widthPt / 72) / 2;
666
- borderLines.push({
667
- type: 'line',
668
- x1: x, y1: y + h - inset, x2: x + w, y2: y + h - inset,
669
- width: widthPt,
670
- color: rgbToHex(computed.borderBottomColor)
671
- });
672
- }
673
- if (parseFloat(borderLeft) > 0) {
674
- const widthPt = pxToPoints(borderLeft);
675
- const inset = (widthPt / 72) / 2;
676
- borderLines.push({
677
- type: 'line',
678
- x1: x + inset, y1: y, x2: x + inset, y2: y + h,
679
- width: widthPt,
680
- color: rgbToHex(computed.borderLeftColor)
681
- });
682
- }
683
- }
684
-
685
- if (hasBg || hasBorder) {
686
- const rect = el.getBoundingClientRect();
687
- if (rect.width > 0 && rect.height > 0) {
688
- const shadow = parseBoxShadow(computed.boxShadow);
689
-
690
- // Only add shape if there's background or uniform border
691
- if (hasBg || hasUniformBorder) {
692
- elements.push({
693
- type: 'shape',
694
- text: '', // Shape only - child text elements render on top
695
- position: {
696
- x: pxToInch(rect.left),
697
- y: pxToInch(rect.top),
698
- w: pxToInch(rect.width),
699
- h: pxToInch(rect.height)
700
- },
701
- shape: {
702
- fill: hasBg ? rgbToHex(computed.backgroundColor) : null,
703
- transparency: hasBg ? extractAlpha(computed.backgroundColor) : null,
704
- line: hasUniformBorder ? {
705
- color: rgbToHex(computed.borderColor),
706
- width: pxToPoints(computed.borderWidth)
707
- } : null,
708
- // Convert border-radius to rectRadius (in inches)
709
- // % values: 50%+ = circle (1), <50% = percentage of min dimension
710
- // pt values: divide by 72 (72pt = 1 inch)
711
- // px values: divide by 96 (96px = 1 inch)
712
- rectRadius: (() => {
713
- const radius = computed.borderRadius;
714
- const radiusValue = parseFloat(radius);
715
- if (radiusValue === 0) return 0;
716
-
717
- if (radius.includes('%')) {
718
- if (radiusValue >= 50) return 1;
719
- // Calculate percentage of smaller dimension
720
- const minDim = Math.min(rect.width, rect.height);
721
- return (radiusValue / 100) * pxToInch(minDim);
722
- }
723
-
724
- if (radius.includes('pt')) return radiusValue / 72;
725
- return radiusValue / PX_PER_IN;
726
- })(),
727
- shadow: shadow
728
- }
729
- });
730
- }
731
-
732
- // Add partial border lines
733
- elements.push(...borderLines);
734
-
735
- processed.add(el);
736
- return;
737
- }
738
- }
739
- }
740
-
741
- // Extract bullet lists as single text block
742
- if (el.tagName === 'UL' || el.tagName === 'OL') {
743
- const rect = el.getBoundingClientRect();
744
- if (rect.width === 0 || rect.height === 0) return;
745
-
746
- const liElements = Array.from(el.querySelectorAll('li'));
747
- const items = [];
748
- const ulComputed = window.getComputedStyle(el);
749
- const ulPaddingLeftPt = pxToPoints(ulComputed.paddingLeft);
750
-
751
- // Split: margin-left for bullet position, indent for text position
752
- // margin-left + indent = ul padding-left
753
- const marginLeft = ulPaddingLeftPt * 0.5;
754
- const textIndent = ulPaddingLeftPt * 0.5;
755
-
756
- liElements.forEach((li, idx) => {
757
- const isLast = idx === liElements.length - 1;
758
- const runs = parseInlineFormatting(li, { breakLine: false });
759
- // Clean manual bullets from first run
760
- if (runs.length > 0) {
761
- runs[0].text = runs[0].text.replace(/^[•\-\*▪▸]\s*/, '');
762
- runs[0].options.bullet = { indent: textIndent };
763
- }
764
- // Set breakLine on last run
765
- if (runs.length > 0 && !isLast) {
766
- runs[runs.length - 1].options.breakLine = true;
767
- }
768
- items.push(...runs);
769
- });
770
-
771
- const computed = window.getComputedStyle(liElements[0] || el);
772
-
773
- elements.push({
774
- type: 'list',
775
- items: items,
776
- position: {
777
- x: pxToInch(rect.left),
778
- y: pxToInch(rect.top),
779
- w: pxToInch(rect.width),
780
- h: pxToInch(rect.height)
781
- },
782
- style: {
783
- fontSize: pxToPoints(computed.fontSize),
784
- fontFace: computed.fontFamily.split(',')[0].replace(/['"]/g, '').trim(),
785
- color: rgbToHex(computed.color),
786
- transparency: extractAlpha(computed.color),
787
- align: computed.textAlign === 'start' ? 'left' : computed.textAlign,
788
- lineSpacing: computed.lineHeight && computed.lineHeight !== 'normal' ? pxToPoints(computed.lineHeight) : null,
789
- paraSpaceBefore: 0,
790
- paraSpaceAfter: pxToPoints(computed.marginBottom),
791
- // PptxGenJS margin array is [left, right, bottom, top]
792
- margin: [marginLeft, 0, 0, 0]
793
- }
794
- });
795
-
796
- liElements.forEach(li => processed.add(li));
797
- processed.add(el);
798
- return;
799
- }
800
-
801
- // Extract text elements (P, H1, H2, etc.)
802
- if (!textTags.includes(el.tagName)) return;
803
-
804
- const rect = el.getBoundingClientRect();
805
- const text = el.textContent.trim();
806
- if (rect.width === 0 || rect.height === 0 || !text) return;
807
-
808
- // Validate: Check for manual bullet symbols in text elements (not in lists)
809
- if (el.tagName !== 'LI' && /^[•\-\*▪▸○●◆◇■□]\s/.test(text.trimStart())) {
810
- errors.push(
811
- `Text element <${el.tagName.toLowerCase()}> starts with bullet symbol "${text.substring(0, 20)}...". ` +
812
- 'Use <ul> or <ol> lists instead of manual bullet symbols.'
813
- );
814
- return;
815
- }
816
-
817
- const computed = window.getComputedStyle(el);
818
- const rotation = getRotation(computed.transform, computed.writingMode);
819
- const { x, y, w, h } = getPositionAndSize(el, rect, rotation);
820
-
821
- const baseStyle = {
822
- fontSize: pxToPoints(computed.fontSize),
823
- fontFace: computed.fontFamily.split(',')[0].replace(/['"]/g, '').trim(),
824
- color: rgbToHex(computed.color),
825
- align: computed.textAlign === 'start' ? 'left' : computed.textAlign,
826
- lineSpacing: pxToPoints(computed.lineHeight),
827
- paraSpaceBefore: pxToPoints(computed.marginTop),
828
- paraSpaceAfter: pxToPoints(computed.marginBottom),
829
- // PptxGenJS margin array is [left, right, bottom, top] (not [top, right, bottom, left] as documented)
830
- margin: [
831
- pxToPoints(computed.paddingLeft),
832
- pxToPoints(computed.paddingRight),
833
- pxToPoints(computed.paddingBottom),
834
- pxToPoints(computed.paddingTop)
835
- ]
836
- };
837
-
838
- const transparency = extractAlpha(computed.color);
839
- if (transparency !== null) baseStyle.transparency = transparency;
840
-
841
- if (rotation !== null) baseStyle.rotate = rotation;
842
-
843
- const hasFormatting = el.querySelector('b, i, u, strong, em, span, br');
844
-
845
- if (hasFormatting) {
846
- // Text with inline formatting
847
- const transformStr = computed.textTransform;
848
- const runs = parseInlineFormatting(el, {}, [], (str) => applyTextTransform(str, transformStr));
849
-
850
- // Adjust lineSpacing based on largest fontSize in runs
851
- const adjustedStyle = { ...baseStyle };
852
- if (adjustedStyle.lineSpacing) {
853
- const maxFontSize = Math.max(
854
- adjustedStyle.fontSize,
855
- ...runs.map(r => r.options?.fontSize || 0)
856
- );
857
- if (maxFontSize > adjustedStyle.fontSize) {
858
- const lineHeightMultiplier = adjustedStyle.lineSpacing / adjustedStyle.fontSize;
859
- adjustedStyle.lineSpacing = maxFontSize * lineHeightMultiplier;
860
- }
861
- }
862
-
863
- elements.push({
864
- type: el.tagName.toLowerCase(),
865
- text: runs,
866
- position: { x: pxToInch(x), y: pxToInch(y), w: pxToInch(w), h: pxToInch(h) },
867
- style: adjustedStyle
868
- });
869
- } else {
870
- // Plain text - inherit CSS formatting
871
- const textTransform = computed.textTransform;
872
- const transformedText = applyTextTransform(text, textTransform);
873
-
874
- const isBold = computed.fontWeight === 'bold' || parseInt(computed.fontWeight) >= 600;
875
-
876
- elements.push({
877
- type: el.tagName.toLowerCase(),
878
- text: transformedText,
879
- position: { x: pxToInch(x), y: pxToInch(y), w: pxToInch(w), h: pxToInch(h) },
880
- style: {
881
- ...baseStyle,
882
- bold: isBold && !shouldSkipBold(computed.fontFamily),
883
- italic: computed.fontStyle === 'italic',
884
- underline: computed.textDecoration.includes('underline')
885
- }
886
- });
887
- }
888
-
889
- processed.add(el);
890
- });
891
-
892
- return { background, elements, placeholders, errors };
893
- });
894
- }
895
-
896
- async function html2pptx(htmlFile, pres, options = {}) {
897
- const {
898
- tmpDir = process.env.TMPDIR || '/tmp',
899
- slide = null
900
- } = options;
901
-
902
- try {
903
- // Use Chrome on macOS, default Chromium on Unix
904
- const launchOptions = { env: { TMPDIR: tmpDir } };
905
- if (process.platform === 'darwin') {
906
- launchOptions.channel = 'chrome';
907
- }
908
-
909
- const browser = await chromium.launch(launchOptions);
910
-
911
- let bodyDimensions;
912
- let slideData;
913
-
914
- const filePath = path.isAbsolute(htmlFile) ? htmlFile : path.join(process.cwd(), htmlFile);
915
- const validationErrors = [];
916
-
917
- try {
918
- const page = await browser.newPage();
919
- page.on('console', (msg) => {
920
- // Log the message text to your test runner's console
921
- console.log(`Browser console: ${msg.text()}`);
922
- });
923
-
924
- await page.goto(`file://${filePath}`);
925
-
926
- bodyDimensions = await getBodyDimensions(page);
927
-
928
- await page.setViewportSize({
929
- width: Math.round(bodyDimensions.width),
930
- height: Math.round(bodyDimensions.height)
931
- });
932
-
933
- slideData = await extractSlideData(page);
934
- } finally {
935
- await browser.close();
936
- }
937
-
938
- // Collect all validation errors
939
- if (bodyDimensions.errors && bodyDimensions.errors.length > 0) {
940
- validationErrors.push(...bodyDimensions.errors);
941
- }
942
-
943
- const dimensionErrors = validateDimensions(bodyDimensions, pres);
944
- if (dimensionErrors.length > 0) {
945
- validationErrors.push(...dimensionErrors);
946
- }
947
-
948
- const textBoxPositionErrors = validateTextBoxPosition(slideData, bodyDimensions);
949
- if (textBoxPositionErrors.length > 0) {
950
- validationErrors.push(...textBoxPositionErrors);
951
- }
952
-
953
- if (slideData.errors && slideData.errors.length > 0) {
954
- validationErrors.push(...slideData.errors);
955
- }
956
-
957
- // Throw all errors at once if any exist
958
- if (validationErrors.length > 0) {
959
- const errorMessage = validationErrors.length === 1
960
- ? validationErrors[0]
961
- : `Multiple validation errors found:\n${validationErrors.map((e, i) => ` ${i + 1}. ${e}`).join('\n')}`;
962
- throw new Error(errorMessage);
963
- }
964
-
965
- const targetSlide = slide || pres.addSlide();
966
-
967
- await addBackground(slideData, targetSlide, tmpDir);
968
- addElements(slideData, targetSlide, pres);
969
-
970
- return { slide: targetSlide, placeholders: slideData.placeholders };
971
- } catch (error) {
972
- if (!error.message.startsWith(htmlFile)) {
973
- throw new Error(`${htmlFile}: ${error.message}`);
974
- }
975
- throw error;
976
- }
977
- }
978
-
979
- module.exports = html2pptx;