@vesviet/agent-skills 5.8.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 +35 -22
- package/README.md +7 -18
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +40 -142
- package/adapters/antigravity/INDEX_TIER1.json +174 -146
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/antigravity-tools.md +25 -0
- package/adapters/antigravity/role-skill-index.json +175 -58
- package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
- package/adapters/claude/settings.template.json +18 -3
- package/adapters/cursor/README.md +1 -5
- package/adapters/cursor/hooks.template.json +4 -2
- 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/action-boundaries.yaml +10 -1
- package/core/policies/execution-sandbox.md +0 -12
- package/core/policies/mcp-tool-map.yaml +28 -0
- package/core/roles/3d-graphics-engineer.md +144 -208
- package/core/roles/README.md +1 -23
- 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 +146 -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/references/vietnam-accounting-specialist-review-checklist.md +6 -6
- package/core/roles/researcher.md +3 -3
- package/core/roles/reviewer.md +2 -2
- package/core/roles/role-standard.md +79 -205
- 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 -244
- 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/roles/vietnam-accounting-specialist.md +20 -20
- package/core/rules/README.md +0 -22
- package/core/rules/code.md +11 -6
- package/core/skills/README.md +12 -25
- 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 +79 -82
- 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-commerce/SKILL.md +2 -0
- package/core/skills/agent/configure-agent-commerce/examples/ucp-commerce-manifest-and-endpoints.json +55 -0
- package/core/skills/agent/configure-agent-commerce/references/acp-ucp-agent-commerce-manifest-specs.md +66 -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/agent/manage-agent-identity/SKILL.md +2 -0
- package/core/skills/agent/manage-agent-identity/examples/agent-identity-spire-workload.yaml +72 -0
- package/core/skills/agent/manage-agent-identity/references/nhi-lifecycle-and-token-rotation.md +45 -0
- 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/ai/openrouter-task/SKILL.md +5 -5
- package/core/skills/ai-agent/context-optimization/SKILL.md +2 -0
- package/core/skills/ai-agent/context-optimization/examples/context-pruner-and-reorderer.py +85 -0
- package/core/skills/ai-agent/context-optimization/references/token-budgeting-and-attention-allocation.md +47 -0
- package/core/skills/ai-agent/memory-hygiene/SKILL.md +13 -0
- package/core/skills/ai-agent/memory-hygiene/examples/memory-audit-and-compaction-routine.py +90 -0
- package/core/skills/ai-agent/memory-hygiene/references/agent-memory-vault-spec.md +137 -0
- package/core/skills/ai-agent/memory-hygiene/references/owasp-asi06-and-memory-poisoning-defense.md +38 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/examples/express-zod-rfc9457-endpoint.md +329 -0
- package/core/skills/backend/add-api-endpoint/examples/kratos-go-clean-architecture-endpoint.md +405 -0
- package/core/skills/backend/add-api-endpoint/references/idempotency-and-rate-limiting.md +116 -0
- package/core/skills/backend/add-event-handler/SKILL.md +12 -1
- 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/backend/scaffold-new-service/SKILL.md +2 -1
- package/core/skills/backend/scaffold-new-service/references/deep-modules-and-seams.md +43 -0
- package/core/skills/business/elicit-requirements/SKILL.md +2 -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 +18 -66
- package/core/skills/commerce/handle-checkout-flow/examples/production-checkout-orchestrator.ts +185 -0
- package/core/skills/commerce/handle-checkout-flow/references/pci-dss-v4-and-agentic-checkout-specs.md +72 -0
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +22 -58
- package/core/skills/commerce/integrate-payment-gateway/examples/resilient-webhook-and-mpp-handler.ts +164 -0
- package/core/skills/commerce/integrate-payment-gateway/references/mpp-x402-and-webhook-security-specs.md +47 -0
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +17 -50
- package/core/skills/commerce/manage-order-fulfillment/examples/temporal-fulfillment-saga.ts +104 -0
- package/core/skills/commerce/manage-order-fulfillment/references/event-sourced-fulfillment-and-carrier-webhooks.md +58 -0
- package/core/skills/commerce/manage-product-catalog/SKILL.md +5 -1
- package/core/skills/commerce/manage-product-catalog/examples/hybrid-search-and-governance-pipeline.ts +120 -0
- package/core/skills/commerce/manage-product-catalog/references/semantic-vector-catalog-and-graphrag.md +54 -0
- package/core/skills/content/write-article/SKILL.md +1 -1
- package/core/skills/document/docx/SKILL.md +1 -0
- package/core/skills/document/pdf/SKILL.md +2 -0
- package/core/skills/document/pdf/references/pdf-acroforms-and-pdfplumber-specs.md +54 -0
- package/core/skills/document/pdf/scripts/check_fillable_fields.py +144 -0
- package/core/skills/document/pdf/scripts/fill_fillable_fields.py +145 -0
- package/core/skills/document/xlsx/SKILL.md +1 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +3 -0
- package/core/skills/documentation/configure-llms-txt/examples/canonical-llms-txt-and-full-txt.md +45 -0
- package/core/skills/documentation/configure-llms-txt/references/llms-txt-and-llms-full-txt-standard.md +37 -0
- package/core/skills/documentation/write-documentation/SKILL.md +4 -1
- package/core/skills/documentation/write-documentation/examples/microservice-production-readme-and-api-docs.md +70 -0
- package/core/skills/documentation/write-documentation/references/diataxis-framework-and-doc-standards.md +62 -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 +4 -5
- package/core/skills/foundation/ai-risk-assessment/examples/genai-system-risk-register.md +67 -0
- package/core/skills/foundation/ai-risk-assessment/references/nist-ai-rmf-and-eu-ai-act-taxonomy.md +49 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
- package/core/skills/foundation/conduct-research/SKILL.md +2 -2
- 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 +2 -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 +3 -1
- 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 +3 -3
- package/core/skills/foundation/release-notes/examples/enterprise-platform-release-notes.md +42 -0
- package/core/skills/foundation/release-notes/references/keep-a-changelog-and-semver-governance.md +43 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +15 -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/foundation/write-tests/examples/anti-tautological-tdd-walkthrough.md +204 -0
- package/core/skills/foundation/write-tests/examples/testcontainers-kratos-integration-test.md +186 -0
- package/core/skills/foundation/write-tests/references/contract-and-chaos-testing.md +187 -0
- package/core/skills/frontend/INDEX.json +16 -0
- package/core/skills/frontend/add-page-route/SKILL.md +10 -8
- package/core/skills/frontend/add-page-route/examples/streaming-rsc-page-with-view-transition.tsx +133 -0
- package/core/skills/frontend/add-page-route/references/rsc-routing-and-view-transitions.md +72 -0
- package/core/skills/frontend/add-ui-component/SKILL.md +4 -1
- package/core/skills/frontend/add-ui-component/examples/compound-dialog-and-form-actions.tsx +193 -0
- package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +55 -0
- package/core/skills/frontend/component-composition/SKILL.md +12 -1
- package/core/skills/frontend/component-composition/examples/headless-combobox-compound-component.tsx +207 -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 +4 -1
- package/core/skills/frontend/frontend-testing/examples/playwright-e2e-with-msw-and-axe.spec.ts +87 -0
- package/core/skills/frontend/frontend-testing/references/playwright-msw-and-a11y-testing-standards.md +78 -0
- package/core/skills/frontend/implement-ai-disclosure/SKILL.md +119 -0
- package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +7 -4
- package/core/skills/frontend/implement-webmcp/examples/webmcp-provider-and-hitl-modal.tsx +163 -0
- package/core/skills/frontend/implement-webmcp/references/webmcp-architecture-and-hitl-security.md +48 -0
- package/core/skills/frontend/integrate-api-client/SKILL.md +12 -12
- package/core/skills/frontend/integrate-api-client/examples/orval-query-and-streaming-mutation.ts +102 -0
- package/core/skills/frontend/integrate-api-client/references/orval-tanstack-query-and-streaming-specs.md +57 -0
- 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 +6 -3
- package/core/skills/frontend/setup-design-system/examples/tailwind-v4-theme-and-dtcg-tokens.css +87 -0
- package/core/skills/frontend/setup-design-system/references/tailwind-v4-oklch-and-dtcg-tokens.md +61 -0
- package/core/skills/frontend/setup-visual-regression/SKILL.md +8 -5
- package/core/skills/frontend/setup-visual-regression/examples/visual-regression-playwright.config.ts +83 -0
- package/core/skills/frontend/setup-visual-regression/references/visual-regression-docker-and-masking-specs.md +46 -0
- 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/abstract-input-actions/SKILL.md +2 -0
- package/core/skills/gamedev/abstract-input-actions/examples/input-action-manager.ts +85 -0
- package/core/skills/gamedev/abstract-input-actions/references/action-mapping-and-analog-deadzones.md +54 -0
- package/core/skills/gamedev/architect-ecs-systems/SKILL.md +2 -0
- package/core/skills/gamedev/architect-ecs-systems/examples/bevy-flecs-combat-system.rs +73 -0
- package/core/skills/gamedev/architect-ecs-systems/references/data-oriented-design-and-archetype-ecs.md +39 -0
- package/core/skills/gamedev/author-game-ai/SKILL.md +2 -0
- package/core/skills/gamedev/author-game-ai/examples/modular-behavior-tree-ai.ts +98 -0
- package/core/skills/gamedev/author-game-ai/references/behavior-trees-and-utility-ai-curves.md +47 -0
- package/core/skills/gamedev/configure-physics-collision/SKILL.md +2 -0
- package/core/skills/gamedev/configure-physics-collision/examples/kinematic-physics-substepping.cpp +100 -0
- package/core/skills/gamedev/configure-physics-collision/references/continuous-collision-detection-and-substepping.md +50 -0
- package/core/skills/gamedev/develop-gameplay-systems/SKILL.md +2 -0
- package/core/skills/gamedev/develop-gameplay-systems/examples/kinematic-character-controller.gd +86 -0
- package/core/skills/gamedev/develop-gameplay-systems/references/deterministic-gameplay-state-machines.md +42 -0
- package/core/skills/gamedev/implement-save-persistence/SKILL.md +2 -0
- package/core/skills/gamedev/implement-save-persistence/examples/versioned-save-manager.ts +127 -0
- package/core/skills/gamedev/implement-save-persistence/references/versioned-save-schemas-and-checksums.md +44 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +14 -10
- package/core/skills/gamedev/render-webgl-threejs/examples/production-threejs-webgpu-scene.ts +116 -0
- package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +72 -0
- 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/analyze-campaign-roi/SKILL.md +2 -0
- package/core/skills/mmo/analyze-campaign-roi/examples/campaign-roi-and-roas-dashboard.py +80 -0
- package/core/skills/mmo/analyze-campaign-roi/references/multi-touch-attribution-and-cpa-analytics.md +33 -0
- package/core/skills/mmo/create-automation-script/SKILL.md +2 -0
- package/core/skills/mmo/create-automation-script/examples/stealth-browser-automation-flow.ts +65 -0
- package/core/skills/mmo/create-automation-script/references/stealth-cdp-and-behavioral-mimicry.md +37 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +3 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/examples/proxy-health-probe-and-rotation-daemon.py +75 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/references/proxy-pool-rotation-and-anti-detect-specs.md +45 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +3 -0
- package/core/skills/mmo/deploy-proxyware-fleet/examples/docker-compose-depin-light-node-fleet.yaml +52 -0
- package/core/skills/mmo/deploy-proxyware-fleet/references/depin-bandwidth-monetization-node-specs.md +43 -0
- package/core/skills/mmo/generate-mmo-content/SKILL.md +2 -0
- package/core/skills/mmo/generate-mmo-content/examples/pseo-programmatic-page-generator.ts +76 -0
- package/core/skills/mmo/generate-mmo-content/references/pseo-landing-pages-and-social-video-hooks.md +39 -0
- package/core/skills/mmo/manage-mmo-assets/SKILL.md +2 -0
- package/core/skills/mmo/manage-mmo-assets/examples/mmo-asset-vault-manager.py +63 -0
- package/core/skills/mmo/manage-mmo-assets/references/mmo-asset-rbac-and-vault-isolation.md +38 -0
- package/core/skills/mmo/setup-tracking-system/SKILL.md +2 -0
- package/core/skills/mmo/setup-tracking-system/examples/meta-capi-s2s-event-dispatcher.ts +79 -0
- package/core/skills/mmo/setup-tracking-system/references/server-to-server-postback-and-capi-specs.md +45 -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/add-telemetry-instrumentation/SKILL.md +2 -0
- package/core/skills/platform/add-telemetry-instrumentation/examples/kratos-otel-middleware-instrumentation.go +87 -0
- package/core/skills/platform/add-telemetry-instrumentation/references/opentelemetry-semantic-conventions-2026.md +37 -0
- package/core/skills/platform/agents-sdk/SKILL.md +1 -0
- package/core/skills/platform/aws-infrastructure/SKILL.md +2 -0
- package/core/skills/platform/aws-infrastructure/examples/opentofu-eks-pod-identity-vpc.tf +101 -0
- package/core/skills/platform/aws-infrastructure/references/opentofu-aws-zero-trust-and-irsa.md +40 -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 +6 -2
- package/core/skills/platform/setup-deployment/examples/kustomize-production-service-manifests.yaml +123 -0
- package/core/skills/platform/setup-deployment/references/interactive-hitl-wizard.md +55 -0
- package/core/skills/platform/setup-deployment/references/k8s-gitops-and-kustomize-invariants.md +40 -0
- 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 +3 -2
- package/core/skills/platform/supply-chain-security/examples/github-actions-sbom-cosign.yaml +57 -0
- package/core/skills/platform/supply-chain-security/references/slsa-provenance-and-sbom-sigstore.md +60 -0
- 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 +3 -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 +12 -2
- package/core/skills/repo-ops/review-code/examples/adversarial-two-axis-pr-review.md +167 -0
- package/core/skills/repo-ops/review-code/examples/ai-vibe-slop-remediation.md +220 -0
- package/core/skills/repo-ops/review-code/references/supply-chain-and-migration-safety.md +103 -0
- package/core/skills/repo-ops/review-service/SKILL.md +4 -1
- 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/database-maintenance/SKILL.md +1 -1
- package/core/skills/security-data/manage-secrets/SKILL.md +2 -0
- package/core/skills/security-data/manage-secrets/examples/external-secrets-vault-crds.yaml +53 -0
- package/core/skills/security-data/manage-secrets/references/zero-trust-secret-rotation-and-eso.md +30 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +8 -7
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +2 -0
- package/core/skills/security-data/prompt-injection-defense/examples/bounded-tool-execution-wrapper.py +78 -0
- package/core/skills/security-data/prompt-injection-defense/references/prompt-injection-taxonomy-and-delimiters.md +37 -0
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +3 -0
- package/core/skills/security-data/reverse-engineer-binary/examples/binary-triage-and-vulnerability-dossier.md +58 -0
- package/core/skills/security-data/reverse-engineer-binary/references/ghidra-radare2-and-rea-evidence-ledgers.md +43 -0
- package/core/skills/security-data/security-audit/SKILL.md +3 -1
- package/core/skills/security-data/security-audit/examples/enterprise-service-security-audit-report.md +54 -0
- package/core/skills/security-data/security-audit/references/owasp-asi-and-cvss4-threat-modeling.md +39 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +3 -0
- package/core/skills/security-data/skill-preflight-ast-check/references/ast-lethal-trifecta-and-static-vetting.md +38 -0
- package/core/skills/security-data/skill-preflight-ast-check/scripts/scan-skill-ast.py +127 -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,250 +1,103 @@
|
|
|
1
|
-
# ui-ux-designer.md -
|
|
1
|
+
# ui-ux-designer.md - Domain UX, AI Interaction & Living Design System Responsibilities
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This reference supplements [`core/roles/ui-ux-designer.md`](../ui-ux-designer.md) with operational patterns for Product UX architecture, AI/Agentic UX, GenUI governance, and Two-Tier living design systems.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
AI features are probabilistic: they produce uncertain, variable, and sometimes wrong outputs. Designing only the success path for an AI feature is a specification failure. UX must design for the full AI state model:
|
|
10
|
-
|
|
11
|
-
**AI-specific state model** — extend the standard state set for all AI-powered components:
|
|
12
|
-
| State | What it means | Design requirement |
|
|
13
|
-
| ----- | ------------- | ------------------ |
|
|
14
|
-
| **Generating / Thinking** | AI is processing; output not ready | Animated skeleton or progress indicator; set expectation on latency |
|
|
15
|
-
| **Uncertain** | AI produced output but confidence is low | Confidence indicator shown; calibrated microcopy ("Suggested", "Unverified") |
|
|
16
|
-
| **Fallback** | AI could not generate a useful response | Graceful degradation message + alternative path (search, contact, manual input) |
|
|
17
|
-
| **Overridden** | User has edited or rejected the AI output | UI acknowledges the override; does not re-apply AI output automatically |
|
|
18
|
-
| **Corrected** | User has provided feedback; system has acknowledged | Visual confirmation the feedback was received |
|
|
19
|
-
|
|
20
|
-
**Confidence indicators:**
|
|
21
|
-
- design explicit visual cues for AI certainty levels; do not present AI outputs as absolute truth
|
|
22
|
-
- use calibrated microcopy that reflects the AI's confidence level:
|
|
23
|
-
- high confidence: display result normally
|
|
24
|
-
- medium confidence: "Suggested," "Likely," "Based on available information"
|
|
25
|
-
- low confidence: "Could not verify," "Unconfirmed," "AI may be incorrect"; offer alternative path
|
|
26
|
-
- do not use "AI-generated" as a label in isolation; it communicates process, not quality — pair it with a confidence signal
|
|
27
|
-
- if confidence falls below the threshold defined in the BA's HITL trigger specification, the UI must surface the human review path, not present the AI output as final
|
|
28
|
-
|
|
29
|
-
**Transparency and explainability hooks:**
|
|
30
|
-
- design "Why am I seeing this?" affordances for AI-driven recommendations and classifications
|
|
31
|
-
- implement source citation and provenance displays for generative AI features: link to source materials or reference data that grounds the output
|
|
32
|
-
- use progressive disclosure: present the high-level AI result first, with an expand option for detailed reasoning; prevent cognitive overload from unsolicited full explanations
|
|
33
|
-
- clearly communicate what the AI can and cannot do: system messages, capability limits, and scope statements are UX requirements, not copywriter afterthoughts
|
|
34
|
-
- never design an AI feature that conceals when AI is generating the content; disclosure is a trust and often a regulatory requirement
|
|
35
|
-
- **EU AI Act Article 50 (live 2 August 2026)**: design a reusable `<AIDisclosureBanner>` component with the EU-approved AI icon for AI-generated content labels; the disclosure must use plain, unambiguous language ("You are interacting with an AI system") and appear before or during the first meaningful interaction — not after the first AI message; do not bury it in terms, tooltips, or sub-menus
|
|
36
|
-
- **Agent Context Sharing (WebMCP)**: design for browser-level Model Context Protocol (WebMCP) integration to share frontend state, DOM context, and UI events securely with autonomous AI agents; coordinate with Frontend Developer on `implement-webmcp` skill for agent read/act interaction — this is the emerging priority over `llms.txt` for docs/sites needing autonomous agent action
|
|
37
|
-
|
|
38
|
-
**Human override and control patterns:**
|
|
39
|
-
- **Preview-before-apply**: for AI actions with consequences (send, post, pay, delete), design a confirmation step that shows the proposed action and its impact before execution
|
|
40
|
-
- **Easy reversibility**: every AI-driven change must have a one-click undo, edit, or manual override; design this as a primary affordance, not a buried menu item
|
|
41
|
-
- **Mode switching**: for agentic features, design explicit autonomy level controls ("Assisted mode" vs. "Autopilot mode") so users can calibrate their level of oversight
|
|
42
|
-
- **Feedback loops**: design visible thumbs-up/down, edit, or "ask differently" mechanisms; users must believe the system learns from corrections — show acknowledgment when feedback is received
|
|
43
|
-
|
|
44
|
-
**The "Red Path" — design for when AI is wrong:**
|
|
45
|
-
- treat AI errors as expected statistical events, not edge cases; design the failure path with the same fidelity as the success path
|
|
46
|
-
- design epistemic uncertainty UI: when the AI genuinely does not know, "I can't answer this, but I can help you [alternative]" is a better UX than a hallucinated answer delivered confidently
|
|
47
|
-
- never design a dead-end state for AI uncertainty; always provide an alternative action path (search, support contact, manual input, or fallback to deterministic behavior)
|
|
48
|
-
|
|
49
|
-
**HITL interface requirements:**
|
|
50
|
-
- when the Business Analyst has specified a HITL escalation trigger (confidence threshold → human review), UX must design the human reviewer interface:
|
|
51
|
-
- what information does the reviewer see? (AI output, confidence score, input context, audit log preview)
|
|
52
|
-
- how does the reviewer confirm, edit, or reject the AI decision?
|
|
53
|
-
- how does the user whose request is pending receive status communication?
|
|
54
|
-
- design the time-bounded review experience (what happens at SLA expiry?)
|
|
55
|
-
|
|
56
|
-
**AI-specific accessibility extensions (beyond WCAG 2.2 baseline):**
|
|
57
|
-
- AI-generated content that updates dynamically must announce updates to assistive technology (ARIA live regions with appropriate politeness level)
|
|
58
|
-
- AI-generated images and media require context-aware alt text; specify alt text generation requirements in the component spec, not just "provide alt text"
|
|
59
|
-
- avoid rapid, unpredictable interface updates driven by AI output streaming; provide user controls for pacing or pausing dynamic content
|
|
60
|
-
- for voice and multimodal AI interactions: design graceful fallback to text/visual output when voice input fails or is unavailable
|
|
7
|
+
## 1. Product UI Architecture & Interaction Patterns (Mode A)
|
|
61
8
|
|
|
62
|
-
|
|
9
|
+
### 1.1 Surface Selection Matrix
|
|
63
10
|
|
|
64
|
-
|
|
11
|
+
| User Need | Recommended Surface | Key UX Invariant |
|
|
12
|
+
| :--- | :--- | :--- |
|
|
13
|
+
| Single field or inline status edit | **Inline edit** | Explicit save/cancel or optimistic update + undo toast; preserve scroll position |
|
|
14
|
+
| Quick filter, sort, or single contextual control | **Popover** | Non-modal or light-dismiss; never pack multi-step forms inside a popover |
|
|
15
|
+
| Secondary record inspection or multi-field edit from a list | **Drawer / Sheet** | Preserve parent list context; persist open ID in URL `?selected=` when shareable; `overscroll-behavior: contain` |
|
|
16
|
+
| Focused confirmation or short blocking decision | **Modal Dialog** | Focus trap, `Esc` to close, restore focus to triggering element on close, never nest modals |
|
|
17
|
+
| Deep workflow, multi-step wizard, or primary workspace | **Dedicated Route** | Clean URL state (`?tab=`, `?filter=`, `?page=`), browser back/forward safe, clear breadcrumb/exit |
|
|
65
18
|
|
|
66
|
-
|
|
19
|
+
### 1.2 Destructive Action & Feedback Matrix
|
|
67
20
|
|
|
68
|
-
|
|
69
|
-
|
|
|
70
|
-
|
|
71
|
-
| **
|
|
72
|
-
| **
|
|
73
|
-
| **Delegate** | Agent acts within a defined scope; user reviews outcomes | Outcome summary required; audit trail accessible; exception alerts visible |
|
|
74
|
-
| **Automate** | Agent acts fully autonomously; user monitors exceptions only | Status surface mandatory; interrupt/pause control always accessible; exception notification contract defined |
|
|
21
|
+
| Reversibility / Blast Radius | Feedback Pattern | Requirement |
|
|
22
|
+
| :--- | :--- | :--- |
|
|
23
|
+
| **Low-risk reversible** (archive, reorder, toggle) | Optimistic UI + **Undo Toast** | Immediate visual feedback; single-click `Undo` window; no blocking modal |
|
|
24
|
+
| **Medium-risk scoped delete** (delete item, revoke token) | **Named Confirmation Dialog** | State exact object name & consequence; confirm button names action (`Delete Project`), never generic `OK`/`Yes`; default focus on safe action |
|
|
25
|
+
| **Irreversible / destructive tenant action** (drop workspace, billing cancel) | **Typed Confirmation + Consequence Summary** | Require typing resource slug; zero dark-pattern obstruction (DSA Art 25/26) |
|
|
75
26
|
|
|
76
|
-
|
|
77
|
-
- every agentic feature must declare its Trust Ladder tier in `ux-flow-spec.json` under `autonomy_tier`
|
|
78
|
-
- the UI must surface the current tier visibly — users must know at a glance how much control they have
|
|
79
|
-
- do not ship a feature at a higher tier than the trust the product has earned from its user base; shipping Automate before Suggest→Verify trust is established is the "Autopilot Trap" — a UX failure mode, not a product decision
|
|
80
|
-
- tier upgrades require explicit user opt-in and a trust-building progression (e.g., Suggest for 30 days before offering Delegate)
|
|
27
|
+
### 1.3 Data-Dense & Table Ergonomics
|
|
81
28
|
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- **async interrupt UX**: how a user pauses, redirects, or cancels an in-progress agent task from any context (mobile notification, email, status page)
|
|
87
|
-
- **completion handoff**: how the agent communicates completion and what review the user is expected to perform
|
|
88
|
-
- design these surfaces with the same fidelity as foreground flows; "it runs in the background" is not a reason to omit the UX spec
|
|
29
|
+
- Numeric, currency, timestamp, and delta columns MUST specify `font-variant-numeric: tabular-nums`.
|
|
30
|
+
- Tables with vertical scroll MUST pin `thead` (`sticky top-0`) and reserve `scroll-margin-top` for anchor jumps.
|
|
31
|
+
- Truncated text (`text-ellipsis`) MUST provide a keyboard-accessible full-value reveal (tooltip, popover, or detail view).
|
|
32
|
+
- Filter/sort/tab states SHOULD serialize to URL query params (URL-as-state) so views survive refresh and sharing.
|
|
89
33
|
|
|
90
34
|
---
|
|
91
35
|
|
|
92
|
-
##
|
|
36
|
+
## 2. AI Interaction Design (Probabilistic Systems)
|
|
93
37
|
|
|
94
|
-
|
|
38
|
+
AI features produce non-deterministic, sometimes wrong outputs. Designing only the happy path is a specification failure.
|
|
95
39
|
|
|
96
|
-
|
|
40
|
+
### 2.1 Five Mandatory AI States
|
|
97
41
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
42
|
+
| State | Meaning | Design Requirement |
|
|
43
|
+
| :--- | :--- | :--- |
|
|
44
|
+
| **Generating / Thinking** | Model processing; output incomplete | Geometry-matched skeleton or streaming container; latency expectation; abort/stop control |
|
|
45
|
+
| **Uncertain** | Output produced with low/medium confidence | Confidence indicator + calibrated copy (`"Suggested"`, `"Likely"`, `"Unverified"`) |
|
|
46
|
+
| **Fallback (Red Path)** | AI failed, timed out, or refused | Factual degradation message (no `!`) + deterministic alternative (manual input, search, retry) |
|
|
47
|
+
| **Overridden** | User edited or rejected AI output | UI preserves human edit; never silently re-applies overwritten AI output |
|
|
48
|
+
| **Corrected** | User submitted feedback/correction | Subtle confirmation (`"Feedback recorded"`) |
|
|
102
49
|
|
|
103
|
-
|
|
104
|
-
- define relationship rules: which components can be composed together, in what order, with what spacing and layout constraints
|
|
105
|
-
- define brand-safety constraints: color combinations that are prohibited, typography pairings that are out-of-bounds, imagery types that are not allowed in AI-generated content
|
|
106
|
-
- document the semantic rules: which content types require which components (e.g., error messages must use the Alert component with error variant, not inline text)
|
|
50
|
+
### 2.2 Confidence, Transparency & Article 50
|
|
107
51
|
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
52
|
+
- Pair any `"AI-generated"` label with a confidence signal or provenance hook (`"Why am I seeing this?"` + source citations via progressive disclosure).
|
|
53
|
+
- **Preview-before-apply**: consequential AI actions (send, pay, publish, delete, bulk-mutate) require explicit diff/action preview before execution.
|
|
54
|
+
- **EU AI Act Article 50 (live 2 August 2026)**: render a visible, accessible `<AIDisclosureBanner>` before or during the first meaningful interaction; specify C2PA content credentials for AI-generated media (2 December 2026).
|
|
55
|
+
- **AI Accessibility**: specify `aria-live="polite"` (or `role="log"`) for streaming text without stealing focus; provide context-aware alt-text rules for AI media.
|
|
56
|
+
- **HITL Reviewer Interface**: when BA specifies a confidence escalation trigger, design the reviewer surface (AI output, confidence, input context, audit preview, Confirm/Edit/Reject actions, and SLA-expiry state).
|
|
112
57
|
|
|
113
58
|
---
|
|
114
59
|
|
|
115
|
-
##
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
**
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
- **
|
|
128
|
-
`Reading this as: <page kind> for <audience>, with a <vibe> language, leaning toward <design system or aesthetic family>.`
|
|
129
|
-
- **Ambiguity Rule**: if the brief is ambiguous, ask at most **one** targeted clarifying question (e.g., *"Should this feel closer to Linear-clean or Awwwards-experimental?"*). Never dump multi-question lists.
|
|
130
|
-
|
|
131
|
-
**Section 1: The Three Dials Parameterization:**
|
|
132
|
-
Every UX flow and component specification must calibrate three numeric dials (1–10 scale, baseline `8 / 6 / 4`):
|
|
133
|
-
- `DESIGN_VARIANCE` (1 = Perfect Symmetry, 10 = Artsy Chaos): controls layout experimentation, asymmetry, and unconventional grids.
|
|
134
|
-
- `MOTION_INTENSITY` (1 = Static, 10 = Cinematic / Physics): controls interaction physics, scroll choreography, and micro-interactions.
|
|
135
|
-
- `VISUAL_DENSITY` (1 = Art Gallery / Airy, 10 = Cockpit / Packed Data): controls information density, padding scales, and whitespace breathing room.
|
|
136
|
-
- Map dial presets to use cases:
|
|
137
|
-
- *SaaS Landing (Mainstream)*: `7 / 6 / 4`
|
|
138
|
-
- *Agency / Creative Studio*: `9 / 8 / 3`
|
|
139
|
-
- *Premium Consumer*: `7 / 6 / 3`
|
|
140
|
-
- *Developer Portfolio*: `6 / 5 / 4`
|
|
141
|
-
- *Designer Portfolio*: `8 / 7 / 3`
|
|
142
|
-
- *Public-Sector / Regulated Service*: `3 / 2 / 5`
|
|
143
|
-
|
|
144
|
-
**Anti-Slop Layout & Composition Directives:**
|
|
145
|
-
- **Anti-Center Bias**: centered hero sections are banned when `DESIGN_VARIANCE > 4`. Use split screen (50/50), left-aligned copy with right-aligned visual asset, asymmetric whitespace, or scroll-pinned compositions. Centered heroes are permitted only for manifesto/editorial launch pages.
|
|
146
|
-
- **Hero Viewport & Stack Discipline**:
|
|
147
|
-
- Hero content MUST fit in the initial viewport without scrolling on desktop.
|
|
148
|
-
- Headline max 2 lines on desktop.
|
|
149
|
-
- Subtext max **20 words** AND max 3–4 lines. If copy exceeds 20 words, cut copy or adjust hierarchy; never allow hero copy to push CTAs below the fold.
|
|
150
|
-
- Hero stack contains **at most 4 text elements**: (1) optional Eyebrow OR brand strip, (2) Headline, (3) Subtext, (4) CTAs (1 primary + max 1 secondary).
|
|
151
|
-
- Banned in hero: tiny tagline below CTAs, trust micro-strips, pricing teasers, feature bullets, avatar stacks. These belong in dedicated sections directly below the hero.
|
|
152
|
-
- Top padding capped at 6rem (pt-24) on desktop to prevent content floating halfway down the viewport.
|
|
153
|
-
- **Logo Wall Separation**: "Used by / Trusted by" logo strip belongs strictly below the hero as an independent section, never stuffed into the hero flex container. Apply the **Logo-Only rule**: logos must render with no category or industry subtitles underneath.
|
|
154
|
-
- **Section Layout Repetition Ban**: once a layout family is used for a section (e.g., 3-column cards, full-width quote, split image-text), that family may appear at most ONCE on the page. A page with 8 sections must use at least 4 distinct layout families.
|
|
155
|
-
- **Zigzag Alternation Cap**: alternating left-image/right-text then left-text/right-image is capped at a maximum of 2 consecutive sections. The 3rd consecutive section must break the pattern (full-width moment, bento, or vertical stack).
|
|
156
|
-
- **Eyebrow Restraint (Strict Cap)**: uppercase wide-tracking label above headlines (`uppercase tracking-[0.18em]`) is capped at **maximum 1 eyebrow per 3 sections**. A 9-section page may have at most 3 eyebrows total. Drop eyebrows in favor of clear headlines rather than templating every section.
|
|
157
|
-
- **Bento Grid Cell Count & Diversity**: bento grids must have exactly as many cells as there is content (no empty filler tiles). At least 2–3 cells in any grid must have real visual variation (photography, subtle pattern, or tinted background); monochrome text-only bento grids are banned.
|
|
158
|
-
- **Split-Header Ban**: "big left headline + floating right explainer paragraph" is banned by default. Sections have one focused message; stack headline and explainer vertically with `max-w-[65ch]`.
|
|
159
|
-
|
|
160
|
-
**Anti-Default Typography & Color Discipline:**
|
|
161
|
-
- **Serif Discipline**: serif display fonts are banned as the default for creative or premium briefs. Serif is permitted ONLY when the brand brief explicitly names a serif or the aesthetic is heritage/manuscript.
|
|
162
|
-
- Specifically banned default serifs: `Fraunces` and `Instrument_Serif`.
|
|
163
|
-
- Default to high-craft sans display: `Geist Display`, `Cabinet Grotesk`, `Satoshi`, `Outfit`.
|
|
164
|
-
- Emphasis rule: word emphasis in display type must use bold or italic of the **same font family**; never inject a foreign serif word into a sans headline.
|
|
165
|
-
- Descender clearance: when italic display type contains descender characters (`g, j, p, q, y`), maintain minimum `leading-[1.1]` with padding reservation to prevent clipping.
|
|
166
|
-
- **Color Discipline & Lila Ban**:
|
|
167
|
-
- Maximum 1 accent color with saturation < 80%.
|
|
168
|
-
- Ban generic AI-purple/blue glow gradients on dark buttons and backgrounds. Use neutral bases (Zinc, Stone, Slate) with singular high-contrast accents (Emerald, Electric Blue, Burnt Orange).
|
|
169
|
-
- Color consistency lock: the chosen accent color applies to the entire page; do not switch accent hues across sections.
|
|
170
|
-
- Premium-consumer palette ban: banned default reach for warm-beige (`#f5f1ea`), brass/clay (`#b08947`, `#b6553a`), and espresso text (`#1a1714`). Rotate to cold luxury, forest green, terracotta+slate, cobalt+cream, or sharp monochrome.
|
|
171
|
-
- **Shape Consistency Lock**: enforce a single corner-radius scale across the page (all-sharp, all-soft 12-16px, or documented pill buttons + soft cards). Tint drop shadows to the section background hue.
|
|
172
|
-
|
|
173
|
-
**Copy Self-Audit & CTA Intent Unification:**
|
|
174
|
-
- **Copy Self-Audit**: audit all visible strings before handoff. Reject grammatically broken phrases, cute-but-wrong AI wordplay ("free on its past"), fake craftsman claims, and mock-poetic copy.
|
|
175
|
-
- **Fake Precision Ban**: numbers like `92%`, `4.1×`, or `5.8 mm` must originate from verified business metrics or be explicitly labeled as mock; never invent pseudo-engineering precision.
|
|
176
|
-
- **No Duplicate CTA Intent**: each page intent (contact, signup, view work) must use a single unified label across navigation, hero, and footer (do not mix "Get in touch", "Contact us", and "Let's talk" on one page).
|
|
177
|
-
- **Desktop CTA Button Wrap Ban**: primary CTA labels must never wrap to multiple lines on desktop (maximum 3 words, ideally 1–2 words).
|
|
60
|
+
## 3. Agentic UX & Trust Ladder
|
|
61
|
+
|
|
62
|
+
| Tier | Autonomy Scope | Mandatory UX Requirement |
|
|
63
|
+
| :--- | :--- | :--- |
|
|
64
|
+
| **Suggest** | Agent proposes; human initiates | Full preview before side effect; one-click dismiss |
|
|
65
|
+
| **Verify** | Agent prepares; human confirms per action | Consequence preview + one-click confirm + visible undo |
|
|
66
|
+
| **Delegate** | Agent acts within bounds; human audits outcomes | Outcome summary + accessible audit trail + exception alerts |
|
|
67
|
+
| **Automate** | Agent runs autonomously; human monitors exceptions | Mandatory status surface + always-accessible pause/interrupt + exception notifications |
|
|
68
|
+
|
|
69
|
+
- Declare `agentic_autonomy.autonomy_tier` in `ux-flow-spec.json` and surface the active tier in the UI.
|
|
70
|
+
- Never ship `Automate` before `Suggest -> Verify` trust is earned (**Autopilot Trap**).
|
|
71
|
+
- Background agents MUST specify four async surfaces: **status surface**, **notification contract**, **async interrupt UX** (pause/redirect/cancel), and **completion handoff**.
|
|
72
|
+
- **Agents-as-Users (`agent_operability`)**: when browser agents operate the UI alongside humans, declare `agent_entry_points`, semantic ARIA affordances / WebMCP hooks (`implement-webmcp`), and `agent_courtesy_rules` (rate limits, idempotency).
|
|
178
73
|
|
|
179
74
|
---
|
|
180
75
|
|
|
181
|
-
##
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
**
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
- when AI tools generate UI code or components, they must reference the existing component library and token system — not generate from scratch
|
|
210
|
-
- define and document the rules AI must follow when generating components: which tokens are in scope, which components are the building blocks, what customization is allowed
|
|
211
|
-
- run design drift detection after AI-generated code is merged: verify that no hardcoded colors, spacing values, or typography values bypass the token system
|
|
212
|
-
- treat design system constraint violations in AI-generated code with the same urgency as accessibility failures — they degrade long-term maintainability
|
|
213
|
-
|
|
214
|
-
**Design System Selection Map (when the brief names an aesthetic family):**
|
|
215
|
-
When the design read points to a known system, reach for the official package — do not recreate its CSS by hand, and do not import its tokens then override 90% of them:
|
|
216
|
-
|
|
217
|
-
| Brief reads as… | Reach for | Why |
|
|
218
|
-
|-----------------|-----------|-----|
|
|
219
|
-
| Microsoft / enterprise SaaS / dashboards | `@fluentui/react-components` or `@fluentui/web-components` | Official Fluent UI, Microsoft tokens, accessibility done |
|
|
220
|
-
| Google-ish UI, Material-flavored product | `@material/web` + Material 3 tokens | Official, theme-able via Material Theming |
|
|
221
|
-
| IBM-style B2B / enterprise analytics | `@carbon/react` + `@carbon/styles` | Official Carbon, mature data-density patterns |
|
|
222
|
-
| Shopify app surfaces | `polaris.js` web components / Polaris React | Required for Shopify admin UI |
|
|
223
|
-
| Atlassian / Jira-style product | `@atlaskit/*` + `@atlaskit/tokens` | Official Atlassian DS |
|
|
224
|
-
| GitHub-style devtool / community page | `@primer/css` or `@primer/react-brand` | Official Primer; Brand variant for marketing |
|
|
225
|
-
| Public-sector UK service | `govuk-frontend` | Legally / regulatorily expected |
|
|
226
|
-
| US public-sector / trust-first | `uswds` | Same |
|
|
227
|
-
| Fast local-business / agency MVP | Bootstrap 5.3 | Boring, fast, works |
|
|
228
|
-
| Modern accessible React foundation | `@radix-ui/themes` | Primitives + polished theme |
|
|
229
|
-
| Modern SaaS where you own the components | shadcn/ui (`npx shadcn@latest add ...`) | You own the code, easy to customise; never ship default state |
|
|
230
|
-
| Tailwind-based modern SaaS / AI marketing | Tailwind v4 utilities + `dark:` variant | Default for indie + small team builds |
|
|
231
|
-
|
|
232
|
-
- **Honesty rule**: if the brief reads as one of the systems above, install and use the official package. Do not recreate its CSS by hand. Do not import a system's tokens then override 90% of them.
|
|
233
|
-
- **One system per project**: do not mix Fluent React with Carbon in the same tree. Do not import shadcn/ui components into a Material 3 app.
|
|
234
|
-
- When the brief is an aesthetic, not a system (glassmorphism, bento, brutalism, editorial, dark tech, aurora, kinetic typography, Apple Liquid Glass), build with native CSS + Tailwind + a maintained component library. Be honest in code comments about what is borrowed inspiration vs. official material. There is no official `liquid-glass.css` — web implementations are approximations using `backdrop-filter` + layered borders + highlights; label clearly as approximation.
|
|
235
|
-
|
|
236
|
-
**Canonical Motion Skeletons (when implementing in collaboration with Frontend Developer):**
|
|
237
|
-
When the flow calls for scroll-driven motion, these are the canonical implementation patterns — Frontend Developer owns the code, UX specifies the intent and timing:
|
|
238
|
-
|
|
239
|
-
- **Sticky-Stack**: `start: "top top"`, `pin: true`, `pinSpacing: false`; every card except the last is pinned; the previous card's `scale: 0.92` / `opacity: 0.55` is driven by the *next* card's scroll trigger. Common failure: trigger fires halfway through scroll instead of pinning at viewport top.
|
|
240
|
-
- **Horizontal-Pan**: `start: "top top"`, `pin: true`, `end: "+=${distance}"` where distance = track width minus viewport; `scrub: 1`, `invalidateOnRefresh: true`. Wrapper pinned, inner track slides horizontally as user scrolls vertically.
|
|
241
|
-
- **Reveal-Stagger** (lighter alternative, no pinning): Motion's `whileInView` with `viewport={{ once: true, amount: 0.3 }}`, stagger via `delay: i * 0.06`. Use for feature lists, testimonial grids, logo walls. Save GSAP for actual pin/scrub work.
|
|
242
|
-
- **Forbidden**: `window.addEventListener("scroll", ...)`, custom `window.scrollY` calculations in React state, `requestAnimationFrame` loops that touch React state. Use Motion's `useScroll()`, GSAP's `ScrollTrigger`, IntersectionObserver, or CSS `scroll-driven animations` (`animation-timeline: view()`).
|
|
243
|
-
- **Motion must be motivated**: before adding any animation, articulate in one sentence what it communicates (hierarchy, storytelling, feedback, state transition). "It looked cool" is not a valid answer. Each ScrollTrigger, marquee, and pinned section needs a reason.
|
|
244
|
-
|
|
245
|
-
**Image & Visual Asset Strategy:**
|
|
246
|
-
- Landing pages and portfolios are visual products. Text-only pages with fake-screenshot divs are slop.
|
|
247
|
-
- Priority order: (1) image-generation tool first — generate section-specific assets at the right aspect ratio; (2) real web images second — `https://picsum.photos/seed/{descriptive-seed}/{w}/{h}` for placeholder photography (seed should describe the section); (3) last resort: leave clearly-labelled placeholder slots and tell the user which placements need real images.
|
|
248
|
-
- Even minimalist sites need real images — a pure-text page is not minimalism, it is incomplete work. Even an editorial Linear-style site needs at least 2–3 real images (hero, one product/lifestyle shot, one supporting image).
|
|
249
|
-
- Social proof logo walls: use verified SVG marks via Simple Icons (`cdn.simpleicons.org`) or devicon. Enforce the Logo-Only rule: render logos without category or industry subtitles underneath. Make-up brand names must get a make-up SVG mark (monogram, two-letter ligature, abstract glyph) — plain text wordmarks for invented brands look generic. Ensure logos render in both light and dark mode.
|
|
250
|
-
- Hand-rolled decorative SVGs are strongly discouraged and never the default. Acceptable only when the brief explicitly calls for it, or it is a single simple geometric mark.
|
|
76
|
+
## 4. GenUI Component Governance
|
|
77
|
+
|
|
78
|
+
When AI dynamically assembles UI at runtime:
|
|
79
|
+
|
|
80
|
+
- **Stateless MCP 2026-07-28 Alignment**: design component registries for stateless HTTP transport with externalized state (Redis, Durable Objects, D1), never assuming sticky in-memory MCP sessions.
|
|
81
|
+
- **Component Palette Allowlist**: explicitly list allowed design-system components, allowed states, and prohibited combinations.
|
|
82
|
+
- **Drift Detection & Deterministic Fallback**: validate assembled trees against the palette and semantic rules; render a deterministic safe fallback when assembly violates bounds.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 5. Living Design System Infrastructure (`DESIGN.md` MASTER + Page Overrides)
|
|
87
|
+
|
|
88
|
+
### 5.1 Two-Tier Token Architecture (with Constrained Exceptions)
|
|
89
|
+
|
|
90
|
+
| Tier | Type | Example | Rule |
|
|
91
|
+
| :--- | :--- | :--- | :--- |
|
|
92
|
+
| **Tier 1: Primitive** | Raw OKLCH / scale value | `--slate-900`, `--space-4`, `--duration-150` | Palette definition only; **forbidden** directly in component specs |
|
|
93
|
+
| **Tier 2: Semantic** | Functional intent | `--surface-canvas`, `--text-primary`, `--border-subtle` | **Authoritative design-to-code contract** across light/dark/high-contrast themes |
|
|
94
|
+
| **Tier 3: Component** | Exception override | `--button-height-compact` | Strictly optional (`<= 3` per component); excess indicates missing semantic tokens |
|
|
95
|
+
|
|
96
|
+
### 5.2 Master + Page Override Pattern & DTCG 2025.10
|
|
97
|
+
|
|
98
|
+
- Author `DESIGN.md` (backed by `contracts/schemas/design-tokens-spec.json`) as the single **MASTER** token & visual contract for the project.
|
|
99
|
+
- When individual routes require contextual overrides (e.g., high-density telemetry view vs onboarding flow), document explicit **Page Overrides** layered on top of `MASTER` without forking primitive ramps or duplicating theme files.
|
|
100
|
+
- All token interchange uses **W3C DTCG Format Module 2025.10** (`$value` / `$type`), synced via automated pipeline (`DESIGN.md` / Figma Variables -> PR -> Style Dictionary v4 DTCG mode / Terrazzo) — never manual copy-paste.
|
|
101
|
+
- Author token docs in clean Markdown hierarchy (`H1 -> H2 -> H3`) for dual human/LLM consumption (`llms.txt` as doc scope map only, never as a search-ranking or WebMCP replacement).
|
|
102
|
+
|
|
103
|
+
Last updated: 2026-11-16
|