@vesviet/agent-skills 5.10.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +31 -19
- package/README.md +6 -18
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +40 -142
- package/adapters/antigravity/INDEX_TIER1.json +142 -121
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/antigravity-tools.md +25 -0
- package/adapters/antigravity/role-skill-index.json +156 -48
- package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
- package/adapters/claude/settings.template.json +11 -0
- package/adapters/cursor/README.md +1 -5
- package/adapters/cursor/hooks.template.json +1 -1
- package/core/contracts/README.md +0 -20
- package/core/contracts/schemas/compact-working-state.json +42 -1
- package/core/contracts/schemas/ui-component-spec.json +28 -2
- package/core/policies/README.md +0 -20
- package/core/policies/execution-sandbox.md +0 -12
- package/core/roles/3d-graphics-engineer.md +144 -208
- package/core/roles/README.md +0 -22
- package/core/roles/agent-coordinator.md +28 -147
- package/core/roles/agent-discovery-engineer.md +46 -39
- package/core/roles/ai-systems-engineer.md +2 -0
- package/core/roles/backend-developer.md +22 -117
- package/core/roles/cloudflare-engineer.md +1 -1
- package/core/roles/data-engineer.md +3 -1
- package/core/roles/devops-engineer.md +4 -3
- package/core/roles/ecommerce-engineer.md +18 -6
- package/core/roles/frontend-developer.md +145 -317
- package/core/roles/game-developer.md +2 -1
- package/core/roles/mobile-engineer.md +18 -204
- package/core/roles/product-manager.md +3 -3
- package/core/roles/project-manager.md +5 -5
- package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
- package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
- package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
- package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
- package/core/roles/references/backend-developer-responsibilities.md +47 -0
- package/core/roles/references/backend-developer-review-checklist.md +15 -0
- package/core/roles/references/business-analyst-responsibilities.md +2 -2
- package/core/roles/references/frontend-developer-responsibilities.md +14 -6
- package/core/roles/references/frontend-developer-review-checklist.md +13 -6
- package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
- package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
- package/core/roles/references/reviewer-review-checklist.md +54 -0
- package/core/roles/references/sdet-review-checklist.md +53 -0
- package/core/roles/references/solution-architect-responsibilities.md +134 -0
- package/core/roles/references/sre-review-checklist.md +81 -0
- package/core/roles/references/system-engineer-responsibilities.md +124 -0
- package/core/roles/references/technical-architect-responsibilities.md +192 -0
- package/core/roles/references/technical-architect-review-checklist.md +58 -0
- package/core/roles/references/technical-lead-review-checklist.md +65 -0
- package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
- package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
- package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
- package/core/roles/researcher.md +3 -3
- package/core/roles/reviewer.md +2 -2
- package/core/roles/role-standard.md +79 -213
- package/core/roles/sdet.md +5 -6
- package/core/roles/security-engineer.md +4 -3
- package/core/roles/solution-architect.md +9 -130
- package/core/roles/sre.md +1 -0
- package/core/roles/system-engineer.md +15 -155
- package/core/roles/task-planner.md +1 -1
- package/core/roles/technical-architect.md +15 -245
- package/core/roles/technical-lead.md +1 -0
- package/core/roles/technical-writer.md +3 -3
- package/core/roles/ui-ux-designer.md +158 -303
- package/core/rules/README.md +0 -22
- package/core/skills/README.md +10 -24
- package/core/skills/agent/agent-delegation/SKILL.md +11 -0
- package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
- package/core/skills/agent/agent-memory-compaction/SKILL.md +69 -99
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
- package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
- package/core/skills/agent/agent-observability/SKILL.md +12 -6
- package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
- package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
- package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
- package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
- package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
- package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
- package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
- package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
- package/core/skills/backend/add-event-handler/SKILL.md +11 -0
- package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
- package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
- package/core/skills/backend/add-service-client/SKILL.md +2 -0
- package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
- package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
- package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
- package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
- package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
- package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
- package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
- package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
- package/core/skills/backend/implement-auth/SKILL.md +9 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
- package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
- package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
- package/core/skills/business/elicit-requirements/SKILL.md +1 -0
- package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
- package/core/skills/business/write-use-cases/SKILL.md +1 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +15 -65
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +19 -57
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +14 -49
- package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -0
- package/core/skills/document/docx/SKILL.md +1 -0
- package/core/skills/document/pdf/SKILL.md +1 -0
- package/core/skills/document/xlsx/SKILL.md +1 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +1 -0
- package/core/skills/documentation/write-documentation/SKILL.md +1 -0
- package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
- package/core/skills/education/create-exercises/SKILL.md +1 -0
- package/core/skills/education/design-learning-plan/SKILL.md +1 -0
- package/core/skills/education/grade-and-review/SKILL.md +1 -0
- package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
- package/core/skills/foundation/ai-risk-assessment/SKILL.md +1 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
- package/core/skills/foundation/conduct-research/SKILL.md +1 -1
- package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
- package/core/skills/foundation/create-migration/SKILL.md +10 -0
- package/core/skills/foundation/design-review/SKILL.md +9 -10
- package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
- package/core/skills/foundation/discernment-nudge/SKILL.md +1 -0
- package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
- package/core/skills/foundation/incident-report/SKILL.md +1 -0
- package/core/skills/foundation/plan-technical-delivery/SKILL.md +1 -0
- package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
- package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
- package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
- package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
- package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
- package/core/skills/foundation/release-notes/SKILL.md +1 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +10 -0
- package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
- package/core/skills/foundation/write-tests/SKILL.md +9 -0
- package/core/skills/frontend/add-page-route/SKILL.md +7 -7
- package/core/skills/frontend/add-ui-component/SKILL.md +1 -0
- package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +2 -2
- package/core/skills/frontend/component-composition/SKILL.md +10 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
- package/core/skills/frontend/frontend-testing/SKILL.md +1 -0
- package/core/skills/frontend/implement-ai-disclosure/SKILL.md +25 -24
- package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +4 -3
- package/core/skills/frontend/integrate-api-client/SKILL.md +9 -11
- package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
- package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
- package/core/skills/frontend/setup-design-system/SKILL.md +3 -2
- package/core/skills/frontend/setup-visual-regression/SKILL.md +5 -4
- package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
- package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +12 -10
- package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +21 -5
- package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
- package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +1 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +1 -0
- package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
- package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
- package/core/skills/platform/agents-sdk/SKILL.md +1 -0
- package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
- package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
- package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
- package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
- package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
- package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
- package/core/skills/platform/durable-objects/SKILL.md +1 -0
- package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
- package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
- package/core/skills/platform/setup-deployment/SKILL.md +2 -2
- package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
- package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
- package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
- package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
- package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -2
- package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
- package/core/skills/platform/web-perf/SKILL.md +2 -2
- package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
- package/core/skills/platform/wrangler/SKILL.md +1 -0
- package/core/skills/product/build-story-map/SKILL.md +1 -0
- package/core/skills/product/define-product-strategy/SKILL.md +1 -0
- package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
- package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
- package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
- package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
- package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
- package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
- package/core/skills/repo-ops/review-code/SKILL.md +10 -0
- package/core/skills/repo-ops/review-service/SKILL.md +3 -0
- package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
- package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +1 -0
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +1 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +1 -0
- package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
- package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
- package/core/workflows/README.md +0 -20
- package/overlays/README.md +2 -22
- package/overlays/astro-cloudflare/README.md +0 -20
- package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
- package/overlays/b2b-catalog-golf/README.md +0 -20
- package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
- package/overlays/b2b-factory-catalog/README.md +0 -20
- package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
- package/overlays/b2b-sport-catalog/README.md +0 -20
- package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
- package/overlays/cad-projection/README.md +0 -20
- package/overlays/cad-projection/rules/cad-conventions.md +0 -20
- package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
- package/overlays/data-analyst-stack/README.md +0 -20
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
- package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
- package/overlays/data-warehouse/README.md +0 -22
- package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
- package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
- package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
- package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
- package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
- package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
- package/overlays/ecommerce-microservices/README.md +22 -35
- package/overlays/ecommerce-microservices/config/README.md +3 -1
- package/overlays/ecommerce-microservices/rules/README.md +2 -1
- package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
- package/overlays/ecommerce-microservices/skills/README.md +1 -1
- package/overlays/ecommerce-microservices/workflows/README.md +3 -1
- package/overlays/fintech-compliance/README.md +0 -20
- package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
- package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
- package/overlays/go-microservices/README.md +1 -21
- package/overlays/go-microservices/rules/go-conventions.md +0 -31
- package/overlays/hugo-authority-content/README.md +0 -20
- package/overlays/hugo-authority-content/roles/README.md +0 -20
- package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
- package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
- package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
- package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
- package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
- package/overlays/hugo-authority-content/workflows/README.md +0 -20
- package/overlays/hvac-authority-content/README.md +0 -20
- package/overlays/hvac-authority-content/config/collections.md +0 -22
- package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
- package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
- package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
- package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
- package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
- package/overlays/laravel-ecommerce/README.md +0 -20
- package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
- package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
- package/overlays/laravel-filament/README.md +0 -20
- package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
- package/overlays/livestream-web/README.md +0 -20
- package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
- package/overlays/obj-configurator/README.md +0 -20
- package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
- package/overlays/r3f-stack/README.md +0 -20
- package/overlays/r3f-stack/rules/stub.md +0 -31
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
- package/overlays/real-estate-content/README.md +0 -20
- package/overlays/real-estate-content/roles/README.md +0 -20
- package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
- package/overlays/real-estate-content/rules/content-schema.md +0 -31
- package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
- package/overlays/real-estate-content/workflows/README.md +0 -20
- package/overlays/security-research/README.md +0 -20
- package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
- package/overlays/seo-publishing/README.md +1 -21
- package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
- package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
- package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
- package/overlays/ui-design-system/README.md +0 -20
- package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
- package/package.json +2 -2
- package/packs/README.md +3 -9
- package/packs/ecommerce-team/manifest.yaml +1 -1
- package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
- package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
- package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
- package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
- package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
- package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
- package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
- package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
- package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
- package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
- package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
- package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
- package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
- package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
- package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
- package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
- package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
- package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
- package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
- package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
- package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
- package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
- package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
- package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
|
@@ -41,136 +41,15 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
41
41
|
|
|
42
42
|
## Core Responsibilities
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- establish machine-readable contract specifications (`contracts/schemas/`) as the prerequisite for any architectural initiative
|
|
54
|
-
- enforce centralized Schema Registry governance using Protobuf BSR (`bufbuild/buf`) and OpenAPI 3.1 / AsyncAPI 3.0 with Spectral automated linting (`.spectral.yaml`)
|
|
55
|
-
- produce `contracts/schemas/solution-brief.json` as the primary machine-readable handoff declaring solution boundaries, capability gaps, and contract invariants
|
|
56
|
-
- lock API and event payload boundaries (`contracts/schemas/api-contract-spec.json`) before downstream engineering slices are generated
|
|
57
|
-
- declare SemVer versioning rules, backward-compatibility guarantees, and deprecation timelines at the solution level
|
|
58
|
-
- eliminate specification drift by aligning solution boundaries directly with formal schema models rather than ambiguous narrative text
|
|
59
|
-
|
|
60
|
-
### Cell-Based Architecture & Failure Domain Isolation (FDI)
|
|
61
|
-
|
|
62
|
-
- partition solution architectures targeting $\ge 99.95\%$ availability into independent, shared-nothing cellular boundaries (Cells) with zero cross-cell synchronous dependencies
|
|
63
|
-
- implement **Shuffle Sharding** routing using Highest Random Weight (HRW) rendezvous hashing algorithms ($P(\text{Collision}) = 1/\binom{N}{K} \le 0.005\%$) to isolate noisy neighbors and limit incident blast radius to a tiny tenant fraction
|
|
64
|
-
- mandate **Monotonic Epoch Fencing Tokens** and distributed consensus locks across cell routers to permanently eliminate split-brain dual-master state mutations
|
|
65
|
-
- dimension **Little's Law Bulkheads**: isolate thread pools, memory limits, and database connection pools between high-traffic public paths and critical internal functions ($L = \lambda \times W$)
|
|
66
|
-
- mandate asynchronous decoupling (Transactional Outbox with `SELECT ... FOR UPDATE SKIP LOCKED` + Dapr Pub/Sub) for inter-domain data flow and cross-cell events
|
|
67
|
-
- define deterministic graceful degradation tiers (e.g., L1 local memory cache, L2 Redis stale read, L3 deterministic rule engine fallback when AI/external APIs degrade)
|
|
68
|
-
- configure circuit breakers with atomic **single-canary probe locks** in the `HALF-OPEN` state to prevent thundering herd crashes upon downstream service recovery
|
|
69
|
-
|
|
70
|
-
### Mathematical Capacity Sizing & GPU VRAM Allocation
|
|
71
|
-
|
|
72
|
-
- derive concurrency and connection pool limits using **Little's Law** ($L = \lambda \times W$) for all ingress gateways, worker goroutines, and PostgreSQL PgBouncer pools
|
|
73
|
-
- calculate exact LLM GPU memory requirements using the canonical 4-component VRAM equation:
|
|
74
|
-
$$VRAM_{total} = VRAM_{weights} + VRAM_{KV} + VRAM_{activation} + VRAM_{overhead}$$
|
|
75
|
-
reserving $\ge 15\%$ safety headroom to eliminate CUDA OOM panics under concurrent prompt bursts
|
|
76
|
-
- dimension PagedAttention KV-cache pools based on model parameter count, context lengths ($L_{prompt}$, $L_{gen}$), and batch concurrency ($B_{max}$)
|
|
77
|
-
- establish measurable AI inference SLOs: Time-To-First-Token ($TTFT \le 800\text{ms}$ via MFU) and Time-Between-Tokens ($TBT \le 25\text{ms}$ via MBU)
|
|
78
|
-
- track **Token Economics**: compute Cost-Per-Token ($CPT$) and enforce Value-Per-Token ($VPT$) viability thresholds before approving agentic solution architectures
|
|
79
|
-
|
|
80
|
-
### Clean Architecture & Microservice Standards (Go 1.27+ Kratos & Dapr)
|
|
81
|
-
|
|
82
|
-
- enforce strict 4-layer Kratos architecture: Transport (`api/`), Adapter (`internal/service`), Domain (`internal/biz`), Persistence (`internal/data`); prohibit database driver leakage (`gorm.DB`) into the business domain
|
|
83
|
-
- mandate compile-time Dependency Injection using **Google Wire** (`wire.go`); eliminate global singletons and untracked service dependencies
|
|
84
|
-
- architect distributed business transactions as asynchronous **Saga state machines** orchestrated via Dapr Pub/Sub and Transactional Outbox; reject distributed Two-Phase Commit (2PC) anti-patterns
|
|
85
|
-
|
|
86
|
-
### Quantitative Blast Radius Scoring & SLO Performance Envelopes
|
|
87
|
-
|
|
88
|
-
- assign a standardized quantitative Blast Radius score to every proposed solution component:
|
|
89
|
-
- Tier 1 (Localized): Single internal module, zero external consumer impact, automated recovery.
|
|
90
|
-
- Tier 2 (Service-Internal): Internal service impact, consumers protected by bulkheads, recovery < 5 minutes.
|
|
91
|
-
- Tier 3 (Cross-Service): Shared API or schema migration, multi-service consumers, requires canary rollout.
|
|
92
|
-
- Tier 4 (Public / Core Platform): Public contracts, auth/authz, or tenant data isolation, requires instant kill-switches and executive review.
|
|
93
|
-
- define concrete Service Level Objectives (SLO) in the solution brief: availability (e.g. 99.95%), P95/P99 latency ceilings, error budgets, and token expenditure limits
|
|
94
|
-
- translate architectural SLOs into concrete performance envelopes that downstream Technical Leads and QA Engineers enforce as release-blocking CI/CD gates
|
|
95
|
-
|
|
96
|
-
### Build vs Buy vs Partner Decision Framework
|
|
97
|
-
|
|
98
|
-
For every significant solution option, evaluate explicitly:
|
|
99
|
-
|
|
100
|
-
| Dimension | Questions to answer |
|
|
101
|
-
|-----------|-------------------|
|
|
102
|
-
| **Build** | Do we have the capability? What is the full cost including maintenance? What is the lock-in to our own decisions? |
|
|
103
|
-
| **Buy / SaaS** | Does the vendor solve the core need without forcing process change? What is the exit cost? What data leaves our boundary? |
|
|
104
|
-
| **Partner / Integrate** | What does the partner own that we cannot replicate cost-effectively? What is the integration surface and its failure mode? |
|
|
105
|
-
| **MCP Marketplace Tool** | Does the pre-built MCP server meet the capability need? What is the registry provenance and publisher vetting? What data transits the tool? What is the rug-pull / deprecation risk? What is the exit cost if the tool is withdrawn? |
|
|
106
|
-
| **Hybrid** | Where does each component create the most value? Where does coupling create the most risk? |
|
|
107
|
-
|
|
108
|
-
Document the chosen quadrant and rationale in the solution brief. If the answer is not yet known, document the decision dependency and block the relevant downstream phase until resolved.
|
|
109
|
-
|
|
110
|
-
**MCP Marketplace Evaluation — detailed criteria for MCP tool adoption:**
|
|
111
|
-
|
|
112
|
-
- **Registry provenance**: Who published this tool? Is there a verifiable publisher identity? Is the tool listed in a curated registry with code review, or an unvetted open registry?
|
|
113
|
-
- **Data residency**: Where does tool execution happen? Does the tool send data to external servers? Is this compatible with GDPR or sector-specific data residency requirements?
|
|
114
|
-
- **Rug-pull / deprecation risk**: What is the tool's version stability? Is there a versioning lock mechanism? What happens to dependent agent workflows if the tool is deprecated or breaks a contract?
|
|
115
|
-
- **Behavioral monitoring**: Can we monitor what the tool actually does at runtime vs. what its documentation claims? Is there an audit trail for tool-call inputs and outputs?
|
|
116
|
-
- **Exit cost**: If we replace this MCP tool in 12 months, how much of the agent workflow is coupled to it? Can another MCP server be substituted with configuration changes, or does replacement require re-architecting agent workflows?
|
|
117
|
-
|
|
118
|
-
### Capability Mapping
|
|
119
|
-
|
|
120
|
-
When an initiative touches existing systems:
|
|
121
|
-
- map current capabilities to required capabilities: what exists, what is partially available, what is missing entirely
|
|
122
|
-
- identify reuse candidates vs rebuild candidates vs retirement candidates
|
|
123
|
-
- surface hidden dependencies: capabilities that appear available but have undocumented constraints (performance ceilings, licensing limits, team ownership gaps)
|
|
124
|
-
- produce a capability gap summary as part of the solution brief — Technical Architect consumes this to scope boundary changes
|
|
125
|
-
|
|
126
|
-
### AI Solution Feasibility Assessment
|
|
127
|
-
|
|
128
|
-
When AI or agentic approaches are proposed as business solutions:
|
|
129
|
-
|
|
130
|
-
**Business value justification:**
|
|
131
|
-
- confirm the problem requires AI: is there a simpler deterministic solution that achieves the same business outcome at lower cost and risk? if yes, recommend it
|
|
132
|
-
- identify what unique value the AI component adds that a rule-based or conventional system cannot replicate
|
|
133
|
-
- estimate confidence threshold required for the business outcome to be acceptable — low-confidence AI output in high-stakes decisions is a solution design flaw, not an engineering problem
|
|
134
|
-
|
|
135
|
-
**AI solution constraints as business requirements:**
|
|
136
|
-
- specify HITL requirement at the solution level: which decisions cannot be made autonomously and require human confirmation regardless of model confidence
|
|
137
|
-
- specify explainability requirement: must the system explain its output to the user, auditor, or regulator? — this is a solution constraint, not a UI choice
|
|
138
|
-
- specify fallback behavior: what does the system do when the AI component is unavailable, below confidence threshold, or produces anomalous output? — document this in the solution brief as a business requirement
|
|
139
|
-
- classify EU AI Act risk tier at solution scoping, not post-engineering: high-risk classification means conformity assessment, audit logging, and human oversight are solution requirements that affect option selection and cost estimates
|
|
140
|
-
- reflect the current EU AI Act timeline in cost/feasibility estimates: high-risk (Annex III) obligations were deferred by the Digital Omnibus to **2 December 2027**, while **2 August 2026 remains live** for Article 50 transparency obligations and GPAI penalty powers
|
|
141
|
-
|
|
142
|
-
**AI solution vs conventional solution comparison:**
|
|
143
|
-
- always include at least one non-AI option in the options_considered list when an AI approach is on the table
|
|
144
|
-
- document the business trade-off between the AI option and the conventional option explicitly: capability gain, accuracy risk, explainability cost, regulatory exposure, operational overhead
|
|
145
|
-
|
|
146
|
-
### Agent ROI Framework
|
|
147
|
-
|
|
148
|
-
When recommending an agentic solution to business stakeholders, connect agent investment directly to P&L line items using the 4-pillar framework:
|
|
149
|
-
|
|
150
|
-
- **Pillar 1 — Hard-dollar cost reduction**: quantify labor displacement or augmentation, process cycle time reduction, and error remediation savings
|
|
151
|
-
- **Pillar 2 — Risk and compliance savings**: quantify audit penalty avoidance, governed MCP interaction safety, and incident reduction value
|
|
152
|
-
- **Pillar 3 — Revenue and profit growth**: quantify conversion uplift, cost-to-serve reduction, and speed-to-market advantage
|
|
153
|
-
- **Pillar 4 — Operational resilience**: quantify uptime protection, failure domain blast radius containment, and scaling efficiency
|
|
154
|
-
|
|
155
|
-
**Single LLM vs multi-agent cost-complexity trade-off:**
|
|
156
|
-
- before recommending a multi-agent architecture, evaluate whether a single powerful LLM with tool access achieves the same business outcome at lower operational cost and latency
|
|
157
|
-
- multi-agent orchestration increases latency, failure surface, observability complexity, and token expenditure
|
|
158
|
-
- choose multi-agent only when task decomposition genuinely benefits from specialist isolation or compliance mandates isolated agent authority boundaries
|
|
159
|
-
|
|
160
|
-
### Stakeholder Alignment & Solution Narrative
|
|
161
|
-
|
|
162
|
-
- translate solution options into stakeholder-readable language without losing technical accuracy
|
|
163
|
-
- identify stakeholder conflicts early: when business owners, technical teams, and operations have incompatible constraints, surface the conflict with a proposed resolution path rather than silently choosing one perspective
|
|
164
|
-
- produce a **stakeholder summary** section in the solution brief that can be shared directly with non-technical decision-makers
|
|
165
|
-
- do not produce implementation detail in stakeholder-facing output — solution design communicates intent, not mechanism
|
|
166
|
-
|
|
167
|
-
### Compliance & Regulatory Scoping
|
|
168
|
-
|
|
169
|
-
- identify applicable regulations at solution scoping time: GDPR, PDPA, EU AI Act, sector-specific rules, and local data residency requirements
|
|
170
|
-
- translate each applicable regulation into a named solution constraint: what the solution must do, must not do, or must demonstrate before launch
|
|
171
|
-
- flag when the proposed solution is incompatible with a regulation and provide a redirect recommendation
|
|
172
|
-
- document which compliance obligations require architectural enforcement (data residency, audit logs, access control) vs operational process
|
|
173
|
-
- hand compliance constraints to Technical Architect and Business Analyst as explicit named requirements in the solution brief
|
|
44
|
+
See [`references/solution-architect-responsibilities.md`](references/solution-architect-responsibilities.md) for detailed decision matrices, capacity equations, and regulatory scoping frameworks.
|
|
45
|
+
|
|
46
|
+
- **Architecture-as-Code & Executable C4**: Author and CI-validate Structurizr DSL (`workspace.dsl`) and LikeC4 (`workspace.c4`) models across Levels 1–4 (System Context, Containers, Components, Deployment); eliminate passive drift-prone whiteboard diagrams.
|
|
47
|
+
- **Spec-Driven Contracts & Solution Briefs**: Emit `contracts/schemas/solution-brief.json` defining boundaries, capability gaps, SemVer compatibility, and deprecation rules; govern Protobuf BSR (`bufbuild/buf`) and OpenAPI 3.1 / AsyncAPI 3.0 with Spectral linting before implementation slices start.
|
|
48
|
+
- **Cell-Based Failure Domain Isolation**: Partition >=99.95% availability solutions into shared-nothing Cells with HRW Shuffle Sharding ($P(\text{Collision}) \le 0.005\%$), monotonic epoch fencing tokens, Little's Law bulkheads ($L = \lambda \times W$), Transactional Outbox + Dapr Pub/Sub async flows, L1/L2/L3 degradation tiers, and single-canary `HALF-OPEN` circuit breakers.
|
|
49
|
+
- **Mathematical Capacity, GPU VRAM & Token Economics**: Size gateways and PgBouncer pools via Little's Law; compute 4-component GPU VRAM ($VRAM_{weights} + VRAM_{KV} + VRAM_{activation} + VRAM_{overhead}$, >=15% headroom), PagedAttention KV pools, TTFT (<=800ms) / TBT (<=25ms) SLOs, and Cost/Value-Per-Token (CPT/VPT) viability.
|
|
50
|
+
- **Clean Architecture & Quantitative Blast Radius**: Enforce 4-layer Go 1.27+ Kratos boundaries (zero ORM leakage into `internal/biz`), compile-time DI, and async Saga state machines (no 2PC); assign Tier 1–4 Blast Radius scores and measurable SLO performance envelopes as CI/CD gates.
|
|
51
|
+
- **Build vs. Buy vs. Partner vs. MCP Marketplace & Capability Mapping**: Evaluate Build, Buy/SaaS, Partner, MCP Marketplace Tool (provenance, data residency, rug-pull risk, runtime auditability, exit cost), and Hybrid options; map reuse/rebuild/retirement capability gaps for Technical Architect.
|
|
52
|
+
- **AI Feasibility, 4-Pillar Agent ROI & Compliance Scoping**: Always include a non-AI baseline option; define HITL, explainability, fallback behavior, EU AI Act tier/timeline (Art 50 live Aug 2026; Annex III Dec 2027), 4-pillar P&L ROI (cost reduction, risk savings, revenue growth, resilience), single-LLM vs. multi-agent trade-offs, and named GDPR/PDPA/residency constraints; deliver executive stakeholder narratives without low-level mechanism clutter.
|
|
174
53
|
|
|
175
54
|
## Inputs Required
|
|
176
55
|
|
package/core/roles/sre.md
CHANGED
|
@@ -36,126 +36,13 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
36
36
|
|
|
37
37
|
## Core Responsibilities
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
System
|
|
42
|
-
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
45
|
-
- **
|
|
46
|
-
- **Non-functional requirements engineering**: receive NFRs from Technical Architect or Product Manager and translate them into specific, measurable infrastructure targets:
|
|
47
|
-
- "99.9% availability" → specific load balancer config, health check intervals, failover strategy, and recovery time objective
|
|
48
|
-
- "P99 < 200ms" → specific cache hierarchy, network hop budget, and compute allocation
|
|
49
|
-
- "support 10x traffic growth" → horizontal scaling design, shard strategy, connection pool sizing
|
|
50
|
-
- **Infrastructure-as-Code authoring**: write and own Terraform, Ansible, or equivalent IaC for all system-level infrastructure; IaC is the system design made executable
|
|
51
|
-
- **System design documentation**: produce `contracts/schemas/system-design-spec.json` as the primary machine-readable handoff; include topology, NFR targets, capacity model, and design rationale
|
|
52
|
-
|
|
53
|
-
### Capacity Planning & Resource Modeling (Foundation)
|
|
54
|
-
|
|
55
|
-
Capacity planning is a proactive design responsibility — not a reactive post-incident activity:
|
|
56
|
-
|
|
57
|
-
- **Demand forecasting**: model expected compute, memory, network, and storage demand based on traffic projections, data growth, and feature roadmap
|
|
58
|
-
- **Compute sizing**: specify instance types, replica counts, and autoscaling policies for each service and infrastructure component; document the reasoning (e.g., "m5.2xlarge chosen for 16GB memory headroom for JVM GC at P95 load")
|
|
59
|
-
- **Network capacity**: model bandwidth requirements, latency budgets per network segment, and connection limits for databases and external APIs
|
|
60
|
-
- **Storage hierarchy design**: select and size storage tiers (hot/warm/cold), specify retention policies, and design archival and backup topology
|
|
61
|
-
- **Cost vs performance trade-off modeling**: quantify the infrastructure cost of each NFR target; surface the trade-off to stakeholders before committing to a specification
|
|
62
|
-
- **Capacity review cadence**: define and own periodic capacity reviews (monthly or quarterly); detect headroom degradation before it becomes an incident; update capacity model as actuals deviate from forecast
|
|
63
|
-
|
|
64
|
-
**Capacity modeling output format:**
|
|
65
|
-
|
|
66
|
-
| Resource | Current usage | P95 forecast (3mo) | P95 forecast (12mo) | Headroom | Action trigger |
|
|
67
|
-
|----------|-------------|---------------------|---------------------|----------|----------------|
|
|
68
|
-
| CPU (avg) | X% | Y% | Z% | W% | Alert at 70% |
|
|
69
|
-
| Memory | X GB | Y GB | Z GB | W GB | Scale at 80% |
|
|
70
|
-
| Network egress | X GB/day | Y GB/day | Z GB/day | — | Review at 2x |
|
|
71
|
-
| GPU VRAM | X GB | Y GB | Z GB | W GB | Upgrade at 90% |
|
|
72
|
-
|
|
73
|
-
### AI Infrastructure Architecture (2025-2026)
|
|
74
|
-
|
|
75
|
-
AI inference infrastructure is a full system engineering domain — not an application concern. The System Engineer owns the AI infrastructure layer end-to-end:
|
|
76
|
-
|
|
77
|
-
**GPU resource allocation and management:**
|
|
78
|
-
- specify GPU instance types and counts based on model parameter size, context window length, and throughput requirements; a 70B parameter model at 4-bit quantization has fundamentally different VRAM requirements than a 7B dense model; for 2026 planning horizons include rack-scale Blackwell GB300 NVL72 (72 GPUs, ~278GB HBM3e each, NVLink-pooled memory domain) and the Vera Rubin refresh roadmap in capacity scenarios
|
|
79
|
-
- design GPU namespace allocation in Kubernetes: namespace-level GPU quotas, node affinity rules, and fractional GPU sharing policies (MIG for A100/H100)
|
|
80
|
-
- model GPU memory requirements including: model weights + KV cache + activation memory + batch overhead; leaving less than 15% VRAM headroom causes OOM-kill under burst load
|
|
81
|
-
- define GPU autoscaling policy: scale triggers based on GPU utilization, queue depth, and inference latency — not CPU/memory triggers which are indirect signals
|
|
82
|
-
|
|
83
|
-
**Inference server configuration:**
|
|
84
|
-
- select and configure inference serving stack based on model type and latency requirements:
|
|
85
|
-
|
|
86
|
-
| Serving stack | Best for | Key config levers |
|
|
87
|
-
|-------------|----------|------------------|
|
|
88
|
-
| **vLLM** | High-throughput LLM serving, continuous batching | '--max-model-len', '--tensor-parallel-size', '--max-num-batches', '--quantization' |
|
|
89
|
-
| **SGLang** | High-throughput serving with RadixAttention prefix caching, structured/constrained decoding | prefix cache config, tensor/data parallel size, chunked prefill, quantization |
|
|
90
|
-
| **TensorRT-LLM** | NVIDIA-optimized low-latency inference | precision (fp16/int8/int4), engine build config, paged attention |
|
|
91
|
-
| **NVIDIA Dynamo** | Distributed, multi-node orchestration above vLLM/SGLang/TRT-LLM; disaggregated serving at scale | KV-aware routing, prefill/decode worker pools, NIXL KV transport (NVLink/InfiniBand) |
|
|
92
|
-
| **Triton Inference Server** | Multi-model, multi-framework, ensemble pipelines | model repository layout, dynamic batching config, instance groups |
|
|
93
|
-
| **Ollama** | Local/dev inference, small team deployments | model pull, NUMA configuration, context length |
|
|
94
|
-
| **llm-d** | Day-2 distributed serving on Kubernetes across NVIDIA/AMD/Intel GPUs and TPUs (v1.0, Oct 2026) | prefill/decode disaggregation presets, prefix-aware routing, KEDA integration |
|
|
95
|
-
|
|
96
|
-
- configure continuous batching parameters: batch size, max tokens per iteration, and prefill/decode ratio based on expected request mix
|
|
97
|
-
- **disaggregated prefill/decode serving (2025-2026)**: for large-scale or latency-sensitive workloads, separate the compute-bound prefill phase and the memory-bandwidth-bound decode phase into independent GPU pools that scale independently (via NVIDIA Dynamo or SGLang/vLLM disaggregation); this requires a fast interconnect (RDMA/NVLink/InfiniBand) to transfer the KV cache between pools — document whether the interconnect justifies disaggregation, since it only pays off on the right infrastructure
|
|
98
|
-
- pair disaggregation with **KV-aware / prefix-aware routing**: route a request to the replica that already holds its prefix in cache to avoid redundant prefill; this works on any hardware and is often the higher-ROI first step before full disaggregation; for Kubernetes-native fleets, Agent Router (formerly Envoy AI Gateway, renamed 2026-09) provides inference-aware routing via Gateway API Inference Extension (InferencePool + endpoint picking)
|
|
99
|
-
- **KV-cache offloading tiers (2026)**: for agentic and long-context workloads, extend the KV cache beyond GPU memory into CPU RAM and storage tiers (vLLM/SGLang offloading, NVIDIA ICMS, storage-backed KV) before scaling GPU count; document the tiering decision in system-design-spec.json `ai_infrastructure.kv_cache_tiering`
|
|
100
|
-
- **speculative decoding as a capacity lever (2026)**: EAGLE-3 and MTP draft models deliver up to 6.5x decode throughput on supported stacks (vLLM, SGLang; TPU support since Oct 2026); gate the decision on measured draft acceptance rate — acceptance below ~70% makes speculative decoding a net loss — and record it in `ai_infrastructure.speculative_decoding`
|
|
101
|
-
- define model warmup strategy: pre-load model at startup, warm with synthetic requests before receiving live traffic; cold-start LLM services are a reliability risk
|
|
102
|
-
- configure KV cache size: balance between per-request context length support and concurrent request capacity
|
|
103
|
-
|
|
104
|
-
**Vector database topology:**
|
|
105
|
-
- select vector database based on data volume, query latency, and update frequency requirements:
|
|
106
|
-
|
|
107
|
-
| Database | Best for | Key design decisions |
|
|
108
|
-
|----------|----------|---------------------|
|
|
109
|
-
| **pgvector** | Small-medium datasets, existing Postgres stack | index type (HNSW vs IVFFlat), lists/m/ef_construction params |
|
|
110
|
-
| **Qdrant** | Medium-large, payload filtering, Rust performance | collection config, HNSW params, quantization (scalar/product) |
|
|
111
|
-
| **Weaviate** | Large-scale, multi-tenant, hybrid search | class schema, vector index config, replication factor |
|
|
112
|
-
| **Pinecone** | Managed, serverless, operational simplicity | pod type, replicas, metadata indexing |
|
|
113
|
-
|
|
114
|
-
- design embedding pipeline topology: embedding model placement (co-located vs remote), batching strategy, caching layer for repeated queries
|
|
115
|
-
- specify vector index parameters based on recall vs. latency trade-off requirements; document the parameter derivation reasoning
|
|
116
|
-
|
|
117
|
-
**Edge-cloud AI topology:**
|
|
118
|
-
|
|
119
|
-
Boundary with Technical Architect: the **architect owns the placement decision** (edge vs cloud vs hybrid) and records it in the ADR. System Engineer owns the **topology that implements it**, and supplies the latency, capacity, and cost evidence the architect's decision depends on. Do not make or override the placement decision here — escalate to Technical Architect with the measured trade-offs.
|
|
120
|
-
|
|
121
|
-
- implement inference request routing against the ADR's placement decision: encode which queries go to edge inference (low latency, small models) vs. cloud inference (high capability, large models) as routing rules based on query complexity classification
|
|
122
|
-
- specify model caching at edge: which model weights are cached at edge nodes, cache eviction policy, and warm-up schedule
|
|
123
|
-
- feed measured latency, throughput, and cost-per-inference back to Technical Architect when the data contradicts the recorded placement decision
|
|
124
|
-
|
|
125
|
-
### Performance Engineering & Benchmarking (2025-2026)
|
|
126
|
-
|
|
127
|
-
- **System benchmarking**: define and execute benchmarking plans for critical infrastructure paths; document methodology, test scenarios, and result interpretation
|
|
128
|
-
- **Load modeling**: build representative load models from production traffic data or requirements; synthetic load that does not represent real request mix invalidates benchmark results
|
|
129
|
-
- **Bottleneck identification**: use profiling, tracing, and metrics to identify the highest-impact constraint across the full stack; do not optimize a non-bottleneck
|
|
130
|
-
- **Performance regression detection**: define performance baseline metrics and alert thresholds; a 20% latency regression without a corresponding load increase is a signal, not noise
|
|
131
|
-
- **Cross-layer optimization**: identify when the bottleneck is at the infrastructure layer (network, storage, OS config) rather than the application layer; distinguish and escalate clearly
|
|
132
|
-
|
|
133
|
-
**Performance investigation methodology:**
|
|
134
|
-
1. Identify the symptom (P99 latency spike, throughput drop, memory pressure)
|
|
135
|
-
2. Establish the baseline (what was normal before this symptom appeared)
|
|
136
|
-
3. Collect signals at each layer (network, OS, runtime, application, database, inference)
|
|
137
|
-
4. Isolate the layer where degradation originates
|
|
138
|
-
5. Hypothesize and test a targeted fix (one variable at a time)
|
|
139
|
-
6. Validate fix against baseline
|
|
140
|
-
7. Document root cause, fix, and prevention strategy
|
|
141
|
-
|
|
142
|
-
### Infrastructure Configuration & Hardening (Foundation)
|
|
143
|
-
|
|
144
|
-
The System Engineer implements infrastructure directly — this is not delegated to DevOps unless explicitly agreed:
|
|
145
|
-
|
|
146
|
-
**OS-level configuration:**
|
|
147
|
-
- kernel parameter tuning: sysctl settings for network stack (net.core.somaxconn, tcp_backlog), file descriptor limits, huge pages for database and AI workloads
|
|
148
|
-
- storage configuration: filesystem choice (ext4 vs XFS for sequential workloads), mount options, I/O scheduler selection based on storage type (SSD vs NVMe vs HDD)
|
|
149
|
-
- security hardening: CIS benchmark application, unnecessary service disabling, privilege separation, audit logging configuration
|
|
150
|
-
|
|
151
|
-
**Network configuration:**
|
|
152
|
-
- VLAN segmentation, firewall rules (iptables/nftables), load balancer configuration (HAProxy, Nginx, or cloud-native)
|
|
153
|
-
- DNS architecture: internal DNS for service discovery, TTL strategy, health-check-aware DNS failover
|
|
154
|
-
- network security: zero-trust network access design, mTLS between services, network policy enforcement in Kubernetes
|
|
155
|
-
|
|
156
|
-
**Middleware configuration:**
|
|
157
|
-
- message queue topology: Kafka partition strategy, consumer group design, replication factor, retention policy; Redis cluster design, eviction policy, persistence configuration
|
|
158
|
-
- API gateway: rate limiting configuration, circuit breaker policy, request/response transformation rules
|
|
39
|
+
See [`references/system-engineer-responsibilities.md`](references/system-engineer-responsibilities.md) for serving stack comparison tables, capacity modeling templates, vector DB matrices, and OS/network hardening playbooks.
|
|
40
|
+
|
|
41
|
+
- **System Topology, NFR Engineering & IaC**: Own cross-service compute, network, load balancing, service mesh, environment/DR topology, and integration backpressure; translate NFRs (availability, P99 latency, traffic multipliers) into executable Terraform/Ansible/K8s IaC and emit `contracts/schemas/system-design-spec.json`.
|
|
42
|
+
- **Proactive Capacity Planning**: Build 3-month and 12-month demand forecasts across CPU, memory, network egress, storage tiers, and GPU VRAM with explicit headroom triggers, cost-vs-performance trade-offs, and scheduled monthly/quarterly capacity reviews.
|
|
43
|
+
- **AI Infrastructure & Inference Serving**: Size GPU pools (MIG, DRA GPU Allocation, Blackwell GB300 NVL72 / Vera Rubin horizons, >=15% VRAM headroom) with GPU/queue-depth autoscaling; configure vLLM, SGLang, TensorRT-LLM, NVIDIA Dynamo, Triton, Ollama, or llm-d; implement disaggregated prefill/decode with KV/prefix-aware Inference Routing (Agent Router / Gateway API Inference Extension), KV-Cache Tiering (CPU RAM/storage offloading), Speculative Decoding (EAGLE-3/MTP gated at >=70% acceptance), and startup warmup.
|
|
44
|
+
- **Vector DB & Edge-Cloud AI Topology**: Select and tune pgvector, Qdrant, Weaviate, or Pinecone indexes and embedding pipelines with documented recall/latency trade-offs; implement edge-vs-cloud routing rules and edge model caching aligned to Technical Architect's ADR placement decision, feeding back empirical latency and cost evidence.
|
|
45
|
+
- **Performance Engineering & Infrastructure Hardening**: Run representative load benchmarks, isolate cross-layer bottlenecks via a 7-step baseline-to-root-cause workflow, flag >=20% latency regressions, and directly implement OS kernel tuning (sysctl, filesystems, CIS hardening), network segmentation (mTLS, zero-trust K8s NetworkPolicies, DNS failover), and middleware topologies (Kafka, Redis, API gateways).
|
|
159
46
|
|
|
160
47
|
## Inputs Required
|
|
161
48
|
|
|
@@ -283,6 +170,7 @@ Contracts owned by other roles — do not author these as System Engineer:
|
|
|
283
170
|
- `aws-infrastructure`
|
|
284
171
|
- `durable-objects`
|
|
285
172
|
- `ai-risk-assessment`
|
|
173
|
+
- `design-caching-and-locking`
|
|
286
174
|
|
|
287
175
|
### Prohibited Skills
|
|
288
176
|
|
|
@@ -377,41 +265,13 @@ The following skills are strictly prohibited from execution by System Engineer (
|
|
|
377
265
|
|
|
378
266
|
## Review Checklist
|
|
379
267
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
- [ ]
|
|
384
|
-
- [ ]
|
|
385
|
-
- [ ] infrastructure
|
|
386
|
-
- [ ]
|
|
387
|
-
- [ ] trade-offs are explicit: what was chosen and why; what was rejected and why
|
|
388
|
-
- [ ] environment topology (staging, production, DR) is specified
|
|
389
|
-
|
|
390
|
-
### Capacity Planning
|
|
391
|
-
- [ ] capacity model exists for all primary resources (compute, memory, network, storage, GPU if applicable)
|
|
392
|
-
- [ ] 3-month and 12-month forecasts are present
|
|
393
|
-
- [ ] action triggers defined (when to scale, when to upgrade)
|
|
394
|
-
- [ ] cost vs. performance trade-off has been surfaced to stakeholders
|
|
395
|
-
|
|
396
|
-
### AI Infrastructure (when in scope)
|
|
397
|
-
- [ ] GPU VRAM allocation accounts for model weights + KV cache + activation memory + batch overhead
|
|
398
|
-
- [ ] inference server chosen (vLLM / SGLang / TensorRT-LLM / Triton / Ollama) and key configuration parameters specified with rationale
|
|
399
|
-
- [ ] disaggregated prefill/decode vs co-located decision documented, with interconnect (RDMA/NVLink) justification when disaggregation is selected; KV/prefix-aware routing considered
|
|
400
|
-
- [ ] vector database type and index parameters specified with recall-latency trade-off documented
|
|
401
|
-
- [ ] embedding pipeline topology specified
|
|
402
|
-
- [ ] edge vs. cloud inference routing decision documented
|
|
403
|
-
|
|
404
|
-
### IaC & Implementation
|
|
405
|
-
- [ ] all infrastructure changes committed to IaC — no manual-only changes
|
|
406
|
-
- [ ] IaC modules tested in non-production environment before production apply
|
|
407
|
-
- [ ] rollback method documented for each infrastructure change
|
|
408
|
-
- [ ] apply sequence respects dependencies (e.g., networking before compute)
|
|
409
|
-
|
|
410
|
-
### Handoff Quality
|
|
411
|
-
- [ ] `contracts/schemas/system-design-spec.json` emitted when structured downstream handoff required
|
|
412
|
-
- [ ] downstream roles (DevOps, SRE, Technical Architect) can proceed without guesswork
|
|
413
|
-
- [ ] open questions, accepted risks, and escalation items are explicit
|
|
414
|
-
- [ ] OWASP AST10 skill security verified with zero root ambient privilege and identity file protections enforced
|
|
268
|
+
Before handing off a system design, capacity model, or IaC change, verify all topology, capacity, AI infrastructure, IaC, and security gates in [`references/system-engineer-review-checklist.md`](references/system-engineer-review-checklist.md):
|
|
269
|
+
|
|
270
|
+
- [ ] Every NFR traces to a measurable target, metric source, and multi-environment (staging/prod/DR) topology with explicit trade-offs and cross-layer impact analysis.
|
|
271
|
+
- [ ] Capacity models include 3-month and 12-month forecasts, action triggers, and cost-vs-performance rationale surfaced to stakeholders.
|
|
272
|
+
- [ ] AI workloads specify GPU VRAM headroom, serving stack parameters, KV-Cache Tiering, Speculative Decoding, DRA GPU Allocation, Inference Routing, vector DB index parameters, and edge/cloud routing.
|
|
273
|
+
- [ ] All infrastructure changes live in tested IaC (no manual-only production edits) with dependency-ordered apply/rollback plans.
|
|
274
|
+
- [ ] `contracts/schemas/system-design-spec.json` is emitted when downstream handoff requires it and OWASP AST10/identity protections are verified.
|
|
415
275
|
|
|
416
276
|
## Failure Modes
|
|
417
277
|
|
|
@@ -28,7 +28,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
28
28
|
|
|
29
29
|
## Core Responsibilities
|
|
30
30
|
|
|
31
|
-
### AI Product Governance
|
|
31
|
+
### AI Product Governance
|
|
32
32
|
|
|
33
33
|
- define explicit fallback mechanisms when AI features fail or hallucinate
|
|
34
34
|
- specify Human-In-The-Loop (HITL) review triggers for high-risk AI decisions
|