@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,118 +0,0 @@
|
|
|
1
|
-
# integrate-api-client — 2026 Upgrade Plan
|
|
2
|
-
|
|
3
|
-
## Summary of 2026 Standards Changes
|
|
4
|
-
|
|
5
|
-
### OpenAPI Codegen Pipeline (2026)
|
|
6
|
-
- **Orval as standard**: Automatically converts OpenAPI specs → TanStack Query v5 queries, MSW v2 mocks, TypeScript types
|
|
7
|
-
- **`queryOptions` factories**: Reusable, type-safe query configurations across components
|
|
8
|
-
- **MSW mocks auto-updated**: In test and dev environments when schemas change
|
|
9
|
-
- **Generated types as source of truth**: No manual type definitions for API contracts
|
|
10
|
-
|
|
11
|
-
### React 19 Data Fetching (2026)
|
|
12
|
-
- **`use()` hook for RSC**: Read promises directly in Server-rendered components; facilitates RSC streaming and lazy data resolution
|
|
13
|
-
- **TanStack Query for client-side**: Interactive operations requiring cache invalidation, background refetching, request deduplication
|
|
14
|
-
- **Avoid nesting client query hooks**: When RSC streaming resolves initial page load data
|
|
15
|
-
- **Server Components + TanStack Query hybrid**: RSC for initial data, TanStack Query for interactivity
|
|
16
|
-
|
|
17
|
-
### React 19 Mutations (2026)
|
|
18
|
-
- **`useActionState` for forms**: Straightforward form actions and state updates with pending state, error handling
|
|
19
|
-
- **`useMutation` (TanStack Query) for complex**: Advanced cache manipulation, pagination updates, optimistic UI
|
|
20
|
-
- **Validation error binding**: Action errors correctly bound back to UI inputs
|
|
21
|
-
|
|
22
|
-
### Streaming AI Responses (2026)
|
|
23
|
-
- **`ReadableStream` + `TextDecoderStream`**: Parse chunked responses token-by-token
|
|
24
|
-
- **`useReducer` pattern**: Avoid unnecessary re-renders during rapid stream updates
|
|
25
|
-
- **Cancellation hooks**: Allow users to abort active stream requests
|
|
26
|
-
|
|
27
|
-
### TanStack Query v5 Patterns (2026)
|
|
28
|
-
- **Centralized `queryOptions` factories**: Scattered magic string query keys are anti-pattern
|
|
29
|
-
- **Optimistic mutations full lifecycle**: `onMutate` (cancel + snapshot + update), `onError` (rollback), `onSettled` (invalidate) — no rollback handlers = prohibited
|
|
30
|
-
- **Functional updater syntax**: `setQueryData((old) => ...)` to prevent stale state captures
|
|
31
|
-
- **Server state in query cache only**: Never duplicate in local `useState`
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Required Skill Upgrades
|
|
36
|
-
|
|
37
|
-
### 1. Core Rules Updates
|
|
38
|
-
| Current Rule | 2026 Upgrade |
|
|
39
|
-
|--------------|--------------|
|
|
40
|
-
| OpenAPI codegen mentioned | **Orval pipeline mandatory**: OpenAPI → TanStack Query v5 + MSW v2 + TS types; `queryOptions` factories |
|
|
41
|
-
| React 19 `use()` mentioned | **`use()` for RSC streaming**: Read promises in Server Components; TanStack Query for client interactivity |
|
|
42
|
-
| React 19 `useActionState` mentioned | **`useActionState` for forms**: Pending state, error handling, progressive enhancement |
|
|
43
|
-
| `useMutation` for complex | **`useMutation` only for complex**: Cache manipulation, pagination, optimistic UI; simple forms → `useActionState` |
|
|
44
|
-
| Streaming AI responses | **`ReadableStream` + `useReducer`**: Token-by-token updates, cancellation hooks |
|
|
45
|
-
| TanStack Query v5 `queryOptions` | **Centralized factories mandatory**: No scattered magic string keys |
|
|
46
|
-
|
|
47
|
-
### 2. New 2026 Patterns to Add
|
|
48
|
-
- **Orval Configuration**: OpenAPI spec → TanStack Query v5 hooks + MSW v2 handlers + TS types in single pipeline
|
|
49
|
-
- **`queryOptions` Factory Pattern**: Reusable query configs with `queryKey`, `queryFn`, `staleTime`, `gcTime`
|
|
50
|
-
- **RSC + TanStack Query Hybrid**: Server Components for initial data (`use()`), client components for interactivity
|
|
51
|
-
- **React 19 `useActionState` Form Pattern**: `<form action={submitAction}>`, automatic reset, progressive enhancement
|
|
52
|
-
- **Streaming Response Handler**: `ReadableStream` → `TextDecoderStream` → `useReducer` for token-by-token UI
|
|
53
|
-
- **Cancellation Infrastructure**: `AbortController` integration for stream cancellation
|
|
54
|
-
- **Optimistic Mutation Guard**: Lint rule requiring `onError` rollback for every `useMutation`
|
|
55
|
-
|
|
56
|
-
### 3. Checklist Additions
|
|
57
|
-
- [ ] Orval configured for OpenAPI → TanStack Query v5 + MSW v2 + TS types
|
|
58
|
-
- [ ] `queryOptions` factories used for all query configurations (no magic string keys)
|
|
59
|
-
- [ ] React 19 `use()` used in Server Components for initial data fetching
|
|
60
|
-
- [ ] TanStack Query v5 used for client-side interactivity (cache invalidation, refetching, deduplication)
|
|
61
|
-
- [ ] Simple form mutations use `useActionState` with `<form action={submitAction}>`
|
|
62
|
-
- [ ] Complex mutations use `useMutation` with full optimistic lifecycle (`onMutate`/`onError`/`onSettled`)
|
|
63
|
-
- [ ] Functional updater syntax: `setQueryData((old) => ...)` — no stale captures
|
|
64
|
-
- [ ] Server state stays in query cache; no `useState` duplication
|
|
65
|
-
- [ ] Streaming AI responses: `ReadableStream` + `TextDecoderStream` + `useReducer`
|
|
66
|
-
- [ ] Cancellation hooks for active streams (`AbortController`)
|
|
67
|
-
- [ ] Validation errors from actions bound to UI inputs
|
|
68
|
-
- [ ] MSW v2 mocks auto-generated and updated with Orval pipeline
|
|
69
|
-
- [ ] Idempotency keys on every non-idempotent mutation (POST/DELETE)
|
|
70
|
-
- [ ] Explicit error code handling (4xx vs 5xx differentiated)
|
|
71
|
-
- [ ] `implementation-result.json` emitted
|
|
72
|
-
|
|
73
|
-
### 4. Failure Mode Additions
|
|
74
|
-
- **Orval spec drift**: OpenAPI spec changes but generated code not updated. Mitigation: CI step running Orval; fail if generated code differs from committed.
|
|
75
|
-
- **RSC/TanStack Query boundary confusion**: Client query hooks nested in Server Components. Mitigation: Lint rule banning `useQuery` in `"use client"` components that are RSC children; use `use()` in RSC.
|
|
76
|
-
- **`useActionState` for complex mutations**: Simple form hook used for paginated cache updates. Mitigation: Lint rule: `useActionState` only for forms; `useMutation` for cache manipulation.
|
|
77
|
-
- **Streaming re-render storm**: `useState` updated per token. Mitigation: `useReducer` pattern; batch updates; `React.startTransition` for non-urgent.
|
|
78
|
-
- **Missing cancellation**: User cannot abort slow AI stream. Mitigation: `AbortController` wired to cancel button; cleanup on unmount.
|
|
79
|
-
- **Stale state capture**: `setQueryData(newData)` captures stale closure. Mitigation: Functional updater `setQueryData((old) => ...)` mandatory.
|
|
80
|
-
- **MSW mock divergence**: Mocks not updated with schema changes. Mitigation: Orval generates MSW handlers; CI verifies mocks match spec.
|
|
81
|
-
|
|
82
|
-
### 5. Output Contract Updates
|
|
83
|
-
- Update `contracts/schemas/implementation-result.json` with: Orval config, `queryOptions` factories, RSC/Client boundary, streaming handler, cancellation infrastructure
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Implementation Priority
|
|
88
|
-
|
|
89
|
-
| Priority | Task | Effort |
|
|
90
|
-
|----------|------|--------|
|
|
91
|
-
| P0 | Orval pipeline: OpenAPI → TanStack Query v5 + MSW v2 + TS types | High |
|
|
92
|
-
| P0 | Centralized `queryOptions` factories (no magic string keys) | High |
|
|
93
|
-
| P0 | React 19 `use()` in RSC for initial data | High |
|
|
94
|
-
| P0 | `useActionState` for forms + `useMutation` for complex | High |
|
|
95
|
-
| P0 | Streaming AI responses: `ReadableStream` + `useReducer` + cancellation | High |
|
|
96
|
-
| P1 | Functional updater syntax enforcement (`setQueryData((old) => ...)`) | Medium |
|
|
97
|
-
| P1 | Optimistic mutation full lifecycle guard (lint rule) | Medium |
|
|
98
|
-
| P1 | RSC + TanStack Query hybrid pattern documentation | Medium |
|
|
99
|
-
| P2 | Idempotency keys on non-idempotent mutations | Low |
|
|
100
|
-
| P2 | Explicit error code handling (4xx vs 5xx) | Low |
|
|
101
|
-
| P2 | Expanded failure modes | Low |
|
|
102
|
-
| P2 | Output contract updates | Low |
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Validation Gates
|
|
107
|
-
- Run `python3 core/scripts/validate-all.py` from agent-skills root
|
|
108
|
-
- Verify INDEX.md regeneration if VERSION bumped
|
|
109
|
-
- Check adapter parity with `validate-rules.py` (9 parity groups)
|
|
110
|
-
- Test Orval generates identical code on CI (fail on drift)
|
|
111
|
-
- Verify `queryOptions` factories used (grep for magic string query keys)
|
|
112
|
-
- Test React 19 `use()` in Server Component with streaming data
|
|
113
|
-
- Test `useActionState` form with Server Function (progressive enhancement)
|
|
114
|
-
- Test streaming AI response with `useReducer` — no re-render storm
|
|
115
|
-
- Test cancellation via `AbortController` on active stream
|
|
116
|
-
- Verify functional updater syntax (no stale captures)
|
|
117
|
-
- Test MSW v2 mocks match OpenAPI spec
|
|
118
|
-
- Verify idempotency keys on POST/DELETE mutations
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# setup-design-system — 2026 Upgrade Plan
|
|
2
|
-
|
|
3
|
-
## Summary of 2026 Standards Changes
|
|
4
|
-
|
|
5
|
-
### Tailwind v4 CSS-First Configuration (2026)
|
|
6
|
-
- **`@theme` in CSS entrypoints**: Define all design tokens inside `@theme` — do NOT maintain `tailwind.config.js`
|
|
7
|
-
- **OKLCH perceptual color space**: Unified color palette with uniform contrast and predictable lightness across light/dark modes
|
|
8
|
-
- **CSS variable mapping for dark mode**: FORBID manual `dark:bg-*` / `dark:text-*` overrides; dark mode exclusively through `:root` and `.dark` CSS variable mapping
|
|
9
|
-
|
|
10
|
-
### W3C DTCG Token Format (2026)
|
|
11
|
-
- **Design Token Community Group format**: `{ "$value": ..., "$type": ... }` JSON for interoperability
|
|
12
|
-
- **Figma Variables + Style Dictionary + AI tools**: Token portability across design/engineering/AI
|
|
13
|
-
- **Functional naming**: `primary-500`, `text-foreground`, `border-border` — NOT `light-blue`, `#...` hex values
|
|
14
|
-
|
|
15
|
-
### GenUI Governance (2026)
|
|
16
|
-
- **AI component token conformance**: Verify (a) consumes design tokens, (b) forwards refs correctly, (c) includes required ARIA, (d) no duplicate class patterns
|
|
17
|
-
- **Automated axe-devtools scan**: Color contrast, screen reader labels, keyboard navigation
|
|
18
|
-
- **CSS pollution prevention**: Strip custom/inline/non-repo CSS files and rules
|
|
19
|
-
- **Peer review mandatory**: All AI-generated components reviewed for code style and safety
|
|
20
|
-
- **Treat as untrusted**: Every AI-generated component untrusted until passes conformance, a11y, visual regression
|
|
21
|
-
|
|
22
|
-
### Accessibility Integration (2026)
|
|
23
|
-
- **WCAG AA contrast check**: 4.5:1 text, 3:1 UI controls — before finalizing any token palette
|
|
24
|
-
- **Storybook 8+ with `a11y` + `chromatic` addons**: Mandatory CI gates
|
|
25
|
-
- **Primitives support accessibility by default**: ARIA attributes, semantic HTML, high contrast tokens
|
|
26
|
-
|
|
27
|
-
### Component Architecture (2026)
|
|
28
|
-
- **shadcn/ui v2 model**: Own component source under `src/components/ui/` — avoid black-box NPM bundles
|
|
29
|
-
- **`cn()` utility**: `clsx` + `tailwind-merge` on all component root elements
|
|
30
|
-
- **React 19 form actions**: `useActionState` for standard mutations
|
|
31
|
-
- **Headless UI libraries**: Radix UI, Headless UI for complex accessibility patterns
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Required Skill Upgrades
|
|
36
|
-
|
|
37
|
-
### 1. Core Rules Updates
|
|
38
|
-
| Current Rule | 2026 Upgrade |
|
|
39
|
-
|--------------|--------------|
|
|
40
|
-
| Tailwind config mentioned | **Tailwind v4 `@theme` in CSS mandatory**: No `tailwind.config.js`; all tokens in CSS entrypoints |
|
|
41
|
-
| OKLCH mentioned | **OKLCH perceptual color space mandatory**: Uniform contrast, predictable lightness light/dark |
|
|
42
|
-
| Dark mode CSS variables | **Manual `dark:` overrides FORBIDDEN**: Dark mode exclusively via `:root` / `.dark` CSS variable mapping |
|
|
43
|
-
| DTCG format mentioned | **W3C DTCG format mandatory**: `{ "$value": ..., "$type": ... }` for Figma/Style Dictionary/AI interop |
|
|
44
|
-
| GenUI governance basic | **Full AI governance pipeline**: Token conformance + axe-devtools + CSS strip + peer review + visual regression |
|
|
45
|
-
| Storybook mentioned | **Storybook 8+ with `a11y` + `chromatic` mandatory CI gates** |
|
|
46
|
-
| shadcn model mentioned | **shadcn/ui v2 model**: Own source under `src/components/ui/`; no black-box NPM bundles |
|
|
47
|
-
| WCAG contrast | **WCAG AA check before token finalization**: 4.5:1 text, 3:1 UI controls |
|
|
48
|
-
|
|
49
|
-
### 2. New 2026 Patterns to Add
|
|
50
|
-
- **Tailwind v4 `@theme` Migration**: Move all tokens from `tailwind.config.js` to CSS `@theme` directive
|
|
51
|
-
- **OKLCH Palette Generation**: Brand guidelines → OKLCH tokens with uniform contrast ratios
|
|
52
|
-
- **CSS Variable Dark Mode**: `:root` + `.dark` mapping; remove all `dark:` utility overrides from components
|
|
53
|
-
- **DTCG Export Pipeline**: Tokens → DTCG JSON → Figma Variables / Style Dictionary / AI tools
|
|
54
|
-
- **GenUI CI Pipeline**: Token conformance lint → axe-devtools scan → CSS pollution check → Chromatic baseline → peer review
|
|
55
|
-
- **Storybook 8+ Configuration**: `a11y` addon, `chromatic` with TurboSnap, CI gate on visual regression
|
|
56
|
-
- **shadcn/ui v2 Component Structure**: `src/components/ui/` ownership; `cn()` utility; Radix/Headless UI primitives
|
|
57
|
-
- **Semantic Token Layer Enforcement**: Lint rule banning raw hex/color names in components; require semantic aliases
|
|
58
|
-
|
|
59
|
-
### 3. Checklist Additions
|
|
60
|
-
- [ ] Design tokens (colors, spacing, typography) defined in CSS `@theme` (Tailwind v4) or DTCG JSON
|
|
61
|
-
- [ ] Token naming convention functional (`primary-500`, `text-foreground`) — not implementation-specific (`light-blue`)
|
|
62
|
-
- [ ] OKLCH perceptual color space used for palette; uniform contrast verified
|
|
63
|
-
- [ ] Dark mode exclusively via `:root` / `.dark` CSS variable mapping; zero `dark:` utility overrides in components
|
|
64
|
-
- [ ] Styling framework configured to use centralized design tokens
|
|
65
|
-
- [ ] Global resets and base styles applied
|
|
66
|
-
- [ ] Foundational UI primitives built consuming token system (`src/components/ui/`)
|
|
67
|
-
- [ ] Primitives support standard accessibility (ARIA, refs, props spread, Radix/Headless UI)
|
|
68
|
-
- [ ] `cn()` utility (`clsx` + `tailwind-merge`) on all component root elements
|
|
69
|
-
- [ ] Linting rules enforce token usage: `eslint-plugin-tailwindcss`, Stylelint, `@design-tokens/eslint-plugin`
|
|
70
|
-
- [ ] WCAG contrast check passes for ALL color token pairs (4.5:1 text, 3:1 UI controls)
|
|
71
|
-
- [ ] Storybook 8+ initialized with `a11y` addon; all primitive states documented
|
|
72
|
-
- [ ] Chromatic/TurboSnap configured for visual regression baseline (CI gate)
|
|
73
|
-
- [ ] GenUI governance: AI component token conformance + axe-devtools + CSS strip + peer review + visual baseline
|
|
74
|
-
- [ ] W3C DTCG format exported for Figma Variables / Style Dictionary / AI tool interop
|
|
75
|
-
- [ ] Token format declared in `implementation-result.json` (CSS variables / Tailwind / DTCG JSON / styled-components)
|
|
76
|
-
- [ ] `implementation-result.json` emitted with validation run confirming token conformance, a11y, visual regression
|
|
77
|
-
|
|
78
|
-
### 4. Failure Mode Additions
|
|
79
|
-
- **Tailwind v4 migration incomplete**: `tailwind.config.js` still referenced. Mitigation: Codemod to `@theme` in CSS; lint rule banning `tailwind.config.js` imports.
|
|
80
|
-
- **OKLCH contrast failure**: Token pair fails WCAG AA. Mitigation: Automated contrast check in token pipeline; fail tokens below 4.5:1/3:1.
|
|
81
|
-
- **Manual `dark:` override leakage**: Component uses `dark:bg-*`. Mitigation: Lint rule banning `dark:` utilities on core surfaces; require semantic token mapping.
|
|
82
|
-
- **DTCG export missing**: Tokens not portable to Figma/AI. Mitigation: CI step exporting DTCG JSON; verify import in Figma Variables.
|
|
83
|
-
- **AI component merged without governance**: Token violation, missing ARIA, CSS pollution. Mitigation: GenUI CI pipeline mandatory; reject without all gates passing.
|
|
84
|
-
- **Storybook a11y addon disabled**: Stories missing ARIA. Mitigation: Require a11y addon in Storybook config; fail stories with missing ARIA.
|
|
85
|
-
- **Visual regression baseline missing**: AI component lands without baseline. Mitigation: Require Chromatic/Percy baseline; reject merges without passing baseline.
|
|
86
|
-
- **CSS leakage**: Component styles leak to global scope. Mitigation: Per-component style namespace; reject unscoped global selectors.
|
|
87
|
-
- **Black-box NPM UI bundle**: Component from opaque package. Mitigation: Require source ownership under `src/components/ui/`; reject uncustomizable bundles.
|
|
88
|
-
|
|
89
|
-
### 5. Output Contract Updates
|
|
90
|
-
- Update `contracts/schemas/implementation-result.json` with: token format, styling framework, component library, documentation, linting gates, WCAG results, GenUI pipeline status
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Implementation Priority
|
|
95
|
-
|
|
96
|
-
| Priority | Task | Effort |
|
|
97
|
-
|----------|------|--------|
|
|
98
|
-
| P0 | Tailwind v4 `@theme` migration (no `tailwind.config.js`) | High |
|
|
99
|
-
| P0 | OKLCH perceptual color space with uniform contrast | High |
|
|
100
|
-
| P0 | Manual `dark:` overrides forbidden (CSS variable dark mode) | High |
|
|
101
|
-
| P0 | W3C DTCG token export pipeline | High |
|
|
102
|
-
| P0 | GenUI governance CI pipeline (token, axe, CSS, Chromatic, review) | High |
|
|
103
|
-
| P1 | Storybook 8+ with `a11y` + `chromatic` mandatory CI gates | High |
|
|
104
|
-
| P1 | shadcn/ui v2 model (`src/components/ui/` ownership) | Medium |
|
|
105
|
-
| P1 | Semantic token layer enforcement (lint rule) | Medium |
|
|
106
|
-
| P1 | WCAG AA contrast check before token finalization | Medium |
|
|
107
|
-
| P2 | Expanded failure modes | Low |
|
|
108
|
-
| P2 | Output contract updates | Low |
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## Validation Gates
|
|
113
|
-
- Run `python3 core/scripts/validate-all.py` from agent-skills root
|
|
114
|
-
- Verify INDEX.md regeneration if VERSION bumped
|
|
115
|
-
- Check adapter parity with `validate-rules.py` (9 parity groups)
|
|
116
|
-
- Verify `tailwind.config.js` not imported anywhere
|
|
117
|
-
- Run OKLCH contrast check on all token pairs (4.5:1 text, 3:1 UI)
|
|
118
|
-
- Lint rule catches `dark:` utility overrides in components
|
|
119
|
-
- DTCG JSON exports valid for Figma Variables import
|
|
120
|
-
- GenUI CI pipeline: token conformance → axe-devtools → CSS strip → Chromatic → review
|
|
121
|
-
- Storybook 8+ `a11y` addon runs on all stories; zero violations
|
|
122
|
-
- Chromatic/TurboSnap baseline passes for all primitives
|
|
123
|
-
- Visual regression CI gate blocks on diff
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# setup-visual-regression — 2026 Upgrade Plan
|
|
2
|
-
|
|
3
|
-
## Summary of 2026 Standards Changes
|
|
4
|
-
|
|
5
|
-
### Containerized Baselines (Mandatory 2026)
|
|
6
|
-
- **Official Playwright Docker only**: `mcr.microsoft.com/playwright` matching CI environment — local macOS/Windows vs Linux CI = guaranteed false failures
|
|
7
|
-
- **Baseline generation in CI container**: Canonical reference snapshots generated in project's official Docker image
|
|
8
|
-
|
|
9
|
-
### Bounded Self-QA (2026)
|
|
10
|
-
- **Hard maximum 2 passes** post-authoring for agent self-QA
|
|
11
|
-
- **Desktop + Mobile simultaneously**: `>= 1280px` and `375px - 430px` viewports
|
|
12
|
-
- **Edits triggered by deterministic defects only**: horizontal overflow, fold clipping, broken markup, `< 44x44px` touch targets, contrast failures
|
|
13
|
-
- **Prevent infinite refinement loops**: Strict defect-driven edits only
|
|
14
|
-
|
|
15
|
-
### Negative Asset Constraints (2026)
|
|
16
|
-
- **Fabricated inline SVG logos prohibited**: "NovaCorp" style synthetic logos banned
|
|
17
|
-
- **Synthetic customer testimonials banned**: Unverified metrics prohibited
|
|
18
|
-
- **Authentic typography mandated**: System monograms, verified Simple Icons marks, honest structural placeholders
|
|
19
|
-
|
|
20
|
-
### Technical Standards (2026)
|
|
21
|
-
- **Animation suppression**: All CSS animations, transitions, cursor blinks disabled (`animations: 'disabled'`)
|
|
22
|
-
- **Dynamic content masking**: Dates, avatars, random IDs, ads masked via `mask: [page.locator('...')]`
|
|
23
|
-
- **Explicit tolerance thresholds**: `maxDiffPixelRatio: 0.01`, `threshold: 0.2` — unconfigured defaults too loose
|
|
24
|
-
- **Component isolation**: Storybook + Chromatic with TurboSnap for design system components + full-page Playwright
|
|
25
|
-
- **Cross-browser matrix**: Chromium, WebKit, Firefox at mobile/desktop viewports
|
|
26
|
-
- **Hard CI gate**: Visual regression failures block merges unless `ui-ux-designer` or `frontend-developer` explicitly approves
|
|
27
|
-
- **Network mocking**: MSW for deterministic visual fixtures — live external API = non-deterministic
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Required Skill Upgrades
|
|
32
|
-
|
|
33
|
-
### 1. Core Rules Updates
|
|
34
|
-
| Current Rule | 2026 Upgrade |
|
|
35
|
-
|--------------|--------------|
|
|
36
|
-
| Containerized baselines mentioned | **Official Playwright Docker mandatory**: `mcr.microsoft.com/playwright` matching CI; local vs Linux = false failures |
|
|
37
|
-
| Self-QA bounds mentioned | **Max 2 passes post-authoring**: Desktop + Mobile simultaneously; defect-driven edits only |
|
|
38
|
-
| Negative asset constraints | **Fabricated SVGs/testimonials prohibited**: Authentic typography, Simple Icons, honest placeholders only |
|
|
39
|
-
| Animation suppression | **All animations/transitions/cursor blinks disabled**: `animations: 'disabled'` before snapshots |
|
|
40
|
-
| Dynamic content masking | **Mask dates/avatars/IDs/ads**: `mask: [page.locator('...')]` before capture |
|
|
41
|
-
| Tolerance thresholds | **Explicit `maxDiffPixelRatio: 0.01`, `threshold: 0.2`**: Defaults too loose |
|
|
42
|
-
| Component isolation | **Storybook + Chromatic TurboSnap + Playwright full-page**: Both isolation levels |
|
|
43
|
-
| Cross-browser matrix | **Chromium, WebKit, Firefox at mobile/desktop**: Required matrix |
|
|
44
|
-
| Hard CI gate | **Visual failures block merges**: Only `ui-ux-designer`/`frontend-developer` can approve |
|
|
45
|
-
| Network mocking | **MSW mandatory**: Deterministic fixtures; live external API = non-deterministic |
|
|
46
|
-
|
|
47
|
-
### 2. New 2026 Patterns to Add
|
|
48
|
-
- **Playwright Docker CI Pipeline**: Baseline capture in `mcr.microsoft.com/playwright` container matching CI runner
|
|
49
|
-
- **Bounded Self-QA Protocol**: 2-pass limit, dual viewport, defect-driven edits, loop prevention
|
|
50
|
-
- **Authentic Asset Pipeline**: System monograms, Simple Icons verification, placeholder honesty check
|
|
51
|
-
- **TurboSnap Integration**: Chromatic only re-tests changed component stories; faster CI
|
|
52
|
-
- **Visual Regression Dashboard**: PR-linked diff summaries, baseline approval workflow, drift detection
|
|
53
|
-
- **MSW Visual Fixtures**: Record once, replay deterministically for all visual tests
|
|
54
|
-
|
|
55
|
-
### 3. Checklist Additions
|
|
56
|
-
- [ ] Playwright/Chromatic installed and configured
|
|
57
|
-
- [ ] Viewport matrix: Mobile (375x667), Tablet (768x1024), Desktop (1280x800)
|
|
58
|
-
- [ ] Cross-browser: Chromium, WebKit, Firefox
|
|
59
|
-
- [ ] Color scheme variants: light mode, dark mode
|
|
60
|
-
- [ ] Dynamic content masking: timestamps, avatars, numeric feeds masked
|
|
61
|
-
- [ ] Animation disabling: `animations: 'disabled'` during test runs
|
|
62
|
-
- [ ] Network mocks: MSW for deterministic state rendering
|
|
63
|
-
- [ ] Baseline capture in official Playwright Docker container (`mcr.microsoft.com/playwright`)
|
|
64
|
-
- [ ] Baseline quality verified: image quality, cropping, full-page layout coverage
|
|
65
|
-
- [ ] Baseline committed to repo or artifact registry per policy
|
|
66
|
-
- [ ] CI visual regression step on PRs touching frontend assets
|
|
67
|
-
- [ ] Visual diff artifact uploads on failure for PR review
|
|
68
|
-
- [ ] Failure reporting links to visual comparison summaries
|
|
69
|
-
- [ ] Baseline update CLI documented (`npm run test:visual -- -u`)
|
|
70
|
-
- [ ] Mandatory reviewer sign-off: `ui-ux-designer` or `frontend-developer` before baseline update
|
|
71
|
-
- [ ] `maxDiffPixelRatio: 0.01`, `threshold: 0.2` configured
|
|
72
|
-
- [ ] Component isolation: Storybook + Chromatic TurboSnap + Playwright full-page
|
|
73
|
-
- [ ] Negative asset check: no fabricated SVGs, no synthetic testimonials
|
|
74
|
-
- [ ] Bounded self-QA: max 2 passes, dual viewport, defect-driven only
|
|
75
|
-
- [ ] `implementation-result.json` emitted with visual baseline generation proof
|
|
76
|
-
|
|
77
|
-
### 4. Failure Mode Additions
|
|
78
|
-
- **Local vs CI baseline mismatch**: macOS/Windows snapshots vs Linux CI. Mitigation: Official Playwright Docker container for ALL baseline generation.
|
|
79
|
-
- **Unbounded self-QA refinement**: Agent iterates infinitely on visual tweaks. Mitigation: Hard 2-pass limit; only deterministic defect edits allowed.
|
|
80
|
-
- **Fabricated asset compliance failure**: Synthetic logos/testimonials in baselines. Mitigation: Negative asset constraint check in pipeline; reject non-authentic assets.
|
|
81
|
-
- **Threshold too loose**: Real regressions below threshold allowed. Mitigation: `maxDiffPixelRatio: 0.01`, `threshold: 0.2`; per-component category thresholds.
|
|
82
|
-
- **Driver version drift**: Chromatic/Percy updated without re-baselining. Mitigation: Re-baseline all components on driver upgrades; CI surfaces missing re-baseline.
|
|
83
|
-
- **Live API non-determinism**: External API changes visual output between runs. Mitigation: MSW mocks for all visual tests; deterministic fixtures.
|
|
84
|
-
- **TurboSnap missed changes**: Changed component not re-tested. Mitigation: Verify TurboSnap dependency graph; manual trigger for global changes.
|
|
85
|
-
|
|
86
|
-
### 5. Output Contract Updates
|
|
87
|
-
- Update `contracts/schemas/implementation-result.json` with: visual framework, viewport/browser matrix, baseline container, tolerance thresholds, CI gate status, self-QA pass count
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## Implementation Priority
|
|
92
|
-
|
|
93
|
-
| Priority | Task | Effort |
|
|
94
|
-
|----------|------|--------|
|
|
95
|
-
| P0 | Official Playwright Docker container for baseline generation | High |
|
|
96
|
-
| P0 | Bounded self-QA protocol (2 passes, dual viewport, defect-only) | High |
|
|
97
|
-
| P0 | Negative asset constraints (no fabricated SVGs/testimonials) | High |
|
|
98
|
-
| P0 | Explicit tolerance thresholds (`maxDiffPixelRatio: 0.01`) | High |
|
|
99
|
-
| P0 | Hard CI gate with `ui-ux-designer`/`frontend-developer` approval | High |
|
|
100
|
-
| P1 | MSW network mocking for deterministic fixtures | Medium |
|
|
101
|
-
| P1 | Component isolation: Storybook + Chromatic TurboSnap + Playwright | Medium |
|
|
102
|
-
| P1 | Cross-browser matrix (Chromium/WebKit/Firefox) | Medium |
|
|
103
|
-
| P1 | Baseline update workflow with mandatory sign-off | Medium |
|
|
104
|
-
| P2 | Visual regression dashboard with PR-linked diffs | Low |
|
|
105
|
-
| P2 | Expanded failure modes | Low |
|
|
106
|
-
| P2 | Output contract updates | Low |
|
|
107
|
-
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
## Validation Gates
|
|
111
|
-
- Run `python3 core/scripts/validate-all.py` from agent-skills root
|
|
112
|
-
- Verify INDEX.md regeneration if VERSION bumped
|
|
113
|
-
- Check adapter parity with `validate-rules.py` (9 parity groups)
|
|
114
|
-
- Test baseline generation in `mcr.microsoft.com/playwright` Docker container
|
|
115
|
-
- Verify self-QA stops at 2 passes with defect-driven edits only
|
|
116
|
-
- Verify negative asset check rejects fabricated SVGs/testimonials
|
|
117
|
-
- Test `maxDiffPixelRatio: 0.01` catches real regressions
|
|
118
|
-
- Verify CI gate blocks merge without `ui-ux-designer`/`frontend-developer` approval
|
|
119
|
-
- Test MSW mocks provide deterministic visual fixtures
|
|
120
|
-
- Verify TurboSnap only re-tests changed component stories
|
|
121
|
-
- Verify baseline re-generation on driver version upgrade
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
# 2026 Meetings-Analysis Standards & Patterns — Consolidated Research Summary
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
Deep research conducted September 2026 across AI-assisted requirements engineering, data analysis with semantic layers, and structured meeting review with agentic ADR generation.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 1. AI-Assisted Requirements Engineering (2026)
|
|
9
|
-
|
|
10
|
-
### Epic-Organized Gherkin Generation (arXiv:2607.01980, SEET 2026)
|
|
11
|
-
- **4-step async LLM pipeline**:
|
|
12
|
-
1. **Relevance Classification** (LLM #1): Detect requirement-relevant content in transcriptions/inputs
|
|
13
|
-
2. **Requirements Update** (LLM #2): Add/revise items in living requirements list
|
|
14
|
-
3. **Epic & Mind Map Generation** (LLM #3): Group requirements into 3–6 epics with relationships
|
|
15
|
-
4. **Gherkin Generation** (LLM #4): Produce Feature blocks + Scenarios (JSON-constrained)
|
|
16
|
-
- **Expert preference**: Epic-organized scores higher on Correctness (4.61 vs 4.14), Executability (4.61 vs 4.07), Completeness (4.31 vs 3.50)
|
|
17
|
-
- **Structural validity**: 99%+ for JSON-constrained pipeline
|
|
18
|
-
- **SSE real-time state updates**: Stream requirements/epic/Gherkin changes for living documentation
|
|
19
|
-
|
|
20
|
-
### LLM-as-Judge Validation (2026)
|
|
21
|
-
- **DeepEval/RAGAS**: Independent LLM evaluation for clarity, completeness, internal consistency
|
|
22
|
-
- **Critical finding**: AI-generated AC can pass human review while containing subtle contradictions
|
|
23
|
-
- **Blind expert assessment** required alongside automated evaluation
|
|
24
|
-
|
|
25
|
-
### Living Requirements Traceability (2026)
|
|
26
|
-
- **AI-assisted tools**: Trace.space, getleo.ai link requirements → design docs → code modules → test cases
|
|
27
|
-
- **Mandatory for EU AI Act compliance**: Chain-of-causality audit trails for regulated industries
|
|
28
|
-
- **Automated CI checks** for traceability freshness to prevent link rot
|
|
29
|
-
|
|
30
|
-
### Agentic AC Format (2026)
|
|
31
|
-
- **Deterministic observable assertions**: Not prose intent; agents auto-validate implementation output
|
|
32
|
-
- **Epic → Feature Block → Scenarios** hierarchy for agentic delivery
|
|
33
|
-
|
|
34
|
-
### Human BA Sign-Off Gate (2026)
|
|
35
|
-
- **Mandatory** for AI-assisted AC before sprint commitment
|
|
36
|
-
- **EU AI Act compliance** for high-risk features
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## 2. Data Analysis with Semantic Layers (2026)
|
|
41
|
-
|
|
42
|
-
### Apache Ossie (Incubating) — Universal Semantic Layer Standard
|
|
43
|
-
- **Accepted into Apache Incubator** (July 10, 2026): Formerly Open Semantic Interchange (OSI)
|
|
44
|
-
- **Vendor-neutral YAML standard** for metrics, dimensions, joins — single source of truth
|
|
45
|
-
- **50+ organization coalition**: Alation, Anomalo, Atlan, AtScale, Bigeye, BlackRock, Blue, Collate, Databao, Denodo, Kyvos, Qlik, Salesforce, Snowflake
|
|
46
|
-
- **Core Classes**: Metrics at semantic model level (not dataset); reference fields from multiple datasets
|
|
47
|
-
- **Multiple SQL dialects**: ANSI_SQL, SNOWFLAKE, DATABRICKS, MDX, TABLEAU
|
|
48
|
-
- **DuckDB Community Extension**: Reads Ossie YAML/JSON, answers semantic queries, exposes via MCP
|
|
49
|
-
- **Dosi + Ossie**: 10-minute semantic layer for AI agents (CLI, API, MCP unified)
|
|
50
|
-
|
|
51
|
-
### DuckDB v2.0 Readiness (2026)
|
|
52
|
-
- **Breaking storage format** — prepare migration
|
|
53
|
-
- **VARIANT type support** — semi-structured data handling
|
|
54
|
-
- **Quack server mode** — remote query execution via HTTP-based client-server protocol
|
|
55
|
-
- **Iceberg extension**: full DML (INSERT/UPDATE/DELETE), process 1TB in 30 seconds
|
|
56
|
-
- **Local-first ETL/ELT studio (duckle)**: Drag-and-drop visual pipeline designer compiling to SQL
|
|
57
|
-
- **quack-on-demand**: Arrow FlightSQL gateway for DuckDB + DuckLake with multi-tenant pools
|
|
58
|
-
- **quacklake**: DuckLake catalog on quack deployed to Cloudflare Workers with Durable Objects + JWT auth
|
|
59
|
-
|
|
60
|
-
### FastMCP Anti-Hallucination Gateway (2026)
|
|
61
|
-
- **sqlglot AST validation**: single read-only SELECT, join depth ≤ 3, row limit ≤ 1000
|
|
62
|
-
- **agent_accessible: true allowlist** with "Show-The-Definition" attribution (lineage + SQL formula)
|
|
63
|
-
- **MCP Registry Integration**: External tools via MCP Registry for developer workflows
|
|
64
|
-
|
|
65
|
-
### Polars 0.20+ / DuckDB 1.2+ Performance (2026)
|
|
66
|
-
- **Polars 11.4× speedup** over Pandas on 10M rows (filter + groupby aggregation)
|
|
67
|
-
- **DuckDB 9.7× speedup** with zero Python boilerplate
|
|
68
|
-
- **Peak memory**: DuckDB 0.5 GB vs Pandas 4.2 GB (5.3× less)
|
|
69
|
-
- **Zero-copy Arrow C Data Interface**: `con.execute(q).pl()` between DuckDB and Polars
|
|
70
|
-
- **Polars LazyFrames streaming**: `collect(streaming=True)` for datasets larger than RAM
|
|
71
|
-
|
|
72
|
-
### Causal Inference & A/B Testing Standards (2026)
|
|
73
|
-
- **DoWhy 3-way refutations**: Placebo Treatment (p > 0.05), Random Common Cause (< 10% shift), Data Subset (< 15% shift)
|
|
74
|
-
- **Pearson's Chi-squared SRM pre-check**: ABORT if p < 0.001
|
|
75
|
-
- **Causal DAG in DOT format**: Backdoor Criterion verification, Collider Bias avoidance
|
|
76
|
-
- **Pearl's Hierarchy enforcement**: No observational regression as causal proof
|
|
77
|
-
- **DoWhy simplified API**: `dowhy.api` for model → estimate → identify → refute workflow
|
|
78
|
-
|
|
79
|
-
### Statistical Distribution Drift Testing (2026)
|
|
80
|
-
- **Population Stability Index (PSI)**: baseline decile quantile bins; <0.10 stable, 0.10-0.25 moderate, >0.25 significant (halt pipelines)
|
|
81
|
-
- **Two-Sample Kolmogorov-Smirnov**: p < 0.01 flag shifts
|
|
82
|
-
- **Tukey's IQR fences**: Q1 - 1.5×IQR, Q3 + 1.5×IQR for non-parametric outlier boundaries
|
|
83
|
-
|
|
84
|
-
### Agent Query Cost FinOps (2026)
|
|
85
|
-
- **Token usage, compute time, scanned bytes** tracked per agent query
|
|
86
|
-
- **Per-agent query cost budgets** with alerting thresholds
|
|
87
|
-
- **Dedicated FinOps line item** in data-analysis-report.json
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## 3. Structured Meeting Review & Agentic ADR Generation (2026)
|
|
92
|
-
|
|
93
|
-
### GADR Agentic ADR Pipeline (arXiv:2608.17694, SBES 2026)
|
|
94
|
-
- **Multi-agent, self-correcting workflow**: raw meeting transcriptions → critique → Nygard-formatted ADR drafts
|
|
95
|
-
- **Feasibility study**: 5 real project meetings, 4 senior architects, 15 students; captures most expert-identified decisions
|
|
96
|
-
- **Agentic RAG advantage**: Structural consistency + richer architectural explanations; critique stage reduces overlaps/fragmentation
|
|
97
|
-
- **Human-in-the-loop validation**: Every recorded meeting → reviewable ADR draft with human validation
|
|
98
|
-
|
|
99
|
-
### Nygard ADR Format with AI Controls (2026)
|
|
100
|
-
- **Structure**: Context → Decision → Rationale → Controls/Safeguards → Consequences → Related Records
|
|
101
|
-
- **AI Controls & Safeguards**: Model version control, prompt/output logging, human-in-loop validation, egress controls, rollback plan, DevSecOps integration
|
|
102
|
-
- **ADR Lifecycle**: Proposed → Accepted → Superseded (immutable after acceptance, never modified)
|
|
103
|
-
- **Supersession Pattern**: Old ADR status = superseded, linked to new ADR; never delete
|
|
104
|
-
- **Explicit ADR Ownership**: Team establishes definition of ownership per ADR
|
|
105
|
-
|
|
106
|
-
### Async-First Decision Protocol (2026)
|
|
107
|
-
- **Written RFC/brief + 48-72h async comment window** before any sync call
|
|
108
|
-
- **Decisions in ephemeral chat without ADR = anti-pattern**
|
|
109
|
-
- **DACI Framing**: Driver, Approver, Contributors, Informed; EXACTLY ONE Approver per decision
|
|
110
|
-
- **Consensus paralysis from committee approval = prohibited**
|
|
111
|
-
|
|
112
|
-
### AI-Synthesized Perspective Guardrails (2026)
|
|
113
|
-
- **Explicit labeling**: `[AI-synthesized]` for automated reasoning vs human domain knowledge
|
|
114
|
-
- **Inferred risks marked**: `[INFERRED — requires human validation]` when not grounded in code/docs
|
|
115
|
-
- **Prune ungrounded AI perspectives**: Cannot ground in code path, requirement, or stakeholder constraint → remove
|
|
116
|
-
- **Human sign-off gate MANDATORY** for architectural decisions, breaking changes, release-blocking recommendations
|
|
117
|
-
- **AI-synthesized consensus ≠ cross-functional team alignment**
|
|
118
|
-
|
|
119
|
-
### Decision Intelligence & Agentic AI Governance (2026)
|
|
120
|
-
- **DecisionCAMP 2026**: Intelligent Decision Services integrated into enterprise architectures
|
|
121
|
-
- **Agentic AI in EDA**: Multi-agent systems for autonomous goal-driven decision-making
|
|
122
|
-
- **Critical questions**: Who/what is in control? Trust, accountability, explainability, oversight
|
|
123
|
-
- **Interoperability standards**: Ontology-driven approaches for agentic AI adoption
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## 4. Cross-Skill Integration Patterns
|
|
128
|
-
|
|
129
|
-
### Requirements → Data → Review Flow
|
|
130
|
-
```
|
|
131
|
-
1. analyze-business-requirements
|
|
132
|
-
├── Epic-organized Gherkin pipeline (4-step async LLM + SSE)
|
|
133
|
-
├── LLM-as-judge validation (DeepEval/RAGAS)
|
|
134
|
-
├── Living traceability (requirements → design → code → tests)
|
|
135
|
-
├── Agentic AC format (deterministic assertions)
|
|
136
|
-
├── Human BA sign-off gate (EU AI Act)
|
|
137
|
-
└── Delegates to Data Analyst / SEO Analyst / Researcher via feature-ticket.json
|
|
138
|
-
↓
|
|
139
|
-
2. analyze-data
|
|
140
|
-
├── Apache Ossie semantic layer (vendor-neutral YAML)
|
|
141
|
-
├── FastMCP sqlglot AST validation (read-only, join≤3, rows≤1000)
|
|
142
|
-
├── DuckDB v2.0 readiness (breaking format, VARIANT, Quack)
|
|
143
|
-
├── Zero-copy Arrow DuckDB→Polars + streaming LazyFrames
|
|
144
|
-
├── DoWhy 3-way refutations + SRM hard abort (p<0.001)
|
|
145
|
-
├── PSI/KS/IQR drift testing (PSI>0.25 = halt)
|
|
146
|
-
├── FinOps agent query cost tracking (token/compute/bytes)
|
|
147
|
-
└── Dosi + Ossie 10-min AI agent semantic layer
|
|
148
|
-
↓
|
|
149
|
-
3. meeting-review
|
|
150
|
-
├── GADR agentic ADR pipeline (transcript → critique → ADR)
|
|
151
|
-
├── Nygard ADR with AI Controls/Safeguards
|
|
152
|
-
├── Async-first RFC + 48-72h comment window
|
|
153
|
-
├── DACI single-approver framing
|
|
154
|
-
├── AI perspective guardrails ([AI-synthesized], [INFERRED], pruning)
|
|
155
|
-
└── Human sign-off mandatory for architectural/breaking/release decisions
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
---
|
|
159
|
-
|
|
160
|
-
## 5. Required Contract Schemas (2026)
|
|
161
|
-
|
|
162
|
-
### New Schemas to Create
|
|
163
|
-
| Schema | Owner Skill | Purpose |
|
|
164
|
-
|--------|-------------|---------|
|
|
165
|
-
| `epic-organized-gherkin-spec.json` | analyze-business-requirements | 4-step pipeline config |
|
|
166
|
-
| `llm-as-judge-validation-spec.json` | analyze-business-requirements | DeepEval/RAGAS criteria |
|
|
167
|
-
| `living-traceability-spec.json` | analyze-business-requirements | Requirements→code links |
|
|
168
|
-
| `agentic-ac-spec.json` | analyze-business-requirements | Deterministic assertions |
|
|
169
|
-
| `apache-ossie-semantic-spec.json` | analyze-data | YAML model definitions |
|
|
170
|
-
| `dosi-ossie-agent-spec.json` | analyze-data | 10-min AI agent setup |
|
|
171
|
-
| `fastmcp-sqlglot-spec.json` | analyze-data | AST validation config |
|
|
172
|
-
| `duckdb-v2-readiness-spec.json` | analyze-data | Migration checklist |
|
|
173
|
-
| `dowhy-causal-spec.json` | analyze-data | DOT DAG + refutation config |
|
|
174
|
-
| `finops-agent-query-spec.json` | analyze-data | Cost tracking with budgets |
|
|
175
|
-
| `gadr-adr-pipeline-spec.json` | meeting-review | Agentic ADR generation |
|
|
176
|
-
| `nygard-adr-ai-controls-spec.json` | meeting-review | ADR format with AI safeguards |
|
|
177
|
-
| `async-decision-protocol-spec.json` | meeting-review | RFC + comment window |
|
|
178
|
-
| `daci-decision-spec.json` | meeting-review | Single-approver framing |
|
|
179
|
-
| `ai-perspective-guardrails-spec.json` | meeting-review | Labeling/pruning rules |
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
## 6. Implementation Priority Matrix
|
|
184
|
-
|
|
185
|
-
| Priority | analyze-business-requirements | analyze-data | meeting-review |
|
|
186
|
-
|----------|------------------------------|--------------|----------------|
|
|
187
|
-
| **P0** | Epic-organized Gherkin pipeline (4-step + SSE) | Apache Ossie universal semantic layer | GADR agentic ADR pipeline |
|
|
188
|
-
| **P0** | LLM-as-judge validation (DeepEval/RAGAS) | DuckDB v2.0 readiness | Nygard ADR with AI Controls |
|
|
189
|
-
| **P0** | Living traceability (Trace.space/getleo.ai) | FastMCP sqlglot AST + MCP Registry | Async-first RFC + 48-72h window |
|
|
190
|
-
| **P0** | Agentic AC format (deterministic assertions) | DoWhy 3-way refutations + SRM abort | DACI single-approver framing |
|
|
191
|
-
| **P0** | Human BA sign-off gate (EU AI Act) | FinOps agent query cost tracking | AI perspective guardrails |
|
|
192
|
-
| **P1** | SSE real-time state updates | Dosi + Ossie 10-min AI agent layer | Human sign-off gate for arch decisions |
|
|
193
|
-
| **P1** | | Zero-copy Arrow + streaming LazyFrames | ADR lifecycle management |
|
|
194
|
-
| **P1** | | DuckLake/quacklake time-travel queries | |
|
|
195
|
-
| **P2** | Expanded failure modes | Expanded failure modes | Expanded failure modes |
|
|
196
|
-
| **P2** | Output contract updates | Output contract updates | Output contract updates |
|
|
197
|
-
|
|
198
|
-
---
|
|
199
|
-
|
|
200
|
-
## 7. Validation Gates (All Skills)
|
|
201
|
-
|
|
202
|
-
1. **Pack validation**: `python3 core/scripts/validate-all.py` from agent-skills root
|
|
203
|
-
2. **INDEX.md regeneration**: `python3 core/scripts/generate-index.py` if VERSION bumped
|
|
204
|
-
3. **Adapter parity**: `validate-rules.py` (9 parity groups)
|
|
205
|
-
4. **Skill-specific tests**:
|
|
206
|
-
- Epic-organized Gherkin pipeline on PURE dataset (107 requirements)
|
|
207
|
-
- LLM-as-judge scores vs expert blind assessment
|
|
208
|
-
- Traceability link freshness in CI
|
|
209
|
-
- Apache Ossie YAML round-trip (MetricFlow → Ossie → Cube.js)
|
|
210
|
-
- DuckDB v2.0 storage format migration on test datasets
|
|
211
|
-
- FastMCP sqlglot AST validation rejects invalid queries
|
|
212
|
-
- DoWhy 3-way refutations catch known causal errors
|
|
213
|
-
- PSI > 0.25 triggers pipeline halt
|
|
214
|
-
- FinOps cost tracking per agent query with budget enforcement
|
|
215
|
-
- GADR pipeline on real transcripts with expert ground truth
|
|
216
|
-
- ADR immutability enforcement in CI
|
|
217
|
-
- Async-first protocol compliance (RFC before call)
|
|
218
|
-
- DACI single-approver enforcement
|
|
219
|
-
- AI perspective labeling and pruning logic
|
|
220
|
-
- Human sign-off gate blocks AI-only consensus
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## 8. Key References
|
|
225
|
-
|
|
226
|
-
- **Epic-Organized Gherkin**: arXiv:2607.01980 (SEET 2026)
|
|
227
|
-
- **AutoUAT Industrial Case Study**: arXiv:2504.07244
|
|
228
|
-
- **Gherkin Guidelines for AI**: github.com/AutomationPanda/gherkin-guidelines-for-ai
|
|
229
|
-
- **Apache Ossie**: ossie.apache.org (Incubating, July 2026)
|
|
230
|
-
- **DuckDB v2.0**: motherduck.com/duckdb-news
|
|
231
|
-
- **FastMCP**: sqlglot AST validation, MCP Registry
|
|
232
|
-
- **DoWhy Causal Inference**: pywhy.org/dowhy
|
|
233
|
-
- **GADR Agentic ADR**: arXiv:2608.17694 (SBES 2026)
|
|
234
|
-
- **Nygard ADR**: martinfowler.com/bliki/ArchitectureDecisionRecord.html
|
|
235
|
-
- **DecisionCAMP 2026**: 2026.declarativeai.net/decisioncamp
|
|
236
|
-
- **EU AI Act**: Regulation (EU) 2026/1744, Article 14 Human Oversight
|