@caddis/cli 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/README.md +29 -16
  2. package/bundles/antigravity-plugin-extras/plugin.json +5 -0
  3. package/bundles/antigravity-plugin-extras/skills/_registry.md +154 -0
  4. package/bundles/antigravity-plugin-extras/skills/agent-md-refactor/SKILL.md +356 -0
  5. package/bundles/antigravity-plugin-extras/skills/agent-orchestration/SKILL.md +517 -0
  6. package/bundles/antigravity-plugin-extras/skills/algorithmic-art/SKILL.md +293 -0
  7. package/bundles/antigravity-plugin-extras/skills/anchor-review/SKILL.md +135 -0
  8. package/bundles/antigravity-plugin-extras/skills/api-client-patterns/SKILL.md +367 -0
  9. package/bundles/antigravity-plugin-extras/skills/architecture-design/SKILL.md +244 -0
  10. package/bundles/antigravity-plugin-extras/skills/architecture-diagram/SKILL.md +156 -0
  11. package/bundles/antigravity-plugin-extras/skills/architecture-document/SKILL.md +321 -0
  12. package/bundles/antigravity-plugin-extras/skills/artifacts-builder/LICENSE.txt +202 -0
  13. package/bundles/antigravity-plugin-extras/skills/artifacts-builder/SKILL.md +74 -0
  14. package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
  15. package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
  16. package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  17. package/bundles/antigravity-plugin-extras/skills/ascii-art/SKILL.md +144 -0
  18. package/bundles/antigravity-plugin-extras/skills/asking-questions/SKILL.md +81 -0
  19. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/SKILL.md +118 -0
  20. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/cross-service/credential-management.md +450 -0
  21. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/browser/README.md +363 -0
  22. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/code-interpreter/README.md +232 -0
  23. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/README.md +100 -0
  24. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deploy-template.sh +117 -0
  25. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deployment-strategies.md +416 -0
  26. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/troubleshooting-guide.md +384 -0
  27. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/validate-deployment.sh +186 -0
  28. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/identity/README.md +186 -0
  29. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/memory/README.md +253 -0
  30. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/observability/README.md +517 -0
  31. package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/runtime/README.md +215 -0
  32. package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/SKILL.md +279 -0
  33. package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/references/cdk-patterns.md +431 -0
  34. package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/scripts/validate-stack.sh +240 -0
  35. package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/SKILL.md +318 -0
  36. package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/cloudwatch-alarms.md +567 -0
  37. package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/operations-patterns.md +394 -0
  38. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/SKILL.md +758 -0
  39. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/deployment-best-practices.md +830 -0
  40. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/eda-patterns.md +1002 -0
  41. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/observability-best-practices.md +770 -0
  42. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/performance-optimization.md +671 -0
  43. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/security-best-practices.md +625 -0
  44. package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/serverless-patterns.md +838 -0
  45. package/bundles/antigravity-plugin-extras/skills/backend-to-frontend-handoff/SKILL.md +139 -0
  46. package/bundles/antigravity-plugin-extras/skills/banner-design/SKILL.md +188 -0
  47. package/bundles/antigravity-plugin-extras/skills/brand-design/SKILL.md +298 -0
  48. package/bundles/antigravity-plugin-extras/skills/brand-guidelines/LICENSE.txt +202 -0
  49. package/bundles/antigravity-plugin-extras/skills/brand-guidelines/SKILL.md +118 -0
  50. package/bundles/antigravity-plugin-extras/skills/brand-voice/SKILL.md +93 -0
  51. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/SKILL.md +392 -0
  52. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/agent-patterns.md +461 -0
  53. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/examples.md +188 -0
  54. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/state-patterns.md +360 -0
  55. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/troubleshooting.md +362 -0
  56. package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/SKILL.md +266 -0
  57. package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/examples.md +115 -0
  58. package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +338 -0
  59. package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +317 -0
  60. package/bundles/antigravity-plugin-extras/skills/caching-patterns/SKILL.md +385 -0
  61. package/bundles/antigravity-plugin-extras/skills/canvas-design/LICENSE.txt +202 -0
  62. package/bundles/antigravity-plugin-extras/skills/canvas-design/SKILL.md +91 -0
  63. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  64. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  65. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  66. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  67. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  68. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  69. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  70. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  71. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  72. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  73. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  74. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  75. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  76. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  77. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  78. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  79. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  80. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  81. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  82. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  83. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  84. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  85. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  86. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  87. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  88. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  89. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  90. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  91. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  92. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  93. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  94. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  95. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  96. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  97. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  98. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  99. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  100. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  101. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  102. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  103. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  104. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  105. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  106. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  107. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  108. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  109. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  110. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  111. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  112. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  113. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  114. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  115. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  116. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  117. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  118. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  119. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  120. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  121. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  122. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  123. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  124. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  125. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  126. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  127. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  128. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  129. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  130. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  131. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  132. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  133. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  134. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  135. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  136. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  137. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  138. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  139. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  140. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  141. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  142. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  143. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  144. package/bundles/antigravity-plugin-extras/skills/changelog-generator/SKILL.md +105 -0
  145. package/bundles/antigravity-plugin-extras/skills/code-explainer/SKILL.md +91 -0
  146. package/bundles/antigravity-plugin-extras/skills/competitive-ads-extractor/SKILL.md +294 -0
  147. package/bundles/antigravity-plugin-extras/skills/component-testing/SKILL.md +310 -0
  148. package/bundles/antigravity-plugin-extras/skills/content-research-writer/SKILL.md +539 -0
  149. package/bundles/antigravity-plugin-extras/skills/cross-review/SKILL.md +51 -0
  150. package/bundles/antigravity-plugin-extras/skills/data-analysis/SKILL.md +111 -0
  151. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/README.md +248 -0
  152. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/SKILL.md +203 -0
  153. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/adapter.py.template +44 -0
  154. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/api-router.py.template +43 -0
  155. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/contract-test.py.template +384 -0
  156. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/display-dto.py.template +39 -0
  157. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-service.ts.template +46 -0
  158. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-types.ts.template +38 -0
  159. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/ingestion-model.py.template +42 -0
  160. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/mapping-doc.md.template +46 -0
  161. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/normalizer.py.template +48 -0
  162. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_requirements.md +36 -0
  163. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_ui_demand.md +35 -0
  164. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/reconcile_mapping.md +66 -0
  165. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/query-catalog.md.template +62 -0
  166. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/consumer-driven-contracts.md +131 -0
  167. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/drift-check-catalog.md +305 -0
  168. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/layer-responsibilities.md +333 -0
  169. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_connections.py +170 -0
  170. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_sources.py +161 -0
  171. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/drift_check.py +171 -0
  172. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/extract_schema.py +1363 -0
  173. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_gap_report.py +81 -0
  174. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_mapping_doc.py +294 -0
  175. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/ts_dto_compare.py +214 -0
  176. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/validate_lineage.py +51 -0
  177. package/bundles/antigravity-plugin-extras/skills/data-loader/SKILL.md +753 -0
  178. package/bundles/antigravity-plugin-extras/skills/data-validation/SKILL.md +220 -0
  179. package/bundles/antigravity-plugin-extras/skills/db-testing/SKILL.md +117 -0
  180. package/bundles/antigravity-plugin-extras/skills/deploy-local/SKILL.md +259 -0
  181. package/bundles/antigravity-plugin-extras/skills/design-md/SKILL.md +167 -0
  182. package/bundles/antigravity-plugin-extras/skills/design-system-tokens/SKILL.md +240 -0
  183. package/bundles/antigravity-plugin-extras/skills/design-system-tokens/references/DESIGN-SYSTEM-TEMPLATE.md +577 -0
  184. package/bundles/antigravity-plugin-extras/skills/developer-growth-analysis/SKILL.md +323 -0
  185. package/bundles/antigravity-plugin-extras/skills/doc-coauthoring/SKILL.md +378 -0
  186. package/bundles/antigravity-plugin-extras/skills/documentation-analyzer/SKILL.md +78 -0
  187. package/bundles/antigravity-plugin-extras/skills/domain-name-brainstormer/SKILL.md +213 -0
  188. package/bundles/antigravity-plugin-extras/skills/enterprise-dashboard-aesthetic-system/SKILL.md +120 -0
  189. package/bundles/antigravity-plugin-extras/skills/excalidraw/SKILL.md +193 -0
  190. package/bundles/antigravity-plugin-extras/skills/excalidraw/references/element-types.md +497 -0
  191. package/bundles/antigravity-plugin-extras/skills/excalidraw/references/excalidraw-schema.md +356 -0
  192. package/bundles/antigravity-plugin-extras/skills/excalidraw/references/reliable-diagrams.md +115 -0
  193. package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/README.md +60 -0
  194. package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-arrow.py +354 -0
  195. package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-icon-to-diagram.py +412 -0
  196. package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/split-excalidraw-library.py +183 -0
  197. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/business-flow-swimlane-template.excalidraw +334 -0
  198. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/class-diagram-template.excalidraw +558 -0
  199. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/data-flow-diagram-template.excalidraw +279 -0
  200. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/er-diagram-template.excalidraw +662 -0
  201. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/flowchart-template.excalidraw +179 -0
  202. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/mindmap-template.excalidraw +244 -0
  203. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/relationship-template.excalidraw +145 -0
  204. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/reliable-flowchart.excalidraw +1 -0
  205. package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/sequence-diagram-template.excalidraw +509 -0
  206. package/bundles/antigravity-plugin-extras/skills/file-organizer/SKILL.md +434 -0
  207. package/bundles/antigravity-plugin-extras/skills/game-changing-features/README.md +221 -0
  208. package/bundles/antigravity-plugin-extras/skills/game-changing-features/SKILL.md +265 -0
  209. package/bundles/antigravity-plugin-extras/skills/github-issues/SKILL.md +359 -0
  210. package/bundles/antigravity-plugin-extras/skills/github-issues/references/templates.md +90 -0
  211. package/bundles/antigravity-plugin-extras/skills/golden-nuggets/SKILL.md +192 -0
  212. package/bundles/antigravity-plugin-extras/skills/humanizer/SKILL.md +194 -0
  213. package/bundles/antigravity-plugin-extras/skills/image-enhancer/SKILL.md +100 -0
  214. package/bundles/antigravity-plugin-extras/skills/intent-writer/SKILL.md +201 -0
  215. package/bundles/antigravity-plugin-extras/skills/internal-comms/LICENSE.txt +202 -0
  216. package/bundles/antigravity-plugin-extras/skills/internal-comms/SKILL.md +124 -0
  217. package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/3p-updates.md +47 -0
  218. package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/company-newsletter.md +65 -0
  219. package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/faq-answers.md +30 -0
  220. package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/general-comms.md +16 -0
  221. package/bundles/antigravity-plugin-extras/skills/invoice-organizer/SKILL.md +447 -0
  222. package/bundles/antigravity-plugin-extras/skills/jira-issues/SKILL.md +182 -0
  223. package/bundles/antigravity-plugin-extras/skills/job-application/SKILL.md +188 -0
  224. package/bundles/antigravity-plugin-extras/skills/lead-research-assistant/SKILL.md +200 -0
  225. package/bundles/antigravity-plugin-extras/skills/llm-application-dev/SKILL.md +217 -0
  226. package/bundles/antigravity-plugin-extras/skills/mcp-builder/LICENSE.txt +202 -0
  227. package/bundles/antigravity-plugin-extras/skills/mcp-builder/SKILL.md +100 -0
  228. package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/evaluation.md +602 -0
  229. package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/mcp_best_practices.md +915 -0
  230. package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/node_mcp_server.md +916 -0
  231. package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/python_mcp_server.md +752 -0
  232. package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/connections.py +151 -0
  233. package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/evaluation.py +373 -0
  234. package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  235. package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/requirements.txt +2 -0
  236. package/bundles/antigravity-plugin-extras/skills/meeting-insights-analyzer/SKILL.md +328 -0
  237. package/bundles/antigravity-plugin-extras/skills/monorepo/SKILL.md +267 -0
  238. package/bundles/antigravity-plugin-extras/skills/naming-analyzer/SKILL.md +376 -0
  239. package/bundles/antigravity-plugin-extras/skills/nextjs-app-router/SKILL.md +271 -0
  240. package/bundles/antigravity-plugin-extras/skills/notebooklm/AUTHENTICATION.md +154 -0
  241. package/bundles/antigravity-plugin-extras/skills/notebooklm/SKILL.md +270 -0
  242. package/bundles/antigravity-plugin-extras/skills/notebooklm/references/api_reference.md +309 -0
  243. package/bundles/antigravity-plugin-extras/skills/notebooklm/references/troubleshooting.md +376 -0
  244. package/bundles/antigravity-plugin-extras/skills/notebooklm/references/usage_patterns.md +338 -0
  245. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/__init__.py +81 -0
  246. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/ask_question.py +256 -0
  247. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/auth_manager.py +358 -0
  248. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_session.py +255 -0
  249. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_utils.py +107 -0
  250. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/cleanup_manager.py +302 -0
  251. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/config.py +44 -0
  252. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/notebook_manager.py +410 -0
  253. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/run.py +102 -0
  254. package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/setup_environment.py +204 -0
  255. package/bundles/antigravity-plugin-extras/skills/observability/SKILL.md +371 -0
  256. package/bundles/antigravity-plugin-extras/skills/onboard-project/SKILL.md +192 -0
  257. package/bundles/antigravity-plugin-extras/skills/performance-testing/SKILL.md +226 -0
  258. package/bundles/antigravity-plugin-extras/skills/pipeline-state/SKILL.md +208 -0
  259. package/bundles/antigravity-plugin-extras/skills/plantuml/SKILL.md +228 -0
  260. package/bundles/antigravity-plugin-extras/skills/popular-web-designs/SKILL.md +142 -0
  261. package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/linear.app.md +196 -0
  262. package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/stripe.md +214 -0
  263. package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/vercel.md +218 -0
  264. package/bundles/antigravity-plugin-extras/skills/prd-to-code/SKILL.md +127 -0
  265. package/bundles/antigravity-plugin-extras/skills/raffle-winner-picker/SKILL.md +159 -0
  266. package/bundles/antigravity-plugin-extras/skills/react-useeffect/README.md +320 -0
  267. package/bundles/antigravity-plugin-extras/skills/react-useeffect/SKILL.md +53 -0
  268. package/bundles/antigravity-plugin-extras/skills/react-useeffect/alternatives.md +258 -0
  269. package/bundles/antigravity-plugin-extras/skills/react-useeffect/anti-patterns.md +290 -0
  270. package/bundles/antigravity-plugin-extras/skills/receiving-code-review/SKILL.md +213 -0
  271. package/bundles/antigravity-plugin-extras/skills/relay/SKILL.md +246 -0
  272. package/bundles/antigravity-plugin-extras/skills/requesting-code-review/SKILL.md +105 -0
  273. package/bundles/antigravity-plugin-extras/skills/requesting-code-review/code-reviewer.md +146 -0
  274. package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/SKILL.md +350 -0
  275. package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/pwa-checklist.md +226 -0
  276. package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/touch-and-interaction.md +265 -0
  277. package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/transformation-catalogue.md +326 -0
  278. package/bundles/antigravity-plugin-extras/skills/schema-migration/SKILL.md +275 -0
  279. package/bundles/antigravity-plugin-extras/skills/setup-project-ai/SKILL.md +120 -0
  280. package/bundles/antigravity-plugin-extras/skills/shadcn-radix/SKILL.md +330 -0
  281. package/bundles/antigravity-plugin-extras/skills/sketch/SKILL.md +104 -0
  282. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/LICENSE.txt +202 -0
  283. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/SKILL.md +646 -0
  284. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/color_palettes.py +302 -0
  285. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/easing.py +230 -0
  286. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/frame_composer.py +469 -0
  287. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/gif_builder.py +246 -0
  288. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/typography.py +357 -0
  289. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/validators.py +264 -0
  290. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/visual_effects.py +494 -0
  291. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/requirements.txt +4 -0
  292. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/bounce.py +106 -0
  293. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/explode.py +331 -0
  294. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/fade.py +329 -0
  295. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/flip.py +291 -0
  296. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
  297. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/morph.py +329 -0
  298. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/move.py +293 -0
  299. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/pulse.py +268 -0
  300. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/shake.py +127 -0
  301. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/slide.py +291 -0
  302. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/spin.py +269 -0
  303. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/wiggle.py +300 -0
  304. package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/zoom.py +312 -0
  305. package/bundles/antigravity-plugin-extras/skills/slides/SKILL.md +38 -0
  306. package/bundles/antigravity-plugin-extras/skills/state-tracking/SKILL.md +131 -0
  307. package/bundles/antigravity-plugin-extras/skills/streamlit-dev/SKILL.md +268 -0
  308. package/bundles/antigravity-plugin-extras/skills/svg-create/SKILL.md +251 -0
  309. package/bundles/antigravity-plugin-extras/skills/theme-factory/LICENSE.txt +202 -0
  310. package/bundles/antigravity-plugin-extras/skills/theme-factory/SKILL.md +59 -0
  311. package/bundles/antigravity-plugin-extras/skills/theme-factory/theme-showcase.pdf +0 -0
  312. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/arctic-frost.md +19 -0
  313. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/botanical-garden.md +19 -0
  314. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/desert-rose.md +19 -0
  315. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/forest-canopy.md +19 -0
  316. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/golden-hour.md +19 -0
  317. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  318. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/modern-minimalist.md +19 -0
  319. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/ocean-depths.md +19 -0
  320. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  321. package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/tech-innovation.md +19 -0
  322. package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/LICENSE.txt +202 -0
  323. package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/SKILL.md +320 -0
  324. package/bundles/antigravity-plugin-extras/skills/ui-testing/SKILL.md +660 -0
  325. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/SKILL.md +660 -0
  326. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/_sync_all.py +414 -0
  327. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/app-interface.csv +31 -0
  328. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/charts.csv +26 -0
  329. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/colors.csv +162 -0
  330. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/design.csv +1776 -0
  331. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/draft.csv +1779 -0
  332. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/google-fonts.csv +1924 -0
  333. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/icons.csv +106 -0
  334. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/landing.csv +35 -0
  335. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/products.csv +162 -0
  336. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/react-performance.csv +45 -0
  337. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/styles.csv +85 -0
  338. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/typography.csv +74 -0
  339. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ui-reasoning.csv +162 -0
  340. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ux-guidelines.csv +100 -0
  341. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/core.py +247 -0
  342. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/design_system.py +1067 -0
  343. package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/search.py +114 -0
  344. package/bundles/antigravity-plugin-extras/skills/understand-anything/SKILL.md +140 -0
  345. package/bundles/antigravity-plugin-extras/skills/understand-anything/references/commands.md +252 -0
  346. package/bundles/antigravity-plugin-extras/skills/understand-anything/references/graph-schema.md +116 -0
  347. package/bundles/antigravity-plugin-extras/skills/understand-anything/references/pipeline.md +331 -0
  348. package/bundles/antigravity-plugin-extras/skills/update-readme/SKILL.md +74 -0
  349. package/bundles/antigravity-plugin-extras/skills/verification-loop/SKILL.md +209 -0
  350. package/bundles/antigravity-plugin-extras/skills/video-downloader/SKILL.md +107 -0
  351. package/bundles/antigravity-plugin-extras/skills/webapp-development/SKILL.md +288 -0
  352. package/bundles/antigravity-plugin-extras/skills/word-cloud/SKILL.md +339 -0
  353. package/bundles/antigravity-plugin-extras/skills/word-cloud/agents/agent-interface.md +175 -0
  354. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/html.md +384 -0
  355. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/nlp-keywords.md +127 -0
  356. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/palettes.md +149 -0
  357. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/python.md +249 -0
  358. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/react.md +427 -0
  359. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/shapes.md +135 -0
  360. package/bundles/antigravity-plugin-extras/skills/word-cloud/references/stopwords.md +115 -0
  361. package/bundles/antigravity-plugin-extras/skills/youtube-transcript/SKILL.md +416 -0
  362. package/bundles/manifest.json +2 -1
  363. package/dist/cli.js +166 -37
  364. package/package.json +1 -1
@@ -0,0 +1,339 @@
1
+ ---
2
+ name: word-cloud
3
+ description: Generate beautiful word clouds — static or animated — from any input source. Handles text extraction from PDF, DOCX, XLSX, PPTX, HTML, CSV, TXT and produces production-ready components. Includes light/dark theming, sentiment/POS color coding, shape masking, and multiple animation modes.
4
+ ---
5
+
6
+ # Word Cloud Skill
7
+ ## How to Use This Skill With Any AI Agent
8
+
9
+ This skill works with **any AI coding assistant** — Claude, GitHub Copilot (via Copilot Chat), Cursor, Windsurf, ChatGPT, Gemini Code Assist, etc.
10
+
11
+ **To activate it, paste this prompt into your AI agent:**
12
+ ```
13
+ Read the file word-cloud-skill/SKILL.md and follow its instructions to generate a word cloud.
14
+ My input: [paste text OR file path]
15
+ My target stack: [react / html / python / streamlit]
16
+ ```
17
+
18
+ **For GitHub Copilot specifically:**
19
+ - Open Copilot Chat in VS Code
20
+ - Drag the `SKILL.md` file into the chat, or use `#file:word-cloud-skill/SKILL.md`
21
+ - Then describe what you want
22
+
23
+ **For Cursor:**
24
+ - Add `word-cloud-skill/SKILL.md` to Cursor's context with `@file`
25
+ - Or copy its contents into `.cursorrules`
26
+
27
+ **For any other agent:**
28
+ - Simply paste the contents of `SKILL.md` as a system prompt or context block
29
+
30
+ ---
31
+
32
+ # Word Cloud Skill
33
+
34
+ Generates **premium, visually stunning word clouds** from any text source. The output is always a production-ready frontend component — not a placeholder or demo. Think editorial design meets data visualization: luxurious typography, intentional color, and satisfying motion.
35
+
36
+ ## Quick Decision Tree
37
+
38
+ ```
39
+ Input source? → See §1 (Text Extraction)
40
+ Target stack? → See §2 (Stack Selection)
41
+ Want animation? → See §3 (Animation Modes)
42
+ Sentiment/POS? → See §4 (NLP Highlighting)
43
+ Shape/layout? → See §5 (Shape Masking)
44
+ Dark/light? → See §6 (Theming)
45
+ Agentic use? → See §7 (Agent Interface)
46
+ ```
47
+
48
+ ---
49
+
50
+ ## §1 · Text Extraction
51
+
52
+ Extract raw text first, then proceed to rendering. Use the appropriate method per file type.
53
+
54
+ ### Plain Text / HTML
55
+ Use directly — strip HTML tags with a regex or DOMParser if needed.
56
+
57
+ ### PDF
58
+ Read `/mnt/skills/public/pdf-reading/SKILL.md` for extraction strategy.
59
+ Preferred: `pdfplumber` (Python) or `pdf-parse` (Node).
60
+
61
+ ### DOCX
62
+ Read `/mnt/skills/public/docx/SKILL.md`.
63
+ Preferred: `python-docx` (Python) or `mammoth` (JS/browser).
64
+
65
+ ### XLSX / CSV
66
+ Read `/mnt/skills/public/xlsx/SKILL.md`.
67
+ Concatenate all cell text values from all sheets. For CSV: join all rows.
68
+
69
+ ### PPTX
70
+ Read `/mnt/skills/public/pptx/SKILL.md`.
71
+ Extract text from all slide shapes and notes.
72
+
73
+ ### After extraction
74
+ - Remove stopwords (see `references/stopwords.md`)
75
+ - Count word frequencies
76
+ - Optionally run NLP (§4) before rendering
77
+
78
+ ---
79
+
80
+ ## §2 · Stack Selection
81
+
82
+ | Stack | Primary Renderer | Notes |
83
+ |-------|-----------------|-------|
84
+ | React (browser) | D3-cloud + SVG | Most flexible, best animations |
85
+ | Plain HTML | wordcloud2.js (canvas) | Zero-dependency drop-in |
86
+ | Streamlit | Python `wordcloud` + matplotlib OR `st.components` with D3 | Server-side generation or embedded HTML |
87
+ | Vue / Svelte | D3-cloud | Same as React pattern |
88
+ | Next.js / SSR | D3-cloud client-side only (dynamic import) | `use client` + `typeof window !== 'undefined'` guard |
89
+ | Static export / PNG | Python `wordcloud` lib | Best for server-side image export |
90
+
91
+ **Default**: When target stack is unspecified or ambiguous → generate a **self-contained HTML file** (works everywhere, zero deps from CDN).
92
+
93
+ Read the relevant reference file for your stack:
94
+ - React → `references/react.md`
95
+ - HTML → `references/html.md`
96
+ - Python/Streamlit → `references/python.md`
97
+
98
+ ---
99
+
100
+ ## §3 · Animation Modes
101
+
102
+ ### Static
103
+ No animation. Words are placed and stay. Best for exports, print, or performance-sensitive contexts.
104
+
105
+ ### Entrance (default for web)
106
+ Words fade/scale/fly in on load. Stagger by frequency: most-frequent words appear first.
107
+ ```css
108
+ @keyframes wordEntrance {
109
+ from { opacity: 0; transform: scale(0.4) rotate(var(--r)); }
110
+ to { opacity: 1; transform: scale(1) rotate(var(--r)); }
111
+ }
112
+ ```
113
+ Apply `animation-delay` proportional to word rank.
114
+
115
+ ### Hover interactions (always include on web)
116
+ - **Scale + glow** on hover
117
+ - **Tooltip** showing word + frequency + sentiment label
118
+ - **Cursor**: pointer
119
+
120
+ ### Idle float (optional, premium feel)
121
+ Subtle sinusoidal translation on each word, offset by word index. Creates a living, breathing feel.
122
+ ```css
123
+ @keyframes float {
124
+ 0%, 100% { transform: translateY(0px) rotate(var(--r)); }
125
+ 50% { transform: translateY(-4px) rotate(var(--r)); }
126
+ }
127
+ ```
128
+
129
+ ### Full cinematic (max impact)
130
+ Combine entrance + idle + hover. Add a radial gradient pulse behind the cloud on load. Use sparingly.
131
+
132
+ ---
133
+
134
+ ## §4 · NLP Highlighting
135
+
136
+ Color-code words by semantic category. Choose the right approach for the stack:
137
+
138
+ ### Approach A — Keyword Lists (fastest, no deps)
139
+ Use bundled lists in `references/nlp-keywords.md`:
140
+ - Positive sentiment words → accent color (gold / emerald)
141
+ - Negative sentiment words → warning color (rose / amber)
142
+ - Strong verbs → highlight color (violet / cyan)
143
+
144
+ ### Approach B — Browser-side NLP (React/HTML)
145
+ Use `compromise.js` (CDN: `https://unpkg.com/compromise`) for POS tagging.
146
+ ```js
147
+ import nlp from 'compromise'
148
+ const doc = nlp(text)
149
+ const verbs = new Set(doc.verbs().out('array'))
150
+ const nouns = new Set(doc.nouns().out('array'))
151
+ ```
152
+ Then assign color by category when building the word list.
153
+
154
+ ### Approach C — Python NLP (Streamlit / server)
155
+ ```python
156
+ import nltk
157
+ from nltk.sentiment import SentimentIntensityAnalyzer
158
+ sia = SentimentIntensityAnalyzer()
159
+ # score each word, assign to positive/negative/neutral bucket
160
+ ```
161
+ Or use `spaCy` for POS tagging.
162
+
163
+ ### Color Assignment Schema
164
+ ```
165
+ Positive sentiment → var(--cloud-positive) # e.g. #4ade80 / #22c55e
166
+ Negative sentiment → var(--cloud-negative) # e.g. #f87171 / #ef4444
167
+ Strong verbs → var(--cloud-verb) # e.g. #a78bfa / #8b5cf6
168
+ Nouns (default) → var(--cloud-noun) # base palette gradient
169
+ Neutral / other → var(--cloud-neutral) # muted version of base
170
+ ```
171
+
172
+ ---
173
+
174
+ ## §5 · Shape Masking
175
+
176
+ Shape masking confines word placement to a silhouette.
177
+
178
+ ### Available built-in shapes
179
+ See `references/shapes.md` for SVG path data:
180
+ - Circle (default)
181
+ - Speech bubble
182
+ - Star / burst
183
+ - Diamond
184
+ - Cloud silhouette
185
+ - Heart
186
+ - Arrow
187
+ - Custom SVG upload
188
+
189
+ ### How to apply (D3-cloud)
190
+ D3-cloud uses a pixel-mask approach. For complex shapes, rasterize the SVG to a canvas, read pixel data, and pass as the mask to the layout engine. See `references/react.md` §Shape Masking.
191
+
192
+ ### How to apply (Python wordcloud)
193
+ ```python
194
+ from PIL import Image
195
+ import numpy as np
196
+ mask = np.array(Image.open("shape.png"))
197
+ wc = WordCloud(mask=mask, background_color=None, mode="RGBA")
198
+ ```
199
+
200
+ ---
201
+
202
+ ## §6 · Theming
203
+
204
+ Always implement **both light and dark modes** using CSS custom properties.
205
+
206
+ ```css
207
+ :root {
208
+ /* Light theme */
209
+ --cloud-bg: #fafaf9;
210
+ --cloud-surface: #ffffff;
211
+ --cloud-text: #1c1917;
212
+ --cloud-positive: #16a34a;
213
+ --cloud-negative: #dc2626;
214
+ --cloud-verb: #7c3aed;
215
+ --cloud-noun: #0369a1;
216
+ --cloud-neutral: #78716c;
217
+ --cloud-shadow: rgba(0,0,0,0.08);
218
+ }
219
+
220
+ [data-theme="dark"], .dark {
221
+ --cloud-bg: #0c0a09;
222
+ --cloud-surface: #1c1917;
223
+ --cloud-text: #fafaf9;
224
+ --cloud-positive: #4ade80;
225
+ --cloud-negative: #f87171;
226
+ --cloud-verb: #c4b5fd;
227
+ --cloud-noun: #7dd3fc;
228
+ --cloud-neutral: #a8a29e;
229
+ --cloud-shadow: rgba(0,0,0,0.4);
230
+ }
231
+ ```
232
+
233
+ Use `prefers-color-scheme` media query as default, with a manual toggle override.
234
+
235
+ ### Premium palette presets
236
+ See `references/palettes.md` for 8 curated color schemes:
237
+ - **Obsidian** (dark, moody, editorial)
238
+ - **Ivory** (light, minimal, luxury)
239
+ - **Aurora** (dark, colorful, vibrant)
240
+ - **Parchment** (warm, sepia, editorial)
241
+ - **Midnight Ocean** (deep blue, cool)
242
+ - **Neon Noir** (dark bg, neon accents)
243
+ - **Botanical** (earthy greens)
244
+ - **Rose Gold** (warm pink/gold)
245
+
246
+ ---
247
+
248
+ ## §7 · Agent Interface
249
+
250
+ When used in an agentic pipeline (agents.md workflow), accept and return structured data:
251
+
252
+ ### Input schema
253
+ ```json
254
+ {
255
+ "text": "string | null",
256
+ "file_path": "string | null",
257
+ "options": {
258
+ "max_words": 150,
259
+ "shape": "circle | star | speech_bubble | heart | diamond | custom",
260
+ "custom_shape_svg": "string | null",
261
+ "animation": "none | entrance | float | cinematic",
262
+ "highlight": ["sentiment", "verbs", "nouns", "custom"],
263
+ "custom_highlight_words": ["array", "of", "words"],
264
+ "theme": "auto | light | dark",
265
+ "palette": "obsidian | ivory | aurora | parchment | midnight_ocean | neon_noir | botanical | rose_gold",
266
+ "stack": "react | html | python | streamlit",
267
+ "width": 800,
268
+ "height": 500,
269
+ "font_family": "string | null"
270
+ }
271
+ }
272
+ ```
273
+
274
+ ### Output schema
275
+ ```json
276
+ {
277
+ "component_code": "string",
278
+ "word_frequencies": [{"word": "string", "count": 42, "category": "positive|negative|verb|noun|neutral"}],
279
+ "stack": "react | html | python",
280
+ "theme_vars": { "--cloud-bg": "#...", "...": "..." },
281
+ "preview_notes": "string"
282
+ }
283
+ ```
284
+
285
+ ### agents.md usage
286
+ When invoked by an orchestrator agent, read the input JSON from the task context, execute §1 extraction if `file_path` is provided, then generate the component per the `stack` option. Return the output JSON. Do not ask clarifying questions in agentic mode — use defaults for missing options.
287
+
288
+ ---
289
+
290
+ ## §8 · Design Principles
291
+
292
+ These are non-negotiable for premium output:
293
+
294
+ 1. **Typography first** — word size encoding must feel *intentional*, not mechanical. Use a range of at least 4–6 size steps (e.g. 12px → 72px). Choose a distinctive font — never default system fonts. Good defaults: `Playfair Display`, `Syne`, `Space Grotesk`, `DM Serif Display`, `Archivo Black`.
295
+
296
+ 2. **Density** — aim for 60–150 words. Too sparse feels empty; too dense is unreadable. Scale `max_words` based on canvas size.
297
+
298
+ 3. **Rotation** — use sparingly. Max ±30° for most words, with only a few at ±90°. Pure horizontal reads faster; slight rotation adds energy.
299
+
300
+ 4. **Padding** — minimum 2px between words. 4–6px for luxury feel.
301
+
302
+ 5. **Background** — never pure white or pure black. Use off-tones: `#fafaf9`, `#0c0a09`. Add a subtle radial gradient or noise texture for depth.
303
+
304
+ 6. **Responsive** — the container must be responsive. Use `viewBox` for SVG, or `ResizeObserver` + re-layout for canvas.
305
+
306
+ 7. **Accessibility** — include a hidden `<ul>` list of words for screen readers. Provide `aria-label` on the cloud container.
307
+
308
+ ---
309
+
310
+ ## §9 · Output Checklist
311
+
312
+ Before delivering, verify:
313
+
314
+ - [ ] Text extracted and stopwords removed
315
+ - [ ] Top N words computed (N = max_words, default 100)
316
+ - [ ] Sizes mapped to frequencies (power scale or log scale)
317
+ - [ ] Colors assigned (neutral default + category highlights if requested)
318
+ - [ ] Font chosen (premium, not generic)
319
+ - [ ] Background: off-tone, possibly textured
320
+ - [ ] Animation: entrance by default for web targets
321
+ - [ ] Hover: tooltip + scale always on
322
+ - [ ] Responsive container
323
+ - [ ] Light + dark theme vars defined
324
+ - [ ] Accessible fallback `<ul>` present
325
+ - [ ] No console errors; tested edge case of very short texts (< 20 words)
326
+
327
+ ---
328
+
329
+ ## Reference Files
330
+
331
+ | File | When to read |
332
+ |------|-------------|
333
+ | `references/react.md` | Building React component (D3-cloud) |
334
+ | `references/html.md` | Building standalone HTML (wordcloud2.js) |
335
+ | `references/python.md` | Python / Streamlit output |
336
+ | `references/palettes.md` | Color scheme details & CSS vars |
337
+ | `references/shapes.md` | SVG shape paths & masking code |
338
+ | `references/nlp-keywords.md` | Bundled sentiment & verb word lists |
339
+ | `references/stopwords.md` | Stopword list to filter before counting |
@@ -0,0 +1,175 @@
1
+ # Word Cloud — Agent Interface Reference
2
+
3
+ How to invoke the word-cloud skill from orchestrator agents or multi-step pipelines.
4
+
5
+ ---
6
+
7
+ ## Task Description (for orchestrators)
8
+
9
+ When spawning a word-cloud subagent, provide a task like:
10
+
11
+ ```
12
+ Generate a word cloud component using the word-cloud skill.
13
+
14
+ Input:
15
+ - file_path: /path/to/document.pdf (or provide `text` directly)
16
+ - text: "..." (plain text, if no file)
17
+ - options: {
18
+ stack: "react",
19
+ max_words: 100,
20
+ animation: "entrance",
21
+ highlight: ["sentiment"],
22
+ theme: "auto",
23
+ palette: "obsidian",
24
+ shape: "circle",
25
+ width: 900,
26
+ height: 520
27
+ }
28
+
29
+ Output: JSON conforming to the word-cloud output schema (see SKILL.md §7)
30
+ ```
31
+
32
+ ---
33
+
34
+ ## Input Schema (strict)
35
+
36
+ ```typescript
37
+ interface WordCloudInput {
38
+ // ONE of these required:
39
+ text?: string; // raw plain text
40
+ file_path?: string; // path to file (PDF, DOCX, XLSX, PPTX, HTML, TXT, CSV)
41
+
42
+ options?: {
43
+ max_words?: number; // default: 100
44
+ shape?: 'circle' | 'star' | 'speech_bubble' | 'heart' | 'diamond' | 'none';
45
+ custom_shape_svg?: string; // SVG <path d="..."> string
46
+ animation?: 'none' | 'entrance' | 'float' | 'cinematic'; // default: entrance
47
+ highlight?: Array<'sentiment' | 'verbs' | 'nouns' | 'custom'>;
48
+ custom_highlight_words?: string[]; // words to highlight in accent color
49
+ theme?: 'auto' | 'light' | 'dark'; // default: auto
50
+ palette?: 'obsidian' | 'ivory' | 'aurora' | 'parchment' |
51
+ 'midnight_ocean' | 'neon_noir' | 'botanical' | 'rose_gold';
52
+ stack?: 'react' | 'html' | 'python' | 'streamlit'; // default: html
53
+ width?: number; // default: 900
54
+ height?: number; // default: 520
55
+ font_family?: string; // default: 'Syne, sans-serif'
56
+ min_word_length?: number; // default: 3
57
+ custom_stopwords?: string[]; // additional words to exclude
58
+ };
59
+ }
60
+ ```
61
+
62
+ ---
63
+
64
+ ## Output Schema (strict)
65
+
66
+ ```typescript
67
+ interface WordCloudOutput {
68
+ component_code: string; // complete, runnable component code (React JSX / HTML / Python)
69
+ word_frequencies: Array<{
70
+ word: string;
71
+ count: number;
72
+ category: 'positive' | 'negative' | 'verb' | 'noun' | 'neutral';
73
+ }>;
74
+ stack: 'react' | 'html' | 'python';
75
+ theme_vars: Record<string, string>; // CSS custom properties used
76
+ preview_notes: string; // brief human-readable notes about the output
77
+ word_count: number; // total unique words in cloud
78
+ top_words: string[]; // top 10 words by frequency
79
+ }
80
+ ```
81
+
82
+ ---
83
+
84
+ ## Example Agent Call (Python orchestrator)
85
+
86
+ ```python
87
+ import anthropic
88
+ import json
89
+
90
+ client = anthropic.Anthropic()
91
+
92
+ def generate_word_cloud(text: str, options: dict = {}) -> dict:
93
+ task_input = json.dumps({"text": text, "options": options})
94
+
95
+ response = client.messages.create(
96
+ model="claude-opus-4-5",
97
+ max_tokens=8192,
98
+ system="""You are a word cloud generation agent.
99
+ You have access to the word-cloud skill at /mnt/skills/word-cloud/SKILL.md.
100
+ Always read the skill before proceeding.
101
+ Return ONLY valid JSON matching the output schema.""",
102
+ messages=[{
103
+ "role": "user",
104
+ "content": f"Generate a word cloud from this input:\n{task_input}"
105
+ }]
106
+ )
107
+
108
+ raw = response.content[0].text
109
+ # Strip markdown fences if present
110
+ clean = raw.strip().lstrip('```json').lstrip('```').rstrip('```').strip()
111
+ return json.loads(clean)
112
+
113
+ # Usage:
114
+ result = generate_word_cloud(
115
+ text="Your long document text here...",
116
+ options={
117
+ "stack": "react",
118
+ "palette": "aurora",
119
+ "animation": "cinematic",
120
+ "highlight": ["sentiment", "verbs"],
121
+ "max_words": 120,
122
+ }
123
+ )
124
+
125
+ print(result['component_code']) # paste into your React app
126
+ print(result['top_words'])
127
+ ```
128
+
129
+ ---
130
+
131
+ ## Pipeline Example: PDF → Word Cloud → React Page
132
+
133
+ ```python
134
+ # Step 1: Extract text from PDF
135
+ def extract_pdf(path: str) -> str:
136
+ import pdfplumber
137
+ with pdfplumber.open(path) as pdf:
138
+ return '\n'.join(p.extract_text() or '' for p in pdf.pages)
139
+
140
+ # Step 2: Generate word cloud
141
+ text = extract_pdf('report.pdf')
142
+ result = generate_word_cloud(text, {
143
+ "stack": "react",
144
+ "palette": "midnight_ocean",
145
+ "shape": "circle",
146
+ "animation": "entrance",
147
+ "highlight": ["sentiment"],
148
+ })
149
+
150
+ # Step 3: Write to file
151
+ with open('WordCloud.tsx', 'w') as f:
152
+ f.write(result['component_code'])
153
+
154
+ print(f"Generated cloud with {result['word_count']} words")
155
+ print(f"Top words: {', '.join(result['top_words'])}")
156
+ ```
157
+
158
+ ---
159
+
160
+ ## Defaults for Agentic Mode
161
+
162
+ In agentic mode, never ask clarifying questions. Use these defaults:
163
+
164
+ | Option | Default |
165
+ |--------|---------|
166
+ | stack | `html` (most portable) |
167
+ | max_words | `100` |
168
+ | shape | `circle` |
169
+ | animation | `entrance` |
170
+ | highlight | `['sentiment']` |
171
+ | theme | `auto` |
172
+ | palette | `obsidian` |
173
+ | font_family | `'Syne, sans-serif'` |
174
+ | width | `900` |
175
+ | height | `520` |