@vesviet/agent-skills 5.10.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +31 -19
- package/README.md +6 -18
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +40 -142
- package/adapters/antigravity/INDEX_TIER1.json +142 -121
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/antigravity-tools.md +25 -0
- package/adapters/antigravity/role-skill-index.json +156 -48
- package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
- package/adapters/claude/settings.template.json +11 -0
- package/adapters/cursor/README.md +1 -5
- package/adapters/cursor/hooks.template.json +1 -1
- package/core/contracts/README.md +0 -20
- package/core/contracts/schemas/compact-working-state.json +42 -1
- package/core/contracts/schemas/ui-component-spec.json +28 -2
- package/core/policies/README.md +0 -20
- package/core/policies/execution-sandbox.md +0 -12
- package/core/roles/3d-graphics-engineer.md +144 -208
- package/core/roles/README.md +0 -22
- package/core/roles/agent-coordinator.md +28 -147
- package/core/roles/agent-discovery-engineer.md +46 -39
- package/core/roles/ai-systems-engineer.md +2 -0
- package/core/roles/backend-developer.md +22 -117
- package/core/roles/cloudflare-engineer.md +1 -1
- package/core/roles/data-engineer.md +3 -1
- package/core/roles/devops-engineer.md +4 -3
- package/core/roles/ecommerce-engineer.md +18 -6
- package/core/roles/frontend-developer.md +145 -317
- package/core/roles/game-developer.md +2 -1
- package/core/roles/mobile-engineer.md +18 -204
- package/core/roles/product-manager.md +3 -3
- package/core/roles/project-manager.md +5 -5
- package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
- package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
- package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
- package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
- package/core/roles/references/backend-developer-responsibilities.md +47 -0
- package/core/roles/references/backend-developer-review-checklist.md +15 -0
- package/core/roles/references/business-analyst-responsibilities.md +2 -2
- package/core/roles/references/frontend-developer-responsibilities.md +14 -6
- package/core/roles/references/frontend-developer-review-checklist.md +13 -6
- package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
- package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
- package/core/roles/references/reviewer-review-checklist.md +54 -0
- package/core/roles/references/sdet-review-checklist.md +53 -0
- package/core/roles/references/solution-architect-responsibilities.md +134 -0
- package/core/roles/references/sre-review-checklist.md +81 -0
- package/core/roles/references/system-engineer-responsibilities.md +124 -0
- package/core/roles/references/technical-architect-responsibilities.md +192 -0
- package/core/roles/references/technical-architect-review-checklist.md +58 -0
- package/core/roles/references/technical-lead-review-checklist.md +65 -0
- package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
- package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
- package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
- package/core/roles/researcher.md +3 -3
- package/core/roles/reviewer.md +2 -2
- package/core/roles/role-standard.md +79 -213
- package/core/roles/sdet.md +5 -6
- package/core/roles/security-engineer.md +4 -3
- package/core/roles/solution-architect.md +9 -130
- package/core/roles/sre.md +1 -0
- package/core/roles/system-engineer.md +15 -155
- package/core/roles/task-planner.md +1 -1
- package/core/roles/technical-architect.md +15 -245
- package/core/roles/technical-lead.md +1 -0
- package/core/roles/technical-writer.md +3 -3
- package/core/roles/ui-ux-designer.md +158 -303
- package/core/rules/README.md +0 -22
- package/core/skills/README.md +10 -24
- package/core/skills/agent/agent-delegation/SKILL.md +11 -0
- package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
- package/core/skills/agent/agent-memory-compaction/SKILL.md +69 -99
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
- package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
- package/core/skills/agent/agent-observability/SKILL.md +12 -6
- package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
- package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
- package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
- package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
- package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
- package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
- package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
- package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
- package/core/skills/backend/add-event-handler/SKILL.md +11 -0
- package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
- package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
- package/core/skills/backend/add-service-client/SKILL.md +2 -0
- package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
- package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
- package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
- package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
- package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
- package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
- package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
- package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
- package/core/skills/backend/implement-auth/SKILL.md +9 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
- package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
- package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
- package/core/skills/business/elicit-requirements/SKILL.md +1 -0
- package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
- package/core/skills/business/write-use-cases/SKILL.md +1 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +15 -65
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +19 -57
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +14 -49
- package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -0
- package/core/skills/document/docx/SKILL.md +1 -0
- package/core/skills/document/pdf/SKILL.md +1 -0
- package/core/skills/document/xlsx/SKILL.md +1 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +1 -0
- package/core/skills/documentation/write-documentation/SKILL.md +1 -0
- package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
- package/core/skills/education/create-exercises/SKILL.md +1 -0
- package/core/skills/education/design-learning-plan/SKILL.md +1 -0
- package/core/skills/education/grade-and-review/SKILL.md +1 -0
- package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
- package/core/skills/foundation/ai-risk-assessment/SKILL.md +1 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
- package/core/skills/foundation/conduct-research/SKILL.md +1 -1
- package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
- package/core/skills/foundation/create-migration/SKILL.md +10 -0
- package/core/skills/foundation/design-review/SKILL.md +9 -10
- package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
- package/core/skills/foundation/discernment-nudge/SKILL.md +1 -0
- package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
- package/core/skills/foundation/incident-report/SKILL.md +1 -0
- package/core/skills/foundation/plan-technical-delivery/SKILL.md +1 -0
- package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
- package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
- package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
- package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
- package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
- package/core/skills/foundation/release-notes/SKILL.md +1 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +10 -0
- package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
- package/core/skills/foundation/write-tests/SKILL.md +9 -0
- package/core/skills/frontend/add-page-route/SKILL.md +7 -7
- package/core/skills/frontend/add-ui-component/SKILL.md +1 -0
- package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +2 -2
- package/core/skills/frontend/component-composition/SKILL.md +10 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
- package/core/skills/frontend/frontend-testing/SKILL.md +1 -0
- package/core/skills/frontend/implement-ai-disclosure/SKILL.md +25 -24
- package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +4 -3
- package/core/skills/frontend/integrate-api-client/SKILL.md +9 -11
- package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
- package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
- package/core/skills/frontend/setup-design-system/SKILL.md +3 -2
- package/core/skills/frontend/setup-visual-regression/SKILL.md +5 -4
- package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
- package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +12 -10
- package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +21 -5
- package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
- package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +1 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +1 -0
- package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
- package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
- package/core/skills/platform/agents-sdk/SKILL.md +1 -0
- package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
- package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
- package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
- package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
- package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
- package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
- package/core/skills/platform/durable-objects/SKILL.md +1 -0
- package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
- package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
- package/core/skills/platform/setup-deployment/SKILL.md +2 -2
- package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
- package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
- package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
- package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
- package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -2
- package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
- package/core/skills/platform/web-perf/SKILL.md +2 -2
- package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
- package/core/skills/platform/wrangler/SKILL.md +1 -0
- package/core/skills/product/build-story-map/SKILL.md +1 -0
- package/core/skills/product/define-product-strategy/SKILL.md +1 -0
- package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
- package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
- package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
- package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
- package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
- package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
- package/core/skills/repo-ops/review-code/SKILL.md +10 -0
- package/core/skills/repo-ops/review-service/SKILL.md +3 -0
- package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
- package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +1 -0
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +1 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +1 -0
- package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
- package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
- package/core/workflows/README.md +0 -20
- package/overlays/README.md +2 -22
- package/overlays/astro-cloudflare/README.md +0 -20
- package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
- package/overlays/b2b-catalog-golf/README.md +0 -20
- package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
- package/overlays/b2b-factory-catalog/README.md +0 -20
- package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
- package/overlays/b2b-sport-catalog/README.md +0 -20
- package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
- package/overlays/cad-projection/README.md +0 -20
- package/overlays/cad-projection/rules/cad-conventions.md +0 -20
- package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
- package/overlays/data-analyst-stack/README.md +0 -20
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
- package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
- package/overlays/data-warehouse/README.md +0 -22
- package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
- package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
- package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
- package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
- package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
- package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
- package/overlays/ecommerce-microservices/README.md +22 -35
- package/overlays/ecommerce-microservices/config/README.md +3 -1
- package/overlays/ecommerce-microservices/rules/README.md +2 -1
- package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
- package/overlays/ecommerce-microservices/skills/README.md +1 -1
- package/overlays/ecommerce-microservices/workflows/README.md +3 -1
- package/overlays/fintech-compliance/README.md +0 -20
- package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
- package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
- package/overlays/go-microservices/README.md +1 -21
- package/overlays/go-microservices/rules/go-conventions.md +0 -31
- package/overlays/hugo-authority-content/README.md +0 -20
- package/overlays/hugo-authority-content/roles/README.md +0 -20
- package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
- package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
- package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
- package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
- package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
- package/overlays/hugo-authority-content/workflows/README.md +0 -20
- package/overlays/hvac-authority-content/README.md +0 -20
- package/overlays/hvac-authority-content/config/collections.md +0 -22
- package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
- package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
- package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
- package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
- package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
- package/overlays/laravel-ecommerce/README.md +0 -20
- package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
- package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
- package/overlays/laravel-filament/README.md +0 -20
- package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
- package/overlays/livestream-web/README.md +0 -20
- package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
- package/overlays/obj-configurator/README.md +0 -20
- package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
- package/overlays/r3f-stack/README.md +0 -20
- package/overlays/r3f-stack/rules/stub.md +0 -31
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
- package/overlays/real-estate-content/README.md +0 -20
- package/overlays/real-estate-content/roles/README.md +0 -20
- package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
- package/overlays/real-estate-content/rules/content-schema.md +0 -31
- package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
- package/overlays/real-estate-content/workflows/README.md +0 -20
- package/overlays/security-research/README.md +0 -20
- package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
- package/overlays/seo-publishing/README.md +1 -21
- package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
- package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
- package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
- package/overlays/ui-design-system/README.md +0 -20
- package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
- package/package.json +2 -2
- package/packs/README.md +3 -9
- package/packs/ecommerce-team/manifest.yaml +1 -1
- package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
- package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
- package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
- package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
- package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
- package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
- package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
- package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
- package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
- package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
- package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
- package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
- package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
- package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
- package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
- package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
- package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
- package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
- package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
- package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
- package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
- package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
- package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
- package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: systematic-debugging
|
|
3
3
|
description: Apply 4-phase systematic root cause analysis (Observe, Hypothesize, Test, Fix) and verification-before-completion guardrails to eliminate trial-and-error patching. Use when diagnosing defects, investigating test failures, or isolating runtime regressions.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -134,6 +135,15 @@ Use this skill to investigate, isolate, and remediate defects using 4-Phase Syst
|
|
|
134
135
|
- [ ] permanent regression test committed alongside surgical code remediation
|
|
135
136
|
- [ ] invariant reinforcement added to prevent architectural regression
|
|
136
137
|
|
|
138
|
+
## Red Flags
|
|
139
|
+
|
|
140
|
+
| Rationalization Thought | Positive Corrective Action |
|
|
141
|
+
|---|---|
|
|
142
|
+
| "This bug is obvious; I can patch it right away." | Write and run the failing Red reproduction test first to prove the causal mechanism. |
|
|
143
|
+
| "It should work now — small one-line fix." | Execute `IDENTIFY -> RUN -> READ -> VERIFY -> REPORT` and quote fresh exit-code-0 output. |
|
|
144
|
+
| "Tests passed in an earlier turn." | Re-run the exact test command against the current working tree before reporting success. |
|
|
145
|
+
| "Let me add a defensive null check / try-catch to silence it." | Trace backward to the invariant violation and fix the source instead of masking symptoms. |
|
|
146
|
+
|
|
137
147
|
## Output Contracts
|
|
138
148
|
|
|
139
149
|
When completing defect investigations and applying verified fixes, emit:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: webapp-server-runner
|
|
3
3
|
description: "Use when executing local web application test suites, managing multi-server background lifecycles via with_server.py, polling sockets for readiness, and executing Playwright browser automation with guaranteed cleanup."
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-product-brief
|
|
3
3
|
description: Write or refine a product brief that makes user value, business outcome, preserved behavior, affected users, acceptance boundaries, and trade-offs explicit. Use when a feature, bug fix, workaround, rollback, or scope decision needs a product-facing decision artifact before implementation or release.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -136,6 +136,15 @@ Use this skill to author independent, property-verified, contract-driven, and fa
|
|
|
136
136
|
- [ ] tests executed inside isolated Level 0 air-gapped sandbox (--network=none, non-root user)
|
|
137
137
|
- [ ] test-report.json emitted and validated against contracts/schemas/test-report.json
|
|
138
138
|
|
|
139
|
+
## Red Flags
|
|
140
|
+
|
|
141
|
+
| Rationalization Thought | Positive Corrective Action |
|
|
142
|
+
|---|---|
|
|
143
|
+
| "Too simple to need a Red-phase test first." | Author the spec-derived test first and watch it fail on baseline before editing production code. |
|
|
144
|
+
| "I'll write the tests after the implementation works." | Tests written after mirror code bugs; derive assertions from the contract first. |
|
|
145
|
+
| "100% line coverage proves assertions are strong." | Run mutation testing or verify negative paths actually fail when invariants break. |
|
|
146
|
+
| "Mocking the core service makes this test faster." | Keep mocks strictly at external I/O boundaries; exercise real business logic and state mutations. |
|
|
147
|
+
|
|
139
148
|
## Output Contracts
|
|
140
149
|
|
|
141
150
|
When executing or updating automated tests for behavior verification, emit:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: add-page-route
|
|
3
3
|
description: Add or modify a page, screen, or route by following the repo's navigation, data-loading, layout, and auth patterns. Use when frontend work requires new route-level behavior or page wiring.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -26,12 +27,11 @@ Use this skill when a frontend change needs a new page, screen, or route-level f
|
|
|
26
27
|
- preserve navigation and deep-link behavior
|
|
27
28
|
- update route-aware tests when the page contract changes
|
|
28
29
|
- if any code in this change was AI-generated, validate it per the risk tier defined in the frontend-developer role before accepting
|
|
29
|
-
-
|
|
30
|
-
- **hoist route data loading to
|
|
31
|
-
- **RSC leaf pattern
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
- for AI-generated routes: verify auth guard completeness (AI frequently omits auth wrappers), data loading pattern match, cache invalidation on mutations, and URL parameter validation before merging
|
|
30
|
+
- validate all URL search parameters with Zod `.catch()` fallbacks at the route boundary (`validateSearch` in TanStack Router, `searchParams` parser in Next.js/React Router/Astro) — raw URL parameters are untrusted input
|
|
31
|
+
- **hoist route data loading to server/route loaders** — do not trigger primary data fetches in `useEffect` after mount (causes layout shift waterfalls); use RSC/Next.js Server Components, TanStack Start `createServerFn`, or Astro SSR endpoints matching the repo stack
|
|
32
|
+
- **RSC leaf pattern** (when using React Server Components): push `"use client"` as deep as possible and verify only JSON-serializable props cross the boundary
|
|
33
|
+
- use type-safe navigation primitives matching the router (`<Link>`, `navigate({ to })`); never use untyped string concatenation
|
|
34
|
+
- for AI-generated routes: verify auth guard completeness inside both route loaders and Server Actions, cache invalidation on mutations, and URL parameter validation before merging
|
|
35
35
|
- for route animations and page morphs, leverage skill: `implement-view-transitions` using native CSS View Transitions or React 19 ViewTransition; ensure navigation transitions do not block the main thread or degrade INP (< 200ms)
|
|
36
36
|
|
|
37
37
|
## Suggested Process
|
|
@@ -105,7 +105,7 @@ Cover:
|
|
|
105
105
|
- [ ] RSC leaf pattern enforced: `"use client"` pushed to leaves
|
|
106
106
|
- [ ] data loading hoisted to loaders / Server Functions (no `useEffect` primary fetches)
|
|
107
107
|
- [ ] type-safe navigation: `<Link to="..." />`, `navigate({ to: '...' })` only
|
|
108
|
-
- [ ] URL search params validated with Zod `.catch()` fallbacks
|
|
108
|
+
- [ ] URL search params validated with Zod `.catch()` fallbacks (via `validateSearch` or `searchParams` parser)
|
|
109
109
|
- [ ] CSS View Transitions: composited properties only, INP < 200ms, reduced motion
|
|
110
110
|
- [ ] React 19 `ViewTransition` boundaries: `default="none"`, wrap before DOM nodes, unique dynamic names
|
|
111
111
|
- [ ] AI-generated route audit: auth guards complete, loader pattern matched, cache invalidation on mutations, URL params validated
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: add-ui-component
|
|
3
3
|
description: Add or evolve a reusable UI component by following the repo's design system, composition patterns, accessibility rules, and state boundaries. Use when building frontend components or shared presentation elements.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -20,9 +20,9 @@ Modern component architectures utilize native React 19 form actions and hooks, c
|
|
|
20
20
|
To prevent unpolished "AI slop" in component interfaces, enforce the following five rules:
|
|
21
21
|
1. **Dynamic Viewport Units**: Use `min-h-[100dvh]` rather than `100vh` on full-screen containers to avoid mobile address bar jumps.
|
|
22
22
|
2. **Continuous Motion Isolation**: Never bind scroll, drag, or pointer movements to React `useState`. Use `motion/react` primitives (`useMotionValue`, `useTransform`) to update DOM nodes directly off the main thread.
|
|
23
|
-
3. **Tactile Feedback**: Interactive buttons and card triggers must provide physical feedback via active transform scaling: `active:scale-[0.
|
|
23
|
+
3. **Tactile Feedback**: Interactive buttons and card triggers must provide physical feedback via active transform scaling: `active:scale-[0.96]` (150ms `ease-out`, disabled controls excluded).
|
|
24
24
|
4. **CTA Text Stability**: Primary Call-To-Action buttons on desktop must include `whitespace-nowrap` to prevent awkward line breaks on localized strings.
|
|
25
|
-
5. **Icon Ecosystem Discipline**: Never inject raw, inline SVG markup.
|
|
25
|
+
5. **Icon Ecosystem Discipline**: Never inject raw, inline SVG markup. Import from one consistent icon package per codebase (`@phosphor-icons/react`, `hugeicons-react`, `@radix-ui/react-icons`, or `lucide-react` when aligning with an existing shadcn/ui or Base UI repo).
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: component-composition
|
|
3
3
|
description: Architect scalable UI components using compound components, Radix-style asChild slot delegation, headless hook separation, and anti-boolean prop sprawl patterns. Use when designing reusable component libraries, refactoring prop-heavy components, or decoupling interaction state from presentation.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -105,6 +106,15 @@ When this skill is invoked as part of a coordinated frontend slice, emit:
|
|
|
105
106
|
- **ASI05 RCE Guard**: never render dynamic component types from untrusted user input; validate variant names against compile-time string literal unions.
|
|
106
107
|
- **ASI07 Inter-Agent Communication**: emit structured `ui-component-spec.json` documenting the compound component hierarchy for downstream UI and QA agents.
|
|
107
108
|
|
|
109
|
+
## Red Flags
|
|
110
|
+
|
|
111
|
+
| Rationalization Thought | Reality & Risk | Positive Corrective Action |
|
|
112
|
+
| :--- | :--- | :--- |
|
|
113
|
+
| "Just add one more `isCompactWithHeaderIcon` boolean prop — faster than refactoring." | Boolean explosion (`> 2` layout flags) creates contradictory render branches. | Decompose into compound parts (`Root`, `Trigger`, `Content`) and context slots. |
|
|
114
|
+
| "`forwardRef` + `useContext` matches older tutorials, so let's keep it." | React 19 flags redundant `forwardRef` wrappers and drifts from repo standards. | Pass `ref` directly as a prop, consume with `use(Context)`, use `FieldGroup`. |
|
|
115
|
+
| "Passing child `onClick` directly into `asChild` works fine." | Overwrites internal accessibility/toggle handlers silently. | Merge callbacks via `composeEventHandlers` and refs via `composeRefs`. |
|
|
116
|
+
| "I'll bind Zustand directly inside the button subcomponent." | Couples reusable primitives to global stores and breaks isolated testing. | Inject `{ state, actions, meta }` solely through the compound provider boundary. |
|
|
117
|
+
|
|
108
118
|
## Related Skills
|
|
109
119
|
|
|
110
120
|
- **add-ui-component**: Author and style the presentation elements of the composed component
|
|
@@ -37,6 +37,11 @@ Author authoritative, machine-readable `DESIGN.md` architecture files and YAML f
|
|
|
37
37
|
- All numerical data tables, order counts, and financial summaries must enforce OpenType tabular figures:
|
|
38
38
|
`font-variant-numeric: tabular-nums;` (or `font-feature-settings: "tnum" 1;`).
|
|
39
39
|
- This prevents horizontal column jitter during live data polling and stream updates.
|
|
40
|
+
- **MASTER + Page Override Hierarchy (`ui-ux-pro-max` pattern)**:
|
|
41
|
+
- Author `DESIGN.md` as the authoritative **MASTER** token, typography, palette, and component contract grounded in the project's **Domain Archetype** (avoiding unprompted dark-slate/emerald or purple-glow defaults).
|
|
42
|
+
- When specific routes require localized adjustments (e.g., high-density telemetry view vs onboarding flow), document explicit **Page Overrides** inside `DESIGN.md` (or `design-system/pages/<slug>.md`) without forking Tier 1 primitive ramps.
|
|
43
|
+
- **Contrast Dual-Gate**:
|
|
44
|
+
- Verify both the **WCAG 2.2 AA legal floor** ($CR \ge 4.5:1$ normal text, $\ge 3.0:1$ large text/controls) and the **APCA perceptual target** ($L_c \ge 75$ body text, $L_c \ge 60$ headlines/controls) across light and dark modes.
|
|
40
45
|
- **Mobile Touch Affordance Guard**:
|
|
41
46
|
- All interactive buttons, inputs, and touch targets must provide a minimum bounding hit area of $\ge 44\text{px} \times 44\text{px}$ on touch-enabled viewports.
|
|
42
47
|
|
|
@@ -55,8 +55,8 @@ Engineer scalable design token architectures, calculate concentric border radii
|
|
|
55
55
|
- *Constant hue angle*: Hold hue angle strictly constant ($\Delta H = 0^\circ$) across each functional color ramp.
|
|
56
56
|
- *Chroma profile*: Taper to near-zero chroma at endpoints (`50` and `950`); peak chroma mid-ramp (`500`–`600`).
|
|
57
57
|
- *Contrast adjustments*: Adjust OKLCH Lightness ($L$) while holding hue angle and chroma steady.
|
|
58
|
-
- **
|
|
59
|
-
-
|
|
58
|
+
- **Contrast Dual-Gate (WCAG 2.2 AA Legal Floor + APCA Perceptual Target)**:
|
|
59
|
+
- Every semantic foreground/background token pair must clear **WCAG 2.2 AA** ($CR \ge 4.5:1$ normal text, $\ge 3.0:1$ large text/controls/focus rings) as the non-negotiable legal baseline AND calibrate visual weight under **APCA Lightness Contrast ($L_c$)**:
|
|
60
60
|
- *Body text* (columns, dense reading, $< 24\text{px}$): $L_c \ge 75$ (preferred $L_c \ge 90$).
|
|
61
61
|
- *Non-body text* (headlines, navigation labels, button labels): $L_c \ge 60$.
|
|
62
62
|
- *Large text* ($\ge 36\text{px}$ regular or $\ge 24\text{px}$ bold): $L_c \ge 45$.
|
|
@@ -64,6 +64,8 @@ Engineer scalable design token architectures, calculate concentric border radii
|
|
|
64
64
|
- *Solid icons and interactive UI component boundaries*: $L_c \ge 30$.
|
|
65
65
|
- *Discernible non-text dividers and subtle borders*: $L_c \ge 15$.
|
|
66
66
|
- *Placeholder / disabled text target*: $L_c \approx 30$.
|
|
67
|
+
- **Domain-Grounded Palette Diversity**:
|
|
68
|
+
- Select base surfaces and accent hue from the project's Domain Archetype (`core/roles/references/ui-ux-designer-anti-slop-standards.md` §2.2); never ship the same dark-slate + emerald or beige + brass palette blindly across unrelated domains. Declare `color-scheme: dark` on dark-theme roots.
|
|
67
69
|
- **Token Portability & Syntax**:
|
|
68
70
|
- Tokens must be exported to CSS variables and DTCG Design Tokens Format Module 2025.10 JSON (first stable release; `$value`/`$type` syntax) for seamless Figma Variables synchronization; Style Dictionary v4 DTCG mode, Tokens Studio, and Terrazzo are the reference interchange consumers.
|
|
69
71
|
- Validate every token file against the DTCG format before pipeline adoption; reject files that mix legacy `{value}` syntax with DTCG `$value`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontend-micro-polish
|
|
3
3
|
description: Use when applying micro-typographic polish, optical padding compensations, mobile input zoom guards, active tap scales, and 3-layer shadow elevations.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontend-testing
|
|
3
3
|
description: Add or improve frontend test coverage by choosing the right UI test scope, reusing local tooling, and validating rendering, interaction, accessibility, and network-driven states. Use when frontend behavior needs regression coverage or UI release confidence.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implement-ai-disclosure
|
|
3
3
|
description: Implement EU AI Act Article 50 transparency components - AIDisclosureBanner, data-ai-generated attributes, C2PA metadata embedding for AI media, and DOMPurify sanitization. Use when deploying user-facing AI features, chatbots, generative content requiring EU AI Act compliance (effective 2 August 2026).
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -40,30 +41,29 @@ Implement EU AI Act Article 50 transparency components for legal compliance in E
|
|
|
40
41
|
|
|
41
42
|
## Implementation Patterns
|
|
42
43
|
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
```tsx
|
|
45
|
+
import DOMPurify from 'dompurify';
|
|
46
|
+
|
|
47
|
+
// Persistent, accessible EU AI Act Article 50 disclosure before first interaction
|
|
48
|
+
export function ChatInterface({ aiOutputHtml }: { aiOutputHtml: string }) {
|
|
49
|
+
// Always keep an accessible AI label visible; allow collapsing details, never erasing AI identity
|
|
50
|
+
const sanitized = DOMPurify.sanitize(aiOutputHtml, {
|
|
51
|
+
RETURN_TRUSTED_TYPE: typeof window !== 'undefined' && 'trustedTypes' in window,
|
|
52
|
+
});
|
|
53
|
+
|
|
47
54
|
return (
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
<section aria-label="AI Assistant Workspace">
|
|
56
|
+
<AIDisclosureBanner
|
|
57
|
+
role="status"
|
|
58
|
+
message="You are interacting with an AI system. Outputs may be inaccurate."
|
|
59
|
+
/>
|
|
60
|
+
<article
|
|
61
|
+
data-ai-generated="true"
|
|
62
|
+
dangerouslySetInnerHTML={{ __html: sanitized as unknown as string }}
|
|
63
|
+
/>
|
|
64
|
+
</section>
|
|
56
65
|
);
|
|
57
66
|
}
|
|
58
|
-
|
|
59
|
-
// AI content marking
|
|
60
|
-
<article data-ai-generated="true" data-ai-model={version}>
|
|
61
|
-
{sanitizedContent}
|
|
62
|
-
</article>
|
|
63
|
-
|
|
64
|
-
// DOMPurify sanitization
|
|
65
|
-
import DOMPurify from 'dompurify';
|
|
66
|
-
const sanitized = DOMPurify.sanitize(aiOutput);
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
## Compliance Matrix
|
|
@@ -111,8 +111,9 @@ const sanitized = DOMPurify.sanitize(aiOutput);
|
|
|
111
111
|
|
|
112
112
|
## Related Skills
|
|
113
113
|
|
|
114
|
-
- **
|
|
115
|
-
- **
|
|
116
|
-
- **
|
|
114
|
+
- **add-ui-component**: Build accessible reusable disclosure banners and content wrappers
|
|
115
|
+
- **accessibility-review**: Verify ARIA live regions, focus behavior, and banner accessibility
|
|
116
|
+
- **frontend-testing**: Test disclosure rendering before interaction and DOMPurify sanitization
|
|
117
|
+
- **design-ux-flow**: Design transparent AI states and Article 50 user flows around disclosure
|
|
117
118
|
|
|
118
119
|
Last updated: 2026-11-16
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implement-view-transitions
|
|
3
3
|
description: Implement fluid, native-feeling page and state transitions using CSS View Transitions API, React 19 ViewTransition, Next.js App Router transitions, and shared element morphing without degrading Core Web Vitals. Use when adding route animations, shared element transitions, or layout morphs.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implement-webmcp
|
|
3
3
|
description: Exposes browser context, DOM state, and client-side actions to AI agents via WebMCP. Use when enabling in-browser AI agent interactions, DOM context sharing, or client-side action execution.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, mcp_call, run_tests, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -10,7 +11,7 @@ Use this skill to integrate WebMCP into a frontend application, allowing AI agen
|
|
|
10
11
|
|
|
11
12
|
## Core Rules
|
|
12
13
|
|
|
13
|
-
- **Feature Detection**: Guard WebMCP invocations with feature detection (`'modelContext' in
|
|
14
|
+
- **Feature Detection**: Guard WebMCP invocations with feature detection (`typeof navigator !== 'undefined' && 'modelContext' in navigator`) to support SSR and polyfilled environments safely — do not assume the API exists
|
|
14
15
|
- **State Synchronization**: Expose critical application state (Redux/Zustand stores) securely to the WebMCP context; strip sensitive fields before exposure
|
|
15
16
|
- **Action Allowlist (Default Deny)**: Define an explicit allowlist of which browser actions (clicks, navigation, form fills) are exposed to the agent — default deny; reject tools not on the allowlist
|
|
16
17
|
- **Strict Input Schema Validation**: Every registered WebMCP tool must declare explicit property types, enums, and required fields in its `inputSchema` — empty `{ type: "object" }` schemas with no property descriptions are prohibited
|
|
@@ -68,7 +69,7 @@ Use skill: `frontend-testing`
|
|
|
68
69
|
|
|
69
70
|
## Checklist
|
|
70
71
|
|
|
71
|
-
- [ ] WebMCP provider mounted in global root layout with SSR safety guards (`'modelContext' in
|
|
72
|
+
- [ ] WebMCP provider mounted in global root layout with SSR safety guards (`typeof navigator !== 'undefined' && 'modelContext' in navigator`)
|
|
72
73
|
- [ ] Sanitized application state mapped to agent context without leaking credentials
|
|
73
74
|
- [ ] Client-side actions and input schemas explicitly defined and registered (allowlist as code)
|
|
74
75
|
- [ ] Security boundaries and permission checks enforced on all action handlers
|
|
@@ -98,7 +99,7 @@ Skip emission for trivial local experiments that do not cross a role boundary.
|
|
|
98
99
|
- **Sensitive state exposed**: passwords, tokens, or PII are included in the WebMCP context. Mitigation: filter sensitive fields before `provideContext()`; never expose auth tokens or HttpOnly cookies.
|
|
99
100
|
- **No HITL gate on financial action**: a payment or account-modification tool runs without explicit user confirmation. Mitigation: require HITL confirmation modal for any non-idempotent or financial action; fail-safe on dismiss or timeout.
|
|
100
101
|
- **Raw stack trace in error response**: a tool handler returns the server stack trace in the error payload. Mitigation: return structured JSON error responses with codes; never expose raw stack traces.
|
|
101
|
-
- **Browser feature not detected**: the code assumes `
|
|
102
|
+
- **Browser feature not detected**: the code assumes `navigator.modelContext` is always defined. Mitigation: feature-detect with `typeof navigator !== 'undefined' && 'modelContext' in navigator`; provide a fallback polyfill bridge.
|
|
102
103
|
- **Action bypasses UI permission rules**: an agent action triggers a transaction the user could not perform via UI. Mitigation: enforce the same permission rules the UI enforces; reject bypassed paths.
|
|
103
104
|
- **Service Worker HITL failure**: push notification not delivered. Mitigation: fallback to in-app modal; offline queue for confirmations.
|
|
104
105
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: integrate-api-client
|
|
3
3
|
description: Connect frontend code to backend APIs by following the repo's request, caching, auth, error-handling, and state-management patterns. Use when a UI needs to read or mutate backend data.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -32,11 +33,10 @@ Use this skill when frontend code needs to call a backend API or when an existin
|
|
|
32
33
|
- use functional updater syntax in `setQueryData((old) => ...)` to prevent stale state captures
|
|
33
34
|
- server state must stay in the query cache; do not duplicate server responses in local `useState`
|
|
34
35
|
- if any code in this change was AI-generated, validate it per the risk tier defined in the frontend-developer role before accepting
|
|
35
|
-
- **
|
|
36
|
-
- **React 19 `use()`
|
|
37
|
-
- **React 19 `useActionState` for
|
|
38
|
-
-
|
|
39
|
-
- **Streaming AI responses**: `ReadableStream` + `TextDecoderStream` + `useReducer` + cancellation hooks
|
|
36
|
+
- **Stack-Adaptive Type-Safe Contract Pipeline**: match the repo's transport layer — use Orval (`OpenAPI -> TanStack Query v5 + MSW v2 + TS types`) when an OpenAPI spec exists, or tRPC / GraphQL codegen / typed Server Actions + Zod when matching the repo; never force Orval onto non-OpenAPI stacks or leave responses untyped
|
|
37
|
+
- **React 19 `use()` vs Client Query Cache**: read promises with `use()` in Server Components when RSC applies; use TanStack Query (`queryOptions` factories) for interactive client caching, background refetch, and deduplication
|
|
38
|
+
- **Form Actions vs Complex Mutations**: prefer React 19 `useActionState` + server validation for standard form submissions, and `useMutation` for cache-heavy/optimistic mutations
|
|
39
|
+
- **Streaming AI responses**: `ReadableStream` + `TextDecoderStream` + `useReducer` + `AbortController` cancellation hooks
|
|
40
40
|
|
|
41
41
|
## Suggested Process
|
|
42
42
|
|
|
@@ -128,12 +128,10 @@ Cover:
|
|
|
128
128
|
## Checklist
|
|
129
129
|
|
|
130
130
|
- [ ] local data-fetching pattern reviewed
|
|
131
|
-
- [ ]
|
|
132
|
-
- [ ] `queryOptions` factories used
|
|
133
|
-
- [ ]
|
|
134
|
-
- [ ]
|
|
135
|
-
- [ ] Simple form mutations use `useActionState` with `<form action={submitAction}>`
|
|
136
|
-
- [ ] Complex mutations use `useMutation` with full optimistic lifecycle (`onMutate`/`onError`/`onSettled`)
|
|
131
|
+
- [ ] Repo-aligned type-safe contract pipeline active (Orval for OpenAPI, or tRPC/GraphQL/Zod Server Actions)
|
|
132
|
+
- [ ] `queryOptions` factories used when TanStack Query v5 is active (no magic string keys)
|
|
133
|
+
- [ ] Server-rendered initial data hoisted to RSC `use()` / route loaders where applicable; client cache used for interactivity
|
|
134
|
+
- [ ] Standard form mutations use `useActionState` / native form actions; complex cache/optimistic mutations use `useMutation` (`onMutate`/`onError`/`onSettled`)
|
|
137
135
|
- [ ] Functional updater syntax: `setQueryData((old) => ...)` — no stale captures
|
|
138
136
|
- [ ] Server state stays in query cache; no `useState` duplication
|
|
139
137
|
- [ ] Streaming AI responses: `ReadableStream` + `TextDecoderStream` + `useReducer`
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: interactive-component-workbench
|
|
3
3
|
description: Use when building scratch-route component workbenches with search-param state switchers and multi-variant pickers for isolated multi-state UI testing.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: motion-performance-engineering
|
|
3
3
|
description: Use when engineering 60fps/120fps hardware-accelerated animations, restricting transitions to composite-only properties, calibrating spring physics, and enforcing prefers-reduced-motion accessibility guards.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_build]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: setup-design-system
|
|
3
3
|
description: Configure a scalable design system, styling framework, and component architecture for a frontend project. Use when initializing a new project, migrating to a unified CSS strategy, or setting up a component library (e.g., Tailwind, Storybook, Radix).
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -123,7 +124,7 @@ Documentation: [Storybook / none]
|
|
|
123
124
|
- [ ] Stylelint or eslint-plugin-tailwindcss active
|
|
124
125
|
- [ ] WCAG contrast check passing for all color token pairs
|
|
125
126
|
|
|
126
|
-
### AI Governance
|
|
127
|
+
### AI Governance
|
|
127
128
|
- [ ] GenUI token conformance check defined
|
|
128
129
|
- [ ] AI-generated component review checklist added to CONTRIBUTING.md
|
|
129
130
|
- [ ] Storybook a11y + visual regression CI gate active
|
|
@@ -153,7 +154,7 @@ Documentation: [Storybook / none]
|
|
|
153
154
|
- [ ] WCAG color contrast check passes for all token color pairs
|
|
154
155
|
- [ ] Storybook 8+ initialized with `a11y` addon and all primitive states documented
|
|
155
156
|
- [ ] Chromatic/TurboSnap configured for visual regression baseline
|
|
156
|
-
- [ ] AI-generated component review process defined (
|
|
157
|
+
- [ ] AI-generated component review process defined (GenUI pipeline)
|
|
157
158
|
- [ ] **Tailwind v4 `@theme` in CSS entrypoints** (no `tailwind.config.js`)
|
|
158
159
|
- [ ] **OKLCH perceptual color space** for palette tokens
|
|
159
160
|
- [ ] **Manual `dark:` overrides forbidden** (CSS variable dark mode only)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: setup-visual-regression
|
|
3
3
|
description: Configure automated visual diffing for UI components and pages. Use when establishing pixel-level regression testing, cross-browser snapshot baselines, or CI visual gates.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, run_dev_server, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -15,7 +16,7 @@ Use this skill to integrate Playwright or Chromatic into the CI pipeline to enfo
|
|
|
15
16
|
- **Negative Asset Constraints**: Strictly prohibit generating fabricated inline SVG logos ("NovaCorp") and synthetic customer testimonials with unverified metrics; mandate authentic typography, system monograms, verified Simple Icons marks, or honest structural placeholders
|
|
16
17
|
- **Animation Suppression**: All CSS animations, transitions, and cursor blinks must be disabled before snapshotting (`animations: 'disabled'`)
|
|
17
18
|
- **Dynamic Content Masking**: Mask or stub dynamic content (dates, user avatars, random IDs, ads) before capturing snapshots using `mask: [page.locator('...')]`
|
|
18
|
-
- **Explicit Tolerance Thresholds**:
|
|
19
|
+
- **Explicit Tolerance Thresholds**: Standardize `maxDiffPixelRatio: 0.002` (0.2%) for isolated font-stabilized component snapshots in Docker Linux, and allow up to `maxDiffPixelRatio: 0.01` (1%) with `threshold: 0.2` only for full-page route diffs with masked dynamic regions — unconfigured default thresholds are too loose
|
|
19
20
|
- **Component Isolation**: Test UI components in isolation (Storybook + Chromatic with TurboSnap) alongside full-page Playwright visual regression tests
|
|
20
21
|
- **Cross-Browser Coverage**: Configure the matrix across Chromium, WebKit, and Firefox at mobile and desktop viewports
|
|
21
22
|
- **Hard CI Gate**: Visual regression failures must block merges unless explicitly approved by a `ui-ux-designer` or `frontend-developer`
|
|
@@ -29,7 +30,7 @@ Use this skill to integrate Playwright or Chromatic into the CI pipeline to enfo
|
|
|
29
30
|
Choose and install the appropriate framework based on repo architecture:
|
|
30
31
|
- Playwright Test (`@playwright/test`) with `toHaveScreenshot()` for full-page and integrated route diffs.
|
|
31
32
|
- Chromatic / Storybook Test Runner for isolated design system component snapshot suites.
|
|
32
|
-
- Configure snapshot storage directories and
|
|
33
|
+
- Configure snapshot storage directories and explicit tolerances (`maxDiffPixelRatio: 0.002` for isolated components, `0.01` max for masked full-page diffs).
|
|
33
34
|
|
|
34
35
|
### 2. Define Viewport and Browser Matrix
|
|
35
36
|
|
|
@@ -70,7 +71,7 @@ Document snapshot maintenance procedures:
|
|
|
70
71
|
- **Baseline not captured for new component**: a new component ships without a visual baseline. Mitigation: require a Chromatic or Percy baseline at component registration; reject components without the baseline.
|
|
71
72
|
- **Baseline drift undetected**: a visual baseline changes without a corresponding PR. Mitigation: lock the baseline to the component version; surface drift in the diff report.
|
|
72
73
|
- **Driver version drift**: the visual driver (Chromatic, Percy) is updated without re-baselining. Mitigation: re-baseline every component on driver upgrades; surface the missing re-baseline in CI.
|
|
73
|
-
- **Threshold too loose**: a visual regression
|
|
74
|
+
- **Threshold too loose**: a visual regression exceeds the calibrated tolerance without failing CI. Mitigation: enforce `maxDiffPixelRatio: 0.002` for isolated components and `<= 0.01` for masked full-page routes; reject unconfigured thresholds.
|
|
74
75
|
|
|
75
76
|
## Output Contracts
|
|
76
77
|
|
|
@@ -90,7 +91,7 @@ When this skill is invoked as part of a coordinated multi-role delivery, emit:
|
|
|
90
91
|
- [ ] **Official Playwright Docker container** (`mcr.microsoft.com/playwright`) for baseline generation
|
|
91
92
|
- [ ] **Bounded self-QA**: max 2 passes, dual viewport (Desktop + Mobile), defect-driven edits only
|
|
92
93
|
- [ ] **Negative asset constraints**: no fabricated SVGs, no synthetic testimonials
|
|
93
|
-
- [ ] **Explicit tolerance thresholds**: `maxDiffPixelRatio: 0.01
|
|
94
|
+
- [ ] **Explicit tolerance thresholds**: `maxDiffPixelRatio: 0.002` (component) / `<= 0.01` (masked full-page), `threshold: 0.2`
|
|
94
95
|
- [ ] **Component isolation**: Storybook + Chromatic TurboSnap + Playwright full-page
|
|
95
96
|
- [ ] **Cross-browser matrix**: Chromium, WebKit, Firefox at mobile/desktop
|
|
96
97
|
- [ ] **Hard CI gate**: visual failures block merges unless `ui-ux-designer`/`frontend-developer` approves
|