antigravity-ide 4.2.0 → 4.2.1
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/.agent/.shared/{technical/ai-master → ai-master}/README.md +1 -12
- package/.agent/.shared/{technical/api-standards → api-standards}/README.md +1 -12
- package/.agent/.shared/compliance/README.md +19 -0
- package/.agent/.shared/{technical/database-master → database-master}/README.md +2 -12
- package/.agent/.shared/{core/design-philosophy → design-philosophy}/README.md +1 -12
- package/.agent/.shared/design-system/README.md +18 -0
- package/.agent/.shared/domain-blueprints/README.md +18 -0
- package/.agent/.shared/dx-toolkit/README.md +19 -0
- package/.agent/.shared/i18n-master/README.md +18 -0
- package/.agent/.shared/infra-blueprints/README.md +18 -0
- package/.agent/.shared/metrics/README.md +17 -0
- package/.agent/.shared/resilience-patterns/README.md +19 -0
- package/.agent/.shared/security-armor/README.md +25 -0
- package/.agent/.shared/{technical/seo-master → seo-master}/README.md +1 -12
- package/.agent/.shared/testing-master/README.md +20 -0
- package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/README.md +1 -12
- package/.agent/.shared/vitals-templates/README.md +18 -0
- package/.agent/ARCHITECTURE.md +7 -10
- package/.agent/ARCHITECTURE.vi.md +8 -8
- package/.agent/RESOURCES.md +1 -0
- package/.agent/agents/accessibility-expert.md +22 -0
- package/.agent/agents/api-architect.md +22 -0
- package/.agent/agents/backend-specialist.eco.md +19 -0
- package/.agent/agents/backend-specialist.instant.md +19 -0
- package/.agent/agents/backend-specialist.md +19 -154
- package/.agent/agents/cloud-architect.md +189 -108
- package/.agent/agents/codebase-expert.md +23 -0
- package/.agent/agents/compliance-expert.md +22 -0
- package/.agent/agents/data-scientist.md +22 -0
- package/.agent/agents/debugger.eco.md +20 -0
- package/.agent/agents/debugger.instant.md +20 -0
- package/.agent/agents/debugger.md +182 -83
- package/.agent/agents/deep-thinker.ultra.md +23 -0
- package/.agent/agents/devex-optimizer.md +22 -0
- package/.agent/agents/devops-architect.md +22 -0
- package/.agent/agents/documentation-writer.md +72 -125
- package/.agent/agents/frontend-specialist.eco.md +19 -0
- package/.agent/agents/frontend-specialist.instant.md +19 -0
- package/.agent/agents/frontend-specialist.md +7 -40
- package/.agent/agents/game-developer.md +116 -111
- package/.agent/agents/growth-engineer.md +22 -0
- package/.agent/agents/i18n-specialist.md +21 -0
- package/.agent/agents/legacy-modernizer.md +22 -0
- package/.agent/agents/microservices-specialist.md +22 -0
- package/.agent/agents/mobile-developer.md +321 -108
- package/.agent/agents/motion-designer.md +22 -0
- package/.agent/agents/orchestrator.creative.md +28 -0
- package/.agent/agents/orchestrator.eco.md +29 -0
- package/.agent/agents/orchestrator.instant.md +29 -0
- package/.agent/agents/orchestrator.md +366 -106
- package/.agent/agents/orchestrator.ultra.md +28 -0
- package/.agent/agents/performance-benchmarker.md +22 -0
- package/.agent/agents/performance-optimizer.md +136 -105
- package/.agent/agents/project-planner.eco.md +19 -0
- package/.agent/agents/project-planner.instant.md +19 -0
- package/.agent/agents/project-planner.md +39 -132
- package/.agent/agents/quality-inspector.md +32 -136
- package/.agent/agents/security-auditor.md +15 -138
- package/.agent/agents/security-pentester.md +22 -0
- package/.agent/agents/seo-specialist.md +72 -118
- package/.agent/agents/serverless-expert.md +22 -0
- package/.agent/agents/test-engineer.md +11 -142
- package/.agent/fastcode_index.json +1038 -0
- package/.agent/mcp_config.json +24 -0
- package/.agent/rules/GEMINI.eco.md +37 -0
- package/.agent/rules/GEMINI.instant.md +37 -0
- package/.agent/rules/GEMINI.md +31 -62
- package/.agent/rules/api-spec.md +28 -0
- package/.agent/rules/code-quality.md +3 -34
- package/.agent/rules/database.md +24 -0
- package/.agent/rules/devops.md +23 -0
- package/.agent/rules/frontend.md +3 -3
- package/.agent/rules/growth-strategy.md +22 -0
- package/.agent/rules/logging-monitoring.md +22 -0
- package/.agent/rules/quality-assurance.md +22 -0
- package/.agent/rules/strict-protocol.md +3 -44
- package/.agent/rules/system-reasoning.md +20 -0
- package/.agent/rules/system-update.md +3 -56
- package/.agent/rules/ui-design.md +23 -0
- package/.agent/rules/ux-patterns.md +23 -0
- package/.agent/scripts/auto_preview.py +148 -0
- package/.agent/scripts/checklist.py +252 -0
- package/.agent/scripts/session_manager.py +120 -0
- package/.agent/scripts/simulation_install.js +59 -0
- package/.agent/scripts/sync_to_global.py +78 -0
- package/.agent/scripts/translate_workflows.py +53 -0
- package/.agent/scripts/verify_all.py +327 -0
- package/.agent/scripts/verify_shared_modules.js +126 -0
- package/.agent/skills/agent-backend-patterns/SKILL.md +6 -13
- package/.agent/skills/ai-engineer/SKILL.md +16 -29
- package/.agent/skills/api-documenter/SKILL.md +4 -4
- package/.agent/skills/app-builder/SKILL.md +1 -1
- package/.agent/skills/app-builder/tech-stack.md +2 -2
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +79 -39
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +75 -53
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +119 -56
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +94 -61
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +82 -56
- package/.agent/skills/cloud-architect-master/SKILL.md +4 -9
- package/.agent/skills/cro-expert-kit/SKILL.md +4 -9
- package/.agent/skills/database-migration/SKILL.md +3 -9
- package/.agent/skills/deployment-engineer/SKILL.md +3 -9
- package/.agent/skills/fastcode-search/SKILL.md +46 -0
- package/.agent/skills/fastcode-search/fastcode_config.example.json +17 -0
- package/.agent/skills/frontend-design/ux-psychology.md +585 -10
- package/.agent/skills/frontend-trends-2026/SKILL.md +78 -0
- package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +42 -0
- package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +32 -0
- package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +27 -0
- package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
- package/.agent/skills/game-development/2d-games/SKILL.md +2 -4
- package/.agent/skills/game-development/3d-games/SKILL.md +2 -4
- package/.agent/skills/game-development/SKILL.md +149 -18
- package/.agent/skills/game-development/game-art/SKILL.md +2 -4
- package/.agent/skills/game-development/game-audio/SKILL.md +2 -4
- package/.agent/skills/game-development/game-design/SKILL.md +2 -4
- package/.agent/skills/game-development/mobile-games/SKILL.md +2 -4
- package/.agent/skills/game-development/multiplayer/SKILL.md +2 -4
- package/.agent/skills/game-development/pc-games/SKILL.md +2 -4
- package/.agent/skills/game-development/vr-ar/SKILL.md +2 -4
- package/.agent/skills/game-development/web-games/SKILL.md +2 -4
- package/.agent/skills/geo-fundamentals/SKILL.md +136 -9
- package/.agent/skills/git-collaboration-master/SKILL.md +4 -9
- package/.agent/skills/i18n-localization/SKILL.md +118 -10
- package/.agent/skills/incident-responder/SKILL.md +6 -9
- package/.agent/skills/legacy-modernizer/SKILL.md +4 -9
- package/.agent/skills/lint-and-validate/scripts/lint_runner.py +14 -2
- package/.agent/skills/mcp-builder/SKILL.md +164 -21
- package/.agent/skills/mobile-design/SKILL.md +369 -21
- package/.agent/skills/mobile-design/mobile-performance.md +1 -1
- package/.agent/skills/modern-web-architect/SKILL.md +6 -12
- package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
- package/.agent/skills/penetration-tester-master/SKILL.md +4 -9
- package/.agent/skills/performance-engineer/SKILL.md +5 -4
- package/.agent/skills/production-code-audit/SKILL.md +0 -6
- package/.agent/skills/rust-pro/SKILL.md +177 -0
- package/.agent/skills/security-auditor/SKILL.md +27 -35
- package/.agent/skills/seo-expert-kit/SKILL.md +4 -9
- package/.agent/skills/tdd-master-workflow/SKILL.md +3 -9
- package/.agent/workflows/audit.md +16 -30
- package/.agent/workflows/brainstorm.md +96 -33
- package/.agent/workflows/create.md +45 -37
- package/.agent/workflows/debug.md +84 -45
- package/.agent/workflows/deep-security-audit.md +9 -0
- package/.agent/workflows/deploy.md +158 -33
- package/.agent/workflows/document.md +15 -38
- package/.agent/workflows/enhance.md +48 -33
- package/.agent/workflows/growth-max.md +9 -0
- package/.agent/workflows/monitor.md +14 -35
- package/.agent/workflows/orchestrate.md +218 -31
- package/.agent/workflows/performance-max.md +9 -0
- package/.agent/workflows/plan.md +70 -39
- package/.agent/workflows/security.md +14 -35
- package/.agent/workflows/seo.md +16 -39
- package/.agent/workflows/status.md +72 -33
- package/.agent/workflows/test.md +127 -30
- package/.agent/workflows/ui-ux-pro-max.md +283 -24
- package/.editorconfig +21 -0
- package/.gitattributes +7 -0
- package/CHANGELOG.md +32 -0
- package/ERRORS.md +67 -0
- package/{.agent/GEMINI.md → GEMINI.md} +5 -4
- package/LICENSE +8 -22
- package/README.md +72 -102
- package/README.vi.md +110 -90
- package/action.yml +32 -0
- package/antigravity-ide-logo.png +0 -0
- package/antigravity-ide-logo.svg +24 -0
- package/assets/skills-bundle.json +1 -0
- package/cli/create.js +413 -275
- package/cli/index.js +24 -28
- package/cli/lib/auto-update.js +21 -14
- package/cli/logic/skill-definitions.js +39 -0
- package/cli/manifest.js +524 -0
- package/cli/prompts.js +145 -151
- package/cli/skills/fastcode.js +181 -0
- package/docs/AGENTS_GUIDE.vi.md +45 -38
- package/docs/AGENT_FLOW.md +608 -0
- package/docs/CONTRIBUTING.md +46 -0
- package/docs/CONTRIBUTING.vi.md +3 -12
- package/docs/COPYRIGHT.md +57 -0
- package/docs/DEPLOYMENT.md +77 -0
- package/docs/{GEMINI_USAGE.md → GEMINI_GUIDE.md} +6 -6
- package/docs/GLOSSARY.md +109 -0
- package/docs/GLOSSARY.vi.md +30 -49
- package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
- package/docs/MASTER_GUIDE.md +103 -0
- package/docs/OPERATIONAL_FLOW.md +147 -0
- package/docs/OPERATIONAL_FLOW.vi.md +0 -15
- package/docs/PLAN-upgrade-core-architecture.md +71 -0
- package/docs/{PUBLISHING_GUIDE.md → PUBLISHING.md} +3 -31
- package/docs/RULES_GUIDE.vi.md +31 -67
- package/docs/SHARED_LIBRARY_GUIDE.vi.md +22 -18
- package/docs/SKILLS.md +610 -0
- package/docs/SKILLS_GUIDE.vi.md +32 -118
- package/docs/TROUBLESHOOTING.md +43 -0
- package/docs/TROUBLESHOOTING.vi.md +2 -10
- package/docs/WORKFLOW_GUIDE.vi.md +9 -57
- package/jest.config.js +8 -0
- package/package.json +8 -31
- package/scripts/bump.js +93 -0
- package/scripts/bundle-skills.js +59 -0
- package/scripts/internal/automation/auto-release.js +177 -0
- package/scripts/internal/fractalize-skills.js +89 -0
- package/scripts/internal/generate-skill-definitions.js +134 -0
- package/scripts/internal/internal/update-docs.js +115 -0
- package/scripts/internal/refactor-skill-content.js +127 -0
- package/scripts/internal/rename-skills.js +96 -0
- package/scripts/internal/sync-skills.js +112 -0
- package/scripts/internal/update-frontmatter-names.js +99 -0
- package/scripts/internal/verification/audit-dna.js +56 -0
- package/scripts/internal/verification/audit-skills.js +65 -0
- package/setup.js +114 -147
- package/web/src/app/docs/guide/examples/brainstorm/page.mdx +91 -0
- package/web/src/app/docs/guide/examples/create/page.mdx +84 -0
- package/web/src/app/docs/guide/examples/debugging/page.mdx +83 -0
- package/web/src/app/docs/guide/examples/deployment/page.mdx +93 -0
- package/web/src/app/docs/guide/examples/new-feature/page.mdx +102 -0
- package/web/src/app/docs/guide/examples/orchestration/page.mdx +99 -0
- package/web/src/app/docs/guide/examples/plan/page.mdx +76 -0
- package/web/src/app/docs/guide/examples/preview/page.mdx +77 -0
- package/web/src/app/docs/guide/examples/status/page.mdx +78 -0
- package/web/src/app/docs/guide/examples/test/page.mdx +80 -0
- package/web/src/app/docs/guide/examples/ui-design/page.mdx +90 -0
- package/web/src/components/mdx/Callout.tsx +60 -0
- package/web/src/components/mdx/FeatureGrid.tsx +38 -0
- package/web/src/components/mdx/ProTips.tsx +29 -0
- package/web/src/components/mdx/StepList.tsx +33 -0
- package/web/src/components/mdx/Terminal.tsx +58 -0
- package/web/src/components/mdx/index.ts +5 -0
- package/web/src/mdx-components.tsx +98 -0
- package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +0 -202
- package/.agent/skills/brand-guidelines-anthropic/SKILL.md +0 -26
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +0 -5
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +0 -14
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +0 -6
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +0 -7
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +0 -6
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +0 -6
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +0 -7
- package/.agent/skills/internal-comms-anthropic/LICENSE.txt +0 -202
- package/.agent/skills/internal-comms-anthropic/SKILL.md +0 -33
- package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +0 -47
- package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +0 -65
- package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +0 -30
- package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +0 -16
- package/.agent/skills/last30days/tests/__init__.py +0 -1
- package/.agent/skills/last30days/tests/test_cache.py +0 -59
- package/.agent/skills/last30days/tests/test_dates.py +0 -114
- package/.agent/skills/last30days/tests/test_dedupe.py +0 -111
- package/.agent/skills/last30days/tests/test_models.py +0 -135
- package/.agent/skills/last30days/tests/test_normalize.py +0 -138
- package/.agent/skills/last30days/tests/test_render.py +0 -116
- package/.agent/skills/last30days/tests/test_score.py +0 -168
- package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +0 -57
- package/.agent/skills/loki-mode/.github/workflows/claude.yml +0 -50
- package/.agent/skills/loki-mode/.github/workflows/release.yml +0 -128
- package/.agent/skills/loki-mode/tests/run-all-tests.sh +0 -78
- package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +0 -348
- package/.agent/skills/loki-mode/tests/test-bootstrap.sh +0 -196
- package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +0 -389
- package/.agent/skills/loki-mode/tests/test-state-recovery.sh +0 -393
- package/.agent/skills/loki-mode/tests/test-task-queue.sh +0 -396
- package/.agent/skills/loki-mode/tests/test-wrapper.sh +0 -314
- package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +0 -379
- package/cli/logic/product-skills.js +0 -58
- /package/.agent/.shared/{technical/ai-master → ai-master}/best_patterns.md +0 -0
- /package/.agent/.shared/{technical/ai-master → ai-master}/checklists/prompt_audit.md +0 -0
- /package/.agent/.shared/{technical/ai-master → ai-master}/presets/model_configs.json +0 -0
- /package/.agent/.shared/{technical/api-standards → api-standards}/data +0 -0
- /package/.agent/.shared/{technical/api-standards → api-standards}/endpoints_naming.md +0 -0
- /package/.agent/.shared/{technical/api-standards → api-standards}/error_codes.csv +0 -0
- /package/.agent/.shared/{technical/api-standards → api-standards}/pagination_sorting.md +0 -0
- /package/.agent/.shared/{technical/api-standards → api-standards}/response_format.json +0 -0
- /package/.agent/.shared/{verticals/compliance → compliance}/legal_templates.md +0 -0
- /package/.agent/.shared/{technical/database-master → database-master}/schemas/auth_rbac.sql +0 -0
- /package/.agent/.shared/{technical/database-master → database-master}/schemas/cms.sql +0 -0
- /package/.agent/.shared/{technical/database-master → database-master}/schemas/ecommerce.sql +0 -0
- /package/.agent/.shared/{core/design-philosophy → design-philosophy}/MANIFESTO.md +0 -0
- /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/tactile_audit.md +0 -0
- /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/visual_audit.md +0 -0
- /package/.agent/.shared/{core/design-philosophy → design-philosophy}/presets/linear_glow.json +0 -0
- /package/.agent/.shared/{technical/design-system → design-system}/brand_presets.json +0 -0
- /package/.agent/.shared/{technical/design-system → design-system}/micro_interactions.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/edtech.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fintech.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fnb_restaurant.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/freelance_marketplace.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/healthcare.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/hospitality_tourism.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/logistics.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/marketing_automation.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/personal_branding.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/real_estate.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/retail_ecommerce.md +0 -0
- /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/standard-pro-agents.md +0 -0
- /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/checklists/code_review.md +0 -0
- /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/presets/vscode_settings.json +0 -0
- /package/.agent/.shared/{technical/i18n-master → i18n-master}/vi_tech_dictionary.csv +0 -0
- /package/.agent/.shared/{technical/i18n-master → i18n-master}/workflows.json +0 -0
- /package/.agent/.shared/{verticals/infra-blueprints → infra-blueprints}/deployment_specs.md +0 -0
- /package/.agent/.shared/{core/metrics → metrics}/benchmarks.json +0 -0
- /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/checklists/chaos_engineering.md +0 -0
- /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/presets/circuit_breaker.json +0 -0
- /package/.agent/.shared/{technical/security-armor → security-armor}/checklists/vuln_scan.md +0 -0
- /package/.agent/.shared/{technical/security-armor → security-armor}/hardening.md +0 -0
- /package/.agent/.shared/{technical/security-armor → security-armor}/presets/helmet_config.json +0 -0
- /package/.agent/.shared/{technical/seo-master → seo-master}/checklists/technical_seo.md +0 -0
- /package/.agent/.shared/{technical/seo-master → seo-master}/presets/json_ld_schema.json +0 -0
- /package/.agent/.shared/{technical/testing-master → testing-master}/checklists/pre_release.md +0 -0
- /package/.agent/.shared/{technical/testing-master → testing-master}/scenarios.md +0 -0
- /package/.agent/{skills → .shared}/ui-ux-pro-max/data/charts.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/colors.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/icons.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/landing.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/products.csv +0 -0
- /package/.agent/{skills → .shared}/ui-ux-pro-max/data/prompts.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/react-performance.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/vue.csv +0 -0
- /package/.agent/{skills → .shared}/ui-ux-pro-max/data/styles.csv +0 -0
- /package/.agent/{skills → .shared}/ui-ux-pro-max/data/typography.csv +0 -0
- /package/.agent/{skills → .shared}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/web-interface.csv +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/core.py +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/design_system.py +0 -0
- /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/search.py +0 -0
- /package/.agent/.shared/{core/vitals-templates → vitals-templates}/audit_report.md +0 -0
- /package/.agent/.shared/{core/vitals-templates → vitals-templates}/plan_prd.md +0 -0
- /package/.agent/skills/ai-engineer/{sub-skills → resources}/ai_infra_stack.md +0 -0
- /package/.agent/skills/cloud-architect-master/{sub-skills → resources}/cost_optimization_checklist.md +0 -0
- /package/.agent/skills/cro-expert-kit/{sub-skills → resources}/psychological_triggers.md +0 -0
- /package/.agent/skills/database-migration/{sub-skills → resources}/zero_downtime_strategy.md +0 -0
- /package/.agent/skills/deployment-engineer/{sub-skills → resources}/k8s_best_practices.md +0 -0
- /package/.agent/skills/git-collaboration-master/{sub-skills → resources}/pr_template.md +0 -0
- /package/.agent/skills/incident-responder/{sub-skills → resources}/incident_severity_levels.md +0 -0
- /package/.agent/skills/legacy-modernizer/{sub-skills → resources}/strangler_fig_pattern.md +0 -0
- /package/.agent/skills/penetration-tester-master/{sub-skills → resources}/owasp_top_10_2025.md +0 -0
- /package/.agent/skills/production-code-audit/{sub-skills → resources}/solid_principles_cheat_sheet.md +0 -0
- /package/.agent/skills/seo-expert-kit/{sub-skills → resources}/technical_seo_checklist.md +0 -0
- /package/.agent/skills/tdd-master-workflow/{sub-skills → resources}/unit_test_naming_convention.md +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Production Deployment | Antigravity Kit",
|
|
3
|
+
description: "Learn how to strictly and safely deploy applications using the /deploy workflow.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Production Deployment
|
|
9
|
+
|
|
10
|
+
Ship with confidence using the safety-first `/deploy` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/deploy` command is an **Audit & Release Conductor**.
|
|
15
|
+
It forces your code to pass a rigorous health check before deployment.
|
|
16
|
+
|
|
17
|
+
<Callout type="info" title="It stops you from deploying if:">
|
|
18
|
+
- Security vulnerabilities are found
|
|
19
|
+
- Linting errors exist
|
|
20
|
+
- TypeScript types are invalid
|
|
21
|
+
- Critical tests fail
|
|
22
|
+
</Callout>
|
|
23
|
+
|
|
24
|
+
## The Process
|
|
25
|
+
|
|
26
|
+
<StepList>
|
|
27
|
+
<Step number={1} title="Execute Command">
|
|
28
|
+
When your code is ready, trigger the deployment pipeline.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
/deploy
|
|
32
|
+
```
|
|
33
|
+
</Step>
|
|
34
|
+
<Step number={2} title="Pre-Flight Checklist">
|
|
35
|
+
The agent automatically audits your project health.
|
|
36
|
+
|
|
37
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mt-4">
|
|
38
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3">
|
|
39
|
+
<h4 className="text-sm font-semibold mb-1">🛡️ Security</h4>
|
|
40
|
+
<p className="text-xs text-zinc-500 dark:text-zinc-400 m-0">Scans for vulnerabilities & secrets</p>
|
|
41
|
+
</div>
|
|
42
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3">
|
|
43
|
+
<h4 className="text-sm font-semibold mb-1">📋 Quality</h4>
|
|
44
|
+
<p className="text-xs text-zinc-500 dark:text-zinc-400 m-0">Enforces Linting & Type Safety</p>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</Step>
|
|
48
|
+
<Step number={3} title="Release">
|
|
49
|
+
If checks pass, it builds and pushes to your platform (Vercel, Docker, etc).
|
|
50
|
+
</Step>
|
|
51
|
+
</StepList>
|
|
52
|
+
|
|
53
|
+
## Example Session
|
|
54
|
+
|
|
55
|
+
<Terminal>
|
|
56
|
+
<TerminalLine type="user">/deploy</TerminalLine>
|
|
57
|
+
|
|
58
|
+
<TerminalBlock>
|
|
59
|
+
<TerminalLine type="agent">**Running Pre-Flight Checks...**</TerminalLine>
|
|
60
|
+
<div className="space-y-1 mt-2">
|
|
61
|
+
<div>🔄 Security Scan... <span className="text-green-400">PASSED</span></div>
|
|
62
|
+
<div>🔄 Lint Check... <span className="text-green-400">PASSED</span></div>
|
|
63
|
+
<div>🔄 Type Validation... <span className="text-green-400">PASSED</span></div>
|
|
64
|
+
</div>
|
|
65
|
+
<br/>
|
|
66
|
+
<span className="text-green-400">✅ All checks passed!</span>
|
|
67
|
+
Deploying to Vercel...
|
|
68
|
+
</TerminalBlock>
|
|
69
|
+
|
|
70
|
+
<TerminalBlock highlight>
|
|
71
|
+
<TerminalLine type="agent">**🚀 Deployment Complete!**</TerminalLine>
|
|
72
|
+
<div className="space-y-1 mt-2">
|
|
73
|
+
<div>🌐 URL: <span className="text-blue-400">https://my-app.vercel.app</span></div>
|
|
74
|
+
<div>💚 Health Check: <span className="text-green-400">OK</span></div>
|
|
75
|
+
</div>
|
|
76
|
+
</TerminalBlock>
|
|
77
|
+
</Terminal>
|
|
78
|
+
|
|
79
|
+
## Pro Tips
|
|
80
|
+
|
|
81
|
+
<ProTips>
|
|
82
|
+
<Tip title="Check First">
|
|
83
|
+
Run `/deploy check` to dry-run validations without deploying.
|
|
84
|
+
</Tip>
|
|
85
|
+
<Tip title="Rollback Safety">
|
|
86
|
+
Use `/deploy rollback` to instantly revert to the last stable version.
|
|
87
|
+
</Tip>
|
|
88
|
+
</ProTips>
|
|
89
|
+
|
|
90
|
+
## Next Steps
|
|
91
|
+
|
|
92
|
+
- Try `/deploy check` to run pre-flight checks
|
|
93
|
+
- Learn about [Multi-Agent Orchestration](/docs/guide/examples/orchestration)
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Add a New Feature | Antigravity Kit",
|
|
3
|
+
description: "Step-by-step guide on adding new features to an existing application using Antigravity Kit workflows.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Add a New Feature
|
|
9
|
+
|
|
10
|
+
Learn how to safely add complex features to an existing codebase using the `/enhance` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/enhance` workflow is your day-to-day tool for iterative development.
|
|
15
|
+
Unlike `/create` which builds from scratch, `/enhance` focuses on surgically adding functionality without breaking existing code.
|
|
16
|
+
|
|
17
|
+
<Callout type="info">
|
|
18
|
+
**Scenario:** Adding a "Dashboard Analytics" feature to an existing SaaS application.
|
|
19
|
+
</Callout>
|
|
20
|
+
|
|
21
|
+
## The Process
|
|
22
|
+
|
|
23
|
+
<StepList>
|
|
24
|
+
<Step number={1} title="Feature Planning">
|
|
25
|
+
Describe your feature requirements clearly.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
/enhance Add an analytics dashboard for user activity
|
|
29
|
+
Requirements:
|
|
30
|
+
- Track daily active users and page views
|
|
31
|
+
- Visual charts using Recharts
|
|
32
|
+
- API endpoint to aggregate data
|
|
33
|
+
```
|
|
34
|
+
</Step>
|
|
35
|
+
<Step number={2} title="Component Implementation">
|
|
36
|
+
Specialists implement the full vertical slice.
|
|
37
|
+
|
|
38
|
+
<div className="grid grid-cols-2 md:grid-cols-4 gap-3 mt-4">
|
|
39
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3 text-center">
|
|
40
|
+
<div className="text-xs font-semibold">Database</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3 text-center">
|
|
43
|
+
<div className="text-xs font-semibold">Backend</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3 text-center">
|
|
46
|
+
<div className="text-xs font-semibold">Frontend</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-lg p-3 text-center">
|
|
49
|
+
<div className="text-xs font-semibold">Testing</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</Step>
|
|
53
|
+
<Step number={3} title="Verify Integration">
|
|
54
|
+
Run `final checks` to validate bundle size, accessibility, and tests.
|
|
55
|
+
</Step>
|
|
56
|
+
</StepList>
|
|
57
|
+
|
|
58
|
+
## Example Session
|
|
59
|
+
|
|
60
|
+
<Terminal>
|
|
61
|
+
<TerminalLine type="user">/enhance add dark mode toggle</TerminalLine>
|
|
62
|
+
|
|
63
|
+
<TerminalBlock>
|
|
64
|
+
<TerminalLine type="agent">**Analyzing codebase...**</TerminalLine>
|
|
65
|
+
<div className="text-xs mt-2">
|
|
66
|
+
Found: Tailwind CSS with no dark mode config<br/>
|
|
67
|
+
Plan: Update tailwind.config, add ThemeProvider, create toggle component
|
|
68
|
+
</div>
|
|
69
|
+
</TerminalBlock>
|
|
70
|
+
|
|
71
|
+
<div className="space-y-2 pl-8 mb-4">
|
|
72
|
+
<div className="flex items-center gap-2">
|
|
73
|
+
<span className="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></span>
|
|
74
|
+
<span><strong>Frontend:</strong> Creating ThemeToggle...</span>
|
|
75
|
+
</div>
|
|
76
|
+
<div className="flex items-center gap-2">
|
|
77
|
+
<span className="w-2 h-2 rounded-full bg-green-500 animate-pulse"></span>
|
|
78
|
+
<span><strong>Testing:</strong> Adding theme tests...</span>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<TerminalBlock highlight>
|
|
83
|
+
<TerminalLine type="agent">**✅ Feature Added!**</TerminalLine>
|
|
84
|
+
<span className="text-zinc-400">Run `/preview start` to test.</span>
|
|
85
|
+
</TerminalBlock>
|
|
86
|
+
</Terminal>
|
|
87
|
+
|
|
88
|
+
## Pro Tips
|
|
89
|
+
|
|
90
|
+
<ProTips>
|
|
91
|
+
<Tip title="Check Dependencies">
|
|
92
|
+
Use `checklist.py` to prevent bundle bloat from new libraries.
|
|
93
|
+
</Tip>
|
|
94
|
+
<Tip title="Keep It Modular">
|
|
95
|
+
Isolate new components to minimize side effects on existing code.
|
|
96
|
+
</Tip>
|
|
97
|
+
</ProTips>
|
|
98
|
+
|
|
99
|
+
## Next Steps
|
|
100
|
+
|
|
101
|
+
- Try `/enhance` in your project
|
|
102
|
+
- See [Test Generation](/docs/guide/examples/test) for coverage
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Multi-Agent Orchestration | Antigravity Kit",
|
|
3
|
+
description: "Learn how to coordinate multiple specialist agents for complex projects using the /orchestrate workflow.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip, FeatureGrid, Feature } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Multi-Agent Orchestration
|
|
9
|
+
|
|
10
|
+
Build entire SaaS platforms by coordinating specialist agents with the `/orchestrate` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
Most AI interactions are 1-on-1. The `orchestrator` agent changes this by acting as a **Project Manager**.
|
|
15
|
+
It breaks down a large request (e.g., "Build a SaaS MVP") into tasks and assigns them to the best specialist for the job.
|
|
16
|
+
|
|
17
|
+
<FeatureGrid>
|
|
18
|
+
<Feature title="Backend" description="API & DB Architect" />
|
|
19
|
+
<Feature title="Frontend" description="UI/UX Specialist" />
|
|
20
|
+
<Feature title="Security" description="Safety Auditor" />
|
|
21
|
+
<Feature title="QA" description="Test Engineer" />
|
|
22
|
+
</FeatureGrid>
|
|
23
|
+
|
|
24
|
+
## The Process
|
|
25
|
+
|
|
26
|
+
<StepList>
|
|
27
|
+
<Step number={1} title="Project Brief">
|
|
28
|
+
Describe the high-level goal. The orchestrator will interview you to clarify requirements.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
/orchestrate Build a "Course Platform" MVP with:
|
|
32
|
+
- User Authentication (NextAuth)
|
|
33
|
+
- Stripe Payments
|
|
34
|
+
- Video Hosting (Mux)
|
|
35
|
+
- Dashboard for Instructors
|
|
36
|
+
```
|
|
37
|
+
</Step>
|
|
38
|
+
<Step number={2} title="Phase 1: Planning">
|
|
39
|
+
The `project-planner` agent creates a detailed roadmap (`PLAN.md`).
|
|
40
|
+
|
|
41
|
+
<div className="bg-zinc-50 dark:bg-zinc-900 p-3 rounded-lg text-xs font-mono border-l-2 border-blue-500 mt-2">
|
|
42
|
+
...<br/>
|
|
43
|
+
### 2.1 Database Schema<br/>
|
|
44
|
+
- Users (id, email, role)<br/>
|
|
45
|
+
- Courses (id, title, price)<br/>
|
|
46
|
+
...
|
|
47
|
+
</div>
|
|
48
|
+
</Step>
|
|
49
|
+
<Step number={3} title="Phase 2: Execution">
|
|
50
|
+
Agents work in parallel. The Orchestrator monitors progress and unblocks dependencies.
|
|
51
|
+
</Step>
|
|
52
|
+
</StepList>
|
|
53
|
+
|
|
54
|
+
## Example Session
|
|
55
|
+
|
|
56
|
+
<Terminal>
|
|
57
|
+
<TerminalLine type="user">/orchestrate Build E-commerce MVP</TerminalLine>
|
|
58
|
+
|
|
59
|
+
<TerminalBlock>
|
|
60
|
+
<TerminalLine type="agent">**Activating Squad...**</TerminalLine>
|
|
61
|
+
Assigning tasks based on `PLAN.md`:
|
|
62
|
+
</TerminalBlock>
|
|
63
|
+
|
|
64
|
+
<div className="space-y-3 pl-8">
|
|
65
|
+
<div className="flex items-center gap-2">
|
|
66
|
+
<span className="w-2 h-2 rounded-full bg-yellow-500 animate-pulse"></span>
|
|
67
|
+
<span><strong>Backend-Specialist:</strong> Configuring Prisma Schema...</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div className="flex items-center gap-2">
|
|
70
|
+
<span className="w-2 h-2 rounded-full bg-blue-500 animate-pulse"></span>
|
|
71
|
+
<span><strong>Frontend-Specialist:</strong> Building ProductCard component...</span>
|
|
72
|
+
</div>
|
|
73
|
+
<div className="flex items-center gap-2">
|
|
74
|
+
<span className="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></span>
|
|
75
|
+
<span><strong>Security-Auditor:</strong> Reviewing auth flow...</span>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<TerminalBlock highlight>
|
|
80
|
+
<TerminalLine type="agent">**✅ Project Complete!**</TerminalLine>
|
|
81
|
+
All tasks finished. Run `npm run dev` to start.
|
|
82
|
+
</TerminalBlock>
|
|
83
|
+
</Terminal>
|
|
84
|
+
|
|
85
|
+
## Pro Tips
|
|
86
|
+
|
|
87
|
+
<ProTips>
|
|
88
|
+
<Tip title="Start Small">
|
|
89
|
+
Don't try to build Facebook in one go. Orchestrate an MVP first, then use `/enhance` to iterate.
|
|
90
|
+
</Tip>
|
|
91
|
+
<Tip title="Define Auth">
|
|
92
|
+
Always specify how users log in (e.g., "Use NextAuth with Google"). It's a key architectural decision.
|
|
93
|
+
</Tip>
|
|
94
|
+
</ProTips>
|
|
95
|
+
|
|
96
|
+
## Next Steps
|
|
97
|
+
|
|
98
|
+
- Learn about [Systematic Debugging](/docs/guide/examples/debugging) to maintain your complex app
|
|
99
|
+
- See [Deployment](/docs/guide/examples/deployment) to ship your MVP
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Project Planning | Antigravity Kit",
|
|
3
|
+
description: "Learn how to use the /plan workflow to create detailed project plans before implementation.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Project Planning
|
|
9
|
+
|
|
10
|
+
Create detailed implementation plans before writing code with the `/plan` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/plan` command activates **planning-only mode**.
|
|
15
|
+
It uses the `project-planner` agent to create a detailed plan file without writing any code.
|
|
16
|
+
|
|
17
|
+
<Callout type="info">
|
|
18
|
+
**Critical Rule:** NO CODE is written during planning. Only `PLAN.md` is created.
|
|
19
|
+
</Callout>
|
|
20
|
+
|
|
21
|
+
## The Process
|
|
22
|
+
|
|
23
|
+
<StepList>
|
|
24
|
+
<Step number={1} title="Describe Your Project">
|
|
25
|
+
Tell the planner what you want to build.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
/plan e-commerce site with cart and checkout
|
|
29
|
+
```
|
|
30
|
+
</Step>
|
|
31
|
+
<Step number={2} title="Socratic Questions">
|
|
32
|
+
The planner asks clarifying questions before creating the plan.
|
|
33
|
+
</Step>
|
|
34
|
+
<Step number={3} title="Plan Generated">
|
|
35
|
+
Creates `docs/PLAN-{slug}.md` with tasks and agent assignments.
|
|
36
|
+
</Step>
|
|
37
|
+
</StepList>
|
|
38
|
+
|
|
39
|
+
## Example Session
|
|
40
|
+
|
|
41
|
+
<Terminal>
|
|
42
|
+
<TerminalLine type="user">/plan SaaS dashboard with analytics</TerminalLine>
|
|
43
|
+
|
|
44
|
+
<TerminalBlock>
|
|
45
|
+
<TerminalLine type="agent">**Clarifying Questions:**</TerminalLine>
|
|
46
|
+
<div className="text-yellow-300 text-xs mt-2">
|
|
47
|
+
1. What metrics? (users, revenue?)<br/>
|
|
48
|
+
2. Real-time or daily?<br/>
|
|
49
|
+
3. Charting library?
|
|
50
|
+
</div>
|
|
51
|
+
</TerminalBlock>
|
|
52
|
+
|
|
53
|
+
<TerminalLine type="user">Users + revenue, real-time, Recharts</TerminalLine>
|
|
54
|
+
|
|
55
|
+
<TerminalBlock highlight>
|
|
56
|
+
<TerminalLine type="agent">**✅ Plan Created!**</TerminalLine>
|
|
57
|
+
`docs/PLAN-saas-dashboard.md`<br/>
|
|
58
|
+
<span className="text-zinc-400">Run `/create` to implement.</span>
|
|
59
|
+
</TerminalBlock>
|
|
60
|
+
</Terminal>
|
|
61
|
+
|
|
62
|
+
## Pro Tips
|
|
63
|
+
|
|
64
|
+
<ProTips>
|
|
65
|
+
<Tip title="Answer Thoroughly">
|
|
66
|
+
The more context you provide, the better the plan.
|
|
67
|
+
</Tip>
|
|
68
|
+
<Tip title="Edit the Plan">
|
|
69
|
+
Modify the generated plan before implementation.
|
|
70
|
+
</Tip>
|
|
71
|
+
</ProTips>
|
|
72
|
+
|
|
73
|
+
## Next Steps
|
|
74
|
+
|
|
75
|
+
- Run `/plan` for your next major feature
|
|
76
|
+
- After planning, use [Create Application](/docs/guide/examples/create) to implement
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Preview Management | Antigravity Kit",
|
|
3
|
+
description: "Learn how to use the /preview workflow to manage your local development server.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip, FeatureGrid, Feature } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Preview Management
|
|
9
|
+
|
|
10
|
+
Manage your local development server with the `/preview` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/preview` command manages your local development server.
|
|
15
|
+
Start, stop, restart, or check the status with simple commands.
|
|
16
|
+
|
|
17
|
+
<FeatureGrid>
|
|
18
|
+
<Feature title="start" description="Launch server" />
|
|
19
|
+
<Feature title="stop" description="Kill server" />
|
|
20
|
+
<Feature title="restart" description="Reload" />
|
|
21
|
+
<Feature title="check" description="Health" />
|
|
22
|
+
</FeatureGrid>
|
|
23
|
+
|
|
24
|
+
## The Process
|
|
25
|
+
|
|
26
|
+
<StepList>
|
|
27
|
+
<Step number={1} title="Start Server">
|
|
28
|
+
```bash
|
|
29
|
+
/preview start
|
|
30
|
+
```
|
|
31
|
+
</Step>
|
|
32
|
+
<Step number={2} title="Check Status">
|
|
33
|
+
```bash
|
|
34
|
+
/preview
|
|
35
|
+
```
|
|
36
|
+
</Step>
|
|
37
|
+
<Step number={3} title="Stop Server">
|
|
38
|
+
```bash
|
|
39
|
+
/preview stop
|
|
40
|
+
```
|
|
41
|
+
</Step>
|
|
42
|
+
</StepList>
|
|
43
|
+
|
|
44
|
+
## Example Session
|
|
45
|
+
|
|
46
|
+
<Terminal>
|
|
47
|
+
<TerminalLine type="user">/preview start</TerminalLine>
|
|
48
|
+
|
|
49
|
+
<TerminalBlock>
|
|
50
|
+
<TerminalLine type="agent">**🚀 Starting preview...**</TerminalLine>
|
|
51
|
+
<div className="text-xs mt-2">
|
|
52
|
+
Port: 3000<br/>
|
|
53
|
+
Type: Next.js
|
|
54
|
+
</div>
|
|
55
|
+
</TerminalBlock>
|
|
56
|
+
|
|
57
|
+
<TerminalBlock highlight>
|
|
58
|
+
<TerminalLine type="agent">**✅ Preview ready!**</TerminalLine>
|
|
59
|
+
URL: <span className="text-blue-400">http://localhost:3000</span>
|
|
60
|
+
</TerminalBlock>
|
|
61
|
+
</Terminal>
|
|
62
|
+
|
|
63
|
+
## Pro Tips
|
|
64
|
+
|
|
65
|
+
<ProTips>
|
|
66
|
+
<Tip title="Auto-detection">
|
|
67
|
+
Automatically detects Next.js, Vite, etc.
|
|
68
|
+
</Tip>
|
|
69
|
+
<Tip title="Port Conflict">
|
|
70
|
+
Suggests alternatives if port 3000 is busy.
|
|
71
|
+
</Tip>
|
|
72
|
+
</ProTips>
|
|
73
|
+
|
|
74
|
+
## Next Steps
|
|
75
|
+
|
|
76
|
+
- Run `/preview start` to launch your dev server
|
|
77
|
+
- See [Deployment](/docs/guide/examples/deployment) to go live
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Project Status | Antigravity Kit",
|
|
3
|
+
description: "Learn how to use the /status workflow to view your project and agent status at a glance.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip, FeatureGrid, Feature } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Project Status
|
|
9
|
+
|
|
10
|
+
Get a complete overview of your project with the `/status` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/status` command gives you a **complete dashboard view** of your project.
|
|
15
|
+
See project info, tech stack, completed features, agent activity, and preview status.
|
|
16
|
+
|
|
17
|
+
<FeatureGrid>
|
|
18
|
+
<Feature title="Project" description="Info & Stack" />
|
|
19
|
+
<Feature title="Agents" description="Status Board" />
|
|
20
|
+
<Feature title="Files" description="Statistics" />
|
|
21
|
+
<Feature title="Preview" description="Health Check" />
|
|
22
|
+
</FeatureGrid>
|
|
23
|
+
|
|
24
|
+
## The Process
|
|
25
|
+
|
|
26
|
+
<StepList>
|
|
27
|
+
<Step number={1} title="Run Command">
|
|
28
|
+
Simply run the command to see your project dashboard.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
/status
|
|
32
|
+
```
|
|
33
|
+
</Step>
|
|
34
|
+
</StepList>
|
|
35
|
+
|
|
36
|
+
## Example Session
|
|
37
|
+
|
|
38
|
+
<Terminal>
|
|
39
|
+
<TerminalLine type="user">/status</TerminalLine>
|
|
40
|
+
|
|
41
|
+
<TerminalBlock>
|
|
42
|
+
<div className="text-yellow-400 mb-2">=== Project Status ===</div>
|
|
43
|
+
<div className="space-y-1 mb-4">
|
|
44
|
+
<div>📁 Project: my-ecommerce</div>
|
|
45
|
+
<div>🏷️ Type: nextjs-ecommerce</div>
|
|
46
|
+
<div>📄 Files: 73 created, 12 modified</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div className="text-yellow-400 mb-2">=== Agent Status ===</div>
|
|
50
|
+
<div className="space-y-1 mb-4">
|
|
51
|
+
<div><span className="text-green-400">✅</span> database-architect → Completed</div>
|
|
52
|
+
<div><span className="text-green-400">✅</span> backend-specialist → Completed</div>
|
|
53
|
+
<div><span className="text-blue-400">🔄</span> frontend-specialist → 60%</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div className="text-yellow-400 mb-2">=== Preview ===</div>
|
|
57
|
+
<div className="space-y-1">
|
|
58
|
+
<div>🌐 URL: <span className="text-blue-400">http://localhost:3000</span></div>
|
|
59
|
+
<div>💚 Health: <span className="text-green-400">OK</span></div>
|
|
60
|
+
</div>
|
|
61
|
+
</TerminalBlock>
|
|
62
|
+
</Terminal>
|
|
63
|
+
|
|
64
|
+
## Pro Tips
|
|
65
|
+
|
|
66
|
+
<ProTips>
|
|
67
|
+
<Tip title="Before Deploy">
|
|
68
|
+
Check status to ensure all agents completed.
|
|
69
|
+
</Tip>
|
|
70
|
+
<Tip title="Track Progress">
|
|
71
|
+
Monitor multi-agent orchestration in real-time.
|
|
72
|
+
</Tip>
|
|
73
|
+
</ProTips>
|
|
74
|
+
|
|
75
|
+
## Next Steps
|
|
76
|
+
|
|
77
|
+
- Run `/status` to check project state
|
|
78
|
+
- See [Deployment](/docs/guide/examples/deployment) when ready to ship
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export const metadata = {
|
|
2
|
+
title: "Example: Test Generation & Execution | Antigravity Kit",
|
|
3
|
+
description: "Learn how to use the /test workflow to generate and run tests for your code.",
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
import { Callout, StepList, Step, Terminal, TerminalLine, TerminalBlock, ProTips, Tip, FeatureGrid, Feature } from '@/components/mdx'
|
|
7
|
+
|
|
8
|
+
# Test Generation & Execution
|
|
9
|
+
|
|
10
|
+
Generate and run tests with the `/test` workflow.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The `/test` command handles **test generation and execution**.
|
|
15
|
+
Analyze code, create test suites, run tests, or check coverage.
|
|
16
|
+
|
|
17
|
+
<FeatureGrid>
|
|
18
|
+
<Feature title="run" description="Execute tests" />
|
|
19
|
+
<Feature title="generate" description="Create tests" />
|
|
20
|
+
<Feature title="coverage" description="Report" />
|
|
21
|
+
<Feature title="watch" description="Live mode" />
|
|
22
|
+
</FeatureGrid>
|
|
23
|
+
|
|
24
|
+
## The Process
|
|
25
|
+
|
|
26
|
+
<StepList>
|
|
27
|
+
<Step number={1} title="Run All Tests">
|
|
28
|
+
```bash
|
|
29
|
+
/test
|
|
30
|
+
```
|
|
31
|
+
</Step>
|
|
32
|
+
<Step number={2} title="Generate Tests for File">
|
|
33
|
+
```bash
|
|
34
|
+
/test src/auth.ts
|
|
35
|
+
```
|
|
36
|
+
</Step>
|
|
37
|
+
<Step number={3} title="Check Coverage">
|
|
38
|
+
```bash
|
|
39
|
+
/test coverage
|
|
40
|
+
```
|
|
41
|
+
</Step>
|
|
42
|
+
</StepList>
|
|
43
|
+
|
|
44
|
+
## Example Session
|
|
45
|
+
|
|
46
|
+
<Terminal>
|
|
47
|
+
<TerminalLine type="user">/test src/services/auth.ts</TerminalLine>
|
|
48
|
+
|
|
49
|
+
<TerminalBlock>
|
|
50
|
+
<TerminalLine type="agent">**Analyzing auth.ts...**</TerminalLine>
|
|
51
|
+
<div className="text-xs mt-2">
|
|
52
|
+
Found 4 functions: login, register, verifyToken, resetPassword
|
|
53
|
+
</div>
|
|
54
|
+
</TerminalBlock>
|
|
55
|
+
|
|
56
|
+
<TerminalBlock highlight>
|
|
57
|
+
<TerminalLine type="agent">**✅ Tests Generated!**</TerminalLine>
|
|
58
|
+
<div className="text-xs mt-2">
|
|
59
|
+
Created: `tests/auth.test.ts`<br/>
|
|
60
|
+
Test cases: 12<br/>
|
|
61
|
+
Coverage: 95%
|
|
62
|
+
</div>
|
|
63
|
+
</TerminalBlock>
|
|
64
|
+
</Terminal>
|
|
65
|
+
|
|
66
|
+
## Pro Tips
|
|
67
|
+
|
|
68
|
+
<ProTips>
|
|
69
|
+
<Tip title="Test Behavior">
|
|
70
|
+
Focus on what functions do, not implementation.
|
|
71
|
+
</Tip>
|
|
72
|
+
<Tip title="Edge Cases">
|
|
73
|
+
Always test errors, empty inputs, boundaries.
|
|
74
|
+
</Tip>
|
|
75
|
+
</ProTips>
|
|
76
|
+
|
|
77
|
+
## Next Steps
|
|
78
|
+
|
|
79
|
+
- Run `/test` to execute your test suite
|
|
80
|
+
- See [Deployment](/docs/guide/examples/deployment) which runs tests automatically
|