@caddis/cli 0.3.0 → 0.4.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 (238) hide show
  1. package/bundles/antigravity-plugin/agents/knowledge-transfer.md +17 -32
  2. package/bundles/antigravity-plugin/caddis_statusline.py +25 -3
  3. package/bundles/antigravity-plugin/guard_agy.py +41 -9
  4. package/bundles/antigravity-plugin/plugin.json +1 -1
  5. package/bundles/antigravity-plugin/scripts/caddis_inventory.py +73 -3
  6. package/bundles/antigravity-plugin/scripts/caddis_statusline.py +25 -3
  7. package/bundles/antigravity-plugin/scripts/claudster_config.py +0 -5
  8. package/bundles/antigravity-plugin/scripts/hook_log.py +1 -1
  9. package/bundles/antigravity-plugin/scripts/new-machine.ps1 +170 -0
  10. package/bundles/antigravity-plugin/scripts/oss_ask.py +1 -1
  11. package/bundles/antigravity-plugin/scripts/oss_model.py +10 -2
  12. package/bundles/antigravity-plugin/scripts/oss_review.py +1 -1
  13. package/bundles/antigravity-plugin/scripts/setup_project_ai.py +9 -6
  14. package/bundles/antigravity-plugin/session_end_agy.py +31 -6
  15. package/bundles/antigravity-plugin/skills/advisory-hub/SKILL.md +44 -0
  16. package/bundles/antigravity-plugin/skills/code-review/SKILL.md +11 -0
  17. package/bundles/antigravity-plugin/skills/feature-plan/SKILL.md +21 -0
  18. package/bundles/antigravity-plugin/skills/gate-review/SKILL.md +11 -0
  19. package/bundles/antigravity-plugin/skills/implement/SKILL.md +36 -0
  20. package/bundles/antigravity-plugin/skills/security-review/SKILL.md +9 -0
  21. package/bundles/antigravity-plugin/skills/validate-phase/SKILL.md +31 -0
  22. package/bundles/antigravity-plugin/warm_start_agy.py +96 -9
  23. package/bundles/antigravity-plugin-extras/plugin.json +1 -1
  24. package/bundles/codex/.codex/config.toml.example +36 -0
  25. package/bundles/codex/.codex/skills/coding/api-design/SKILL.md +249 -0
  26. package/bundles/codex/.codex/skills/coding/backend-development/SKILL.md +305 -0
  27. package/bundles/codex/.codex/skills/coding/code-review/SKILL.md +140 -0
  28. package/bundles/codex/.codex/skills/coding/codebase-audit/SKILL.md +204 -0
  29. package/bundles/codex/.codex/skills/coding/dashboard-perf-sweep/SKILL.md +132 -0
  30. package/bundles/codex/.codex/skills/coding/dashboard-perf-sweep/scripts/perf_sweep.py +249 -0
  31. package/bundles/codex/.codex/skills/coding/error-handling/SKILL.md +260 -0
  32. package/bundles/codex/.codex/skills/coding/fastapi-dev/SKILL.md +300 -0
  33. package/bundles/codex/.codex/skills/coding/javascript-typescript/SKILL.md +142 -0
  34. package/bundles/codex/.codex/skills/coding/python/SKILL.md +388 -0
  35. package/bundles/codex/.codex/skills/coding/refactoring/SKILL.md +486 -0
  36. package/bundles/codex/.codex/skills/coding/security-review/SKILL.md +205 -0
  37. package/bundles/codex/.codex/skills/coding/sql/SKILL.md +321 -0
  38. package/bundles/codex/.codex/skills/data/database-design/SKILL.md +177 -0
  39. package/bundles/codex/.codex/skills/data/db-diagram/SKILL.md +148 -0
  40. package/bundles/codex/.codex/skills/data/db-diagram/scripts/sql_to_graph.py +1212 -0
  41. package/bundles/codex/.codex/skills/devops/ci-cd-pipeline/SKILL.md +315 -0
  42. package/bundles/codex/.codex/skills/devops/gh-cli/SKILL.md +195 -0
  43. package/bundles/codex/.codex/skills/devops/git-commit/SKILL.md +285 -0
  44. package/bundles/codex/.codex/skills/devops/using-git-worktrees/SKILL.md +217 -0
  45. package/bundles/codex/.codex/skills/devops/windows-deployment/SKILL.md +880 -0
  46. package/bundles/codex/.codex/skills/docs/code-documentation/SKILL.md +271 -0
  47. package/bundles/codex/.codex/skills/docs/explainer-doc/SKILL.md +97 -0
  48. package/bundles/codex/.codex/skills/docs/technical-writing/SKILL.md +286 -0
  49. package/bundles/codex/.codex/skills/docs/writing-plans/SKILL.md +387 -0
  50. package/bundles/codex/.codex/skills/frontend/css-architecture/SKILL.md +305 -0
  51. package/bundles/codex/.codex/skills/frontend/css-architecture/references/RESPONSIVE-DESIGN.md +604 -0
  52. package/bundles/codex/.codex/skills/frontend/frontend-design/SKILL.md +193 -0
  53. package/bundles/codex/.codex/skills/frontend/frontend-design/references/my-tech-stack.md +127 -0
  54. package/bundles/codex/.codex/skills/frontend/mockup/SKILL.md +242 -0
  55. package/bundles/codex/.codex/skills/frontend/react-best-practices/SKILL.md +269 -0
  56. package/bundles/codex/.codex/skills/frontend/react-dev/README.md +404 -0
  57. package/bundles/codex/.codex/skills/frontend/react-dev/SKILL.md +459 -0
  58. package/bundles/codex/.codex/skills/frontend/react-dev/examples/generic-components.md +579 -0
  59. package/bundles/codex/.codex/skills/frontend/react-dev/examples/server-components.md +579 -0
  60. package/bundles/codex/.codex/skills/frontend/react-dev/references/event-handlers.md +574 -0
  61. package/bundles/codex/.codex/skills/frontend/react-dev/references/hooks.md +456 -0
  62. package/bundles/codex/.codex/skills/frontend/react-dev/references/react-19-patterns.md +638 -0
  63. package/bundles/codex/.codex/skills/frontend/react-dev/references/react-router.md +1002 -0
  64. package/bundles/codex/.codex/skills/frontend/react-dev/references/tanstack-router.md +587 -0
  65. package/bundles/codex/.codex/skills/frontend/ui-review/SKILL.md +176 -0
  66. package/bundles/codex/.codex/skills/frontend/ui-review/references/framework-fixes.md +471 -0
  67. package/bundles/codex/.codex/skills/frontend/ui-review/references/visual-checklist.md +236 -0
  68. package/bundles/codex/.codex/skills/frontend/warm-editorial-ui/DESIGN_TOKENS.md +487 -0
  69. package/bundles/codex/.codex/skills/frontend/warm-editorial-ui/IMPLEMENTATION_GUIDE.md +177 -0
  70. package/bundles/codex/.codex/skills/frontend/warm-editorial-ui/SKILL.md +732 -0
  71. package/bundles/codex/.codex/skills/media/draw-io/SKILL.md +162 -0
  72. package/bundles/codex/.codex/skills/media/draw-io/references/aws-icons.md +677 -0
  73. package/bundles/codex/.codex/skills/media/draw-io/references/layout-guidelines.md +142 -0
  74. package/bundles/codex/.codex/skills/media/draw-io/references/troubleshooting.md +118 -0
  75. package/bundles/codex/.codex/skills/media/draw-io/references/workflows.md +103 -0
  76. package/bundles/codex/.codex/skills/media/draw-io/scripts/convert-drawio-to-png.sh +25 -0
  77. package/bundles/codex/.codex/skills/media/draw-io/scripts/find_aws_icon.py +79 -0
  78. package/bundles/codex/.codex/skills/media/mermaid-diagrams/SKILL.md +292 -0
  79. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/ENHANCEMENTS.md +264 -0
  80. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/MERMAID-SUMMARY.md +137 -0
  81. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/advanced-features.md +556 -0
  82. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/architecture-diagrams.md +192 -0
  83. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/c4-diagrams.md +410 -0
  84. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/class-diagrams.md +361 -0
  85. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/erd-diagrams.md +510 -0
  86. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/flowcharts.md +450 -0
  87. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/sequence-diagrams.md +394 -0
  88. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/troubleshooting.md +335 -0
  89. package/bundles/codex/.codex/skills/media/mermaid-diagrams/references/workflows.md +418 -0
  90. package/bundles/codex/.codex/skills/media/particle-art/SKILL.md +243 -0
  91. package/bundles/codex/.codex/skills/media/particle-art/references/canvas-utils.ts +171 -0
  92. package/bundles/codex/.codex/skills/media/particle-art/references/dot-field.template.tsx +203 -0
  93. package/bundles/codex/.codex/skills/media/particle-art/references/flow-field.template.tsx +263 -0
  94. package/bundles/codex/.codex/skills/media/particle-art/references/node-shape.template.tsx +261 -0
  95. package/bundles/codex/.codex/skills/media/particle-art/references/shape-sampler.ts +281 -0
  96. package/bundles/codex/.codex/skills/media/particle-art/references/stipple-morph.template.tsx +167 -0
  97. package/bundles/codex/.codex/skills/media/particle-art/references/stipple.template.tsx +175 -0
  98. package/bundles/codex/.codex/skills/media/particle-art/references/trail-ghost.template.tsx +266 -0
  99. package/bundles/codex/.codex/skills/media/particle-art/references/usage-examples.md +320 -0
  100. package/bundles/codex/.codex/skills/testing/playwright/API_REFERENCE.md +653 -0
  101. package/bundles/codex/.codex/skills/testing/playwright/SKILL.md +454 -0
  102. package/bundles/codex/.codex/skills/testing/playwright/lib/helpers.js +441 -0
  103. package/bundles/codex/.codex/skills/testing/playwright/package.json +26 -0
  104. package/bundles/codex/.codex/skills/testing/playwright/run.js +228 -0
  105. package/bundles/codex/.codex/skills/testing/tdd-workflow/SKILL.md +188 -0
  106. package/bundles/codex/.codex/skills/testing/test-strategy/SKILL.md +155 -0
  107. package/bundles/codex/.codex/skills/testing/webapp-testing/LICENSE.txt +202 -0
  108. package/bundles/codex/.codex/skills/testing/webapp-testing/SKILL.md +97 -0
  109. package/bundles/codex/.codex/skills/testing/webapp-testing/examples/console_logging.py +35 -0
  110. package/bundles/codex/.codex/skills/testing/webapp-testing/examples/element_discovery.py +40 -0
  111. package/bundles/codex/.codex/skills/testing/webapp-testing/examples/static_html_automation.py +33 -0
  112. package/bundles/codex/.codex/skills/testing/webapp-testing/scripts/with_server.py +106 -0
  113. package/bundles/codex/.codex/skills/workflow/advisory-hub/SKILL.md +227 -0
  114. package/bundles/codex/.codex/skills/workflow/advisory-hub/reference/context-template.md +214 -0
  115. package/bundles/codex/.codex/skills/workflow/advisory-hub/reference/hub-handbook.md +233 -0
  116. package/bundles/codex/.codex/skills/workflow/advisory-hub/reference/report-contract.md +94 -0
  117. package/bundles/codex/.codex/skills/workflow/advisory-hub/reference/succession.md +118 -0
  118. package/bundles/codex/.codex/skills/workflow/best-practices/SKILL.md +500 -0
  119. package/bundles/codex/.codex/skills/workflow/best-practices/agents/best-practices-referencer.md +263 -0
  120. package/bundles/codex/.codex/skills/workflow/best-practices/agents/codebase-context-builder.md +326 -0
  121. package/bundles/codex/.codex/skills/workflow/best-practices/agents/task-intent-analyzer.md +245 -0
  122. package/bundles/codex/.codex/skills/workflow/best-practices/references/anti-patterns.md +571 -0
  123. package/bundles/codex/.codex/skills/workflow/best-practices/references/before-after-examples.md +1114 -0
  124. package/bundles/codex/.codex/skills/workflow/best-practices/references/best-practices-guide.md +513 -0
  125. package/bundles/codex/.codex/skills/workflow/best-practices/references/common-workflows.md +692 -0
  126. package/bundles/codex/.codex/skills/workflow/best-practices/references/prompt-patterns.md +547 -0
  127. package/bundles/codex/.codex/skills/workflow/brainstorming/SKILL.md +57 -0
  128. package/bundles/codex/.codex/skills/workflow/context-curator/SKILL.md +157 -0
  129. package/bundles/codex/.codex/skills/workflow/golden-plan/SKILL.md +586 -0
  130. package/bundles/codex/.codex/skills/workflow/preflight/SKILL.md +440 -0
  131. package/bundles/codex/.codex/skills/workflow/skill-creator/LICENSE.txt +202 -0
  132. package/bundles/codex/.codex/skills/workflow/skill-creator/SKILL.md +491 -0
  133. package/bundles/codex/.codex/skills/workflow/skill-creator/agents/analyzer.md +274 -0
  134. package/bundles/codex/.codex/skills/workflow/skill-creator/agents/comparator.md +202 -0
  135. package/bundles/codex/.codex/skills/workflow/skill-creator/agents/grader.md +223 -0
  136. package/bundles/codex/.codex/skills/workflow/skill-creator/assets/eval_review.html +146 -0
  137. package/bundles/codex/.codex/skills/workflow/skill-creator/eval-viewer/generate_review.py +471 -0
  138. package/bundles/codex/.codex/skills/workflow/skill-creator/eval-viewer/viewer.html +1325 -0
  139. package/bundles/codex/.codex/skills/workflow/skill-creator/references/schemas.md +430 -0
  140. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/__init__.py +0 -0
  141. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/aggregate_benchmark.py +401 -0
  142. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/generate_report.py +326 -0
  143. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/improve_description.py +247 -0
  144. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/package_skill.py +136 -0
  145. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/quick_validate.py +103 -0
  146. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/run_eval.py +310 -0
  147. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/run_loop.py +328 -0
  148. package/bundles/codex/.codex/skills/workflow/skill-creator/scripts/utils.py +47 -0
  149. package/bundles/codex/AGENTS.md +146 -0
  150. package/bundles/manifest.json +4 -3
  151. package/dist/claude-deepseek.js +2 -2
  152. package/dist/claude-glm.js +2 -2
  153. package/dist/claude-oss.js +2 -2
  154. package/dist/cli.js +187 -56
  155. package/package.json +1 -1
  156. package/bundles/antigravity-plugin/scripts/dream_capture.py +0 -249
  157. package/bundles/antigravity-plugin/scripts/dream_memory.py +0 -438
  158. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -93
  159. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  160. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  161. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -93
  162. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  163. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -93
  164. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  165. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  166. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -93
  167. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  168. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  169. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  170. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -93
  171. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  172. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -93
  173. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  174. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -94
  175. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  176. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  177. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -93
  178. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  179. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -93
  180. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  181. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  182. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -93
  183. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  184. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  185. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  186. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  187. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  188. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  189. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  190. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  191. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -93
  192. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  193. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  194. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  195. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -93
  196. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  197. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  198. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -93
  199. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  200. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  201. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  202. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-OFL.txt +0 -93
  203. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -93
  204. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  205. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  206. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  207. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  208. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-OFL.txt +0 -93
  209. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  210. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  211. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -93
  212. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  213. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -93
  214. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  215. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  216. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -93
  217. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  218. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  219. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -93
  220. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -93
  221. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  222. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  223. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -93
  224. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  225. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -93
  226. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  227. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  228. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -93
  229. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  230. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -93
  231. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  232. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  233. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  234. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  235. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -93
  236. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  237. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -93
  238. package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
@@ -0,0 +1,292 @@
1
+ ---
2
+ name: mermaid-diagrams
3
+ context: fork
4
+ description: Create software diagrams using Mermaid text-based syntax. Use for class diagrams (domain modeling, OOP design), sequence diagrams (API flows, interactions), flowcharts (processes, algorithms, user journeys), ERD (database schemas), C4 architecture diagrams, state diagrams, git graphs, gantt charts, and data visualization.
5
+ ---
6
+
7
+ # Mermaid Diagramming
8
+
9
+ **Works with:** Any AI coding agent (Claude, Cursor, GitHub Copilot, Windsurf, etc.)
10
+
11
+ Create professional software diagrams using Mermaid's text-based syntax. Diagrams are version-controllable, easy to update, and render automatically in GitHub, GitLab, Notion, and more.
12
+
13
+ ## Triggers
14
+
15
+ Use this skill when you need to:
16
+ - "diagram this", "visualize this", "model this"
17
+ - "show the flow", "map out the process"
18
+ - "architecture diagram", "class diagram", "sequence diagram"
19
+ - "database schema", "ERD", "entity relationship"
20
+ - "flowchart", "user journey", "system design"
21
+
22
+ ## Quick Reference
23
+
24
+ | Diagram Type | Use For | Syntax Starts With |
25
+ |--------------|---------|-------------------|
26
+ | **Class Diagram** | Domain models, OOP design | `classDiagram` |
27
+ | **Sequence Diagram** | API flows, interactions | `sequenceDiagram` |
28
+ | **Flowchart** | Processes, algorithms, user journeys | `flowchart TD` or `flowchart LR` |
29
+ | **ERD** | Database schemas | `erDiagram` |
30
+ | **C4 Diagram** | Architecture (context, container, component) | `C4Context`, `C4Container`, `C4Component` |
31
+ | **State Diagram** | State machines, lifecycles | `stateDiagram-v2` |
32
+ | **Git Graph** | Branching strategies | `gitGraph` |
33
+ | **Gantt Chart** | Project timelines | `gantt` |
34
+
35
+ ## Core Syntax Pattern
36
+
37
+ All Mermaid diagrams follow this structure:
38
+
39
+ ```mermaid
40
+ diagramType
41
+ definition content
42
+ ```
43
+
44
+ **Key principles:**
45
+ - First line declares diagram type
46
+ - Use `%%` for comments
47
+ - Indentation improves readability
48
+ - Misspellings break diagrams; validate at [mermaid.live](https://mermaid.live)
49
+
50
+ ## Quick Start Examples
51
+
52
+ ### Class Diagram
53
+ ```mermaid
54
+ classDiagram
55
+ User --> Order : places
56
+ Order *-- LineItem
57
+
58
+ class User {
59
+ +string email
60
+ +string name
61
+ +placeOrder()
62
+ }
63
+
64
+ class Order {
65
+ +int id
66
+ +decimal total
67
+ +addItem()
68
+ }
69
+ ```
70
+
71
+ ### Sequence Diagram
72
+ ```mermaid
73
+ sequenceDiagram
74
+ participant User
75
+ participant API
76
+ participant DB
77
+
78
+ User->>API: POST /login
79
+ API->>DB: Query credentials
80
+ DB-->>API: Return user data
81
+ alt Valid
82
+ API-->>User: 200 OK + token
83
+ else Invalid
84
+ API-->>User: 401 Unauthorized
85
+ end
86
+ ```
87
+
88
+ ### Flowchart
89
+ ```mermaid
90
+ flowchart TD
91
+ Start([User visits]) --> Auth{Authenticated?}
92
+ Auth -->|No| Login[Login page]
93
+ Auth -->|Yes| Dashboard[Dashboard]
94
+ Login --> Validate{Valid?}
95
+ Validate -->|Yes| Dashboard
96
+ Validate -->|No| Error[Error message]
97
+ ```
98
+
99
+ ### ERD
100
+ ```mermaid
101
+ erDiagram
102
+ USER ||--o{ ORDER : places
103
+ ORDER ||--|{ LINE_ITEM : contains
104
+
105
+ USER {
106
+ int id PK
107
+ string email UK
108
+ string name
109
+ }
110
+
111
+ ORDER {
112
+ int id PK
113
+ int user_id FK
114
+ decimal total
115
+ }
116
+ ```
117
+
118
+ ### C4 Context
119
+ ```mermaid
120
+ C4Context
121
+ title System Context
122
+
123
+ Person(user, "User", "Customer")
124
+ System(app, "Web App", "E-commerce platform")
125
+ System_Ext(payment, "Payment Gateway")
126
+
127
+ Rel(user, app, "Browses, purchases")
128
+ Rel(app, payment, "Processes payments", "HTTPS")
129
+ ```
130
+
131
+ ## Essential Syntax
132
+
133
+ ### Relationships (Class/ERD)
134
+ ```
135
+ --> Association
136
+ ..> Dependency
137
+ --|> Inheritance/Generalization
138
+ --* Composition
139
+ --o Aggregation
140
+ ```
141
+
142
+ ### Arrows (Sequence/Flowchart)
143
+ ```
144
+ ->> Solid arrow (sync message)
145
+ -->> Dashed arrow (response)
146
+ --> Flowchart connection
147
+ ```
148
+
149
+ ### Node Shapes (Flowchart)
150
+ ```
151
+ [] Rectangle
152
+ () Rounded
153
+ {} Diamond (decision)
154
+ ([]) Stadium/pill
155
+ [()] Cylinder (database)
156
+ ```
157
+
158
+ ### Cardinality (ERD)
159
+ ```
160
+ ||--|| One to one
161
+ ||--o{ One to many
162
+ }o--o{ Many to many
163
+ ```
164
+
165
+ ## Configuration
166
+
167
+ Add themes and styling:
168
+
169
+ ```mermaid
170
+ ---
171
+ config:
172
+ theme: base
173
+ themeVariables:
174
+ primaryColor: "#ff6b6b"
175
+ look: handDrawn
176
+ ---
177
+ flowchart LR
178
+ A --> B
179
+ ```
180
+
181
+ **Themes:** default, forest, dark, neutral, base
182
+ **Look:** classic, handDrawn
183
+
184
+ ## Export & Rendering
185
+
186
+ **Auto-renders in:**
187
+ - GitHub/GitLab Markdown
188
+ - VS Code (with Mermaid extension)
189
+ - Notion, Obsidian, Confluence
190
+
191
+ **Export to PNG/SVG:**
192
+ - Online: [mermaid.live](https://mermaid.live)
193
+ - CLI: `npm install -g @mermaid-js/mermaid-cli`
194
+ ```bash
195
+ mmdc -i diagram.mmd -o diagram.png
196
+ ```
197
+
198
+ ## Best Practices
199
+
200
+ 1. **Start simple** - Core elements first, add details incrementally
201
+ 2. **One concept per diagram** - Split complex views into focused diagrams
202
+ 3. **Use clear labels, but SHORT ones** - see *Label length* below. Meaningful names make diagrams
203
+ self-documenting; long ones get silently clipped, and a clipped label is worse than a terse one
204
+ because the reader cannot tell text is missing
205
+ 4. **Comment extensively** - Use `%%` to explain complex parts
206
+ 5. **Validate syntax** - Test at [mermaid.live](https://mermaid.live) before committing
207
+ 6. **Version control** - Store `.mmd` files with code
208
+ 7. **Keep updated** - Update diagrams when code changes
209
+
210
+ ## Label length — text is CLIPPED, not wrapped, and nothing warns you
211
+
212
+ **The most common defect in a generated diagram, and it is invisible to the author.** Mermaid does
213
+ not error, the diagram renders, and the text is simply cut off mid-word. Two distinct causes:
214
+
215
+ **1. A long unbroken token in a node label cannot wrap.** Mermaid wraps node text at *spaces* only.
216
+ `GenesysConversationTranscripts` is 30 characters with no space in it, so there is no break
217
+ opportunity — it overflows the box and is clipped to `GenesysConversationTransc…`. Identifiers,
218
+ table names, class names and file paths are all this shape.
219
+
220
+ **2. Edge labels never wrap at all.** `A -->|"E2 · no index on ConversationStart"| B` renders on one
221
+ line at any length, clipping or overlapping neighbouring nodes.
222
+
223
+ **Rules:**
224
+
225
+ - **Keep any unbroken token to ~20 characters.** Break longer ones explicitly with `<br/>`:
226
+ `["GenesysConversation<br/>Transcripts"]`.
227
+ - **Keep each `<br/>`-separated line to ~25 characters.**
228
+ - **Never put a sentence on an edge.** Edge labels get a short id or one word — `|"B2"|`, `|"reads"|`.
229
+ If it needs explaining, explain it in prose or a table beside the diagram.
230
+ - **Prefer a short display name plus a lookup table** over cramming full identifiers into nodes:
231
+
232
+ ```mermaid
233
+ flowchart TD
234
+ B["Voice<br/>transcripts"] --> APP["dashboard"]
235
+ ```
236
+
237
+ | short name | actual table |
238
+ |---|---|
239
+ | Voice transcripts | `dbo.GenesysConversationTranscripts` |
240
+
241
+ **Check it mechanically before shipping** — cheaper than rendering, and catches both causes:
242
+
243
+ ```bash
244
+ python -c "
245
+ import re,sys
246
+ body=re.search(r'\`\`\`mermaid(.*?)\`\`\`',open(sys.argv[1],encoding='utf-8').read(),re.S).group(1)
247
+ for e in re.findall(r'\|\"?([^\"|]+)\"?\|',body):
248
+ if len(e)>15: print(f'EDGE LABEL {len(e)} chars (never wraps): {e}')
249
+ for lbl in re.findall(r'\[\"(.*?)\"\]',body):
250
+ for line in lbl.split('<br/>'):
251
+ t=max((len(w) for w in line.split()),default=0)
252
+ if t>20: print(f'LONG TOKEN {t} chars (cannot wrap): {line}')
253
+ print('checked')
254
+ " FILE.md
255
+ ```
256
+
257
+ **Rendering to look at it is better still** — but only if you actually open the image. A diagram that
258
+ renders without error is not a diagram that reads correctly, which is the same trap as a passing
259
+ test that asserts nothing.
260
+
261
+ ## Common Issues
262
+
263
+ **Text is cut off mid-word:** see *Label length* above — the label is too long to wrap. This does
264
+ not produce an error.
265
+
266
+ **Diagram won't render:**
267
+ - Check for typos in diagram type declaration
268
+ - Validate syntax at [mermaid.live](https://mermaid.live)
269
+ - Avoid special characters in labels (use quotes if needed)
270
+
271
+ **Arrows not connecting:**
272
+ - Verify node IDs match exactly
273
+ - Check arrow syntax (`-->` vs `->>` vs `-->>`)
274
+
275
+ **Layout looks wrong:**
276
+ - Try different direction: `TD` (top-down), `LR` (left-right), `RL`, `BT`
277
+ - Use subgraphs to group related elements
278
+ - Consider splitting into multiple diagrams
279
+
280
+ ## Detailed References
281
+
282
+ See `references/` for comprehensive syntax:
283
+
284
+ - **[class-diagrams.md](references/class-diagrams.md)** - Relationships, multiplicity, methods, domain modeling
285
+ - **[sequence-diagrams.md](references/sequence-diagrams.md)** - Messages, activations, loops, alt/opt blocks
286
+ - **[flowcharts.md](references/flowcharts.md)** - Shapes, subgraphs, styling, complex flows
287
+ - **[erd-diagrams.md](references/erd-diagrams.md)** - Entities, cardinality, keys, attributes
288
+ - **[c4-diagrams.md](references/c4-diagrams.md)** - Context, container, component levels
289
+ - **[architecture-diagrams.md](references/architecture-diagrams.md)** - Cloud services, infrastructure, deployment
290
+ - **[advanced-features.md](references/advanced-features.md)** - Themes, configuration, layout options
291
+ - **[workflows.md](references/workflows.md)** - Step-by-step examples
292
+ - **[troubleshooting.md](references/troubleshooting.md)** - Common problems and solutions
@@ -0,0 +1,264 @@
1
+ # Mermaid Diagrams Skill - Enhancement Summary
2
+
3
+ ## What I Did
4
+
5
+ Enhanced the mermaid-diagrams skill to be **agent-agnostic, production-ready, and more comprehensive** while keeping the SKILL.md file at a reasonable length.
6
+
7
+ ---
8
+
9
+ ## 🎯 Key Enhancements
10
+
11
+ ### 1. **Agent-Agnostic** ✅
12
+ - Added "Works with" statement for all agents
13
+ - No hardcoded paths (original already didn't have any)
14
+ - Universal compatibility verified
15
+
16
+ ### 2. **Added Triggers Section** ✅
17
+ - Clear invocation patterns at top of SKILL.md
18
+ - Helps agents know when to use the skill
19
+ - Examples: "diagram this", "show the flow", "visualize"
20
+
21
+ ### 3. **Enhanced Quick Reference** ✅
22
+ - Added comprehensive table of diagram types
23
+ - Quick syntax patterns
24
+ - Common use cases table
25
+
26
+ ### 4. **New Reference Files** ✅
27
+ - **workflows.md** - 6 detailed step-by-step examples:
28
+ - Document API endpoint
29
+ - Design database schema
30
+ - Model domain (DDD)
31
+ - Map user journey
32
+ - Document system architecture
33
+ - Plan refactoring
34
+
35
+ - **troubleshooting.md** - Complete problem-solving guide:
36
+ - Diagram won't render
37
+ - Arrows not connecting
38
+ - Layout issues
39
+ - Syntax errors
40
+ - Rendering performance
41
+ - Labels and text issues
42
+ - Export issues
43
+ - GitHub/GitLab rendering
44
+ - Version compatibility
45
+ - Quick debugging checklist
46
+
47
+ ### 5. **Lean README** ✅
48
+ - Concise quick-start guide
49
+ - Essential info only
50
+ - No redundancy with SKILL.md
51
+
52
+ ---
53
+
54
+ ## 📊 Comparison
55
+
56
+ | Aspect | Original | Enhanced |
57
+ |--------|----------|----------|
58
+ | SKILL.md lines | 218 | 235 (+17) |
59
+ | Agent support | Generic | Explicit (all agents) ✅ |
60
+ | Triggers section | No | Yes ✅ |
61
+ | Workflows guide | No | Yes (418 lines) ✅ |
62
+ | Troubleshooting | No | Yes (335 lines) ✅ |
63
+ | Quick reference table | No | Yes ✅ |
64
+ | Total reference files | 7 | 9 (+2) ✅ |
65
+
66
+ ---
67
+
68
+ ## 🚀 What's New
69
+
70
+ ### In SKILL.md (235 lines)
71
+
72
+ **Added:**
73
+ - "Works with" statement (agent-agnostic)
74
+ - Comprehensive triggers section
75
+ - Quick reference table (diagram types)
76
+ - Essential syntax patterns table
77
+ - Common issues section
78
+ - Links to new reference files
79
+
80
+ **Kept from original:**
81
+ - All core syntax examples
82
+ - Diagram type selection guide
83
+ - Configuration and theming
84
+ - Export and rendering info
85
+ - Best practices
86
+
87
+ ### New Reference Files
88
+
89
+ **workflows.md (418 lines):**
90
+ 1. Document API endpoint (5 steps with progressive examples)
91
+ 2. Design database schema (4 steps)
92
+ 3. Model domain with DDD (4 steps)
93
+ 4. Map user journey (4 steps)
94
+ 5. Document system architecture (3 C4 levels)
95
+ 6. Plan refactoring (before/after)
96
+ 7. Tips for effective workflows
97
+
98
+ **troubleshooting.md (335 lines):**
99
+ - 10 common issue categories
100
+ - Clear symptoms and solutions
101
+ - Code examples (what works, what doesn't)
102
+ - Quick debugging checklist
103
+ - "Still stuck?" guidance
104
+
105
+ ---
106
+
107
+ ## 📁 File Structure
108
+
109
+ ```
110
+ mermaid-lean/
111
+ ├── SKILL.md # 235 lines - agent reads this
112
+ ├── README.md # 120 lines - quick start (optional)
113
+ └── references/
114
+ ├── advanced-features.md # 556 lines (original)
115
+ ├── architecture-diagrams.md # 192 lines (original)
116
+ ├── c4-diagrams.md # 410 lines (original)
117
+ ├── class-diagrams.md # 361 lines (original)
118
+ ├── erd-diagrams.md # 510 lines (original)
119
+ ├── flowcharts.md # 450 lines (original)
120
+ ├── sequence-diagrams.md # 394 lines (original)
121
+ ├── troubleshooting.md # 335 lines (NEW)
122
+ └── workflows.md # 418 lines (NEW)
123
+ ```
124
+
125
+ ---
126
+
127
+ ## ✨ Key Improvements
128
+
129
+ ### For Users
130
+ - ✅ Clear trigger patterns
131
+ - ✅ Quick reference for diagram types
132
+ - ✅ Step-by-step workflow examples
133
+ - ✅ Comprehensive troubleshooting
134
+ - ✅ Works with any agent
135
+
136
+ ### For Agents
137
+ - ✅ Explicit invocation triggers
138
+ - ✅ Clear diagram type selection
139
+ - ✅ Quick syntax reference
140
+ - ✅ Low context usage (235 lines)
141
+ - ✅ Extended docs on demand
142
+
143
+ ### For Teams
144
+ - ✅ Consistent diagramming approach
145
+ - ✅ Reusable workflow patterns
146
+ - ✅ Self-service troubleshooting
147
+ - ✅ Production-ready examples
148
+
149
+ ---
150
+
151
+ ## 📝 Context Usage
152
+
153
+ | Version | SKILL.md | Context Tokens | Efficiency |
154
+ |---------|----------|----------------|------------|
155
+ | Original | 218 lines | ~900 tokens | Good |
156
+ | **Enhanced** | **235 lines** | **~950 tokens** | **Excellent** ✅ |
157
+
158
+ **Why efficient:**
159
+ - SKILL.md still concise (235 lines)
160
+ - Extended content in references/ (loaded on demand)
161
+ - No redundancy between files
162
+ - Clear structure
163
+
164
+ ---
165
+
166
+ ## 🎯 Installation
167
+
168
+ ```bash
169
+ # For your .github/skills/ setup
170
+ cp -r mermaid-lean .github/skills/mermaid-diagrams
171
+
172
+ # Structure will be:
173
+ # .github/skills/mermaid-diagrams/
174
+ # ├── SKILL.md
175
+ # ├── README.md (optional - can delete)
176
+ # └── references/
177
+ # ├── (all reference files)
178
+ ```
179
+
180
+ ---
181
+
182
+ ## 🆚 Comparison with Original
183
+
184
+ ### What Stayed the Same ✅
185
+ - All original reference files (untouched)
186
+ - Core examples and syntax
187
+ - Best practices
188
+ - Export methods
189
+ - Configuration options
190
+
191
+ ### What's Better ✅
192
+ - Explicit agent support statement
193
+ - Clear triggers section
194
+ - Quick reference tables
195
+ - Workflow examples (6 scenarios)
196
+ - Troubleshooting guide
197
+ - Better organized SKILL.md
198
+
199
+ ### What's New ✅
200
+ - workflows.md (418 lines)
201
+ - troubleshooting.md (335 lines)
202
+ - Triggers section in SKILL.md
203
+ - Quick reference tables
204
+ - Common issues section
205
+
206
+ ---
207
+
208
+ ## 💡 Why These Changes Matter
209
+
210
+ ### Original Skill Was Already Good
211
+ - Well-organized
212
+ - Good examples
213
+ - No agent-specific paths
214
+ - Comprehensive reference files
215
+
216
+ ### Enhancements Make It Great
217
+ - **Discoverability** - Triggers help agents invoke it
218
+ - **Usability** - Quick reference tables save time
219
+ - **Learning** - Workflow examples show real patterns
220
+ - **Self-service** - Troubleshooting guide reduces friction
221
+ - **Professional** - Production-ready examples
222
+
223
+ ---
224
+
225
+ ## ✅ Quality Checklist
226
+
227
+ - [x] Agent-agnostic (works everywhere)
228
+ - [x] Clear triggers (agents know when to use)
229
+ - [x] Concise SKILL.md (235 lines, reasonable)
230
+ - [x] Comprehensive references (9 files)
231
+ - [x] Step-by-step workflows (6 examples)
232
+ - [x] Troubleshooting guide (10 issues covered)
233
+ - [x] Quick reference tables (fast lookup)
234
+ - [x] No redundancy (each file has unique content)
235
+ - [x] Progressive disclosure (core + extended)
236
+ - [x] Production-ready (real-world examples)
237
+
238
+ ---
239
+
240
+ ## 🎉 Summary
241
+
242
+ The mermaid-diagrams skill has been enhanced from **good to excellent**:
243
+
244
+ - **Original strength:** Well-organized, good examples, comprehensive reference files
245
+ - **Enhancements:** Agent triggers, quick reference, workflows, troubleshooting
246
+ - **Result:** Production-ready, self-service, works with any agent
247
+
248
+ **Context usage:** Still efficient (235 lines SKILL.md, ~950 tokens)
249
+ **Comprehensiveness:** Much improved (2 new reference files, 753 lines)
250
+ **Agent compatibility:** Explicit support for all agents
251
+
252
+ ---
253
+
254
+ ## 📖 What to Read
255
+
256
+ 1. **SKILL.md** - Start here (quick reference and core syntax)
257
+ 2. **workflows.md** - See step-by-step examples for common tasks
258
+ 3. **troubleshooting.md** - When things don't work
259
+ 4. **Other references/** - Deep-dive into specific diagram types
260
+
261
+ ---
262
+
263
+ **Version:** 2.0.0 (Enhanced, Agent-Agnostic)
264
+ **Status:** ✅ Production Ready
@@ -0,0 +1,137 @@
1
+ # Mermaid Skill Enhancement - Quick Summary
2
+
3
+ ## ✅ Done!
4
+
5
+ I've enhanced your mermaid-diagrams skill to be **agent-agnostic, production-ready, and more comprehensive** while keeping it lean.
6
+
7
+ ---
8
+
9
+ ## 🎯 What Changed
10
+
11
+ ### SKILL.md (235 lines)
12
+ - ✅ Added "Works with" statement (Claude, Cursor, Copilot, Windsurf)
13
+ - ✅ Added **Triggers section** at top (when to invoke skill)
14
+ - ✅ Added **Quick Reference table** (diagram types at a glance)
15
+ - ✅ Added **Essential Syntax tables** (relationships, arrows, shapes)
16
+ - ✅ Added **Common Issues** section
17
+ - ✅ Links to new troubleshooting and workflows
18
+
19
+ ### New Reference Files
20
+ - ✅ **workflows.md** (418 lines) - 6 step-by-step examples:
21
+ - Document API endpoint
22
+ - Design database schema
23
+ - Model domain (DDD)
24
+ - Map user journey
25
+ - Document system architecture
26
+ - Plan refactoring
27
+
28
+ - ✅ **troubleshooting.md** (335 lines) - Complete problem-solving:
29
+ - Diagram won't render
30
+ - Arrows not connecting
31
+ - Layout issues
32
+ - Syntax errors
33
+ - Performance problems
34
+ - Export issues
35
+ - GitHub rendering
36
+ - Quick debugging checklist
37
+
38
+ ### All Original Files Preserved
39
+ - ✅ All 7 original reference files (untouched, working perfectly)
40
+
41
+ ---
42
+
43
+ ## 📊 Comparison
44
+
45
+ | Aspect | Original | Enhanced |
46
+ |--------|----------|----------|
47
+ | SKILL.md | 218 lines | 235 lines ✅ |
48
+ | Context usage | ~900 tokens | ~950 tokens ✅ |
49
+ | Agent support | Generic | Explicit ✅ |
50
+ | Triggers | No | Yes ✅ |
51
+ | Workflows | No | Yes (418 lines) ✅ |
52
+ | Troubleshooting | No | Yes (335 lines) ✅ |
53
+ | Reference files | 7 | 9 (+2) ✅ |
54
+
55
+ ---
56
+
57
+ ## 🎯 Key Points
58
+
59
+ 1. **SKILL.md is still lean** (235 lines, very reasonable)
60
+ 2. **Agent-agnostic** (works with all agents)
61
+ 3. **Better discoverability** (clear triggers)
62
+ 4. **Self-service learning** (workflows + troubleshooting)
63
+ 5. **Production-ready** (real-world examples)
64
+
65
+ ---
66
+
67
+ ## 📁 Installation
68
+
69
+ For your `.github/skills/` setup:
70
+
71
+ ```bash
72
+ cp -r mermaid-lean .github/skills/mermaid-diagrams
73
+
74
+ # Structure:
75
+ # .github/skills/mermaid-diagrams/
76
+ # ├── SKILL.md # Agent reads this
77
+ # ├── README.md # Optional (can delete)
78
+ # └── references/
79
+ # ├── workflows.md # NEW
80
+ # ├── troubleshooting.md # NEW
81
+ # ├── class-diagrams.md
82
+ # ├── sequence-diagrams.md
83
+ # ├── flowcharts.md
84
+ # ├── erd-diagrams.md
85
+ # ├── c4-diagrams.md
86
+ # ├── architecture-diagrams.md
87
+ # └── advanced-features.md
88
+ ```
89
+
90
+ ---
91
+
92
+ ## 💡 What You Get
93
+
94
+ **For Quick Reference:**
95
+ - Triggers: "diagram this", "show the flow", "visualize"
96
+ - Diagram type selection table
97
+ - Essential syntax patterns
98
+
99
+ **For Learning:**
100
+ - 6 step-by-step workflow examples
101
+ - Progressive examples (simple → complex)
102
+ - Real-world scenarios
103
+
104
+ **For Problem-Solving:**
105
+ - 10 common issues with solutions
106
+ - Code examples (what works vs. what breaks)
107
+ - Quick debugging checklist
108
+
109
+ **For Deep Dives:**
110
+ - 7 comprehensive syntax references (original)
111
+ - Advanced features guide
112
+ - Architecture patterns
113
+
114
+ ---
115
+
116
+ ## 🎉 Bottom Line
117
+
118
+ Your mermaid skill was already good - I've made it **excellent**:
119
+
120
+ - **Agent-friendly** - Clear triggers, universal compatibility
121
+ - **Learnable** - Step-by-step workflows for common tasks
122
+ - **Self-service** - Comprehensive troubleshooting guide
123
+ - **Still efficient** - SKILL.md only 235 lines (~950 tokens)
124
+ - **Production-ready** - Real-world examples and patterns
125
+
126
+ All files ready in `/mnt/user-data/outputs/mermaid-lean/` 🎨
127
+
128
+ ---
129
+
130
+ ## 📖 What to Read
131
+
132
+ 1. **ENHANCEMENTS.md** - Full list of changes (this overview)
133
+ 2. **SKILL.md** - Core skill with quick reference
134
+ 3. **workflows.md** - Step-by-step examples
135
+ 4. **troubleshooting.md** - Problem solving
136
+
137
+ Enjoy your enhanced Mermaid skill! 🚀