@caddis/cli 0.0.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.
- package/LICENSE +21 -0
- package/README.md +163 -1
- package/bundles/antigravity-plugin/agents/code-reviewer.md +47 -0
- package/bundles/antigravity-plugin/agents/preflight.md +53 -0
- package/bundles/antigravity-plugin/guard_agy.py +338 -0
- package/bundles/antigravity-plugin/hooks.json +36 -0
- package/bundles/antigravity-plugin/mcp_config.json +8 -0
- package/bundles/antigravity-plugin/mcp_ping_server.py +55 -0
- package/bundles/antigravity-plugin/plugin.json +5 -0
- package/bundles/antigravity-plugin/session_end_agy.py +57 -0
- package/bundles/antigravity-plugin/skills/_registry.md +115 -0
- package/bundles/antigravity-plugin/skills/add-rules/SKILL.md +45 -0
- package/bundles/antigravity-plugin/skills/api-design/SKILL.md +249 -0
- package/bundles/antigravity-plugin/skills/backend-development/SKILL.md +305 -0
- package/bundles/antigravity-plugin/skills/best-practices/SKILL.md +500 -0
- package/bundles/antigravity-plugin/skills/best-practices/agents/best-practices-referencer.md +263 -0
- package/bundles/antigravity-plugin/skills/best-practices/agents/codebase-context-builder.md +326 -0
- package/bundles/antigravity-plugin/skills/best-practices/agents/task-intent-analyzer.md +245 -0
- package/bundles/antigravity-plugin/skills/best-practices/references/anti-patterns.md +571 -0
- package/bundles/antigravity-plugin/skills/best-practices/references/before-after-examples.md +1114 -0
- package/bundles/antigravity-plugin/skills/best-practices/references/best-practices-guide.md +513 -0
- package/bundles/antigravity-plugin/skills/best-practices/references/common-workflows.md +692 -0
- package/bundles/antigravity-plugin/skills/best-practices/references/prompt-patterns.md +547 -0
- package/bundles/antigravity-plugin/skills/brainstorming/SKILL.md +57 -0
- package/bundles/antigravity-plugin/skills/ci-cd-pipeline/SKILL.md +315 -0
- package/bundles/antigravity-plugin/skills/code-documentation/SKILL.md +271 -0
- package/bundles/antigravity-plugin/skills/code-review/SKILL.md +122 -0
- package/bundles/antigravity-plugin/skills/codebase-audit/SKILL.md +204 -0
- package/bundles/antigravity-plugin/skills/context-curator/SKILL.md +157 -0
- package/bundles/antigravity-plugin/skills/cross-review/SKILL.md +40 -0
- package/bundles/antigravity-plugin/skills/css-architecture/SKILL.md +305 -0
- package/bundles/antigravity-plugin/skills/css-architecture/references/RESPONSIVE-DESIGN.md +604 -0
- package/bundles/antigravity-plugin/skills/database-design/SKILL.md +177 -0
- package/bundles/antigravity-plugin/skills/db-diagram/SKILL.md +148 -0
- package/bundles/antigravity-plugin/skills/db-diagram/scripts/sql_to_graph.py +1212 -0
- package/bundles/antigravity-plugin/skills/digress/SKILL.md +61 -0
- package/bundles/antigravity-plugin/skills/draw-io/SKILL.md +162 -0
- package/bundles/antigravity-plugin/skills/draw-io/references/aws-icons.md +677 -0
- package/bundles/antigravity-plugin/skills/draw-io/references/layout-guidelines.md +142 -0
- package/bundles/antigravity-plugin/skills/draw-io/references/troubleshooting.md +118 -0
- package/bundles/antigravity-plugin/skills/draw-io/references/workflows.md +103 -0
- package/bundles/antigravity-plugin/skills/draw-io/scripts/convert-drawio-to-png.sh +25 -0
- package/bundles/antigravity-plugin/skills/draw-io/scripts/find_aws_icon.py +79 -0
- package/bundles/antigravity-plugin/skills/error-handling/SKILL.md +260 -0
- package/bundles/antigravity-plugin/skills/excalidraw-db/SKILL.md +38 -0
- package/bundles/antigravity-plugin/skills/fastapi-dev/SKILL.md +300 -0
- package/bundles/antigravity-plugin/skills/feature-plan/SKILL.md +198 -0
- package/bundles/antigravity-plugin/skills/frontend-design/SKILL.md +193 -0
- package/bundles/antigravity-plugin/skills/frontend-design/references/my-tech-stack.md +127 -0
- package/bundles/antigravity-plugin/skills/gh-cli/SKILL.md +195 -0
- package/bundles/antigravity-plugin/skills/git-commit/SKILL.md +285 -0
- package/bundles/antigravity-plugin/skills/golden-plan/SKILL.md +577 -0
- package/bundles/antigravity-plugin/skills/handoff/SKILL.md +100 -0
- package/bundles/antigravity-plugin/skills/implement/SKILL.md +114 -0
- package/bundles/antigravity-plugin/skills/javascript-typescript/SKILL.md +142 -0
- package/bundles/antigravity-plugin/skills/kb/SKILL.md +60 -0
- package/bundles/antigravity-plugin/skills/mermaid-db/SKILL.md +33 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/SKILL.md +236 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/ENHANCEMENTS.md +264 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/MERMAID-SUMMARY.md +137 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/advanced-features.md +556 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/architecture-diagrams.md +192 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/c4-diagrams.md +410 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/class-diagrams.md +361 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/erd-diagrams.md +510 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/flowcharts.md +450 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/sequence-diagrams.md +394 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/troubleshooting.md +335 -0
- package/bundles/antigravity-plugin/skills/mermaid-diagrams/references/workflows.md +418 -0
- package/bundles/antigravity-plugin/skills/migrate-dir/SKILL.md +68 -0
- package/bundles/antigravity-plugin/skills/mockup/SKILL.md +242 -0
- package/bundles/antigravity-plugin/skills/particle-art/SKILL.md +243 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/canvas-utils.ts +171 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/dot-field.template.tsx +203 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/flow-field.template.tsx +263 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/node-shape.template.tsx +261 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/shape-sampler.ts +281 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/stipple-morph.template.tsx +167 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/stipple.template.tsx +175 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/trail-ghost.template.tsx +266 -0
- package/bundles/antigravity-plugin/skills/particle-art/references/usage-examples.md +320 -0
- package/bundles/antigravity-plugin/skills/playwright/API_REFERENCE.md +653 -0
- package/bundles/antigravity-plugin/skills/playwright/SKILL.md +454 -0
- package/bundles/antigravity-plugin/skills/playwright/lib/helpers.js +441 -0
- package/bundles/antigravity-plugin/skills/playwright/package.json +26 -0
- package/bundles/antigravity-plugin/skills/playwright/run.js +228 -0
- package/bundles/antigravity-plugin/skills/prd/SKILL.md +107 -0
- package/bundles/antigravity-plugin/skills/preflight/SKILL.md +435 -0
- package/bundles/antigravity-plugin/skills/python/SKILL.md +388 -0
- package/bundles/antigravity-plugin/skills/react-best-practices/SKILL.md +269 -0
- package/bundles/antigravity-plugin/skills/react-dev/README.md +404 -0
- package/bundles/antigravity-plugin/skills/react-dev/SKILL.md +459 -0
- package/bundles/antigravity-plugin/skills/react-dev/examples/generic-components.md +579 -0
- package/bundles/antigravity-plugin/skills/react-dev/examples/server-components.md +579 -0
- package/bundles/antigravity-plugin/skills/react-dev/references/event-handlers.md +574 -0
- package/bundles/antigravity-plugin/skills/react-dev/references/hooks.md +456 -0
- package/bundles/antigravity-plugin/skills/react-dev/references/react-19-patterns.md +638 -0
- package/bundles/antigravity-plugin/skills/react-dev/references/react-router.md +1002 -0
- package/bundles/antigravity-plugin/skills/react-dev/references/tanstack-router.md +587 -0
- package/bundles/antigravity-plugin/skills/refactoring/SKILL.md +486 -0
- package/bundles/antigravity-plugin/skills/resume/SKILL.md +36 -0
- package/bundles/antigravity-plugin/skills/security-review/SKILL.md +196 -0
- package/bundles/antigravity-plugin/skills/setup-project-ai/SKILL.md +61 -0
- package/bundles/antigravity-plugin/skills/ship/SKILL.md +107 -0
- package/bundles/antigravity-plugin/skills/ship-merge/SKILL.md +103 -0
- package/bundles/antigravity-plugin/skills/ship-pr/SKILL.md +102 -0
- package/bundles/antigravity-plugin/skills/skill-creator/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin/skills/skill-creator/SKILL.md +491 -0
- package/bundles/antigravity-plugin/skills/skill-creator/agents/analyzer.md +274 -0
- package/bundles/antigravity-plugin/skills/skill-creator/agents/comparator.md +202 -0
- package/bundles/antigravity-plugin/skills/skill-creator/agents/grader.md +223 -0
- package/bundles/antigravity-plugin/skills/skill-creator/assets/eval_review.html +146 -0
- package/bundles/antigravity-plugin/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/bundles/antigravity-plugin/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/bundles/antigravity-plugin/skills/skill-creator/references/schemas.md +430 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/__init__.py +0 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/generate_report.py +326 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/improve_description.py +247 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/package_skill.py +136 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/run_eval.py +310 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/run_loop.py +328 -0
- package/bundles/antigravity-plugin/skills/skill-creator/scripts/utils.py +47 -0
- package/bundles/antigravity-plugin/skills/sql/SKILL.md +321 -0
- package/bundles/antigravity-plugin/skills/tdd/SKILL.md +37 -0
- package/bundles/antigravity-plugin/skills/tdd-workflow/SKILL.md +188 -0
- package/bundles/antigravity-plugin/skills/technical-writing/SKILL.md +286 -0
- package/bundles/antigravity-plugin/skills/test-strategy/SKILL.md +155 -0
- package/bundles/antigravity-plugin/skills/ui-brief/SKILL.md +84 -0
- package/bundles/antigravity-plugin/skills/ui-review/SKILL.md +176 -0
- package/bundles/antigravity-plugin/skills/ui-review/references/framework-fixes.md +471 -0
- package/bundles/antigravity-plugin/skills/ui-review/references/visual-checklist.md +236 -0
- package/bundles/antigravity-plugin/skills/usage-review/SKILL.md +77 -0
- package/bundles/antigravity-plugin/skills/use-model/SKILL.md +64 -0
- package/bundles/antigravity-plugin/skills/using-git-worktrees/SKILL.md +217 -0
- package/bundles/antigravity-plugin/skills/version/SKILL.md +18 -0
- package/bundles/antigravity-plugin/skills/warm-editorial-ui/DESIGN_TOKENS.md +487 -0
- package/bundles/antigravity-plugin/skills/warm-editorial-ui/IMPLEMENTATION_GUIDE.md +177 -0
- package/bundles/antigravity-plugin/skills/warm-editorial-ui/SKILL.md +732 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/SKILL.md +97 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/examples/console_logging.py +35 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/bundles/antigravity-plugin/skills/webapp-testing/scripts/with_server.py +106 -0
- package/bundles/antigravity-plugin/skills/windows-deployment/SKILL.md +880 -0
- package/bundles/antigravity-plugin/skills/writing-plans/SKILL.md +384 -0
- package/bundles/antigravity-plugin/statusline-command-agy.sh +91 -0
- package/bundles/antigravity-plugin/warm_start_agy.py +149 -0
- package/bundles/antigravity-plugin-extras/plugin.json +5 -0
- package/bundles/antigravity-plugin-extras/skills/_registry.md +154 -0
- package/bundles/antigravity-plugin-extras/skills/agent-md-refactor/SKILL.md +356 -0
- package/bundles/antigravity-plugin-extras/skills/agent-orchestration/SKILL.md +517 -0
- package/bundles/antigravity-plugin-extras/skills/algorithmic-art/SKILL.md +293 -0
- package/bundles/antigravity-plugin-extras/skills/anchor-review/SKILL.md +135 -0
- package/bundles/antigravity-plugin-extras/skills/api-client-patterns/SKILL.md +367 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-design/SKILL.md +244 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-diagram/SKILL.md +156 -0
- package/bundles/antigravity-plugin-extras/skills/architecture-document/SKILL.md +321 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/SKILL.md +74 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/bundles/antigravity-plugin-extras/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/bundles/antigravity-plugin-extras/skills/ascii-art/SKILL.md +144 -0
- package/bundles/antigravity-plugin-extras/skills/asking-questions/SKILL.md +81 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/SKILL.md +118 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/cross-service/credential-management.md +450 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/browser/README.md +363 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/code-interpreter/README.md +232 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/README.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deploy-template.sh +117 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/deployment-strategies.md +416 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/troubleshooting-guide.md +384 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/gateway/validate-deployment.sh +186 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/identity/README.md +186 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/memory/README.md +253 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/observability/README.md +517 -0
- package/bundles/antigravity-plugin-extras/skills/aws-agentic-ai/services/runtime/README.md +215 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/SKILL.md +279 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/references/cdk-patterns.md +431 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cdk-development/scripts/validate-stack.sh +240 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/SKILL.md +318 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/cloudwatch-alarms.md +567 -0
- package/bundles/antigravity-plugin-extras/skills/aws-cost-operations/references/operations-patterns.md +394 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/SKILL.md +758 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/deployment-best-practices.md +830 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/eda-patterns.md +1002 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/observability-best-practices.md +770 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/performance-optimization.md +671 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/security-best-practices.md +625 -0
- package/bundles/antigravity-plugin-extras/skills/aws-serverless-eda/references/serverless-patterns.md +838 -0
- package/bundles/antigravity-plugin-extras/skills/backend-to-frontend-handoff/SKILL.md +139 -0
- package/bundles/antigravity-plugin-extras/skills/banner-design/SKILL.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/brand-design/SKILL.md +298 -0
- package/bundles/antigravity-plugin-extras/skills/brand-guidelines/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/brand-guidelines/SKILL.md +118 -0
- package/bundles/antigravity-plugin-extras/skills/brand-voice/SKILL.md +93 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/SKILL.md +392 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/agent-patterns.md +461 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/examples.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/state-patterns.md +360 -0
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/references/troubleshooting.md +362 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/SKILL.md +266 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/examples.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +338 -0
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +317 -0
- package/bundles/antigravity-plugin-extras/skills/caching-patterns/SKILL.md +385 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/SKILL.md +91 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/bundles/antigravity-plugin-extras/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/bundles/antigravity-plugin-extras/skills/changelog-generator/SKILL.md +105 -0
- package/bundles/antigravity-plugin-extras/skills/code-explainer/SKILL.md +91 -0
- package/bundles/antigravity-plugin-extras/skills/competitive-ads-extractor/SKILL.md +294 -0
- package/bundles/antigravity-plugin-extras/skills/component-testing/SKILL.md +310 -0
- package/bundles/antigravity-plugin-extras/skills/content-research-writer/SKILL.md +539 -0
- package/bundles/antigravity-plugin-extras/skills/cross-review/SKILL.md +51 -0
- package/bundles/antigravity-plugin-extras/skills/data-analysis/SKILL.md +111 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/README.md +248 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/SKILL.md +203 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/adapter.py.template +44 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/api-router.py.template +43 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/contract-test.py.template +384 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/display-dto.py.template +39 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-service.ts.template +46 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/frontend-types.ts.template +38 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/ingestion-model.py.template +42 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/mapping-doc.md.template +46 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/normalizer.py.template +48 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_requirements.md +36 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/extract_ui_demand.md +35 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/prompts/reconcile_mapping.md +66 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/assets/query-catalog.md.template +62 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/consumer-driven-contracts.md +131 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/drift-check-catalog.md +305 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/references/layer-responsibilities.md +333 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_connections.py +170 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/discover_sources.py +161 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/drift_check.py +171 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/extract_schema.py +1363 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_gap_report.py +81 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/generate_mapping_doc.py +294 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/ts_dto_compare.py +214 -0
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/scripts/validate_lineage.py +51 -0
- package/bundles/antigravity-plugin-extras/skills/data-loader/SKILL.md +753 -0
- package/bundles/antigravity-plugin-extras/skills/data-validation/SKILL.md +220 -0
- package/bundles/antigravity-plugin-extras/skills/db-testing/SKILL.md +117 -0
- package/bundles/antigravity-plugin-extras/skills/deploy-local/SKILL.md +259 -0
- package/bundles/antigravity-plugin-extras/skills/design-md/SKILL.md +167 -0
- package/bundles/antigravity-plugin-extras/skills/design-system-tokens/SKILL.md +240 -0
- package/bundles/antigravity-plugin-extras/skills/design-system-tokens/references/DESIGN-SYSTEM-TEMPLATE.md +577 -0
- package/bundles/antigravity-plugin-extras/skills/developer-growth-analysis/SKILL.md +323 -0
- package/bundles/antigravity-plugin-extras/skills/doc-coauthoring/SKILL.md +378 -0
- package/bundles/antigravity-plugin-extras/skills/documentation-analyzer/SKILL.md +78 -0
- package/bundles/antigravity-plugin-extras/skills/domain-name-brainstormer/SKILL.md +213 -0
- package/bundles/antigravity-plugin-extras/skills/enterprise-dashboard-aesthetic-system/SKILL.md +120 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/SKILL.md +193 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/element-types.md +497 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/excalidraw-schema.md +356 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/references/reliable-diagrams.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/README.md +60 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-arrow.py +354 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/add-icon-to-diagram.py +412 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/scripts/split-excalidraw-library.py +183 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/class-diagram-template.excalidraw +558 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/data-flow-diagram-template.excalidraw +279 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/er-diagram-template.excalidraw +662 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/flowchart-template.excalidraw +179 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/mindmap-template.excalidraw +244 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/relationship-template.excalidraw +145 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/reliable-flowchart.excalidraw +1 -0
- package/bundles/antigravity-plugin-extras/skills/excalidraw/templates/sequence-diagram-template.excalidraw +509 -0
- package/bundles/antigravity-plugin-extras/skills/file-organizer/SKILL.md +434 -0
- package/bundles/antigravity-plugin-extras/skills/game-changing-features/README.md +221 -0
- package/bundles/antigravity-plugin-extras/skills/game-changing-features/SKILL.md +265 -0
- package/bundles/antigravity-plugin-extras/skills/github-issues/SKILL.md +359 -0
- package/bundles/antigravity-plugin-extras/skills/github-issues/references/templates.md +90 -0
- package/bundles/antigravity-plugin-extras/skills/golden-nuggets/SKILL.md +192 -0
- package/bundles/antigravity-plugin-extras/skills/humanizer/SKILL.md +194 -0
- package/bundles/antigravity-plugin-extras/skills/image-enhancer/SKILL.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/intent-writer/SKILL.md +201 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/SKILL.md +124 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/3p-updates.md +47 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/faq-answers.md +30 -0
- package/bundles/antigravity-plugin-extras/skills/internal-comms/examples/general-comms.md +16 -0
- package/bundles/antigravity-plugin-extras/skills/invoice-organizer/SKILL.md +447 -0
- package/bundles/antigravity-plugin-extras/skills/jira-issues/SKILL.md +182 -0
- package/bundles/antigravity-plugin-extras/skills/job-application/SKILL.md +188 -0
- package/bundles/antigravity-plugin-extras/skills/lead-research-assistant/SKILL.md +200 -0
- package/bundles/antigravity-plugin-extras/skills/llm-application-dev/SKILL.md +217 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/SKILL.md +100 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/evaluation.md +602 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/mcp_best_practices.md +915 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/node_mcp_server.md +916 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/references/python_mcp_server.md +752 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/connections.py +151 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/bundles/antigravity-plugin-extras/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/bundles/antigravity-plugin-extras/skills/meeting-insights-analyzer/SKILL.md +328 -0
- package/bundles/antigravity-plugin-extras/skills/monorepo/SKILL.md +267 -0
- package/bundles/antigravity-plugin-extras/skills/naming-analyzer/SKILL.md +376 -0
- package/bundles/antigravity-plugin-extras/skills/nextjs-app-router/SKILL.md +271 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/AUTHENTICATION.md +154 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/SKILL.md +270 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/api_reference.md +309 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/troubleshooting.md +376 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/references/usage_patterns.md +338 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/__init__.py +81 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/ask_question.py +256 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/auth_manager.py +358 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_session.py +255 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/browser_utils.py +107 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/cleanup_manager.py +302 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/config.py +44 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/notebook_manager.py +410 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/run.py +102 -0
- package/bundles/antigravity-plugin-extras/skills/notebooklm/scripts/setup_environment.py +204 -0
- package/bundles/antigravity-plugin-extras/skills/observability/SKILL.md +371 -0
- package/bundles/antigravity-plugin-extras/skills/onboard-project/SKILL.md +192 -0
- package/bundles/antigravity-plugin-extras/skills/performance-testing/SKILL.md +226 -0
- package/bundles/antigravity-plugin-extras/skills/pipeline-state/SKILL.md +208 -0
- package/bundles/antigravity-plugin-extras/skills/plantuml/SKILL.md +228 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/SKILL.md +142 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/linear.app.md +196 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/stripe.md +214 -0
- package/bundles/antigravity-plugin-extras/skills/popular-web-designs/templates/vercel.md +218 -0
- package/bundles/antigravity-plugin-extras/skills/prd-to-code/SKILL.md +127 -0
- package/bundles/antigravity-plugin-extras/skills/raffle-winner-picker/SKILL.md +159 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/README.md +320 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/SKILL.md +53 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/alternatives.md +258 -0
- package/bundles/antigravity-plugin-extras/skills/react-useeffect/anti-patterns.md +290 -0
- package/bundles/antigravity-plugin-extras/skills/receiving-code-review/SKILL.md +213 -0
- package/bundles/antigravity-plugin-extras/skills/relay/SKILL.md +246 -0
- package/bundles/antigravity-plugin-extras/skills/requesting-code-review/SKILL.md +105 -0
- package/bundles/antigravity-plugin-extras/skills/requesting-code-review/code-reviewer.md +146 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/SKILL.md +350 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/pwa-checklist.md +226 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/touch-and-interaction.md +265 -0
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/references/transformation-catalogue.md +326 -0
- package/bundles/antigravity-plugin-extras/skills/schema-migration/SKILL.md +275 -0
- package/bundles/antigravity-plugin-extras/skills/setup-project-ai/SKILL.md +120 -0
- package/bundles/antigravity-plugin-extras/skills/shadcn-radix/SKILL.md +330 -0
- package/bundles/antigravity-plugin-extras/skills/sketch/SKILL.md +104 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/SKILL.md +646 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/color_palettes.py +302 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/easing.py +230 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/frame_composer.py +469 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/gif_builder.py +246 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/typography.py +357 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/validators.py +264 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/core/visual_effects.py +494 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/requirements.txt +4 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/bounce.py +106 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/explode.py +331 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/fade.py +329 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/flip.py +291 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/morph.py +329 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/move.py +293 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/pulse.py +268 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/shake.py +127 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/slide.py +291 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/spin.py +269 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/wiggle.py +300 -0
- package/bundles/antigravity-plugin-extras/skills/slack-gif-creator/templates/zoom.py +312 -0
- package/bundles/antigravity-plugin-extras/skills/slides/SKILL.md +38 -0
- package/bundles/antigravity-plugin-extras/skills/state-tracking/SKILL.md +131 -0
- package/bundles/antigravity-plugin-extras/skills/streamlit-dev/SKILL.md +268 -0
- package/bundles/antigravity-plugin-extras/skills/svg-create/SKILL.md +251 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/SKILL.md +59 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/theme-showcase.pdf +0 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/desert-rose.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/golden-hour.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/LICENSE.txt +202 -0
- package/bundles/antigravity-plugin-extras/skills/ui-styling-patterns/SKILL.md +320 -0
- package/bundles/antigravity-plugin-extras/skills/ui-testing/SKILL.md +660 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/SKILL.md +660 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/_sync_all.py +414 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/app-interface.csv +31 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/charts.csv +26 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/colors.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/design.csv +1776 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/draft.csv +1779 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/google-fonts.csv +1924 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/icons.csv +106 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/landing.csv +35 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/products.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/react-performance.csv +45 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/styles.csv +85 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/typography.csv +74 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ui-reasoning.csv +162 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/data/ux-guidelines.csv +100 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/core.py +247 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/design_system.py +1067 -0
- package/bundles/antigravity-plugin-extras/skills/ui-ux-intelligence/scripts/search.py +114 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/SKILL.md +140 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/commands.md +252 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/graph-schema.md +116 -0
- package/bundles/antigravity-plugin-extras/skills/understand-anything/references/pipeline.md +331 -0
- package/bundles/antigravity-plugin-extras/skills/update-readme/SKILL.md +74 -0
- package/bundles/antigravity-plugin-extras/skills/verification-loop/SKILL.md +209 -0
- package/bundles/antigravity-plugin-extras/skills/video-downloader/SKILL.md +107 -0
- package/bundles/antigravity-plugin-extras/skills/webapp-development/SKILL.md +288 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/SKILL.md +339 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/agents/agent-interface.md +175 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/html.md +384 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/nlp-keywords.md +127 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/palettes.md +149 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/python.md +249 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/react.md +427 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/shapes.md +135 -0
- package/bundles/antigravity-plugin-extras/skills/word-cloud/references/stopwords.md +115 -0
- package/bundles/antigravity-plugin-extras/skills/youtube-transcript/SKILL.md +416 -0
- package/bundles/manifest.json +7 -0
- package/dist/cli.js +5492 -0
- package/package.json +61 -4
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
# Sequence Diagrams
|
|
2
|
+
|
|
3
|
+
Sequence diagrams show interactions between participants over time. They're ideal for API flows, authentication sequences, and system component interactions.
|
|
4
|
+
|
|
5
|
+
## Basic Syntax
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
sequenceDiagram
|
|
9
|
+
participant A
|
|
10
|
+
participant B
|
|
11
|
+
A->>B: Message
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Participants and Actors
|
|
15
|
+
|
|
16
|
+
```mermaid
|
|
17
|
+
sequenceDiagram
|
|
18
|
+
actor User
|
|
19
|
+
participant Frontend
|
|
20
|
+
participant API
|
|
21
|
+
participant Database
|
|
22
|
+
|
|
23
|
+
User->>Frontend: Click button
|
|
24
|
+
Frontend->>API: POST /data
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Difference:**
|
|
28
|
+
- `participant` - System components (services, classes, databases)
|
|
29
|
+
- `actor` - External entities (users, external systems)
|
|
30
|
+
|
|
31
|
+
## Message Types
|
|
32
|
+
|
|
33
|
+
### Solid Arrow (Synchronous)
|
|
34
|
+
```mermaid
|
|
35
|
+
sequenceDiagram
|
|
36
|
+
Client->>Server: Request
|
|
37
|
+
Server-->>Client: Response
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- `->>` Solid arrow (request)
|
|
41
|
+
- `-->>` Dotted arrow (response/return)
|
|
42
|
+
|
|
43
|
+
### Open Arrow (Asynchronous)
|
|
44
|
+
```mermaid
|
|
45
|
+
sequenceDiagram
|
|
46
|
+
Client-)Server: Async message
|
|
47
|
+
Server--)Client: Async response
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- `-)` Solid open arrow
|
|
51
|
+
- `--)` Dotted open arrow
|
|
52
|
+
|
|
53
|
+
### Cross/X (Delete)
|
|
54
|
+
```mermaid
|
|
55
|
+
sequenceDiagram
|
|
56
|
+
Client-xServer: Delete
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Activations
|
|
60
|
+
|
|
61
|
+
Show when a participant is actively processing:
|
|
62
|
+
|
|
63
|
+
```mermaid
|
|
64
|
+
sequenceDiagram
|
|
65
|
+
Client->>+Server: Request
|
|
66
|
+
Server->>+Database: Query
|
|
67
|
+
Database-->>-Server: Data
|
|
68
|
+
Server-->>-Client: Response
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
- `+` after arrow activates
|
|
72
|
+
- `-` before arrow deactivates
|
|
73
|
+
|
|
74
|
+
## Alt/Else (Conditional Logic)
|
|
75
|
+
|
|
76
|
+
```mermaid
|
|
77
|
+
sequenceDiagram
|
|
78
|
+
User->>API: POST /login
|
|
79
|
+
API->>Database: Query user
|
|
80
|
+
Database-->>API: User data
|
|
81
|
+
|
|
82
|
+
alt Valid credentials
|
|
83
|
+
API-->>User: 200 OK + Token
|
|
84
|
+
else Invalid credentials
|
|
85
|
+
API-->>User: 401 Unauthorized
|
|
86
|
+
else Account locked
|
|
87
|
+
API-->>User: 403 Forbidden
|
|
88
|
+
end
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Opt (Optional)
|
|
92
|
+
|
|
93
|
+
```mermaid
|
|
94
|
+
sequenceDiagram
|
|
95
|
+
User->>API: POST /order
|
|
96
|
+
API->>PaymentService: Process payment
|
|
97
|
+
|
|
98
|
+
opt Payment successful
|
|
99
|
+
API->>EmailService: Send confirmation
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
API-->>User: Order result
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Par (Parallel)
|
|
106
|
+
|
|
107
|
+
Show concurrent operations:
|
|
108
|
+
|
|
109
|
+
```mermaid
|
|
110
|
+
sequenceDiagram
|
|
111
|
+
API->>Service: Process order
|
|
112
|
+
|
|
113
|
+
par Send email
|
|
114
|
+
Service->>EmailService: Send confirmation
|
|
115
|
+
and Update inventory
|
|
116
|
+
Service->>InventoryService: Reduce stock
|
|
117
|
+
and Log event
|
|
118
|
+
Service->>LogService: Log order
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
Service-->>API: Complete
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Loop
|
|
125
|
+
|
|
126
|
+
```mermaid
|
|
127
|
+
sequenceDiagram
|
|
128
|
+
Client->>Server: Request batch
|
|
129
|
+
|
|
130
|
+
loop For each item
|
|
131
|
+
Server->>Database: Process item
|
|
132
|
+
Database-->>Server: Result
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
Server-->>Client: All results
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Loop with condition:**
|
|
139
|
+
```mermaid
|
|
140
|
+
sequenceDiagram
|
|
141
|
+
loop Every 5 seconds
|
|
142
|
+
Monitor->>API: Health check
|
|
143
|
+
API-->>Monitor: Status
|
|
144
|
+
end
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Break (Early Exit)
|
|
148
|
+
|
|
149
|
+
```mermaid
|
|
150
|
+
sequenceDiagram
|
|
151
|
+
User->>API: Submit form
|
|
152
|
+
API->>Validator: Validate input
|
|
153
|
+
|
|
154
|
+
break Input invalid
|
|
155
|
+
API-->>User: 400 Bad Request
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
API->>Database: Save data
|
|
159
|
+
Database-->>API: Success
|
|
160
|
+
API-->>User: 200 OK
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Notes
|
|
164
|
+
|
|
165
|
+
### Note over single participant
|
|
166
|
+
```mermaid
|
|
167
|
+
sequenceDiagram
|
|
168
|
+
User->>API: Request
|
|
169
|
+
Note over API: Validates JWT token
|
|
170
|
+
API-->>User: Response
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Note spanning participants
|
|
174
|
+
```mermaid
|
|
175
|
+
sequenceDiagram
|
|
176
|
+
Frontend->>API: Request
|
|
177
|
+
Note over Frontend,API: HTTPS encrypted
|
|
178
|
+
API-->>Frontend: Response
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Right/Left notes
|
|
182
|
+
```mermaid
|
|
183
|
+
sequenceDiagram
|
|
184
|
+
User->>System: Action
|
|
185
|
+
Note right of System: Logs to database
|
|
186
|
+
System-->>User: Response
|
|
187
|
+
Note left of User: Updates UI
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## Sequence Numbers
|
|
191
|
+
|
|
192
|
+
Automatically number messages:
|
|
193
|
+
|
|
194
|
+
```mermaid
|
|
195
|
+
sequenceDiagram
|
|
196
|
+
autonumber
|
|
197
|
+
|
|
198
|
+
User->>Frontend: Login
|
|
199
|
+
Frontend->>API: Authenticate
|
|
200
|
+
API->>Database: Verify credentials
|
|
201
|
+
Database-->>API: User data
|
|
202
|
+
API-->>Frontend: JWT token
|
|
203
|
+
Frontend-->>User: Success
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Links and Tooltips
|
|
207
|
+
|
|
208
|
+
Add clickable links:
|
|
209
|
+
|
|
210
|
+
```mermaid
|
|
211
|
+
sequenceDiagram
|
|
212
|
+
participant A as Service A
|
|
213
|
+
link A: Dashboard @ https://dashboard.example.com
|
|
214
|
+
link A: API Docs @ https://docs.example.com
|
|
215
|
+
|
|
216
|
+
A->>B: Message
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
## Comprehensive Example: User Authentication Flow
|
|
220
|
+
|
|
221
|
+
```mermaid
|
|
222
|
+
sequenceDiagram
|
|
223
|
+
autonumber
|
|
224
|
+
actor User
|
|
225
|
+
participant Frontend
|
|
226
|
+
participant AuthAPI
|
|
227
|
+
participant Database
|
|
228
|
+
participant Redis
|
|
229
|
+
participant EmailService
|
|
230
|
+
|
|
231
|
+
User->>+Frontend: Enter credentials
|
|
232
|
+
Frontend->>+AuthAPI: POST /auth/login
|
|
233
|
+
|
|
234
|
+
AuthAPI->>+Database: Query user by email
|
|
235
|
+
Database-->>-AuthAPI: User record
|
|
236
|
+
|
|
237
|
+
alt User not found
|
|
238
|
+
AuthAPI-->>Frontend: 404 User not found
|
|
239
|
+
Frontend-->>User: Show error
|
|
240
|
+
else User found
|
|
241
|
+
AuthAPI->>AuthAPI: Verify password hash
|
|
242
|
+
|
|
243
|
+
alt Invalid password
|
|
244
|
+
AuthAPI->>Database: Increment failed attempts
|
|
245
|
+
|
|
246
|
+
opt Failed attempts > 5
|
|
247
|
+
AuthAPI->>Database: Lock account
|
|
248
|
+
AuthAPI->>EmailService: Send security alert
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
AuthAPI-->>Frontend: 401 Invalid credentials
|
|
252
|
+
Frontend-->>User: Show error
|
|
253
|
+
else Valid password
|
|
254
|
+
AuthAPI->>AuthAPI: Generate JWT token
|
|
255
|
+
AuthAPI->>+Redis: Store session
|
|
256
|
+
Redis-->>-AuthAPI: Confirm
|
|
257
|
+
|
|
258
|
+
par Update login metadata
|
|
259
|
+
AuthAPI->>Database: Update last_login
|
|
260
|
+
and Track analytics
|
|
261
|
+
AuthAPI->>Database: Log login event
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
AuthAPI-->>-Frontend: 200 OK + JWT token
|
|
265
|
+
Frontend->>Frontend: Store token in localStorage
|
|
266
|
+
Frontend-->>-User: Redirect to dashboard
|
|
267
|
+
|
|
268
|
+
opt First login
|
|
269
|
+
EmailService->>User: Welcome email
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
## API Request/Response Example
|
|
276
|
+
|
|
277
|
+
```mermaid
|
|
278
|
+
sequenceDiagram
|
|
279
|
+
autonumber
|
|
280
|
+
participant Client
|
|
281
|
+
participant Gateway
|
|
282
|
+
participant AuthService
|
|
283
|
+
participant UserService
|
|
284
|
+
participant Database
|
|
285
|
+
|
|
286
|
+
Client->>+Gateway: GET /api/users/123
|
|
287
|
+
Note over Gateway: Rate limiting check
|
|
288
|
+
|
|
289
|
+
Gateway->>+AuthService: Validate JWT
|
|
290
|
+
AuthService->>AuthService: Verify signature
|
|
291
|
+
|
|
292
|
+
alt Token invalid or expired
|
|
293
|
+
AuthService-->>Gateway: 401 Unauthorized
|
|
294
|
+
Gateway-->>Client: 401 Unauthorized
|
|
295
|
+
else Token valid
|
|
296
|
+
AuthService-->>-Gateway: User context
|
|
297
|
+
|
|
298
|
+
Gateway->>+UserService: GET /users/123
|
|
299
|
+
UserService->>+Database: SELECT * FROM users WHERE id=123
|
|
300
|
+
Database-->>-UserService: User record
|
|
301
|
+
|
|
302
|
+
alt User not found
|
|
303
|
+
UserService-->>Gateway: 404 Not Found
|
|
304
|
+
Gateway-->>Client: 404 Not Found
|
|
305
|
+
else User found
|
|
306
|
+
UserService-->>-Gateway: 200 OK + User data
|
|
307
|
+
Gateway-->>-Client: 200 OK + User data
|
|
308
|
+
end
|
|
309
|
+
end
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## Microservices Communication
|
|
313
|
+
|
|
314
|
+
```mermaid
|
|
315
|
+
sequenceDiagram
|
|
316
|
+
actor User
|
|
317
|
+
participant Gateway
|
|
318
|
+
participant OrderService
|
|
319
|
+
participant PaymentService
|
|
320
|
+
participant InventoryService
|
|
321
|
+
participant NotificationService
|
|
322
|
+
participant MessageQueue
|
|
323
|
+
|
|
324
|
+
User->>+Gateway: POST /orders
|
|
325
|
+
Gateway->>+OrderService: Create order
|
|
326
|
+
|
|
327
|
+
OrderService->>+InventoryService: Check stock
|
|
328
|
+
InventoryService-->>-OrderService: Stock available
|
|
329
|
+
|
|
330
|
+
break Insufficient stock
|
|
331
|
+
OrderService-->>Gateway: 400 Out of stock
|
|
332
|
+
Gateway-->>User: Error message
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
OrderService->>OrderService: Reserve order
|
|
336
|
+
OrderService->>+PaymentService: Charge customer
|
|
337
|
+
|
|
338
|
+
alt Payment successful
|
|
339
|
+
PaymentService-->>-OrderService: Payment confirmed
|
|
340
|
+
OrderService->>MessageQueue: Publish OrderConfirmed event
|
|
341
|
+
|
|
342
|
+
par Async processing
|
|
343
|
+
MessageQueue->>InventoryService: Reduce stock
|
|
344
|
+
and
|
|
345
|
+
MessageQueue->>NotificationService: Send confirmation
|
|
346
|
+
NotificationService->>User: Email confirmation
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
OrderService-->>-Gateway: 201 Created
|
|
350
|
+
Gateway-->>User: Order confirmed
|
|
351
|
+
else Payment failed
|
|
352
|
+
PaymentService-->>OrderService: Payment declined
|
|
353
|
+
OrderService->>OrderService: Release reservation
|
|
354
|
+
OrderService-->>Gateway: 402 Payment Required
|
|
355
|
+
Gateway-->>User: Payment failed
|
|
356
|
+
end
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
## Best Practices
|
|
360
|
+
|
|
361
|
+
1. **Order participants logically** - Typically: User → Frontend → Backend → Database
|
|
362
|
+
2. **Use activations** - Shows when components are actively processing
|
|
363
|
+
3. **Group related logic** - Use alt/opt/par to organize conditional flows
|
|
364
|
+
4. **Add descriptive notes** - Explain complex logic or important details
|
|
365
|
+
5. **Keep diagrams focused** - One scenario per diagram
|
|
366
|
+
6. **Number messages** - Use autonumber for complex flows
|
|
367
|
+
7. **Show error paths** - Document failure scenarios with alt/else
|
|
368
|
+
8. **Indicate async operations** - Use open arrows for fire-and-forget messages
|
|
369
|
+
|
|
370
|
+
## Common Use Cases
|
|
371
|
+
|
|
372
|
+
### Authentication
|
|
373
|
+
- Login flows
|
|
374
|
+
- OAuth/SSO flows
|
|
375
|
+
- Token refresh
|
|
376
|
+
- Password reset
|
|
377
|
+
|
|
378
|
+
### API Operations
|
|
379
|
+
- CRUD operations
|
|
380
|
+
- Search and filtering
|
|
381
|
+
- Batch processing
|
|
382
|
+
- Webhook handling
|
|
383
|
+
|
|
384
|
+
### System Integration
|
|
385
|
+
- Microservice communication
|
|
386
|
+
- Third-party API calls
|
|
387
|
+
- Message queue processing
|
|
388
|
+
- Event-driven architecture
|
|
389
|
+
|
|
390
|
+
### Business Processes
|
|
391
|
+
- Order fulfillment
|
|
392
|
+
- Payment processing
|
|
393
|
+
- Approval workflows
|
|
394
|
+
- Notification chains
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
# Mermaid Troubleshooting Guide
|
|
2
|
+
|
|
3
|
+
Common issues and solutions when working with Mermaid diagrams.
|
|
4
|
+
|
|
5
|
+
## Diagram Won't Render
|
|
6
|
+
|
|
7
|
+
### Issue: Blank output or error message
|
|
8
|
+
|
|
9
|
+
**Symptoms:**
|
|
10
|
+
- GitHub shows blank space where diagram should be
|
|
11
|
+
- Mermaid Live shows "Syntax Error"
|
|
12
|
+
- VS Code preview doesn't display diagram
|
|
13
|
+
|
|
14
|
+
**Solutions:**
|
|
15
|
+
|
|
16
|
+
1. **Check diagram type declaration:**
|
|
17
|
+
```mermaid
|
|
18
|
+
❌ classdiagram # Wrong - typo
|
|
19
|
+
❌ class-diagram # Wrong - hyphen
|
|
20
|
+
✅ classDiagram # Correct
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
2. **Verify syntax at mermaid.live:**
|
|
24
|
+
- Copy your diagram code
|
|
25
|
+
- Paste at https://mermaid.live
|
|
26
|
+
- Check error messages in the editor
|
|
27
|
+
|
|
28
|
+
3. **Check for special characters:**
|
|
29
|
+
```mermaid
|
|
30
|
+
❌ class User {name} # Braces break syntax
|
|
31
|
+
✅ class User {+name} # Add visibility modifier
|
|
32
|
+
|
|
33
|
+
❌ A[Order {id}] # Braces in label
|
|
34
|
+
✅ A["Order {id}"] # Quote the label
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
4. **Ensure proper indentation (especially in YAML/Markdown):**
|
|
38
|
+
````markdown
|
|
39
|
+
❌ Wrong:
|
|
40
|
+
```mermaid
|
|
41
|
+
classDiagram
|
|
42
|
+
class User
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
✅ Correct:
|
|
46
|
+
```mermaid
|
|
47
|
+
classDiagram
|
|
48
|
+
class User
|
|
49
|
+
```
|
|
50
|
+
````
|
|
51
|
+
|
|
52
|
+
## Arrows Not Connecting
|
|
53
|
+
|
|
54
|
+
### Issue: Arrows don't connect to nodes
|
|
55
|
+
|
|
56
|
+
**Symptoms:**
|
|
57
|
+
- Arrow appears but doesn't touch nodes
|
|
58
|
+
- Error: "Node not found"
|
|
59
|
+
- Disconnected elements
|
|
60
|
+
|
|
61
|
+
**Solutions:**
|
|
62
|
+
|
|
63
|
+
1. **Match node IDs exactly (case-sensitive):**
|
|
64
|
+
```mermaid
|
|
65
|
+
❌ flowchart TD
|
|
66
|
+
Start --> process # 'process' doesn't exist
|
|
67
|
+
Process[Do work] # 'Process' defined (capital P)
|
|
68
|
+
|
|
69
|
+
✅ flowchart TD
|
|
70
|
+
Start --> Process
|
|
71
|
+
Process[Do work]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
2. **Define nodes before connecting:**
|
|
75
|
+
```mermaid
|
|
76
|
+
❌ sequenceDiagram
|
|
77
|
+
User->>API # API not defined
|
|
78
|
+
|
|
79
|
+
✅ sequenceDiagram
|
|
80
|
+
participant User
|
|
81
|
+
participant API
|
|
82
|
+
User->>API
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
3. **Use correct arrow syntax for diagram type:**
|
|
86
|
+
```mermaid
|
|
87
|
+
# Flowchart
|
|
88
|
+
A --> B # Standard connection
|
|
89
|
+
|
|
90
|
+
# Sequence diagram
|
|
91
|
+
A->>B # Sync message
|
|
92
|
+
A-->>B # Response
|
|
93
|
+
|
|
94
|
+
# Class diagram
|
|
95
|
+
A --> B # Association
|
|
96
|
+
A --|> B # Inheritance
|
|
97
|
+
A --* B # Composition
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Layout Issues
|
|
101
|
+
|
|
102
|
+
### Issue: Diagram layout looks wrong or crowded
|
|
103
|
+
|
|
104
|
+
**Solutions:**
|
|
105
|
+
|
|
106
|
+
1. **Try different direction:**
|
|
107
|
+
```mermaid
|
|
108
|
+
flowchart TD # Top to bottom (default)
|
|
109
|
+
flowchart LR # Left to right
|
|
110
|
+
flowchart RL # Right to left
|
|
111
|
+
flowchart BT # Bottom to top
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
2. **Use subgraphs to group elements:**
|
|
115
|
+
```mermaid
|
|
116
|
+
flowchart TD
|
|
117
|
+
subgraph Frontend
|
|
118
|
+
A[React App]
|
|
119
|
+
B[Redux Store]
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
subgraph Backend
|
|
123
|
+
C[API Server]
|
|
124
|
+
D[Database]
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
A --> C
|
|
128
|
+
C --> D
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
3. **Split complex diagrams:**
|
|
132
|
+
```mermaid
|
|
133
|
+
# Instead of one massive diagram
|
|
134
|
+
# Create multiple focused diagrams:
|
|
135
|
+
# - diagram-overview.mmd
|
|
136
|
+
# - diagram-auth-flow.mmd
|
|
137
|
+
# - diagram-payment-flow.mmd
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
4. **Add invisible links to force layout:**
|
|
141
|
+
```mermaid
|
|
142
|
+
flowchart LR
|
|
143
|
+
A --> B
|
|
144
|
+
B --> C
|
|
145
|
+
A ~~~ D # Invisible link to align D with A
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
## Syntax Errors
|
|
149
|
+
|
|
150
|
+
### Issue: Specific syntax not working
|
|
151
|
+
|
|
152
|
+
**Common mistakes:**
|
|
153
|
+
|
|
154
|
+
1. **Missing spaces around arrows:**
|
|
155
|
+
```mermaid
|
|
156
|
+
❌ A-->B # Works but harder to read
|
|
157
|
+
✅ A --> B # Better
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
2. **Wrong relationship syntax (class diagrams):**
|
|
161
|
+
```mermaid
|
|
162
|
+
❌ User -> Order # Wrong syntax
|
|
163
|
+
✅ User --> Order # Association
|
|
164
|
+
✅ User --|> Order # Inheritance
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
3. **Incorrect cardinality (ERD):**
|
|
168
|
+
```mermaid
|
|
169
|
+
❌ USER 1--* ORDER # Wrong
|
|
170
|
+
✅ USER ||--o{ ORDER # One to many
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
4. **Missing participant declaration (sequence):**
|
|
174
|
+
```mermaid
|
|
175
|
+
❌ sequenceDiagram
|
|
176
|
+
User->>API # Implicit participant (works but not best practice)
|
|
177
|
+
|
|
178
|
+
✅ sequenceDiagram
|
|
179
|
+
participant User
|
|
180
|
+
participant API
|
|
181
|
+
User->>API
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Rendering Performance
|
|
185
|
+
|
|
186
|
+
### Issue: Diagram is slow to render or times out
|
|
187
|
+
|
|
188
|
+
**Solutions:**
|
|
189
|
+
|
|
190
|
+
1. **Reduce complexity:**
|
|
191
|
+
- Limit to 15-20 nodes per diagram
|
|
192
|
+
- Split into multiple diagrams
|
|
193
|
+
- Remove unnecessary details
|
|
194
|
+
|
|
195
|
+
2. **Avoid deep nesting:**
|
|
196
|
+
```mermaid
|
|
197
|
+
❌ flowchart TD
|
|
198
|
+
A --> B
|
|
199
|
+
B --> C
|
|
200
|
+
C --> D
|
|
201
|
+
D --> E
|
|
202
|
+
# Too deep!
|
|
203
|
+
|
|
204
|
+
✅ flowchart TD
|
|
205
|
+
A --> B --> C
|
|
206
|
+
C --> D --> E
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
3. **Use ELK layout for complex diagrams:**
|
|
210
|
+
```mermaid
|
|
211
|
+
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
|
|
212
|
+
flowchart TD
|
|
213
|
+
# Complex diagram
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Labels and Text Issues
|
|
217
|
+
|
|
218
|
+
### Issue: Text not displaying correctly
|
|
219
|
+
|
|
220
|
+
**Solutions:**
|
|
221
|
+
|
|
222
|
+
1. **Quote labels with special characters:**
|
|
223
|
+
```mermaid
|
|
224
|
+
❌ A[User: Admin] # Colon breaks it
|
|
225
|
+
✅ A["User: Admin"] # Quote it
|
|
226
|
+
|
|
227
|
+
❌ B[Price: $100] # Dollar sign breaks it
|
|
228
|
+
✅ B["Price: $100"] # Quote it
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
2. **Use HTML entities for special characters:**
|
|
232
|
+
```mermaid
|
|
233
|
+
A["Price: #36;100"] # $ = #36;
|
|
234
|
+
B["Name: #60;User#62;"] # < and > = #60; #62;
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
3. **Use `<br>` for line breaks:**
|
|
238
|
+
```mermaid
|
|
239
|
+
A["First Line<br>Second Line<br>Third Line"]
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
4. **Escape backticks in code labels:**
|
|
243
|
+
```mermaid
|
|
244
|
+
A["`function() { return 'code'; }`"]
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Export Issues
|
|
248
|
+
|
|
249
|
+
### Issue: Exported diagram looks different from preview
|
|
250
|
+
|
|
251
|
+
**Solutions:**
|
|
252
|
+
|
|
253
|
+
1. **Use Mermaid Live for consistent exports:**
|
|
254
|
+
- Go to https://mermaid.live
|
|
255
|
+
- Paste your diagram
|
|
256
|
+
- Export as PNG or SVG
|
|
257
|
+
|
|
258
|
+
2. **Use Mermaid CLI for batch exports:**
|
|
259
|
+
```bash
|
|
260
|
+
npm install -g @mermaid-js/mermaid-cli
|
|
261
|
+
mmdc -i diagram.mmd -o diagram.png
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
3. **Specify theme in diagram:**
|
|
265
|
+
```mermaid
|
|
266
|
+
%%{init: {'theme':'base'}}%%
|
|
267
|
+
flowchart TD
|
|
268
|
+
A --> B
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
## GitHub/GitLab Rendering
|
|
272
|
+
|
|
273
|
+
### Issue: Diagram doesn't render on GitHub
|
|
274
|
+
|
|
275
|
+
**Solutions:**
|
|
276
|
+
|
|
277
|
+
1. **Ensure proper code fence:**
|
|
278
|
+
````markdown
|
|
279
|
+
❌ '''mermaid # Wrong quote type
|
|
280
|
+
|
|
281
|
+
✅ ```mermaid # Correct
|
|
282
|
+
classDiagram
|
|
283
|
+
```
|
|
284
|
+
````
|
|
285
|
+
|
|
286
|
+
2. **Check file extension:**
|
|
287
|
+
- `.md` or `.markdown` files render automatically
|
|
288
|
+
- `.mmd` files need to be viewed raw
|
|
289
|
+
|
|
290
|
+
3. **Verify syntax in Mermaid Live first:**
|
|
291
|
+
- GitHub's Mermaid version may lag behind
|
|
292
|
+
- Test at https://mermaid.live
|
|
293
|
+
|
|
294
|
+
## Version Compatibility
|
|
295
|
+
|
|
296
|
+
### Issue: Diagram works locally but not in production
|
|
297
|
+
|
|
298
|
+
**Solutions:**
|
|
299
|
+
|
|
300
|
+
1. **Check Mermaid version:**
|
|
301
|
+
- Different platforms support different versions
|
|
302
|
+
- GitHub: ~v9.x-10.x
|
|
303
|
+
- GitLab: ~v9.x
|
|
304
|
+
- Notion: ~v8.x
|
|
305
|
+
|
|
306
|
+
2. **Use stable syntax:**
|
|
307
|
+
- Avoid newest features if targeting older platforms
|
|
308
|
+
- Stick to core syntax that works everywhere
|
|
309
|
+
|
|
310
|
+
3. **Test on target platform:**
|
|
311
|
+
- Create test file in actual environment
|
|
312
|
+
- Validate before committing
|
|
313
|
+
|
|
314
|
+
## Quick Debugging Checklist
|
|
315
|
+
|
|
316
|
+
When a diagram breaks, check:
|
|
317
|
+
|
|
318
|
+
- [ ] Diagram type spelled correctly (case-sensitive)
|
|
319
|
+
- [ ] All node IDs match exactly (case-sensitive)
|
|
320
|
+
- [ ] Arrows use correct syntax for diagram type
|
|
321
|
+
- [ ] Special characters are quoted or escaped
|
|
322
|
+
- [ ] No typos in relationship symbols (-->, --|>, etc.)
|
|
323
|
+
- [ ] Syntax validates at https://mermaid.live
|
|
324
|
+
- [ ] Code fence uses triple backticks: ```mermaid
|
|
325
|
+
- [ ] Indentation is consistent
|
|
326
|
+
- [ ] No unescaped braces {} in labels
|
|
327
|
+
- [ ] All participants declared (sequence diagrams)
|
|
328
|
+
|
|
329
|
+
## Still Stuck?
|
|
330
|
+
|
|
331
|
+
1. **Copy error-free example** from this skill's references
|
|
332
|
+
2. **Modify incrementally** to match your needs
|
|
333
|
+
3. **Test after each change** to isolate the problem
|
|
334
|
+
4. **Check official docs:** https://mermaid.js.org
|
|
335
|
+
5. **Search GitHub issues:** https://github.com/mermaid-js/mermaid/issues
|