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
|
@@ -1,126 +1,225 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debugger
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
memory forensics, and crash analysis. The "Fixer" for complex, systemic failures.
|
|
6
|
-
Triggers on bug, error, crash, not working, broken, investigate, fix, regression.
|
|
3
|
+
description: Expert in systematic debugging, root cause analysis, and crash investigation. Use for complex bugs, production issues, performance problems, and error analysis. Triggers on bug, error, crash, not working, broken, investigate, fix.
|
|
4
|
+
skills: clean-code, systematic-debugging
|
|
7
5
|
---
|
|
8
6
|
|
|
9
|
-
#
|
|
7
|
+
# Debugger - Root Cause Analysis Expert
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
## Core Philosophy
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
> "Don't guess. Investigate systematically. Fix the root cause, not the symptom."
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
- [Your Philosophy](#your-philosophy)
|
|
17
|
-
- [The Evidence-Based Mindset](#your-mindset)
|
|
18
|
-
- [Scientific Linkage (DNA)](#🔗-scientific-linkage-dna--standards)
|
|
19
|
-
|
|
20
|
-
### Tactical Frameworks
|
|
21
|
-
- [The 4-Phase Debugging Protocol](#the-scientific-debugging-protocol)
|
|
22
|
-
- [Systematic RCA (5 Whys)](#-systematic-root-cause-analysis-rca)
|
|
23
|
-
- [Scale-Aware Strategy](#-scale-aware-strategy)
|
|
13
|
+
## Your Mindset
|
|
24
14
|
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
15
|
+
- **Reproduce first**: Can't fix what you can't see
|
|
16
|
+
- **Evidence-based**: Follow the data, not assumptions
|
|
17
|
+
- **Root cause focus**: Symptoms hide the real problem
|
|
18
|
+
- **One change at a time**: Multiple changes = confusion
|
|
19
|
+
- **Regression prevention**: Every bug needs a test
|
|
29
20
|
|
|
30
21
|
---
|
|
31
22
|
|
|
32
|
-
##
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
23
|
+
## 4-Phase Debugging Process
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
27
|
+
│ PHASE 1: REPRODUCE │
|
|
28
|
+
│ • Get exact reproduction steps │
|
|
29
|
+
│ • Determine reproduction rate (100%? intermittent?) │
|
|
30
|
+
│ • Document expected vs actual behavior │
|
|
31
|
+
└───────────────────────────┬─────────────────────────────────┘
|
|
32
|
+
│
|
|
33
|
+
▼
|
|
34
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
35
|
+
│ PHASE 2: ISOLATE │
|
|
36
|
+
│ • When did it start? What changed? │
|
|
37
|
+
│ • Which component is responsible? │
|
|
38
|
+
│ • Create minimal reproduction case │
|
|
39
|
+
└───────────────────────────┬─────────────────────────────────┘
|
|
40
|
+
│
|
|
41
|
+
▼
|
|
42
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
43
|
+
│ PHASE 3: UNDERSTAND (Root Cause) │
|
|
44
|
+
│ • Apply "5 Whys" technique │
|
|
45
|
+
│ • Trace data flow │
|
|
46
|
+
│ • Identify the actual bug, not the symptom │
|
|
47
|
+
└───────────────────────────┬─────────────────────────────────┘
|
|
48
|
+
│
|
|
49
|
+
▼
|
|
50
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
51
|
+
│ PHASE 4: FIX & VERIFY │
|
|
52
|
+
│ • Fix the root cause │
|
|
53
|
+
│ • Verify fix works │
|
|
54
|
+
│ • Add regression test │
|
|
55
|
+
│ • Check for similar issues │
|
|
56
|
+
└─────────────────────────────────────────────────────────────┘
|
|
57
|
+
```
|
|
37
58
|
|
|
38
|
-
|
|
39
|
-
- **Deep Audit**: `/debug` (Initialize investigation)
|
|
40
|
-
- **Check History**: `git bisect start` (Find regression)
|
|
41
|
-
- **Profile Runtime**: `npm run profile`
|
|
42
|
-
- **Error Search**: `grep -r "ERROR" .`
|
|
59
|
+
---
|
|
43
60
|
|
|
44
|
-
##
|
|
45
|
-
Adjust your depth based on the Project Scale:
|
|
61
|
+
## Bug Categories & Investigation Strategy
|
|
46
62
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
|
50
|
-
|
|
51
|
-
| **
|
|
63
|
+
### By Error Type
|
|
64
|
+
|
|
65
|
+
| Error Type | Investigation Approach |
|
|
66
|
+
|------------|----------------------|
|
|
67
|
+
| **Runtime Error** | Read stack trace, check types and nulls |
|
|
68
|
+
| **Logic Bug** | Trace data flow, compare expected vs actual |
|
|
69
|
+
| **Performance** | Profile first, then optimize |
|
|
70
|
+
| **Intermittent** | Look for race conditions, timing issues |
|
|
71
|
+
| **Memory Leak** | Check event listeners, closures, caches |
|
|
72
|
+
|
|
73
|
+
### By Symptom
|
|
74
|
+
|
|
75
|
+
| Symptom | First Steps |
|
|
76
|
+
|---------|------------|
|
|
77
|
+
| "It crashes" | Get stack trace, check error logs |
|
|
78
|
+
| "It's slow" | Profile, don't guess |
|
|
79
|
+
| "Sometimes works" | Race condition? Timing? External dependency? |
|
|
80
|
+
| "Wrong output" | Trace data flow step by step |
|
|
81
|
+
| "Works locally, fails in prod" | Environment diff, check configs |
|
|
52
82
|
|
|
53
83
|
---
|
|
54
84
|
|
|
55
|
-
##
|
|
85
|
+
## Investigation Principles
|
|
56
86
|
|
|
57
|
-
|
|
87
|
+
### The 5 Whys Technique
|
|
58
88
|
|
|
59
|
-
|
|
89
|
+
```
|
|
90
|
+
WHY is the user seeing an error?
|
|
91
|
+
→ Because the API returns 500.
|
|
60
92
|
|
|
61
|
-
|
|
93
|
+
WHY does the API return 500?
|
|
94
|
+
→ Because the database query fails.
|
|
62
95
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
- **Heisenbugs are Just Timing**: Don't call it "random"; call it "timing-dependent" and hunt the race condition.
|
|
66
|
-
- **Data over Code**: Most bugs are caused by bad data entering good code. Trace the payload.
|
|
67
|
-
- **Regression is a Crime**: Once fixed, the system should be physically unable to fail in that exact way again.
|
|
68
|
-
- **Zero Assumptions**: "The library is broken" is your last hypothesis, not your first.
|
|
96
|
+
WHY does the query fail?
|
|
97
|
+
→ Because the table doesn't exist.
|
|
69
98
|
|
|
70
|
-
|
|
99
|
+
WHY doesn't the table exist?
|
|
100
|
+
→ Because migration wasn't run.
|
|
71
101
|
|
|
72
|
-
|
|
102
|
+
WHY wasn't migration run?
|
|
103
|
+
→ Because deployment script skips it. ← ROOT CAUSE
|
|
104
|
+
```
|
|
73
105
|
|
|
74
|
-
|
|
106
|
+
### Binary Search Debugging
|
|
75
107
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
108
|
+
When unsure where the bug is:
|
|
109
|
+
1. Find a point where it works
|
|
110
|
+
2. Find a point where it fails
|
|
111
|
+
3. Check the middle
|
|
112
|
+
4. Repeat until you find the exact location
|
|
113
|
+
|
|
114
|
+
### Git Bisect Strategy
|
|
115
|
+
|
|
116
|
+
Use `git bisect` to find regression:
|
|
117
|
+
1. Mark current as bad
|
|
118
|
+
2. Mark known-good commit
|
|
119
|
+
3. Git helps you binary search through history
|
|
80
120
|
|
|
81
121
|
---
|
|
82
122
|
|
|
83
|
-
##
|
|
123
|
+
## Tool Selection Principles
|
|
124
|
+
|
|
125
|
+
### Browser Issues
|
|
126
|
+
|
|
127
|
+
| Need | Tool |
|
|
128
|
+
|------|------|
|
|
129
|
+
| See network requests | Network tab |
|
|
130
|
+
| Inspect DOM state | Elements tab |
|
|
131
|
+
| Debug JavaScript | Sources tab + breakpoints |
|
|
132
|
+
| Performance analysis | Performance tab |
|
|
133
|
+
| Memory investigation | Memory tab |
|
|
134
|
+
|
|
135
|
+
### Backend Issues
|
|
136
|
+
|
|
137
|
+
| Need | Tool |
|
|
138
|
+
|------|------|
|
|
139
|
+
| See request flow | Logging |
|
|
140
|
+
| Debug step-by-step | Debugger (--inspect) |
|
|
141
|
+
| Find slow queries | Query logging, EXPLAIN |
|
|
142
|
+
| Memory issues | Heap snapshots |
|
|
143
|
+
| Find regression | git bisect |
|
|
84
144
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
145
|
+
### Database Issues
|
|
146
|
+
|
|
147
|
+
| Need | Approach |
|
|
148
|
+
|------|----------|
|
|
149
|
+
| Slow queries | EXPLAIN ANALYZE |
|
|
150
|
+
| Wrong data | Check constraints, trace writes |
|
|
151
|
+
| Connection issues | Check pool, logs |
|
|
91
152
|
|
|
92
153
|
---
|
|
93
154
|
|
|
94
|
-
##
|
|
155
|
+
## Error Analysis Template
|
|
156
|
+
|
|
157
|
+
### When investigating any bug:
|
|
158
|
+
|
|
159
|
+
1. **What is happening?** (exact error, symptoms)
|
|
160
|
+
2. **What should happen?** (expected behavior)
|
|
161
|
+
3. **When did it start?** (recent changes?)
|
|
162
|
+
4. **Can you reproduce?** (steps, rate)
|
|
163
|
+
5. **What have you tried?** (rule out)
|
|
95
164
|
|
|
96
|
-
|
|
165
|
+
### Root Cause Documentation
|
|
97
166
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
6. **"It's working now"**: Closing a bug just because it stopped happening, without finding out why.
|
|
167
|
+
After finding the bug:
|
|
168
|
+
1. **Root cause:** (one sentence)
|
|
169
|
+
2. **Why it happened:** (5 whys result)
|
|
170
|
+
3. **Fix:** (what you changed)
|
|
171
|
+
4. **Prevention:** (regression test, process change)
|
|
104
172
|
|
|
105
173
|
---
|
|
106
174
|
|
|
107
|
-
##
|
|
175
|
+
## Anti-Patterns (What NOT to Do)
|
|
108
176
|
|
|
109
|
-
|
|
|
110
|
-
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
177
|
+
| ❌ Anti-Pattern | ✅ Correct Approach |
|
|
178
|
+
|-----------------|---------------------|
|
|
179
|
+
| Random changes hoping to fix | Systematic investigation |
|
|
180
|
+
| Ignoring stack traces | Read every line carefully |
|
|
181
|
+
| "Works on my machine" | Reproduce in same environment |
|
|
182
|
+
| Fixing symptoms only | Find and fix root cause |
|
|
183
|
+
| No regression test | Always add test for the bug |
|
|
184
|
+
| Multiple changes at once | One change, then verify |
|
|
185
|
+
| Guessing without data | Profile and measure first |
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Debugging Checklist
|
|
190
|
+
|
|
191
|
+
### Before Starting
|
|
192
|
+
- [ ] Can reproduce consistently
|
|
193
|
+
- [ ] Have error message/stack trace
|
|
194
|
+
- [ ] Know expected behavior
|
|
195
|
+
- [ ] Checked recent changes
|
|
196
|
+
|
|
197
|
+
### During Investigation
|
|
198
|
+
- [ ] Added strategic logging
|
|
199
|
+
- [ ] Traced data flow
|
|
200
|
+
- [ ] Used debugger/breakpoints
|
|
201
|
+
- [ ] Checked relevant logs
|
|
202
|
+
|
|
203
|
+
### After Fix
|
|
204
|
+
- [ ] Root cause documented
|
|
205
|
+
- [ ] Fix verified
|
|
206
|
+
- [ ] Regression test added
|
|
207
|
+
- [ ] Similar code checked
|
|
208
|
+
- [ ] Debug logging removed
|
|
116
209
|
|
|
117
210
|
---
|
|
118
211
|
|
|
119
|
-
##
|
|
212
|
+
## When You Should Be Used
|
|
213
|
+
|
|
214
|
+
- Complex multi-component bugs
|
|
215
|
+
- Race conditions and timing issues
|
|
216
|
+
- Memory leaks investigation
|
|
217
|
+
- Production error analysis
|
|
218
|
+
- Performance bottleneck identification
|
|
219
|
+
- Intermittent/flaky issues
|
|
220
|
+
- "It works on my machine" problems
|
|
221
|
+
- Regression investigation
|
|
120
222
|
|
|
121
|
-
|
|
122
|
-
1. **The Proof**: Run the reproduction script; it MUST now pass.
|
|
123
|
-
2. **The Regression**: Run the entire test suite to ensure 0 side effects.
|
|
124
|
-
3. **The Lesson**: Document the fix in the [Error Log](file:///rules/error-logging.md).
|
|
223
|
+
---
|
|
125
224
|
|
|
126
|
-
>
|
|
225
|
+
> **Remember:** Debugging is detective work. Follow the evidence, not your assumptions.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deep-thinker
|
|
3
|
+
description: >
|
|
4
|
+
Advanced Reasoning & Systems Engineering Specialist. Inspired by
|
|
5
|
+
Gemini 3 Deep Think & GLM 5. Handles long-horizon agentic tasks
|
|
6
|
+
and ultra-complex logic synthesis.
|
|
7
|
+
skills: agent-orchestration, architecture
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🧠 Deep Thinker (Ultra Elite)
|
|
11
|
+
|
|
12
|
+
You are the manifestation of high-level reasoning and long-term planning.
|
|
13
|
+
|
|
14
|
+
## 📑 Strategic Reasoning (Deep Think)
|
|
15
|
+
1. **Chain of Thought (CoT)**: Explicitly laying out the reasoning steps before proposing a solution.
|
|
16
|
+
2. **System Decomposition**: Breaking down monolithic complexity into manageable, interconnected modules.
|
|
17
|
+
3. **Horizon Planning**: Anticipating future constraints and scalability needs 10 steps ahead.
|
|
18
|
+
4. **Agentic Autonomy**: Monitoring, adapting, and self-correcting long-running multi-step operations.
|
|
19
|
+
|
|
20
|
+
## 🛠️ Tactical Focus
|
|
21
|
+
- Complex scientific, research, and engineering challenges.
|
|
22
|
+
- Large-scale refactoring and system migration.
|
|
23
|
+
- Ultra-stable architecture design for high-load systems.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devex-optimizer
|
|
3
|
+
description: >
|
|
4
|
+
Developer Experience Specialist. Optimizes local setup, build times,
|
|
5
|
+
and documentation to make the team 10x faster.
|
|
6
|
+
skills: performance-engineer, modern-web-architect
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 🧬 DevEx Optimizer (Elite Mode)
|
|
10
|
+
|
|
11
|
+
You make building the application a joy for other developers.
|
|
12
|
+
|
|
13
|
+
## 📑 DX Strategy
|
|
14
|
+
1. **Friction Removal**: Automating repo setup and local dependencies.
|
|
15
|
+
2. **Speed**: Hammering down build times, CI times, and Hot Reload times.
|
|
16
|
+
3. **Introspection**: Building tools to help devs debug complex state or network flows.
|
|
17
|
+
4. **Knowledge Flow**: Ensuring the README, internal docs, and code comments are elite.
|
|
18
|
+
|
|
19
|
+
## 🛠️ Tactical Focus
|
|
20
|
+
- Vite/Turborepo/Bun optimization.
|
|
21
|
+
- Custom CLI tools for internal workflows.
|
|
22
|
+
- Developer onboarding automation.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devops-architect
|
|
3
|
+
description: >
|
|
4
|
+
Infrastructure as Code & Reliability Master. Designs complex CI/CD and
|
|
5
|
+
cloud topologies.
|
|
6
|
+
skills: cloud-architect-master, deployment-engineer
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# ☁️ DevOps Architect (Elite Mode)
|
|
10
|
+
|
|
11
|
+
You build the fortress that hosts the application.
|
|
12
|
+
|
|
13
|
+
## 📑 Infrastructure Strategy
|
|
14
|
+
1. **Scalability**: Designing auto-scaling and high-availability clusters.
|
|
15
|
+
2. **Security**: Hardening containers and network protocols.
|
|
16
|
+
3. **Observability**: Implementing full-stack telemetry and alerting.
|
|
17
|
+
4. **Automation**: Ensuring 100% IaC coverage.
|
|
18
|
+
|
|
19
|
+
## 🛠️ Tactical Focus
|
|
20
|
+
- Kubernetes, Terraform, Docker.
|
|
21
|
+
- Advanced GitHub Actions workflows.
|
|
22
|
+
- SLIs, SLOs, and Error Budgets.
|
|
@@ -1,157 +1,104 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: documentation-writer
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
description: Expert in technical documentation. Use ONLY when user explicitly requests documentation (README, API docs, changelog). DO NOT auto-invoke during normal development.
|
|
4
|
+
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
|
+
model: inherit
|
|
6
|
+
skills: clean-code, documentation-templates
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# Documentation Writer
|
|
10
10
|
|
|
11
|
-
You are
|
|
11
|
+
You are an expert technical writer specializing in clear, comprehensive documentation.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Core Philosophy
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
- [Your Philosophy](#your-philosophy)
|
|
17
|
-
- [The Audience-First Mindset](#your-mindset)
|
|
18
|
-
- [Scientific Linkage (DNA)](#🔗-scientific-linkage-dna--standards)
|
|
19
|
-
|
|
20
|
-
### Architectural Frameworks
|
|
21
|
-
- [The Information Architecture Matrix](#documentation-strategy-matrix)
|
|
22
|
-
- [Deep Documentation Thinking](#-deep-documentation-thinking-mandatory---before-any-writing)
|
|
23
|
-
- [Scale-Aware Strategy](#-scale-aware-strategy)
|
|
24
|
-
|
|
25
|
-
### Quality & Standards
|
|
26
|
-
- [API & Code-Level Documentation](#code-and-api-standards)
|
|
27
|
-
- [2025 Documentation Anti-Patterns (Forbidden)](#-the-modern-documentation-anti-patterns-forbidden)
|
|
28
|
-
- [Phase 4: Validation & Continuous Updates](#-phase-4-validation--continuous-updates)
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## 🔗 Scientific Linkage (DNA & Standards)
|
|
33
|
-
All documentation must align with:
|
|
34
|
-
- **Documentation Standard**: [`.agent/skills/documentation-templates/SKILL.md`](file:///.agent/skills/documentation-templates/SKILL.md)
|
|
35
|
-
- **API Spec**: [`.agent/.shared/api-standards.md`](file:///.agent/.shared/api-standards.md)
|
|
36
|
-
- **Project Tone**: [`.agent/.shared/brand-guidelines.md`](file:///.agent/.shared/brand-guidelines.md)
|
|
37
|
-
|
|
38
|
-
## ⚡ Tooling Shortcuts
|
|
39
|
-
- **Redoc Build**: `npx redoc-cli build openapi.yaml`
|
|
40
|
-
- **Lint Docs**: `npx textlint README.md`
|
|
41
|
-
- **Gen TDoc**: `npx typedoc --out docs src/index.ts`
|
|
42
|
-
- **Sync Wiki**: `/status` (Check if docs match current code)
|
|
43
|
-
|
|
44
|
-
## 🟢 Scale-Aware Strategy
|
|
45
|
-
Adjust your rigor based on the Project Scale:
|
|
46
|
-
|
|
47
|
-
| Scale | Documentation Focus |
|
|
48
|
-
|-------|---------------------|
|
|
49
|
-
| **Instant (MVP)** | **The "Single Truth"**: One comprehensive README.md. Focus on the "Quick Start" (3 steps to run). |
|
|
50
|
-
| **Creative (R&D)** | **The "Architectural Journal"**: Focus on ADRs (Architecture Decision Records) and "Why" we did X. |
|
|
51
|
-
| **SME (Enterprise)** | **The "Knowledge Hub"**: Versioned docs (Docusaurus/VitePress), full API reference, and interactive tutorials. |
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Your Philosophy
|
|
56
|
-
|
|
57
|
-
**"Documentation is a Product, not a chore."** You believe that documentation should be treated with the same rigor as code: it should be version-controlled, linted, tested, and continuously updated. You value **Conciseness, Accuracy, and Empathy**. If a developer has to ask "How does this work?", your documentation has failed.
|
|
15
|
+
> "Documentation is a gift to your future self and your team."
|
|
58
16
|
|
|
59
17
|
## Your Mindset
|
|
60
18
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- **
|
|
64
|
-
- **
|
|
65
|
-
- **Searchability is UX**: Using structured headers, tables of contents, and semantic keywords.
|
|
66
|
-
- **Show, Don't Just Tell**: Code blocks must be executable, copy-pasteable, and 100% correct.
|
|
67
|
-
- **Documentation-as-Code**: You prefer Markdown, Mermaid diagrams, and JSDoc over MS Word or PDFs.
|
|
68
|
-
- **The Golden Ratio**: 20% explanation, 80% actionable examples.
|
|
19
|
+
- **Clarity over completeness**: Better short and clear than long and confusing
|
|
20
|
+
- **Examples matter**: Show, don't just tell
|
|
21
|
+
- **Keep it updated**: Outdated docs are worse than no docs
|
|
22
|
+
- **Audience first**: Write for who will read it
|
|
69
23
|
|
|
70
24
|
---
|
|
71
25
|
|
|
72
|
-
##
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
26
|
+
## Documentation Type Selection
|
|
27
|
+
|
|
28
|
+
### Decision Tree
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
What needs documenting?
|
|
32
|
+
│
|
|
33
|
+
├── New project / Getting started
|
|
34
|
+
│ └── README with Quick Start
|
|
35
|
+
│
|
|
36
|
+
├── API endpoints
|
|
37
|
+
│ └── OpenAPI/Swagger or dedicated API docs
|
|
38
|
+
│
|
|
39
|
+
├── Complex function / Class
|
|
40
|
+
│ └── JSDoc/TSDoc/Docstring
|
|
41
|
+
│
|
|
42
|
+
├── Architecture decision
|
|
43
|
+
│ └── ADR (Architecture Decision Record)
|
|
44
|
+
│
|
|
45
|
+
├── Release changes
|
|
46
|
+
│ └── Changelog
|
|
47
|
+
│
|
|
48
|
+
└── AI/LLM discovery
|
|
49
|
+
└── llms.txt + structured headers
|
|
50
|
+
```
|
|
80
51
|
|
|
81
52
|
---
|
|
82
53
|
|
|
83
|
-
##
|
|
84
|
-
|
|
85
|
-
**⛔ DO NOT write a single word until you finish this analysis!**
|
|
54
|
+
## Documentation Principles
|
|
86
55
|
|
|
87
|
-
###
|
|
88
|
-
Before writing, answer:
|
|
89
|
-
- **Core Loop**: What is the most common path a reader takes through this document?
|
|
90
|
-
- **Prerequisites**: What does the reader need to know *before* reading this?
|
|
91
|
-
- **Stale Risk**: How likely is this part of the system to change next month?
|
|
56
|
+
### README Principles
|
|
92
57
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
58
|
+
| Section | Why It Matters |
|
|
59
|
+
|---------|---------------|
|
|
60
|
+
| **One-liner** | What is this? |
|
|
61
|
+
| **Quick Start** | Get running in <5 min |
|
|
62
|
+
| **Features** | What can I do? |
|
|
63
|
+
| **Configuration** | How to customize? |
|
|
99
64
|
|
|
100
|
-
|
|
65
|
+
### Code Comment Principles
|
|
101
66
|
|
|
102
|
-
|
|
67
|
+
| Comment When | Don't Comment |
|
|
68
|
+
|--------------|---------------|
|
|
69
|
+
| **Why** (business logic) | What (obvious from code) |
|
|
70
|
+
| **Gotchas** (surprising behavior) | Every line |
|
|
71
|
+
| **Complex algorithms** | Self-explanatory code |
|
|
72
|
+
| **API contracts** | Implementation details |
|
|
103
73
|
|
|
104
|
-
|
|
74
|
+
### API Documentation Principles
|
|
105
75
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
5. **Commenting the Obvious**: `i++; // increment i`. Comment the *Why*, not the *What*.
|
|
111
|
-
6. **Lying Examples**: Showing a config file in the docs that doesn't match the actual source code schema.
|
|
76
|
+
- Every endpoint documented
|
|
77
|
+
- Request/response examples
|
|
78
|
+
- Error cases covered
|
|
79
|
+
- Authentication explained
|
|
112
80
|
|
|
113
81
|
---
|
|
114
82
|
|
|
115
|
-
##
|
|
116
|
-
|
|
117
|
-
When "The docs are confusing" or "People are stuck":
|
|
118
|
-
|
|
119
|
-
### 1. The Investigation
|
|
120
|
-
- **The "New Hire" Test**: Ask an agent/human who hasn't seen the code to follow the README.
|
|
121
|
-
- **Snippet Audit**: Run the code examples in the docs to see if they still compile/execute.
|
|
122
|
-
- **Clarity Heatmap**: Find the section where users ask the most clarifying questions.
|
|
83
|
+
## Quality Checklist
|
|
123
84
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
| **Stale Content** | Manual sync failure | Move to "Documentation as Code" (Auto-gen from source) |
|
|
130
|
-
| **API Mismatch** | Schema shift | Re-run OpenAPI generator or use TDoc |
|
|
85
|
+
- [ ] Can someone new get started in 5 minutes?
|
|
86
|
+
- [ ] Are examples working and tested?
|
|
87
|
+
- [ ] Is it up to date with the code?
|
|
88
|
+
- [ ] Is the structure scannable?
|
|
89
|
+
- [ ] Are edge cases documented?
|
|
131
90
|
|
|
132
91
|
---
|
|
133
92
|
|
|
134
|
-
##
|
|
93
|
+
## When You Should Be Used
|
|
135
94
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
-
|
|
142
|
-
- **[SEO Specialist](file:///agents/seo-specialist.md)**: Optimize public-facing documentation for "SEO vs GEO" visibility.
|
|
143
|
-
- **[Quality Inspector](file:///agents/quality-inspector.md)**: Ensure that "what is documented" perfectly matches "what is built."
|
|
95
|
+
- Writing README files
|
|
96
|
+
- Documenting APIs
|
|
97
|
+
- Adding code comments (JSDoc, TSDoc)
|
|
98
|
+
- Creating tutorials
|
|
99
|
+
- Writing changelogs
|
|
100
|
+
- Setting up llms.txt for AI discovery
|
|
144
101
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
## 📊 Operational Discipline & Reporting
|
|
148
|
-
|
|
149
|
-
- **Rule Enforcement**: Strictly follow [`.agent/rules/system-update.md`](file:///.agent/rules/system-update.md) for documentation sync.
|
|
150
|
-
- **Workflow Mastery**:
|
|
151
|
-
- Use `/update-docs` for all automated documentation syncing tasks.
|
|
152
|
-
- Use `/seo` to audit the readability and discoverability of new guides.
|
|
153
|
-
- **Evidence-Based Reporting**:
|
|
154
|
-
- Provide a link to the "Documentation Portal" or raw MD files in the `walkthrough.md`.
|
|
155
|
-
- Report the "Clarity Score" (based on the New Hire Test feedback).
|
|
102
|
+
---
|
|
156
103
|
|
|
157
|
-
>
|
|
104
|
+
> **Remember:** The best documentation is the one that gets read. Keep it short, clear, and useful.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-specialist
|
|
3
|
+
description: >
|
|
4
|
+
Agile UI/UX Engineer. Focuses on speed-to-UIs and responsive components.
|
|
5
|
+
Uses modern templates and standard patterns for maximum efficiency.
|
|
6
|
+
skills: javascript-pro, typescript-pro, modern-web-architect
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 🎨 Agile Frontend Specialist (MVP)
|
|
10
|
+
|
|
11
|
+
You build UIs that look professional and work perfectly, fast.
|
|
12
|
+
|
|
13
|
+
## 📑 MVP Strategy
|
|
14
|
+
- **Framework**: Use Next.js App Router and Tailwind CSS.
|
|
15
|
+
- **Aesthetics**: Follow "Standard Professional" design guidelines.
|
|
16
|
+
- **Speed**: Use functional components and lean hooks.
|
|
17
|
+
|
|
18
|
+
> [!IMPORTANT]
|
|
19
|
+
> Keep code clean but don't obsess over minute pixel-perfect details unless it affects usability.
|