antigravity-ide 4.2.1 → 4.3.3
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/{design-philosophy → core/design-philosophy}/README.md +12 -1
- package/.agent/.shared/{ai-master → technical/ai-master}/README.md +12 -1
- package/.agent/.shared/{api-standards → technical/api-standards}/README.md +12 -1
- package/.agent/.shared/{database-master → technical/database-master}/README.md +12 -2
- package/.agent/.shared/{seo-master → technical/seo-master}/README.md +12 -1
- package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/README.md +12 -1
- package/.agent/ARCHITECTURE.md +16 -10
- package/.agent/ARCHITECTURE.vi.md +8 -8
- package/{GEMINI.md → .agent/GEMINI.md} +4 -5
- package/.agent/RESOURCES.md +6 -1
- package/.agent/agents/backend-specialist.md +154 -19
- package/.agent/agents/browser-subagent.md +45 -0
- package/.agent/agents/cloud-architect.md +108 -189
- package/.agent/agents/debugger.md +83 -182
- package/.agent/agents/documentation-writer.md +125 -72
- package/.agent/agents/frontend-specialist.md +40 -7
- package/.agent/agents/game-developer.md +111 -116
- package/.agent/agents/mobile-developer.md +108 -321
- package/.agent/agents/orchestrator.md +106 -366
- package/.agent/agents/performance-optimizer.md +105 -136
- package/.agent/agents/project-planner.md +132 -39
- package/.agent/agents/quality-inspector.md +136 -32
- package/.agent/agents/security-auditor.md +138 -15
- package/.agent/agents/seo-specialist.md +118 -72
- package/.agent/agents/test-engineer.md +142 -11
- package/.agent/brain/task.md +16 -0
- package/.agent/rules/GEMINI.md +63 -31
- package/.agent/rules/code-quality.md +34 -3
- package/.agent/rules/frontend.md +3 -3
- package/.agent/rules/strict-protocol.md +44 -3
- package/.agent/rules/system-update.md +56 -3
- package/.agent/skills/agent-backend-patterns/SKILL.md +16 -3
- package/.agent/skills/ai-engineer/SKILL.md +29 -16
- 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 +39 -79
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +53 -75
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +56 -119
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +61 -94
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +56 -82
- package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +202 -0
- package/.agent/skills/brand-guidelines-anthropic/SKILL.md +26 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +5 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +14 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +7 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +7 -0
- package/.agent/skills/cloud-architect-master/SKILL.md +9 -4
- package/.agent/skills/cro-expert-kit/SKILL.md +9 -4
- package/.agent/skills/database-migration/SKILL.md +9 -3
- package/.agent/skills/deployment-engineer/SKILL.md +9 -3
- package/.agent/skills/frontend-design/ux-psychology.md +10 -585
- package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
- package/.agent/skills/game-development/2d-games/SKILL.md +4 -2
- package/.agent/skills/game-development/3d-games/SKILL.md +4 -2
- package/.agent/skills/game-development/SKILL.md +18 -149
- package/.agent/skills/game-development/game-art/SKILL.md +4 -2
- package/.agent/skills/game-development/game-audio/SKILL.md +4 -2
- package/.agent/skills/game-development/game-design/SKILL.md +4 -2
- package/.agent/skills/game-development/mobile-games/SKILL.md +4 -2
- package/.agent/skills/game-development/multiplayer/SKILL.md +4 -2
- package/.agent/skills/game-development/pc-games/SKILL.md +4 -2
- package/.agent/skills/game-development/vr-ar/SKILL.md +4 -2
- package/.agent/skills/game-development/web-games/SKILL.md +4 -2
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -136
- package/.agent/skills/git-collaboration-master/SKILL.md +9 -4
- package/.agent/skills/i18n-localization/SKILL.md +10 -118
- package/.agent/skills/incident-responder/SKILL.md +9 -6
- package/.agent/skills/internal-comms-anthropic/LICENSE.txt +202 -0
- package/.agent/skills/internal-comms-anthropic/SKILL.md +33 -0
- package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +47 -0
- package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +65 -0
- package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +30 -0
- package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +16 -0
- package/.agent/skills/last30days/tests/__init__.py +1 -0
- package/.agent/skills/last30days/tests/test_cache.py +59 -0
- package/.agent/skills/last30days/tests/test_dates.py +114 -0
- package/.agent/skills/last30days/tests/test_dedupe.py +111 -0
- package/.agent/skills/last30days/tests/test_models.py +135 -0
- package/.agent/skills/last30days/tests/test_normalize.py +138 -0
- package/.agent/skills/last30days/tests/test_render.py +116 -0
- package/.agent/skills/last30days/tests/test_score.py +168 -0
- package/.agent/skills/legacy-modernizer/SKILL.md +9 -4
- package/.agent/skills/lint-and-validate/scripts/lint_runner.py +2 -14
- package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +57 -0
- package/.agent/skills/loki-mode/.github/workflows/claude.yml +50 -0
- package/.agent/skills/loki-mode/.github/workflows/release.yml +128 -0
- package/.agent/skills/loki-mode/tests/run-all-tests.sh +78 -0
- package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +348 -0
- package/.agent/skills/loki-mode/tests/test-bootstrap.sh +196 -0
- package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +389 -0
- package/.agent/skills/loki-mode/tests/test-state-recovery.sh +393 -0
- package/.agent/skills/loki-mode/tests/test-task-queue.sh +396 -0
- package/.agent/skills/loki-mode/tests/test-wrapper.sh +314 -0
- package/.agent/skills/mcp-builder/SKILL.md +21 -164
- package/.agent/skills/mobile-design/SKILL.md +21 -369
- package/.agent/skills/mobile-design/mobile-performance.md +1 -1
- package/.agent/skills/modern-web-architect/SKILL.md +12 -6
- package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
- package/.agent/skills/penetration-tester-master/SKILL.md +9 -4
- package/.agent/skills/performance-engineer/SKILL.md +4 -5
- package/.agent/skills/production-code-audit/SKILL.md +6 -0
- package/.agent/skills/rust-pro/SKILL.md +0 -177
- package/.agent/skills/security-auditor/SKILL.md +35 -27
- package/.agent/skills/seo-expert-kit/SKILL.md +9 -4
- package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +379 -0
- package/.agent/skills/tdd-master-workflow/SKILL.md +9 -3
- package/.agent/workflows/audit.md +30 -16
- package/.agent/workflows/brainstorm.md +33 -96
- package/.agent/workflows/create.md +37 -45
- package/.agent/workflows/debug.md +45 -84
- package/.agent/workflows/deploy.md +33 -158
- package/.agent/workflows/document.md +38 -15
- package/.agent/workflows/enhance.md +33 -48
- package/.agent/workflows/monitor.md +35 -14
- package/.agent/workflows/orchestrate.md +33 -218
- package/.agent/workflows/plan.md +39 -70
- package/.agent/workflows/security.md +35 -14
- package/.agent/workflows/seo.md +39 -16
- package/.agent/workflows/status.md +33 -72
- package/.agent/workflows/test.md +30 -127
- package/.agent/workflows/ui-ux-pro-max.md +24 -283
- package/LICENSE +22 -8
- package/README.md +105 -72
- package/README.vi.md +93 -110
- package/cli/create.js +275 -413
- package/cli/index.js +36 -24
- package/cli/lib/auto-update.js +14 -21
- package/cli/logic/product-skills.js +58 -0
- package/cli/logic/skill-definitions.js +0 -39
- package/cli/prompts.js +151 -145
- package/cli/skills/browser-subagent-core/SKILL.md +22 -0
- package/cli/tools/browser.js +75 -0
- package/cli/ui/dashboard.js +48 -0
- package/docs/AGENTS_GUIDE.vi.md +39 -45
- package/docs/CONTRIBUTING.vi.md +12 -3
- package/docs/{GEMINI_GUIDE.md → GEMINI_USAGE.md} +6 -6
- package/docs/GLOSSARY.vi.md +49 -30
- package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
- package/docs/OPERATIONAL_FLOW.vi.md +15 -0
- package/docs/{PUBLISHING.md → PUBLISHING_GUIDE.md} +31 -3
- package/docs/RULES_GUIDE.vi.md +67 -31
- package/docs/SHARED_LIBRARY_GUIDE.vi.md +18 -22
- package/docs/SKILLS_GUIDE.vi.md +119 -32
- package/docs/TROUBLESHOOTING.vi.md +10 -2
- package/docs/WORKFLOW_GUIDE.vi.md +57 -9
- package/package.json +32 -8
- package/setup.js +147 -114
- package/.agent/.shared/compliance/README.md +0 -19
- package/.agent/.shared/design-system/README.md +0 -18
- package/.agent/.shared/domain-blueprints/README.md +0 -18
- package/.agent/.shared/dx-toolkit/README.md +0 -19
- package/.agent/.shared/i18n-master/README.md +0 -18
- package/.agent/.shared/infra-blueprints/README.md +0 -18
- package/.agent/.shared/metrics/README.md +0 -17
- package/.agent/.shared/resilience-patterns/README.md +0 -19
- package/.agent/.shared/security-armor/README.md +0 -25
- package/.agent/.shared/testing-master/README.md +0 -20
- package/.agent/.shared/vitals-templates/README.md +0 -18
- package/.agent/agents/accessibility-expert.md +0 -22
- package/.agent/agents/api-architect.md +0 -22
- package/.agent/agents/backend-specialist.eco.md +0 -19
- package/.agent/agents/backend-specialist.instant.md +0 -19
- package/.agent/agents/codebase-expert.md +0 -23
- package/.agent/agents/compliance-expert.md +0 -22
- package/.agent/agents/data-scientist.md +0 -22
- package/.agent/agents/debugger.eco.md +0 -20
- package/.agent/agents/debugger.instant.md +0 -20
- package/.agent/agents/deep-thinker.ultra.md +0 -23
- package/.agent/agents/devex-optimizer.md +0 -22
- package/.agent/agents/devops-architect.md +0 -22
- package/.agent/agents/frontend-specialist.eco.md +0 -19
- package/.agent/agents/frontend-specialist.instant.md +0 -19
- package/.agent/agents/growth-engineer.md +0 -22
- package/.agent/agents/i18n-specialist.md +0 -21
- package/.agent/agents/legacy-modernizer.md +0 -22
- package/.agent/agents/microservices-specialist.md +0 -22
- package/.agent/agents/motion-designer.md +0 -22
- package/.agent/agents/orchestrator.creative.md +0 -28
- package/.agent/agents/orchestrator.eco.md +0 -29
- package/.agent/agents/orchestrator.instant.md +0 -29
- package/.agent/agents/orchestrator.ultra.md +0 -28
- package/.agent/agents/performance-benchmarker.md +0 -22
- package/.agent/agents/project-planner.eco.md +0 -19
- package/.agent/agents/project-planner.instant.md +0 -19
- package/.agent/agents/security-pentester.md +0 -22
- package/.agent/agents/serverless-expert.md +0 -22
- package/.agent/fastcode_index.json +0 -1038
- package/.agent/mcp_config.json +0 -24
- package/.agent/rules/GEMINI.eco.md +0 -37
- package/.agent/rules/GEMINI.instant.md +0 -37
- package/.agent/rules/api-spec.md +0 -28
- package/.agent/rules/database.md +0 -24
- package/.agent/rules/devops.md +0 -23
- package/.agent/rules/growth-strategy.md +0 -22
- package/.agent/rules/logging-monitoring.md +0 -22
- package/.agent/rules/quality-assurance.md +0 -22
- package/.agent/rules/system-reasoning.md +0 -20
- package/.agent/rules/ui-design.md +0 -23
- package/.agent/rules/ux-patterns.md +0 -23
- package/.agent/scripts/auto_preview.py +0 -148
- package/.agent/scripts/checklist.py +0 -252
- package/.agent/scripts/session_manager.py +0 -120
- package/.agent/scripts/simulation_install.js +0 -59
- package/.agent/scripts/sync_to_global.py +0 -78
- package/.agent/scripts/translate_workflows.py +0 -53
- package/.agent/scripts/verify_all.py +0 -327
- package/.agent/scripts/verify_shared_modules.js +0 -126
- package/.agent/skills/fastcode-search/SKILL.md +0 -46
- package/.agent/skills/fastcode-search/fastcode_config.example.json +0 -17
- package/.agent/skills/frontend-trends-2026/SKILL.md +0 -78
- package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +0 -42
- package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +0 -32
- package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +0 -27
- package/.agent/workflows/deep-security-audit.md +0 -9
- package/.agent/workflows/growth-max.md +0 -9
- package/.agent/workflows/performance-max.md +0 -9
- package/.editorconfig +0 -21
- package/.gitattributes +0 -7
- package/CHANGELOG.md +0 -32
- package/ERRORS.md +0 -67
- package/action.yml +0 -32
- package/antigravity-ide-logo.png +0 -0
- package/antigravity-ide-logo.svg +0 -24
- package/assets/skills-bundle.json +0 -1
- package/cli/manifest.js +0 -524
- package/cli/skills/fastcode.js +0 -181
- package/docs/AGENT_FLOW.md +0 -608
- package/docs/CONTRIBUTING.md +0 -46
- package/docs/COPYRIGHT.md +0 -57
- package/docs/DEPLOYMENT.md +0 -77
- package/docs/GLOSSARY.md +0 -109
- package/docs/MASTER_GUIDE.md +0 -103
- package/docs/OPERATIONAL_FLOW.md +0 -147
- package/docs/PLAN-upgrade-core-architecture.md +0 -71
- package/docs/SKILLS.md +0 -610
- package/docs/TROUBLESHOOTING.md +0 -43
- package/jest.config.js +0 -8
- package/scripts/bump.js +0 -93
- package/scripts/bundle-skills.js +0 -59
- package/scripts/internal/automation/auto-release.js +0 -177
- package/scripts/internal/fractalize-skills.js +0 -89
- package/scripts/internal/generate-skill-definitions.js +0 -134
- package/scripts/internal/internal/update-docs.js +0 -115
- package/scripts/internal/refactor-skill-content.js +0 -127
- package/scripts/internal/rename-skills.js +0 -96
- package/scripts/internal/sync-skills.js +0 -112
- package/scripts/internal/update-frontmatter-names.js +0 -99
- package/scripts/internal/verification/audit-dna.js +0 -56
- package/scripts/internal/verification/audit-skills.js +0 -65
- package/web/src/app/docs/guide/examples/brainstorm/page.mdx +0 -91
- package/web/src/app/docs/guide/examples/create/page.mdx +0 -84
- package/web/src/app/docs/guide/examples/debugging/page.mdx +0 -83
- package/web/src/app/docs/guide/examples/deployment/page.mdx +0 -93
- package/web/src/app/docs/guide/examples/new-feature/page.mdx +0 -102
- package/web/src/app/docs/guide/examples/orchestration/page.mdx +0 -99
- package/web/src/app/docs/guide/examples/plan/page.mdx +0 -76
- package/web/src/app/docs/guide/examples/preview/page.mdx +0 -77
- package/web/src/app/docs/guide/examples/status/page.mdx +0 -78
- package/web/src/app/docs/guide/examples/test/page.mdx +0 -80
- package/web/src/app/docs/guide/examples/ui-design/page.mdx +0 -90
- package/web/src/components/mdx/Callout.tsx +0 -60
- package/web/src/components/mdx/FeatureGrid.tsx +0 -38
- package/web/src/components/mdx/ProTips.tsx +0 -29
- package/web/src/components/mdx/StepList.tsx +0 -33
- package/web/src/components/mdx/Terminal.tsx +0 -58
- package/web/src/components/mdx/index.ts +0 -5
- package/web/src/mdx-components.tsx +0 -98
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/MANIFESTO.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/tactile_audit.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/visual_audit.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/presets/linear_glow.json +0 -0
- /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/checklists/code_review.md +0 -0
- /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/presets/vscode_settings.json +0 -0
- /package/.agent/.shared/{metrics → core/metrics}/benchmarks.json +0 -0
- /package/.agent/.shared/{vitals-templates → core/vitals-templates}/audit_report.md +0 -0
- /package/.agent/.shared/{vitals-templates → core/vitals-templates}/plan_prd.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/best_patterns.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/checklists/prompt_audit.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/presets/model_configs.json +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/data +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/endpoints_naming.md +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/error_codes.csv +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/pagination_sorting.md +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/response_format.json +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/auth_rbac.sql +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/cms.sql +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/ecommerce.sql +0 -0
- /package/.agent/.shared/{design-system → technical/design-system}/brand_presets.json +0 -0
- /package/.agent/.shared/{design-system → technical/design-system}/micro_interactions.md +0 -0
- /package/.agent/.shared/{i18n-master → technical/i18n-master}/vi_tech_dictionary.csv +0 -0
- /package/.agent/.shared/{i18n-master → technical/i18n-master}/workflows.json +0 -0
- /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/checklists/chaos_engineering.md +0 -0
- /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/presets/circuit_breaker.json +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/checklists/vuln_scan.md +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/hardening.md +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/presets/helmet_config.json +0 -0
- /package/.agent/.shared/{seo-master → technical/seo-master}/checklists/technical_seo.md +0 -0
- /package/.agent/.shared/{seo-master → technical/seo-master}/presets/json_ld_schema.json +0 -0
- /package/.agent/.shared/{testing-master → technical/testing-master}/checklists/pre_release.md +0 -0
- /package/.agent/.shared/{testing-master → technical/testing-master}/scenarios.md +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/colors.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/icons.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/landing.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/products.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/react-performance.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/vue.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/web-interface.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/core.py +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/design_system.py +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/search.py +0 -0
- /package/.agent/.shared/{compliance → verticals/compliance}/legal_templates.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/edtech.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fintech.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fnb_restaurant.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/freelance_marketplace.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/healthcare.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/hospitality_tourism.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/logistics.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/marketing_automation.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/personal_branding.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/real_estate.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/retail_ecommerce.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/standard-pro-agents.md +0 -0
- /package/.agent/.shared/{infra-blueprints → verticals/infra-blueprints}/deployment_specs.md +0 -0
- /package/.agent/skills/ai-engineer/{resources → sub-skills}/ai_infra_stack.md +0 -0
- /package/.agent/skills/cloud-architect-master/{resources → sub-skills}/cost_optimization_checklist.md +0 -0
- /package/.agent/skills/cro-expert-kit/{resources → sub-skills}/psychological_triggers.md +0 -0
- /package/.agent/skills/database-migration/{resources → sub-skills}/zero_downtime_strategy.md +0 -0
- /package/.agent/skills/deployment-engineer/{resources → sub-skills}/k8s_best_practices.md +0 -0
- /package/.agent/skills/git-collaboration-master/{resources → sub-skills}/pr_template.md +0 -0
- /package/.agent/skills/incident-responder/{resources → sub-skills}/incident_severity_levels.md +0 -0
- /package/.agent/skills/legacy-modernizer/{resources → sub-skills}/strangler_fig_pattern.md +0 -0
- /package/.agent/skills/penetration-tester-master/{resources → sub-skills}/owasp_top_10_2025.md +0 -0
- /package/.agent/skills/production-code-audit/{resources → sub-skills}/solid_principles_cheat_sheet.md +0 -0
- /package/.agent/skills/seo-expert-kit/{resources → sub-skills}/technical_seo_checklist.md +0 -0
- /package/.agent/skills/tdd-master-workflow/{resources → sub-skills}/unit_test_naming_convention.md +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/charts.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/prompts.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/styles.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/typography.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
|
@@ -1,59 +1,51 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Muốn tạo tính năng mới từ A-Z?
|
|
2
|
+
description: Muốn tạo tính năng mới hoặc dự án từ A-Z? Sử dụng bộ máy nhân sự chuyên nghiệp.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /create -
|
|
5
|
+
# /create - Full-Cycle Product Creation
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
11
|
+
## 🟢 PHASE 1: Requirements Discovery
|
|
12
|
+
**Agent**: `product-manager` & `explorer-agent`
|
|
13
|
+
**Mission**: Define the "What" and "Why."
|
|
14
|
+
- **Action**: Analyze User Intent and map to project scale.
|
|
15
|
+
- **Verification**: Ensure no conflict with existing system architecture.
|
|
16
|
+
|
|
17
|
+
## 🟡 PHASE 2: Strategic Architecture (PLAN)
|
|
18
|
+
**Agent**: `project-planner`
|
|
19
|
+
**Mission**: Define the "How."
|
|
20
|
+
- **Workflow Link**: Invokes `/plan` automatically.
|
|
21
|
+
- **Artifact**: Create `docs/PLAN-{slug}.md`.
|
|
22
|
+
- **Mandatory**: User MUST approve the plan before Phase 3 begins.
|
|
23
|
+
|
|
24
|
+
## 🔵 PHASE 3: Surgical Execution
|
|
25
|
+
**Agent**: `orchestrator`
|
|
26
|
+
**Mission**: Direct the "Heavy Lifters."
|
|
27
|
+
- **Choreography**:
|
|
28
|
+
1. `database-architect` (Schema first).
|
|
29
|
+
2. `backend-specialist` (APIs/Logic).
|
|
30
|
+
3. `frontend-specialist` (Design/UI).
|
|
31
|
+
4. `documentation-writer` (Sync docs).
|
|
32
|
+
|
|
33
|
+
## 🔴 PHASE 4: Professional Audit & Handoff
|
|
34
|
+
**Agent**: `quality-inspector` & `test-engineer`
|
|
35
|
+
**Mission**: Defend the Quality Gate.
|
|
36
|
+
- **Verification**: Run `/test` and `/security` workflows.
|
|
37
|
+
- **Artifact**: Create the final `walkthrough.md` with proof of work.
|
|
37
38
|
|
|
38
39
|
---
|
|
39
40
|
|
|
40
|
-
##
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
/create e-commerce app with product listing and cart
|
|
45
|
-
/create todo app
|
|
46
|
-
/create Instagram clone
|
|
47
|
-
/create crm system with customer management
|
|
48
|
-
```
|
|
41
|
+
## Rules of Engagement:
|
|
42
|
+
- **No Placeholders**: Every generated asset must be functional.
|
|
43
|
+
- **Security-First**: No hardcoded keys, ever.
|
|
44
|
+
- **Wow Factor**: Frontend work must use `ui-ux-pro-max` standards.
|
|
49
45
|
|
|
50
46
|
---
|
|
51
47
|
|
|
52
|
-
##
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
- What are the basic features?
|
|
57
|
-
- Who will use it?
|
|
58
|
-
|
|
59
|
-
Use defaults, add details later.
|
|
48
|
+
## Examples:
|
|
49
|
+
- `/create e-commerce dashboard with analytics`
|
|
50
|
+
- `/create inventory management CLI in Rust`
|
|
51
|
+
- `/create portfolio site with video backgrounds`
|
|
@@ -1,103 +1,64 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Gặp lỗi khó sửa? Để AI soi log và sửa giúp bạn.
|
|
2
|
+
description: Gặp lỗi khó sửa? Để AI soi log và sửa giúp bạn theo quy trình chuyên nghiệp.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /debug - Systematic
|
|
5
|
+
# /debug - Systematic Debugging System
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
## 🟢 PHASE 1: Forensic Discovery (The "Crime Scene")
|
|
12
|
+
**Agent**: `explorer-agent` & `debugger`
|
|
13
|
+
**Mission**: Isolate the exact point of failure.
|
|
14
|
+
- **Action**: Read the Stack Trace or Terminal Logs.
|
|
15
|
+
- **Action**: Locate the failing file:line.
|
|
16
|
+
- **DNA Link**: Consult `rules/error-logging.md` to see if this is a known recurring issue.
|
|
17
|
+
|
|
18
|
+
## 🟡 PHASE 2: Root Cause Analysis (RCA)
|
|
19
|
+
**Agent**: `debugger`
|
|
20
|
+
**Mission**: Formulate a hypothesis (Why is it broken?).
|
|
21
|
+
- **Hypothesis Checklist**:
|
|
22
|
+
- Null/Undefined safety?
|
|
23
|
+
- Race condition / Sync error?
|
|
24
|
+
- Missing environment variable?
|
|
25
|
+
- Breaking dependency change?
|
|
26
|
+
- **Artifact**: Propose the fix to the User with [Pros/Cons].
|
|
27
|
+
|
|
28
|
+
## 🔵 PHASE 3: Surgical Repair
|
|
29
|
+
**Agent**: `backend-specialist` or `frontend-specialist`
|
|
30
|
+
**Mission**: Apply the targetted fix.
|
|
31
|
+
- **Correction**: Wrap sensitive logic in `try...catch`.
|
|
32
|
+
- **Defensive API**: Use Optional Chaining (`?.`) and Nullish Coalescing (`??`).
|
|
33
|
+
|
|
34
|
+
## 🔴 PHASE 4: Verification & Post-Mortem
|
|
35
|
+
**Agent**: `test-engineer` & `quality-inspector`
|
|
36
|
+
**Mission**: Ensure the "Bleeding" has stopped.
|
|
37
|
+
- **Action**: Run the failing test case to confirm FIX.
|
|
38
|
+
- **Reporting**: Log the incident in `ERRORS.md`.
|
|
39
|
+
- **Handoff**: Create a `walkthrough.md` explaining the fix.
|
|
14
40
|
|
|
15
41
|
---
|
|
16
42
|
|
|
17
|
-
##
|
|
18
|
-
|
|
19
|
-
When `/debug` is triggered:
|
|
20
|
-
|
|
21
|
-
1. **Gather information**
|
|
22
|
-
- Error message
|
|
23
|
-
- Reproduction steps
|
|
24
|
-
- Expected vs actual behavior
|
|
25
|
-
- Recent changes
|
|
26
|
-
|
|
27
|
-
2. **Form hypotheses**
|
|
28
|
-
- List possible causes
|
|
29
|
-
- Order by likelihood
|
|
30
|
-
|
|
31
|
-
3. **Investigate systematically**
|
|
32
|
-
- Test each hypothesis
|
|
33
|
-
- Check logs, data flow
|
|
34
|
-
- Use elimination method
|
|
35
|
-
|
|
36
|
-
4. **Fix and prevent**
|
|
37
|
-
- Apply fix
|
|
38
|
-
- Explain root cause
|
|
39
|
-
- Add prevention measures
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Output Format
|
|
44
|
-
|
|
43
|
+
## Output Format:
|
|
45
44
|
```markdown
|
|
46
|
-
##
|
|
47
|
-
|
|
48
|
-
### 1. Symptom
|
|
49
|
-
[What's happening]
|
|
50
|
-
|
|
51
|
-
### 2. Information Gathered
|
|
52
|
-
- Error: `[error message]`
|
|
53
|
-
- File: `[filepath]`
|
|
54
|
-
- Line: [line number]
|
|
55
|
-
|
|
56
|
-
### 3. Hypotheses
|
|
57
|
-
1. ❓ [Most likely cause]
|
|
58
|
-
2. ❓ [Second possibility]
|
|
59
|
-
3. ❓ [Less likely cause]
|
|
45
|
+
## 🐞 Debug Report: [Bug Title]
|
|
60
46
|
|
|
61
|
-
###
|
|
47
|
+
### Root Cause
|
|
48
|
+
[One sentence explanation]
|
|
62
49
|
|
|
63
|
-
|
|
64
|
-
[
|
|
50
|
+
### The Fix
|
|
51
|
+
[Diff or explanation]
|
|
65
52
|
|
|
66
|
-
|
|
67
|
-
[
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
🎯 **[Explanation of why this happened]**
|
|
71
|
-
|
|
72
|
-
### 6. Fix
|
|
73
|
-
```[language]
|
|
74
|
-
// Before
|
|
75
|
-
[broken code]
|
|
76
|
-
|
|
77
|
-
// After
|
|
78
|
-
[fixed code]
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### 7. Prevention
|
|
82
|
-
🛡️ [How to prevent this in the future]
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Examples
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
/debug login not working
|
|
91
|
-
/debug API returns 500
|
|
92
|
-
/debug form doesn't submit
|
|
93
|
-
/debug data not saving
|
|
53
|
+
### Verification
|
|
54
|
+
- [ ] Test case passed
|
|
55
|
+
- [ ] No regression found
|
|
56
|
+
- [ ] Error logged in ERRORS.md
|
|
94
57
|
```
|
|
95
58
|
|
|
96
59
|
---
|
|
97
60
|
|
|
98
|
-
## Key Principles
|
|
99
|
-
|
|
100
|
-
- **
|
|
101
|
-
- **
|
|
102
|
-
- **Explain why** - not just what to fix
|
|
103
|
-
- **Prevent recurrence** - add tests, validation
|
|
61
|
+
## Key Principles:
|
|
62
|
+
- **Evidence-First**: Don't guess, use the logs.
|
|
63
|
+
- **Regression-Aware**: Every fix must come with a test case to prevent it from returning.
|
|
64
|
+
- **Clean Fix**: Don't use "band-aid" fixes unless it's a critical production outage.
|
|
@@ -2,175 +2,50 @@
|
|
|
2
2
|
description: Code xong rồi? Đẩy lên Server/Vercel thôi.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /deploy - Production
|
|
5
|
+
# /deploy - Production Release System
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## 🟢 PHASE 1: Pre-Flight Integrity Check
|
|
12
|
+
**Agent**: `devops-engineer` & `security-auditor`
|
|
13
|
+
**Mission**: Ensure the code is "Deployable."
|
|
14
|
+
- **Action**: Run `npm run build` and `npm test`.
|
|
15
|
+
- **Checklist**:
|
|
16
|
+
- [ ] Zero Lint/TS errors.
|
|
17
|
+
- [ ] All security patches applied (`npm audit`).
|
|
18
|
+
- [ ] Environment variables configured in Production.
|
|
12
19
|
|
|
13
|
-
|
|
20
|
+
## 🟡 PHASE 2: Artifact Creation & Gating
|
|
21
|
+
**Agent**: `devops-engineer`
|
|
22
|
+
**Mission**: Build the release.
|
|
23
|
+
- **Action**: Create the production bundle/container.
|
|
24
|
+
- **Gate**: Stop and verify the "Pre-deploy Checklist" success.
|
|
14
25
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
## 🔵 PHASE 3: Surgical Deployment
|
|
27
|
+
**Agent**: `devops-engineer`
|
|
28
|
+
**Mission**: Switch the traffic.
|
|
29
|
+
- **Action**: Execute `vercel --prod`, `railway up`, or target platform command.
|
|
30
|
+
- **Strategy**: Use Blue/Green or Canary if supported by the infrastructure.
|
|
18
31
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
```
|
|
32
|
+
## 🔴 PHASE 4: Health Audit & Verification
|
|
33
|
+
**Agent**: `performance-optimizer` & `incident-responder`
|
|
34
|
+
**Mission**: Verify the "Live" state.
|
|
35
|
+
- **Action**: Check Production URL response time and status.
|
|
36
|
+
- **Action**: Verify Database connectivity in the live environment.
|
|
37
|
+
- **Artifact**: Provide the Production URL and Health Badge to the User.
|
|
26
38
|
|
|
27
39
|
---
|
|
28
40
|
|
|
29
|
-
##
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
```markdown
|
|
34
|
-
## 🚀 Pre-Deploy Checklist
|
|
35
|
-
|
|
36
|
-
### Code Quality
|
|
37
|
-
- [ ] No TypeScript errors (`npx tsc --noEmit`)
|
|
38
|
-
- [ ] ESLint passing (`npx eslint .`)
|
|
39
|
-
- [ ] All tests passing (`npm test`)
|
|
40
|
-
|
|
41
|
-
### Security
|
|
42
|
-
- [ ] No hardcoded secrets
|
|
43
|
-
- [ ] Environment variables documented
|
|
44
|
-
- [ ] Dependencies audited (`npm audit`)
|
|
45
|
-
|
|
46
|
-
### Performance
|
|
47
|
-
- [ ] Bundle size acceptable
|
|
48
|
-
- [ ] No console.log statements
|
|
49
|
-
- [ ] Images optimized
|
|
50
|
-
|
|
51
|
-
### Documentation
|
|
52
|
-
- [ ] README updated
|
|
53
|
-
- [ ] CHANGELOG updated
|
|
54
|
-
- [ ] API docs current
|
|
55
|
-
|
|
56
|
-
### Ready to deploy? (y/n)
|
|
57
|
-
```
|
|
41
|
+
## Deployment Rules:
|
|
42
|
+
- **No Yolo-Deploy**: Never deploy without a successful local build.
|
|
43
|
+
- **Rollback Ready**: Always have a plan to return to the previous version.
|
|
44
|
+
- **Zero Downtime**: Prioritize strategies that don't break the user experience.
|
|
58
45
|
|
|
59
46
|
---
|
|
60
47
|
|
|
61
|
-
##
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
│ /deploy │
|
|
66
|
-
└────────┬────────┘
|
|
67
|
-
│
|
|
68
|
-
▼
|
|
69
|
-
┌─────────────────┐
|
|
70
|
-
│ Pre-flight │
|
|
71
|
-
│ checks │
|
|
72
|
-
└────────┬────────┘
|
|
73
|
-
│
|
|
74
|
-
Pass? ──No──► Fix issues
|
|
75
|
-
│
|
|
76
|
-
Yes
|
|
77
|
-
│
|
|
78
|
-
▼
|
|
79
|
-
┌─────────────────┐
|
|
80
|
-
│ Build │
|
|
81
|
-
│ application │
|
|
82
|
-
└────────┬────────┘
|
|
83
|
-
│
|
|
84
|
-
▼
|
|
85
|
-
┌─────────────────┐
|
|
86
|
-
│ Deploy to │
|
|
87
|
-
│ platform │
|
|
88
|
-
└────────┬────────┘
|
|
89
|
-
│
|
|
90
|
-
▼
|
|
91
|
-
┌─────────────────┐
|
|
92
|
-
│ Health check │
|
|
93
|
-
│ & verify │
|
|
94
|
-
└────────┬────────┘
|
|
95
|
-
│
|
|
96
|
-
▼
|
|
97
|
-
┌─────────────────┐
|
|
98
|
-
│ ✅ Complete │
|
|
99
|
-
└─────────────────┘
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## Output Format
|
|
105
|
-
|
|
106
|
-
### Successful Deploy
|
|
107
|
-
|
|
108
|
-
```markdown
|
|
109
|
-
## 🚀 Deployment Complete
|
|
110
|
-
|
|
111
|
-
### Summary
|
|
112
|
-
- **Version:** v1.2.3
|
|
113
|
-
- **Environment:** production
|
|
114
|
-
- **Duration:** 47 seconds
|
|
115
|
-
- **Platform:** Vercel
|
|
116
|
-
|
|
117
|
-
### URLs
|
|
118
|
-
- 🌐 Production: https://app.example.com
|
|
119
|
-
- 📊 Dashboard: https://vercel.com/project
|
|
120
|
-
|
|
121
|
-
### What Changed
|
|
122
|
-
- Added user profile feature
|
|
123
|
-
- Fixed login bug
|
|
124
|
-
- Updated dependencies
|
|
125
|
-
|
|
126
|
-
### Health Check
|
|
127
|
-
✅ API responding (200 OK)
|
|
128
|
-
✅ Database connected
|
|
129
|
-
✅ All services healthy
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Failed Deploy
|
|
133
|
-
|
|
134
|
-
```markdown
|
|
135
|
-
## ❌ Deployment Failed
|
|
136
|
-
|
|
137
|
-
### Error
|
|
138
|
-
Build failed at step: TypeScript compilation
|
|
139
|
-
|
|
140
|
-
### Details
|
|
141
|
-
```
|
|
142
|
-
error TS2345: Argument of type 'string' is not assignable...
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Resolution
|
|
146
|
-
1. Fix TypeScript error in `src/services/user.ts:45`
|
|
147
|
-
2. Run `npm run build` locally to verify
|
|
148
|
-
3. Try `/deploy` again
|
|
149
|
-
|
|
150
|
-
### Rollback Available
|
|
151
|
-
Previous version (v1.2.2) is still active.
|
|
152
|
-
Run `/deploy rollback` if needed.
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## Platform Support
|
|
158
|
-
|
|
159
|
-
| Platform | Command | Notes |
|
|
160
|
-
|----------|---------|-------|
|
|
161
|
-
| Vercel | `vercel --prod` | Auto-detected for Next.js |
|
|
162
|
-
| Railway | `railway up` | Needs Railway CLI |
|
|
163
|
-
| Fly.io | `fly deploy` | Needs flyctl |
|
|
164
|
-
| Docker | `docker compose up -d` | For self-hosted |
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## Examples
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
/deploy
|
|
172
|
-
/deploy check
|
|
173
|
-
/deploy preview
|
|
174
|
-
/deploy production --skip-tests
|
|
175
|
-
/deploy rollback
|
|
176
|
-
```
|
|
48
|
+
## Examples:
|
|
49
|
+
- `/deploy production`
|
|
50
|
+
- `/deploy preview`
|
|
51
|
+
- `/deploy check`
|
|
@@ -1,27 +1,50 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Lười viết docs? Để AI tự viết cho
|
|
2
|
+
description: Lười viết docs? Để AI tự viết cho chuyên nghiệp và đầy đủ.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /document -
|
|
5
|
+
# /document - Knowledge & Documentation System
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
11
|
+
## 🟢 PHASE 1: Codebase Extraction
|
|
12
|
+
**Agent**: `explorer-agent` & `documentation-writer`
|
|
13
|
+
**Mission**: Understand what needs explaining.
|
|
14
|
+
- **Action**: Extract Docstrings, Type Definitions, and API routes.
|
|
15
|
+
- **Action**: Identify "Knowledge Gaps" in current documentation.
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
## 🟡 PHASE 2: Logic & Structural Drafting
|
|
18
|
+
**Agent**: `documentation-writer`
|
|
19
|
+
**Mission**: Create the narrative.
|
|
20
|
+
- **Protocol**:
|
|
21
|
+
- Why does this code exist? (Business Logic).
|
|
22
|
+
- How do I use it? (Quick Start/Examples).
|
|
23
|
+
- What are the risks? (Caveats/Notes).
|
|
24
|
+
- **Format**: Use GitHub Flavored Markdown (GFM) with appropriate Alerts.
|
|
25
|
+
|
|
26
|
+
## 🔵 PHASE 3: Surgical Update
|
|
27
|
+
**Agent**: `documentation-writer`
|
|
28
|
+
**Mission**: Apply the knowledge.
|
|
29
|
+
- **Action**: Create or Update `README.md`, `API.md`, or code comments.
|
|
30
|
+
- **Standard**: Follow [documentation-templates](file:///skills/documentation-templates/SKILL.md).
|
|
31
|
+
|
|
32
|
+
## 🔴 PHASE 4: Clarity Audit & Sync
|
|
33
|
+
**Agent**: `quality-inspector` & `seo-specialist`
|
|
34
|
+
**Mission**: Ensure the docs are discoverable and clear.
|
|
35
|
+
- **Verification**: Run `textlint` and check for broken links.
|
|
36
|
+
- **Artifact**: Create a unified `walkthrough.md` if this was a major doc update.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Documentation Mandates:
|
|
41
|
+
- **No Stale Docs**: Documentation must match current code state.
|
|
42
|
+
- **AI-Ready**: Use structured headers to help other agents find context.
|
|
43
|
+
- **User-Centric**: Write for the persona appropriate for the file (Dev vs User).
|
|
19
44
|
|
|
20
45
|
---
|
|
21
46
|
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/document all # Full documentation refresh
|
|
27
|
-
```
|
|
47
|
+
## Examples:
|
|
48
|
+
- `/document this entire directory`
|
|
49
|
+
- `/document the authentication flow`
|
|
50
|
+
- `/document generate API reference`
|
|
@@ -2,62 +2,47 @@
|
|
|
2
2
|
description: Muốn sửa màu, thêm nút, sửa logic nhỏ? Vào đây.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /enhance -
|
|
5
|
+
# /enhance - Incremental Feature Upgrade
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
4. **Apply**
|
|
37
|
-
- Call relevant agents
|
|
38
|
-
- Make changes
|
|
39
|
-
- Test
|
|
40
|
-
|
|
41
|
-
5. **Update Preview**
|
|
42
|
-
- Hot reload or restart
|
|
11
|
+
## 🟢 PHASE 1: Impact Discovery
|
|
12
|
+
**Agent**: `explorer-agent` & `frontend-specialist`
|
|
13
|
+
**Mission**: Map the "Blast Radius."
|
|
14
|
+
- **Action**: Identify all components and services affected by the change.
|
|
15
|
+
- **Action**: Check for breaking CSS or Logic changes.
|
|
16
|
+
|
|
17
|
+
## 🟡 PHASE 2: Enhancement Plan
|
|
18
|
+
**Agent**: `project-planner`
|
|
19
|
+
**Mission**: Strategic addition.
|
|
20
|
+
- **Action**: Create a mini-plan in the `task.md`.
|
|
21
|
+
- **Note**: For major UI overhauls, invoke `/brainstorm` first.
|
|
22
|
+
|
|
23
|
+
## 🔵 PHASE 3: Surgical Implementation
|
|
24
|
+
**Agent**: `frontend-specialist` or `backend-specialist`
|
|
25
|
+
**Mission**: Add the "WOW" factor.
|
|
26
|
+
- **Action**: Implement changes using `ui-ux-pro-max` standards.
|
|
27
|
+
- **Standard**: Follow [clean-code](file:///skills/clean-code/SKILL.md) and [tailwind-patterns](file:///skills/tailwind-patterns/SKILL.md).
|
|
28
|
+
|
|
29
|
+
## 🔴 PHASE 4: Professional Verification
|
|
30
|
+
**Agent**: `quality-inspector` & `test-engineer`
|
|
31
|
+
**Mission**: Verify the delta.
|
|
32
|
+
- **Action**: Run `/preview` to playtest the UI.
|
|
33
|
+
- **Action**: Verify that existing tests still pass (Regression Check).
|
|
34
|
+
- **Handoff**: Document the change in `walkthrough.md`.
|
|
43
35
|
|
|
44
36
|
---
|
|
45
37
|
|
|
46
|
-
##
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
/enhance build admin panel
|
|
51
|
-
/enhance integrate payment system
|
|
52
|
-
/enhance add search feature
|
|
53
|
-
/enhance edit profile page
|
|
54
|
-
/enhance make responsive
|
|
55
|
-
```
|
|
38
|
+
## Enhancement Principles:
|
|
39
|
+
- **Non-Destructive**: Don't break existing features to add new ones.
|
|
40
|
+
- **Consistent UI**: New elements must match the existing Design System.
|
|
41
|
+
- **Atomic Commits**: Group project changes in logical git commits.
|
|
56
42
|
|
|
57
43
|
---
|
|
58
44
|
|
|
59
|
-
##
|
|
60
|
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
- Commit each change with git
|
|
45
|
+
## Examples:
|
|
46
|
+
- `/enhance add dark mode toggle`
|
|
47
|
+
- `/enhance integrate Google Auth`
|
|
48
|
+
- `/enhance make the landing page sections fade in`
|
|
@@ -1,26 +1,47 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Server có ổn không? Cài giám sát ngay.
|
|
2
|
+
description: Server và Pipeline có ổn không? Cài đặt giám sát ngay.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /monitor -
|
|
5
|
+
# /monitor - Full-Stack Observability & Health
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
11
|
+
## 🟢 PHASE 1: Topology Discovery
|
|
12
|
+
**Agent**: `devops-engineer` & `explorer-agent`
|
|
13
|
+
**Mission**: Map the "Heartbeat" locations.
|
|
14
|
+
- **Action**: Identify critical services, databases, and CI/CD pipelines.
|
|
15
|
+
- **Action**: Locate existing logging and metrics configuration.
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
## 🟡 PHASE 2: Sourcing & Alerting Logic
|
|
18
|
+
**Agent**: `incident-responder` or `devops-engineer`
|
|
19
|
+
**Mission**: Define "Healthy."
|
|
20
|
+
- **Action**: Set thresholds for Error Rates, Latency (p99), and Resource Saturation.
|
|
21
|
+
- **Action**: Configure Alerting routes (Slack, Email, PagerTree).
|
|
22
|
+
|
|
23
|
+
## 🔵 PHASE 3: Surgical Instrumentation
|
|
24
|
+
**Agent**: `devops-engineer`
|
|
25
|
+
**Mission**: Install the "Nervous System."
|
|
26
|
+
- **Action**: Setup OpenTelemetry, Prometheus, or Grafana Dashboards.
|
|
27
|
+
- **Action**: Implement log rotation and sanitization filters.
|
|
28
|
+
|
|
29
|
+
## 🔴 PHASE 4: Reliability Audit
|
|
30
|
+
**Agent**: `quality-inspector`
|
|
31
|
+
**Mission**: Verify the "Watchman."
|
|
32
|
+
- **Verification**: Trigger a mock failure to test alert delivery.
|
|
33
|
+
- **Reporting**: Report the Dashboard URL or "Health Status" to the User.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Observability Principles:
|
|
38
|
+
- **Zero Blindspots**: Monitor the "Critical Path" end-to-end.
|
|
39
|
+
- **No Noise**: Alerts must be actionable; suppress low-signal chatter.
|
|
40
|
+
- **Evidence-Based**: Operational decisions must be based on metrics, not intuition.
|
|
19
41
|
|
|
20
42
|
---
|
|
21
43
|
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
```
|
|
44
|
+
## Examples:
|
|
45
|
+
- `/monitor setup uptime tracking`
|
|
46
|
+
- `/monitor dashboard for backend latency`
|
|
47
|
+
- `/monitor check pipeline reliability`
|