@vesviet/agent-skills 0.0.0-stage → 5.6.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 +973 -0
- package/LICENSE +201 -0
- package/README.md +137 -2
- package/VERSION +1 -0
- package/adapters/antigravity/ANTIGRAVITY.md +136 -0
- package/adapters/antigravity/a2a-config.template.yaml +82 -0
- package/adapters/antigravity/capability-role-map.generated.yaml +41 -0
- package/adapters/antigravity/role-skill-index.json +4812 -0
- package/adapters/antigravity/rules.template.md +39 -0
- package/adapters/claude/CLAUDE_ADAPTER.md +271 -0
- package/adapters/claude/commands/check-policy.md +15 -0
- package/adapters/claude/commands/coordinate.md +17 -0
- package/adapters/claude/commands/review.md +17 -0
- package/adapters/claude/settings.template.json +36 -0
- package/adapters/cursor/README.md +186 -0
- package/adapters/cursor/hooks.template.json +71 -0
- package/bin/agent-skills.mjs +241 -0
- package/core/README.md +53 -0
- package/core/contracts/README.md +158 -0
- package/core/contracts/schemas/INDEX.md +227 -0
- package/core/contracts/schemas/a2a-artifact.json +171 -0
- package/core/contracts/schemas/a2a-jsonrpc-envelope.json +74 -0
- package/core/contracts/schemas/a2a-message.json +107 -0
- package/core/contracts/schemas/a2a-push-notification-config.json +57 -0
- package/core/contracts/schemas/a2a-task-cancel.json +36 -0
- package/core/contracts/schemas/a2a-task-progress.json +80 -0
- package/core/contracts/schemas/a2a-task-status.json +181 -0
- package/core/contracts/schemas/a2a-task.json +219 -0
- package/core/contracts/schemas/accounting-compliance-review.json +379 -0
- package/core/contracts/schemas/adr-spec.json +225 -0
- package/core/contracts/schemas/agent-card.json +382 -0
- package/core/contracts/schemas/agent-eval-report.json +490 -0
- package/core/contracts/schemas/agent-trace-span.json +146 -0
- package/core/contracts/schemas/ai-risk-register.json +198 -0
- package/core/contracts/schemas/amis-voucher-contract.json +541 -0
- package/core/contracts/schemas/api-contract-spec.json +191 -0
- package/core/contracts/schemas/architecture-options.json +128 -0
- package/core/contracts/schemas/assumptions-ledger.json +130 -0
- package/core/contracts/schemas/aws-infra-spec.json +248 -0
- package/core/contracts/schemas/code-review-finding.json +295 -0
- package/core/contracts/schemas/compact-working-state.json +282 -0
- package/core/contracts/schemas/content-audit-report.json +270 -0
- package/core/contracts/schemas/content-handoff.json +534 -0
- package/core/contracts/schemas/coordination-plan.json +530 -0
- package/core/contracts/schemas/data-analysis-report.json +492 -0
- package/core/contracts/schemas/data-pipeline-spec.json +420 -0
- package/core/contracts/schemas/deployment-plan.json +600 -0
- package/core/contracts/schemas/design-tokens-spec.json +539 -0
- package/core/contracts/schemas/document-manifest.json +155 -0
- package/core/contracts/schemas/documentation-handoff.json +137 -0
- package/core/contracts/schemas/edge-deployment-spec.json +375 -0
- package/core/contracts/schemas/feature-ticket.json +1293 -0
- package/core/contracts/schemas/implementation-result.json +165 -0
- package/core/contracts/schemas/incident-report.json +466 -0
- package/core/contracts/schemas/learning-assessment-report.json +285 -0
- package/core/contracts/schemas/learning-handoff.json +244 -0
- package/core/contracts/schemas/legal-compliance-review.json +287 -0
- package/core/contracts/schemas/legal-opinion-contract.json +248 -0
- package/core/contracts/schemas/memory-audit-report.json +283 -0
- package/core/contracts/schemas/mmo-campaign-spec.json +414 -0
- package/core/contracts/schemas/mmo-roi-report.json +312 -0
- package/core/contracts/schemas/performance-audit.json +239 -0
- package/core/contracts/schemas/period-end-closing-report.json +472 -0
- package/core/contracts/schemas/pull-request-spec.json +338 -0
- package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -0
- package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -0
- package/core/contracts/schemas/references/detailed/03-quality-and-review.md +67 -0
- package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -0
- package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -0
- package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -0
- package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -0
- package/core/contracts/schemas/references/detailed/08-agent-infrastructure.md +31 -0
- package/core/contracts/schemas/research-report.json +823 -0
- package/core/contracts/schemas/schema-migration.json +86 -0
- package/core/contracts/schemas/security-audit.json +131 -0
- package/core/contracts/schemas/seo-audit-report.json +1057 -0
- package/core/contracts/schemas/seo-content-brief.json +852 -0
- package/core/contracts/schemas/seo-metadata.json +292 -0
- package/core/contracts/schemas/seo-weekly-board.json +840 -0
- package/core/contracts/schemas/series-article.json +155 -0
- package/core/contracts/schemas/solution-brief.json +244 -0
- package/core/contracts/schemas/stock-audit-session.json +522 -0
- package/core/contracts/schemas/system-design-spec.json +434 -0
- package/core/contracts/schemas/technical-delivery-plan.json +453 -0
- package/core/contracts/schemas/test-report.json +530 -0
- package/core/contracts/schemas/ui-component-spec.json +314 -0
- package/core/contracts/schemas/ux-flow-spec.json +306 -0
- package/core/contracts/schemas/validation-result.json +109 -0
- package/core/policies/README.md +110 -0
- package/core/policies/action-boundaries.yaml +1492 -0
- package/core/policies/data-classification.yaml +126 -0
- package/core/policies/execution-sandbox.md +362 -0
- package/core/policies/mcp-tool-map.yaml +302 -0
- package/core/roles/3d-graphics-engineer.md +303 -0
- package/core/roles/README.md +314 -0
- package/core/roles/agent-coordinator.md +453 -0
- package/core/roles/agent-discovery-engineer.md +243 -0
- package/core/roles/ai-systems-engineer.md +365 -0
- package/core/roles/aws-engineer.md +339 -0
- package/core/roles/backend-developer.md +466 -0
- package/core/roles/business-analyst.md +402 -0
- package/core/roles/cloudflare-engineer.md +298 -0
- package/core/roles/content-manager.md +336 -0
- package/core/roles/content-writer.md +399 -0
- package/core/roles/data-analyst.md +421 -0
- package/core/roles/data-engineer.md +439 -0
- package/core/roles/devops-engineer.md +614 -0
- package/core/roles/ecommerce-engineer.md +274 -0
- package/core/roles/frontend-developer.md +414 -0
- package/core/roles/game-developer.md +213 -0
- package/core/roles/mmo-engineer.md +228 -0
- package/core/roles/mobile-engineer.md +485 -0
- package/core/roles/product-manager.md +382 -0
- package/core/roles/project-manager.md +279 -0
- package/core/roles/prompt-engineer.md +197 -0
- package/core/roles/qa-engineer.md +574 -0
- package/core/roles/references/3d-graphics-engineer-review-checklist.md +116 -0
- package/core/roles/references/agent-coordinator-review-checklist.md +165 -0
- package/core/roles/references/agent-discovery-engineer-review-checklist.md +125 -0
- package/core/roles/references/ai-systems-engineer-review-checklist.md +151 -0
- package/core/roles/references/aws-engineer-review-checklist.md +169 -0
- package/core/roles/references/backend-developer-review-checklist.md +105 -0
- package/core/roles/references/business-analyst-responsibilities.md +207 -0
- package/core/roles/references/business-analyst-review-checklist.md +228 -0
- package/core/roles/references/cloudflare-engineer-review-checklist.md +152 -0
- package/core/roles/references/content-manager-governance-standards.md +147 -0
- package/core/roles/references/content-manager-review-checklist.md +68 -0
- package/core/roles/references/content-writer-anti-ai-standards.md +199 -0
- package/core/roles/references/content-writer-review-checklist.md +58 -0
- package/core/roles/references/data-analyst-review-checklist.md +76 -0
- package/core/roles/references/data-engineer-review-checklist.md +77 -0
- package/core/roles/references/devops-engineer-review-checklist.md +195 -0
- package/core/roles/references/ecommerce-engineer-review-checklist.md +129 -0
- package/core/roles/references/frontend-developer-responsibilities.md +275 -0
- package/core/roles/references/frontend-developer-review-checklist.md +122 -0
- package/core/roles/references/game-developer-review-checklist.md +115 -0
- package/core/roles/references/mmo-engineer-review-checklist.md +125 -0
- package/core/roles/references/mobile-engineer-review-checklist.md +54 -0
- package/core/roles/references/product-manager-review-checklist.md +113 -0
- package/core/roles/references/project-manager-review-checklist.md +122 -0
- package/core/roles/references/prompt-engineer-review-checklist.md +70 -0
- package/core/roles/references/qa-engineer-review-checklist.md +190 -0
- package/core/roles/references/researcher-review-checklist.md +176 -0
- package/core/roles/references/reviewer-review-checklist.md +67 -0
- package/core/roles/references/sdet-review-checklist.md +66 -0
- package/core/roles/references/security-engineer-review-checklist.md +122 -0
- package/core/roles/references/seo-analyst-geo-standards.md +195 -0
- package/core/roles/references/seo-analyst-review-checklist.md +84 -0
- package/core/roles/references/solution-architect-review-checklist.md +71 -0
- package/core/roles/references/sre-review-checklist.md +35 -0
- package/core/roles/references/system-engineer-review-checklist.md +124 -0
- package/core/roles/references/task-planner-review-checklist.md +114 -0
- package/core/roles/references/teacher-review-checklist.md +47 -0
- package/core/roles/references/technical-architect-review-checklist.md +72 -0
- package/core/roles/references/technical-lead-review-checklist.md +57 -0
- package/core/roles/references/technical-writer-review-checklist.md +120 -0
- package/core/roles/references/ui-ux-designer-anti-slop-standards.md +1000 -0
- package/core/roles/references/ui-ux-designer-responsibilities.md +250 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +114 -0
- package/core/roles/references/vietnam-accounting-specialist-review-checklist.md +53 -0
- package/core/roles/references/vietnam-legal-counsel-review-checklist.md +31 -0
- package/core/roles/researcher.md +427 -0
- package/core/roles/reviewer.md +294 -0
- package/core/roles/role-standard.md +242 -0
- package/core/roles/sdet.md +198 -0
- package/core/roles/security-engineer.md +343 -0
- package/core/roles/seo-analyst.md +425 -0
- package/core/roles/solution-architect.md +523 -0
- package/core/roles/sre.md +260 -0
- package/core/roles/system-engineer.md +465 -0
- package/core/roles/task-planner.md +277 -0
- package/core/roles/teacher.md +298 -0
- package/core/roles/technical-architect.md +536 -0
- package/core/roles/technical-lead.md +367 -0
- package/core/roles/technical-writer.md +359 -0
- package/core/roles/ui-ux-designer.md +397 -0
- package/core/roles/vietnam-accounting-specialist.md +317 -0
- package/core/roles/vietnam-legal-counsel.md +306 -0
- package/core/rules/README.md +101 -0
- package/core/rules/code.md +46 -0
- package/core/rules/knowledge.md +69 -0
- package/core/skills/README.md +440 -0
- package/core/skills/agent/INDEX.json +396 -0
- package/core/skills/agent/agent-a2a-protocol/SKILL.md +189 -0
- package/core/skills/agent/agent-a2a-protocol/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-a2a-protocol/references/a2a-spec.md +60 -0
- package/core/skills/agent/agent-context-management/SKILL.md +187 -0
- package/core/skills/agent/agent-context-management/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-delegation/SKILL.md +168 -0
- package/core/skills/agent/agent-delegation/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-graph-orchestration/SKILL.md +172 -0
- package/core/skills/agent/agent-graph-orchestration/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-handoff/SKILL.md +156 -0
- package/core/skills/agent/agent-handoff/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-memory-compaction/SKILL.md +112 -0
- package/core/skills/agent/agent-memory-compaction/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -0
- package/core/skills/agent/agent-model-routing/SKILL.md +175 -0
- package/core/skills/agent/agent-model-routing/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-observability/SKILL.md +168 -0
- package/core/skills/agent/agent-observability/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-panel-meeting/SKILL.md +153 -0
- package/core/skills/agent/agent-panel-meeting/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-prompt-lifecycle/SKILL.md +191 -0
- package/core/skills/agent/agent-prompt-lifecycle/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-prompt-lifecycle/references/output-format.md +32 -0
- package/core/skills/agent/agent-quality-gate/SKILL.md +174 -0
- package/core/skills/agent/agent-quality-gate/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-semantic-memory/SKILL.md +164 -0
- package/core/skills/agent/agent-semantic-memory/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-tool-orchestration/SKILL.md +193 -0
- package/core/skills/agent/agent-tool-orchestration/agents/openai.yaml +4 -0
- package/core/skills/agent/agent-tool-orchestration/references/2026-patterns.md +67 -0
- package/core/skills/agent/architect-mcp-server/SKILL.md +87 -0
- package/core/skills/agent/architect-mcp-server/agents/openai.yaml +4 -0
- package/core/skills/agent/architect-mcp-server/references/enterprise-mcp-server-architecture.md +217 -0
- package/core/skills/agent/configure-agent-commerce/SKILL.md +172 -0
- package/core/skills/agent/configure-agent-commerce/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-agent-headers/SKILL.md +102 -0
- package/core/skills/agent/configure-agent-headers/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-agent-skills/SKILL.md +108 -0
- package/core/skills/agent/configure-agent-skills/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-mcp/SKILL.md +193 -0
- package/core/skills/agent/configure-mcp/agents/openai.yaml +4 -0
- package/core/skills/agent/configure-mcp/references/2026-07-28-migration.md +60 -0
- package/core/skills/agent/configure-oauth-metadata/SKILL.md +139 -0
- package/core/skills/agent/configure-oauth-metadata/agents/openai.yaml +4 -0
- package/core/skills/agent/debug-identity-provider/SKILL.md +109 -0
- package/core/skills/agent/debug-identity-provider/agents/openai.yaml +4 -0
- package/core/skills/agent/decompose-agentic-system/SKILL.md +88 -0
- package/core/skills/agent/decompose-agentic-system/agents/openai.yaml +4 -0
- package/core/skills/agent/decompose-agentic-system/references/recursive-decomposition-and-persistent-planning.md +200 -0
- package/core/skills/agent/manage-agent-identity/SKILL.md +187 -0
- package/core/skills/agent/manage-agent-identity/agents/openai.yaml +4 -0
- package/core/skills/agent/manage-api-catalog/SKILL.md +133 -0
- package/core/skills/agent/manage-api-catalog/agents/openai.yaml +4 -0
- package/core/skills/agent/manage-auth-md/SKILL.md +119 -0
- package/core/skills/agent/manage-auth-md/agents/openai.yaml +4 -0
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +163 -0
- package/core/skills/ai/deploy-vllm-inference/agents/openai.yaml +4 -0
- package/core/skills/ai/deploy-vllm-inference/references/vllm-production-guide.md +466 -0
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +102 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +97 -0
- package/core/skills/ai-agent/memory-hygiene/SKILL.md +112 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +102 -0
- package/core/skills/backend/add-api-endpoint/agents/openai.yaml +4 -0
- package/core/skills/backend/add-api-endpoint/references/api-contracts-and-error-specs.md +127 -0
- package/core/skills/backend/add-event-handler/SKILL.md +130 -0
- package/core/skills/backend/add-event-handler/agents/openai.yaml +4 -0
- package/core/skills/backend/add-service-client/SKILL.md +166 -0
- package/core/skills/backend/add-service-client/agents/openai.yaml +4 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +100 -0
- package/core/skills/backend/build-mcp-server/agents/openai.yaml +4 -0
- package/core/skills/backend/implement-auth/SKILL.md +90 -0
- package/core/skills/backend/implement-auth/agents/openai.yaml +4 -0
- package/core/skills/backend/implement-auth/references/auth-flows-and-session-specs.md +229 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +94 -0
- package/core/skills/backend/implement-structured-outputs/agents/openai.yaml +4 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +89 -0
- package/core/skills/backend/optimize-postgres/agents/openai.yaml +4 -0
- package/core/skills/backend/optimize-postgres/references/pooling-branching-and-tuning.md +218 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +97 -0
- package/core/skills/backend/scaffold-new-service/agents/openai.yaml +4 -0
- package/core/skills/backend/scaffold-new-service/references/service-scaffolding-guide.md +141 -0
- package/core/skills/business/elicit-requirements/SKILL.md +102 -0
- package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -0
- package/core/skills/business/trace-requirements-impact/SKILL.md +97 -0
- package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -0
- package/core/skills/business/write-use-cases/SKILL.md +106 -0
- package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -0
- package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +316 -0
- package/core/skills/commerce/INDEX.json +72 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +192 -0
- package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +99 -0
- package/core/skills/commerce/handle-checkout-flow/agents/openai.yaml +4 -0
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +187 -0
- package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +128 -0
- package/core/skills/commerce/integrate-payment-gateway/agents/openai.yaml +4 -0
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +197 -0
- package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +136 -0
- package/core/skills/commerce/manage-order-fulfillment/agents/openai.yaml +4 -0
- package/core/skills/commerce/manage-product-catalog/SKILL.md +189 -0
- package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +130 -0
- package/core/skills/commerce/manage-product-catalog/agents/openai.yaml +4 -0
- package/core/skills/content/audit-content/SKILL.md +120 -0
- package/core/skills/content/audit-content/agents/openai.yaml +4 -0
- package/core/skills/content/audit-content/references/ai-semantic-flaw-rubric.md +43 -0
- package/core/skills/content/audit-content/references/citation-verification-guide.md +39 -0
- package/core/skills/content/audit-content/references/information-gain-rubric.md +51 -0
- package/core/skills/content/design-content-strategy/SKILL.md +108 -0
- package/core/skills/content/design-content-strategy/agents/openai.yaml +4 -0
- package/core/skills/content/design-content-strategy/references/distribution-loops-and-drift-prevention.md +109 -0
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +149 -0
- package/core/skills/content/design-content-strategy/references/pillar-cluster-and-funnel-playbook.md +159 -0
- package/core/skills/content/optimize-seo/SKILL.md +179 -0
- package/core/skills/content/optimize-seo/agents/openai.yaml +4 -0
- package/core/skills/content/optimize-seo/references/entity-salience-and-schema.md +88 -0
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +42 -0
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +116 -0
- package/core/skills/content/repurpose-content/SKILL.md +150 -0
- package/core/skills/content/repurpose-content/agents/openai.yaml +4 -0
- package/core/skills/content/repurpose-content/references/channel-repurposing-playbook.md +96 -0
- package/core/skills/content/repurpose-content/references/entity-fidelity-guide.md +42 -0
- package/core/skills/content/write-article/SKILL.md +169 -0
- package/core/skills/content/write-article/agents/openai.yaml +4 -0
- package/core/skills/content/write-article/references/ai-drafting-playbook.md +141 -0
- package/core/skills/content/write-article/references/anti-ai-style-guide.md +52 -0
- package/core/skills/content/write-article/references/authentic-source-matrix.md +36 -0
- package/core/skills/content/write-article/references/suggested-process.md +61 -0
- package/core/skills/content/write-copy/SKILL.md +102 -0
- package/core/skills/content/write-copy/agents/openai.yaml +4 -0
- package/core/skills/content/write-copy/references/behavioral-psychology-and-conversion.md +147 -0
- package/core/skills/content/write-copy/references/copywriting-frameworks-playbook.md +250 -0
- package/core/skills/content/write-copy/references/humanizer-voice-and-cadence-guide.md +134 -0
- package/core/skills/document/docx/SKILL.md +64 -0
- package/core/skills/document/pdf/SKILL.md +65 -0
- package/core/skills/document/pptx/SKILL.md +67 -0
- package/core/skills/document/pptx/scripts/add_slide.py +91 -0
- package/core/skills/document/pptx/scripts/clean.py +84 -0
- package/core/skills/document/pptx/scripts/thumbnail.py +112 -0
- package/core/skills/document/xlsx/SKILL.md +65 -0
- package/core/skills/document/xlsx/scripts/recalc.py +388 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +170 -0
- package/core/skills/documentation/configure-llms-txt/agents/openai.yaml +4 -0
- package/core/skills/documentation/write-documentation/SKILL.md +143 -0
- package/core/skills/documentation/write-documentation/agents/openai.yaml +4 -0
- package/core/skills/documentation/write-tech-radar/SKILL.md +149 -0
- package/core/skills/documentation/write-tech-radar/agents/openai.yaml +4 -0
- package/core/skills/education/2026_STANDARDS_SUMMARY.md +290 -0
- package/core/skills/education/INDEX.json +44 -0
- package/core/skills/education/create-exercises/SKILL.md +98 -0
- package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +115 -0
- package/core/skills/education/create-exercises/agents/openai.yaml +4 -0
- package/core/skills/education/create-exercises/references/dok-and-ai-resistant-exercise-design.md +115 -0
- package/core/skills/education/create-exercises/references/irt-calibration-and-scoring-matrices.md +113 -0
- package/core/skills/education/design-learning-plan/SKILL.md +109 -0
- package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +140 -0
- package/core/skills/education/design-learning-plan/agents/openai.yaml +4 -0
- package/core/skills/education/design-learning-plan/references/spaced-scheduling-and-socratic-scaffolding.md +117 -0
- package/core/skills/education/design-learning-plan/references/zpd-pathways-and-smart-objectives.md +108 -0
- package/core/skills/education/grade-and-review/SKILL.md +104 -0
- package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +141 -0
- package/core/skills/education/grade-and-review/agents/openai.yaml +4 -0
- package/core/skills/education/grade-and-review/references/analytic-rubrics-and-grading-hallucination-defense.md +117 -0
- package/core/skills/education/grade-and-review/references/cognitive-error-analysis-and-socratic-feedback.md +124 -0
- package/core/skills/foundation/accessibility-review/SKILL.md +160 -0
- package/core/skills/foundation/accessibility-review/agents/openai.yaml +4 -0
- package/core/skills/foundation/ai-risk-assessment/SKILL.md +198 -0
- package/core/skills/foundation/ai-risk-assessment/agents/openai.yaml +4 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +165 -0
- package/core/skills/foundation/combinatorial-testing/agents/openai.yaml +4 -0
- package/core/skills/foundation/conduct-research/SKILL.md +132 -0
- package/core/skills/foundation/conduct-research/agents/openai.yaml +4 -0
- package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +58 -0
- package/core/skills/foundation/conduct-research/references/output-format.md +75 -0
- package/core/skills/foundation/conduct-research/references/sota-deep-research-architecture.md +733 -0
- package/core/skills/foundation/create-migration/SKILL.md +151 -0
- package/core/skills/foundation/create-migration/agents/openai.yaml +4 -0
- package/core/skills/foundation/create-migration/references/patterns-and-gotchas.md +58 -0
- package/core/skills/foundation/create-migration/references/suggested-process.md +111 -0
- package/core/skills/foundation/design-review/SKILL.md +138 -0
- package/core/skills/foundation/design-review/agents/openai.yaml +4 -0
- package/core/skills/foundation/design-ux-flow/SKILL.md +153 -0
- package/core/skills/foundation/design-ux-flow/agents/openai.yaml +4 -0
- package/core/skills/foundation/discernment-nudge/SKILL.md +64 -0
- package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +139 -0
- package/core/skills/foundation/incident-report/SKILL.md +119 -0
- package/core/skills/foundation/incident-report/agents/openai.yaml +4 -0
- package/core/skills/foundation/performance-profiling/SKILL.md +127 -0
- package/core/skills/foundation/performance-profiling/agents/openai.yaml +4 -0
- package/core/skills/foundation/performance-profiling/references/patterns-and-safety.md +57 -0
- package/core/skills/foundation/performance-profiling/references/suggested-process.md +113 -0
- package/core/skills/foundation/plan-technical-delivery/SKILL.md +118 -0
- package/core/skills/foundation/plan-technical-delivery/agents/openai.yaml +4 -0
- package/core/skills/foundation/plan-technical-delivery/references/spec-driven-planning.md +104 -0
- package/core/skills/foundation/playwright-evidence-qa/SKILL.md +139 -0
- package/core/skills/foundation/release-notes/SKILL.md +192 -0
- package/core/skills/foundation/release-notes/agents/openai.yaml +4 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +165 -0
- package/core/skills/foundation/systematic-debugging/agents/openai.yaml +4 -0
- package/core/skills/foundation/webapp-server-runner/SKILL.md +67 -0
- package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +182 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +160 -0
- package/core/skills/foundation/write-product-brief/agents/openai.yaml +4 -0
- package/core/skills/foundation/write-tests/SKILL.md +173 -0
- package/core/skills/foundation/write-tests/agents/openai.yaml +4 -0
- package/core/skills/foundation/write-tests/references/advanced-testing-methodologies.md +102 -0
- package/core/skills/foundation/write-tests/references/patterns-and-ai-testing.md +78 -0
- package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +345 -0
- package/core/skills/frontend/INDEX.json +158 -0
- package/core/skills/frontend/add-page-route/SKILL.md +154 -0
- package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +102 -0
- package/core/skills/frontend/add-page-route/agents/openai.yaml +4 -0
- package/core/skills/frontend/add-ui-component/SKILL.md +162 -0
- package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +114 -0
- package/core/skills/frontend/add-ui-component/agents/openai.yaml +4 -0
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +128 -0
- package/core/skills/frontend/component-composition/SKILL.md +116 -0
- package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +103 -0
- package/core/skills/frontend/component-composition/agents/openai.yaml +4 -0
- package/core/skills/frontend/component-composition/references/composition-architecture-and-headless-specs.md +375 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +99 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +128 -0
- package/core/skills/frontend/frontend-micro-polish/SKILL.md +133 -0
- package/core/skills/frontend/frontend-testing/SKILL.md +196 -0
- package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +137 -0
- package/core/skills/frontend/frontend-testing/agents/openai.yaml +4 -0
- package/core/skills/frontend/implement-view-transitions/SKILL.md +109 -0
- package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +118 -0
- package/core/skills/frontend/implement-view-transitions/agents/openai.yaml +4 -0
- package/core/skills/frontend/implement-view-transitions/references/view-transitions-and-motion-specs.md +255 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +121 -0
- package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +108 -0
- package/core/skills/frontend/implement-webmcp/agents/openai.yaml +4 -0
- package/core/skills/frontend/integrate-api-client/SKILL.md +186 -0
- package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +118 -0
- package/core/skills/frontend/integrate-api-client/agents/openai.yaml +4 -0
- package/core/skills/frontend/interactive-component-workbench/SKILL.md +141 -0
- package/core/skills/frontend/motion-performance-engineering/SKILL.md +100 -0
- package/core/skills/frontend/setup-design-system/SKILL.md +179 -0
- package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +123 -0
- package/core/skills/frontend/setup-design-system/agents/openai.yaml +4 -0
- package/core/skills/frontend/setup-visual-regression/SKILL.md +115 -0
- package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +121 -0
- package/core/skills/frontend/setup-visual-regression/agents/openai.yaml +4 -0
- package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +1004 -0
- package/core/skills/frontend/web-quality-audit/SKILL.md +102 -0
- package/core/skills/gamedev/abstract-input-actions/SKILL.md +80 -0
- package/core/skills/gamedev/architect-ecs-systems/SKILL.md +80 -0
- package/core/skills/gamedev/author-game-ai/SKILL.md +78 -0
- package/core/skills/gamedev/automate-game-publishing/SKILL.md +80 -0
- package/core/skills/gamedev/build-game-ui-ux/SKILL.md +78 -0
- package/core/skills/gamedev/configure-physics-collision/SKILL.md +80 -0
- package/core/skills/gamedev/design-procedural-generation/SKILL.md +80 -0
- package/core/skills/gamedev/develop-gameplay-systems/SKILL.md +71 -0
- package/core/skills/gamedev/direct-camera-systems/SKILL.md +79 -0
- package/core/skills/gamedev/generate-game-assets-pipeline/SKILL.md +82 -0
- package/core/skills/gamedev/implement-save-persistence/SKILL.md +84 -0
- package/core/skills/gamedev/inspect-blender-rigs-motion/SKILL.md +82 -0
- package/core/skills/gamedev/integrate-dialogue-narrative/SKILL.md +80 -0
- package/core/skills/gamedev/integrate-game-engine/SKILL.md +81 -0
- package/core/skills/gamedev/manage-scene-lifecycle/SKILL.md +80 -0
- package/core/skills/gamedev/mix-dynamic-game-audio/SKILL.md +80 -0
- package/core/skills/gamedev/profile-game-performance/SKILL.md +81 -0
- package/core/skills/gamedev/program-game-shaders/SKILL.md +83 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +81 -0
- package/core/skills/gamedev/tune-game-feel/SKILL.md +75 -0
- package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +85 -0
- package/core/skills/legal-compliance/audit-ai-compliance/agents/openai.yaml +4 -0
- package/core/skills/legal-compliance/audit-ai-compliance/references/ai-law-compliance-guide.md +52 -0
- package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +89 -0
- package/core/skills/legal-compliance/draft-legal-opinion/agents/openai.yaml +4 -0
- package/core/skills/legal-compliance/draft-legal-opinion/references/legal-opinion-guide.md +53 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +95 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/references/statutory-checklists.md +208 -0
- package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +236 -0
- package/core/skills/meetings-analysis/INDEX.json +56 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +146 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +97 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/references/layered-requirements-pipeline-and-bdd-standards.md +107 -0
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +164 -0
- package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +143 -0
- package/core/skills/meetings-analysis/analyze-data/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/analyze-data/references/inprocess-analytics-and-hallucination-prevention.md +83 -0
- package/core/skills/meetings-analysis/analyze-data/references/semantic-catalog-and-drift-detection.md +87 -0
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +199 -0
- package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +125 -0
- package/core/skills/meetings-analysis/meeting-review/agents/openai.yaml +4 -0
- package/core/skills/meetings-analysis/meeting-review/references/perspectives-and-process.md +90 -0
- package/core/skills/mmo/INDEX.json +126 -0
- package/core/skills/mmo/analyze-campaign-roi/SKILL.md +134 -0
- package/core/skills/mmo/analyze-campaign-roi/agents/openai.yaml +4 -0
- package/core/skills/mmo/create-automation-script/SKILL.md +139 -0
- package/core/skills/mmo/create-automation-script/agents/openai.yaml +4 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +137 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/agents/openai.yaml +4 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +133 -0
- package/core/skills/mmo/deploy-proxyware-fleet/agents/openai.yaml +4 -0
- package/core/skills/mmo/generate-mmo-content/SKILL.md +134 -0
- package/core/skills/mmo/generate-mmo-content/agents/openai.yaml +4 -0
- package/core/skills/mmo/manage-mmo-assets/SKILL.md +134 -0
- package/core/skills/mmo/manage-mmo-assets/agents/openai.yaml +4 -0
- package/core/skills/mmo/setup-tracking-system/SKILL.md +149 -0
- package/core/skills/mmo/setup-tracking-system/agents/openai.yaml +4 -0
- package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +209 -0
- package/core/skills/mobile/INDEX.json +40 -0
- package/core/skills/mobile/deploy-mobile-app/SKILL.md +132 -0
- package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +122 -0
- package/core/skills/mobile/deploy-mobile-app/agents/openai.yaml +4 -0
- package/core/skills/mobile/deploy-mobile-app/references/eas-build-ota-and-store-compliance-specs.md +217 -0
- package/core/skills/mobile/develop-mobile-app/SKILL.md +125 -0
- package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +141 -0
- package/core/skills/mobile/develop-mobile-app/agents/openai.yaml +4 -0
- package/core/skills/mobile/develop-mobile-app/references/react-native-new-architecture-and-offline-specs.md +246 -0
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +92 -0
- package/core/skills/platform/add-telemetry-instrumentation/agents/openai.yaml +4 -0
- package/core/skills/platform/agents-sdk/SKILL.md +90 -0
- package/core/skills/platform/aws-infrastructure/SKILL.md +120 -0
- package/core/skills/platform/aws-infrastructure/agents/openai.yaml +4 -0
- package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -0
- package/core/skills/platform/cloudflare-email-service/agents/openai.yaml +4 -0
- package/core/skills/platform/cloudflare-email-service/references/cli-and-mcp.md +125 -0
- package/core/skills/platform/cloudflare-email-service/references/deliverability.md +285 -0
- package/core/skills/platform/cloudflare-email-service/references/rest-api.md +184 -0
- package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -0
- package/core/skills/platform/cloudflare-email-service/references/sending.md +252 -0
- package/core/skills/platform/debug-runtime-platform/SKILL.md +143 -0
- package/core/skills/platform/debug-runtime-platform/agents/openai.yaml +4 -0
- package/core/skills/platform/debug-workers-edge/SKILL.md +111 -0
- package/core/skills/platform/debug-workers-edge/agents/openai.yaml +4 -0
- package/core/skills/platform/deploy-aws-eks-workloads/SKILL.md +168 -0
- package/core/skills/platform/deploy-aws-eks-workloads/agents/openai.yaml +4 -0
- package/core/skills/platform/deploy-aws-eks-workloads/references/aws-eks-workload-guide.md +353 -0
- package/core/skills/platform/durable-objects/SKILL.md +114 -0
- package/core/skills/platform/durable-objects/agents/openai.yaml +4 -0
- package/core/skills/platform/durable-objects/references/code-patterns.md +115 -0
- package/core/skills/platform/durable-objects/references/rules.md +295 -0
- package/core/skills/platform/durable-objects/references/testing.md +264 -0
- package/core/skills/platform/durable-objects/references/workers.md +346 -0
- package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +98 -0
- package/core/skills/platform/orchestrate-chaos-experiment/agents/openai.yaml +4 -0
- package/core/skills/platform/orchestrate-chaos-experiment/references/chaos-engineering-guide.md +237 -0
- package/core/skills/platform/sandbox-sdk/SKILL.md +183 -0
- package/core/skills/platform/sandbox-sdk/agents/openai.yaml +4 -0
- package/core/skills/platform/sandbox-sdk/references/api-quick-ref.md +113 -0
- package/core/skills/platform/sandbox-sdk/references/examples.md +49 -0
- package/core/skills/platform/setup-deployment/SKILL.md +136 -0
- package/core/skills/platform/setup-deployment/agents/openai.yaml +4 -0
- package/core/skills/platform/setup-gpu-finops/SKILL.md +107 -0
- package/core/skills/platform/setup-gpu-finops/agents/openai.yaml +4 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +108 -0
- package/core/skills/platform/setup-llm-gateway/agents/openai.yaml +4 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +195 -0
- package/core/skills/platform/supply-chain-security/agents/openai.yaml +4 -0
- package/core/skills/platform/system-design/SKILL.md +184 -0
- package/core/skills/platform/system-design/agents/openai.yaml +4 -0
- package/core/skills/platform/system-design/references/cellular-topology-and-capacity-sizing.md +151 -0
- package/core/skills/platform/turnstile-spin/README.md +45 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +118 -0
- package/core/skills/platform/turnstile-spin/agents/openai.yaml +4 -0
- package/core/skills/platform/turnstile-spin/references/astro.md +102 -0
- package/core/skills/platform/turnstile-spin/references/code-patterns.md +132 -0
- package/core/skills/platform/turnstile-spin/references/hugo.md +62 -0
- package/core/skills/platform/turnstile-spin/references/nextjs-app.md +110 -0
- package/core/skills/platform/turnstile-spin/references/nextjs-pages.md +59 -0
- package/core/skills/platform/turnstile-spin/references/sveltekit.md +84 -0
- package/core/skills/platform/turnstile-spin/references/vanilla-html.md +62 -0
- package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +82 -0
- package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +66 -0
- package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +53 -0
- package/core/skills/platform/turnstile-spin/scripts/validate.sh +87 -0
- package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +57 -0
- package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +102 -0
- package/core/skills/platform/turnstile-spin/templates/worker/LICENSE +21 -0
- package/core/skills/platform/turnstile-spin/templates/worker/README.md +196 -0
- package/core/skills/platform/turnstile-spin/templates/worker/package.json +39 -0
- package/core/skills/platform/turnstile-spin/templates/worker/public/post-deploy.html +287 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/errors.ts +29 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/observability.ts +34 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/types.ts +95 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/validate.ts +101 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/deploy.test.ts +71 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/integration.test.ts +87 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/unit.test.ts +372 -0
- package/core/skills/platform/turnstile-spin/templates/worker/test/validation.test.ts +201 -0
- package/core/skills/platform/turnstile-spin/templates/worker/tsconfig.json +24 -0
- package/core/skills/platform/turnstile-spin/templates/worker/vitest.config.ts +12 -0
- package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -0
- package/core/skills/platform/turnstile-spin/tests/validation.md +69 -0
- package/core/skills/platform/web-perf/SKILL.md +151 -0
- package/core/skills/platform/web-perf/agents/openai.yaml +4 -0
- package/core/skills/platform/workers-best-practices/SKILL.md +93 -0
- package/core/skills/platform/workers-best-practices/agents/openai.yaml +4 -0
- package/core/skills/platform/workers-best-practices/references/review.md +174 -0
- package/core/skills/platform/workers-best-practices/references/rules.md +463 -0
- package/core/skills/platform/wrangler/SKILL.md +89 -0
- package/core/skills/platform/wrangler/agents/openai.yaml +4 -0
- package/core/skills/product/build-story-map/SKILL.md +104 -0
- package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -0
- package/core/skills/product/define-product-strategy/SKILL.md +105 -0
- package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -0
- package/core/skills/product/model-saas-metrics/SKILL.md +104 -0
- package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -0
- package/core/skills/product/prioritize-roadmap/SKILL.md +106 -0
- package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -0
- package/core/skills/repo-ops/commit-code/SKILL.md +190 -0
- package/core/skills/repo-ops/commit-code/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -0
- package/core/skills/repo-ops/navigate-service/SKILL.md +199 -0
- package/core/skills/repo-ops/navigate-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/review-code/SKILL.md +102 -0
- package/core/skills/repo-ops/review-code/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/review-code/references/adversarial-review-rubric.md +80 -0
- package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -0
- package/core/skills/repo-ops/review-code/references/two-axis-review.md +78 -0
- package/core/skills/repo-ops/review-service/SKILL.md +186 -0
- package/core/skills/repo-ops/review-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -0
- package/core/skills/repo-ops/troubleshoot-service/agents/openai.yaml +4 -0
- package/core/skills/repo-ops/troubleshoot-service/references/common-failure-areas.md +71 -0
- package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -0
- package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -0
- package/core/skills/security-data/build-data-pipeline/SKILL.md +139 -0
- package/core/skills/security-data/build-data-pipeline/agents/openai.yaml +4 -0
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +112 -0
- package/core/skills/security-data/build-data-pipeline/references/quality-gates-dlq-and-replayability.md +105 -0
- package/core/skills/security-data/database-maintenance/SKILL.md +102 -0
- package/core/skills/security-data/database-maintenance/agents/openai.yaml +4 -0
- package/core/skills/security-data/database-maintenance/references/lakehouse-ops-and-finops.md +125 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +81 -0
- package/core/skills/security-data/manage-secrets/SKILL.md +137 -0
- package/core/skills/security-data/manage-secrets/agents/openai.yaml +4 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +93 -0
- package/core/skills/security-data/manage-vietnam-accounting/agents/openai.yaml +4 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/e-invoice-risk-playbook.md +270 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/three-way-matching-and-controls.md +227 -0
- package/core/skills/security-data/manage-vietnam-accounting/references/vas-vfrs-chart-of-accounts.md +199 -0
- package/core/skills/security-data/optimize-olap-database/SKILL.md +108 -0
- package/core/skills/security-data/optimize-olap-database/agents/openai.yaml +4 -0
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +325 -0
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +103 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +92 -0
- package/core/skills/security-data/query-analytical-engine/agents/openai.yaml +4 -0
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +326 -0
- package/core/skills/security-data/security-audit/SKILL.md +119 -0
- package/core/skills/security-data/security-audit/agents/openai.yaml +4 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +132 -0
- package/core/skills/seo/audit-technical-seo/SKILL.md +109 -0
- package/core/skills/seo/audit-technical-seo/agents/openai.yaml +4 -0
- package/core/skills/seo/audit-technical-seo/references/core-web-vitals-and-performance.md +104 -0
- package/core/skills/seo/audit-technical-seo/references/crawl-budget-and-bot-access-guide.md +188 -0
- package/core/skills/seo/audit-technical-seo/references/redirects-canonicals-and-status-codes.md +145 -0
- package/core/skills/seo/implement-schema-markup/SKILL.md +103 -0
- package/core/skills/seo/implement-schema-markup/agents/openai.yaml +4 -0
- package/core/skills/seo/implement-schema-markup/references/connected-graph-schema-architecture.md +219 -0
- package/core/skills/seo/implement-schema-markup/references/entity-grounding-and-wikidata.md +155 -0
- package/core/skills/seo/implement-schema-markup/references/rich-results-and-validation-guide.md +83 -0
- package/core/workflows/README.md +140 -0
- package/core/workflows/add-new-feature.md +212 -0
- package/core/workflows/agent-a2a-delegation.md +142 -0
- package/core/workflows/bug-fix.md +147 -0
- package/core/workflows/build-deploy.md +208 -0
- package/core/workflows/code-review.md +137 -0
- package/core/workflows/content-audit.md +158 -0
- package/core/workflows/content-publishing.md +208 -0
- package/core/workflows/curriculum-delivery.md +181 -0
- package/core/workflows/data-migration.md +202 -0
- package/core/workflows/data-pipeline-incident.md +176 -0
- package/core/workflows/dependency-upgrade.md +193 -0
- package/core/workflows/feature-delivery.md +149 -0
- package/core/workflows/hotfix-production.md +172 -0
- package/core/workflows/mmo-campaign-lifecycle.md +123 -0
- package/core/workflows/period-end-closing.md +245 -0
- package/core/workflows/qa-validation.md +231 -0
- package/core/workflows/refactoring.md +154 -0
- package/core/workflows/revert-deployment.md +147 -0
- package/core/workflows/security-incident-response.md +191 -0
- package/core/workflows/seo-content-lifecycle.md +91 -0
- package/core/workflows/seo-keyword-brief.md +178 -0
- package/core/workflows/service-review-release.md +223 -0
- package/core/workflows/setup-new-service.md +214 -0
- package/core/workflows/tech-repo-review.md +245 -0
- package/core/workflows/troubleshooting.md +241 -0
- package/overlays/README.md +89 -0
- package/overlays/astro-cloudflare/README.md +93 -0
- package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +191 -0
- package/overlays/b2b-catalog-golf/README.md +50 -0
- package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +78 -0
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +84 -0
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/agents/openai.yaml +4 -0
- package/overlays/b2b-factory-catalog/README.md +54 -0
- package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +93 -0
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +68 -0
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/agents/openai.yaml +4 -0
- package/overlays/b2b-sport-catalog/README.md +64 -0
- package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +82 -0
- package/overlays/cad-projection/README.md +49 -0
- package/overlays/cad-projection/rules/cad-conventions.md +76 -0
- package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +132 -0
- package/overlays/data-analyst-stack/README.md +109 -0
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -0
- package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -0
- package/overlays/data-warehouse/README.md +133 -0
- package/overlays/data-warehouse/learning/README.md +40 -0
- package/overlays/data-warehouse/learning/learning-conventions.md +113 -0
- package/overlays/data-warehouse/learning/phase-roadmap.md +444 -0
- package/overlays/data-warehouse/learning/progress.md +38 -0
- package/overlays/data-warehouse/rules/amis-accounting-standards.md +271 -0
- package/overlays/data-warehouse/rules/duckdb-concurrency.md +362 -0
- package/overlays/data-warehouse/rules/pii-scrubbing.md +238 -0
- package/overlays/data-warehouse/rules/stocktake-tolerance.md +276 -0
- package/overlays/ecommerce-microservices/README.md +65 -0
- package/overlays/ecommerce-microservices/config/README.md +3 -0
- package/overlays/ecommerce-microservices/rules/README.md +3 -0
- package/overlays/ecommerce-microservices/skills/README.md +3 -0
- package/overlays/ecommerce-microservices/workflows/README.md +3 -0
- package/overlays/fintech-compliance/README.md +50 -0
- package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +98 -0
- package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +133 -0
- package/overlays/go-microservices/README.md +78 -0
- package/overlays/go-microservices/rules/go-conventions.md +223 -0
- package/overlays/hugo-authority-content/README.md +58 -0
- package/overlays/hugo-authority-content/config/sites.md +51 -0
- package/overlays/hugo-authority-content/roles/README.md +25 -0
- package/overlays/hugo-authority-content/rules/content-brand.md +124 -0
- package/overlays/hugo-authority-content/rules/link-topology.md +72 -0
- package/overlays/hugo-authority-content/rules/seo-authority.md +83 -0
- package/overlays/hugo-authority-content/rules/technical-article-2027.md +91 -0
- package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +77 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +103 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/agents/openai.yaml +4 -0
- package/overlays/hugo-authority-content/workflows/README.md +31 -0
- package/overlays/hugo-authority-content/workflows/affiliate-publishing.md +55 -0
- package/overlays/hugo-authority-content/workflows/article-creation-and-upgrade-lifecycle.md +426 -0
- package/overlays/hugo-authority-content/workflows/content-audit-refresh.md +105 -0
- package/overlays/hugo-authority-content/workflows/masterclass-batch-upgrade.md +66 -0
- package/overlays/hugo-authority-content/workflows/publish-series.md +126 -0
- package/overlays/hugo-authority-content/workflows/series-sync-upgrade.md +138 -0
- package/overlays/hvac-authority-content/README.md +54 -0
- package/overlays/hvac-authority-content/config/collections.md +70 -0
- package/overlays/hvac-authority-content/rules/content-schema.md +134 -0
- package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +62 -0
- package/overlays/hvac-authority-content/rules/silo-linking.md +73 -0
- package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +80 -0
- package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +102 -0
- package/overlays/laravel-ecommerce/README.md +39 -0
- package/overlays/laravel-ecommerce/config/README.md +3 -0
- package/overlays/laravel-ecommerce/roles/README.md +3 -0
- package/overlays/laravel-ecommerce/rules/elomus-design-system.md +89 -0
- package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +107 -0
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +125 -0
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/agents/openai.yaml +4 -0
- package/overlays/laravel-ecommerce/workflows/README.md +3 -0
- package/overlays/laravel-ecommerce/workflows/deploy-laravel-ecommerce.md +128 -0
- package/overlays/laravel-filament/README.md +90 -0
- package/overlays/laravel-filament/config/README.md +3 -0
- package/overlays/laravel-filament/roles/README.md +3 -0
- package/overlays/laravel-filament/rules/laravel-conventions.md +220 -0
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -0
- package/overlays/laravel-filament/skills/develop-laravel-feature/agents/openai.yaml +4 -0
- package/overlays/laravel-filament/workflows/README.md +3 -0
- package/overlays/laravel-filament/workflows/deploy-laravel.md +134 -0
- package/overlays/livestream-web/README.md +45 -0
- package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +55 -0
- package/overlays/obj-configurator/README.md +42 -0
- package/overlays/obj-configurator/rules/obj-project-rules.md +111 -0
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -0
- package/overlays/obj-configurator/skills/develop-obj-feature/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/README.md +89 -0
- package/overlays/r3f-stack/rules/stub.md +43 -0
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -0
- package/overlays/r3f-stack/skills/debug-3d-scene/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -0
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/agents/openai.yaml +4 -0
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -0
- package/overlays/r3f-stack/skills/optimize-3d-assets/agents/openai.yaml +4 -0
- package/overlays/real-estate-content/README.md +51 -0
- package/overlays/real-estate-content/config/collections.md +64 -0
- package/overlays/real-estate-content/roles/README.md +25 -0
- package/overlays/real-estate-content/rules/affiliate-links.md +54 -0
- package/overlays/real-estate-content/rules/content-schema.md +89 -0
- package/overlays/real-estate-content/rules/seo-baseline.md +53 -0
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +102 -0
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/agents/openai.yaml +4 -0
- package/overlays/real-estate-content/workflows/README.md +25 -0
- package/overlays/real-estate-content/workflows/publish-real-estate-content.md +68 -0
- package/overlays/security-research/README.md +50 -0
- package/overlays/security-research/rules/reverse-engineering-rules.md +82 -0
- package/overlays/security-research/skills/reverse-engineer-binary/SKILL.md +129 -0
- package/overlays/seo-publishing/README.md +93 -0
- package/overlays/seo-publishing/rules/publish-log-conventions.md +64 -0
- package/overlays/seo-publishing/rules/publishing-cadence.md +89 -0
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -0
- package/overlays/seo-publishing/rules/topic-board-template.md +67 -0
- package/overlays/ui-design-system/README.md +59 -0
- package/overlays/ui-design-system/rules/handoff-conventions.md +73 -0
- package/package.json +47 -4
- package/packs/README.md +223 -0
- package/packs/affiliate-cashback-team/README.md +219 -0
- package/packs/affiliate-cashback-team/manifest.yaml +125 -0
- package/packs/affiliate-cashback-team/workflows/affiliate-tri-engine-lifecycle.md +178 -0
- package/packs/b2b-catalog-team/manifest.yaml +63 -0
- package/packs/b2b-golf-team/manifest.yaml +63 -0
- package/packs/b2b-sport-team/manifest.yaml +63 -0
- package/packs/content-sprint-team/manifest.yaml +61 -0
- package/packs/data-analyst-team/manifest.yaml +65 -0
- package/packs/data-warehouse/manifest.yaml +143 -0
- package/packs/ecommerce-team/manifest.yaml +65 -0
- package/packs/global-engineering/manifest.yaml +55 -0
- package/packs/hugo-authority-team/README.md +381 -0
- package/packs/hugo-authority-team/manifest.yaml +167 -0
- package/packs/hugo-authority-team/workflows/article-creation-and-upgrade-lifecycle.md +426 -0
- package/packs/hvac-content-team/README.md +194 -0
- package/packs/hvac-content-team/manifest.yaml +117 -0
- package/packs/hvac-content-team/workflows/publish-hvac-content.md +68 -0
- package/packs/landing-pages-team/README.md +115 -0
- package/packs/landing-pages-team/manifest.yaml +91 -0
- package/packs/landing-pages-team/workflows/landing-page-creation-lifecycle.md +70 -0
- package/packs/laravel-ecommerce-team/manifest.yaml +65 -0
- package/packs/livestream-team/manifest.yaml +61 -0
- package/packs/mmo-growth-team/README.md +206 -0
- package/packs/mmo-growth-team/manifest.yaml +131 -0
- package/packs/obj-team/manifest.yaml +68 -0
- package/packs/real-estate-team/README.md +208 -0
- package/packs/real-estate-team/manifest.yaml +117 -0
- package/packs/real-estate-team/workflows/publish-real-estate-content.md +73 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# 4-Tier Analytic Rubrics & Grading Hallucination Defense
|
|
2
|
+
|
|
3
|
+
This reference guide details the standardized 4-tier analytic rubric framework for objective evaluation, establishes the anti-hallucination line citation protocol for automated grading, and defines compliance controls under the EU AI Act High-Risk AI regulatory framework for educational assessment in 2026–2027.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Standardized 4-Tier Criterion-Referenced Rubrics
|
|
8
|
+
|
|
9
|
+
Holistic single-number grading obscures specific learning needs and introduces high subjective variance. All assessments across technical domains must decompose performance into explicit, criterion-referenced rubrics across four standardized tiers.
|
|
10
|
+
|
|
11
|
+
### 1.1 The Standard 4-Tier Proficiency Scale
|
|
12
|
+
|
|
13
|
+
| Tier | Proficiency Level | Score Range | Behavioral Performance Descriptors |
|
|
14
|
+
|---|---|:---:|---|
|
|
15
|
+
| **Level 1** | **Beginning** | 0% – 49% | Critical conceptual gaps. Code fails to compile, generates runtime panics, or violates foundational architectural invariants. Written claims are ungrounded or speculative. Requires extensive Tier 2 remediation. |
|
|
16
|
+
| **Level 2** | **Developing** | 50% – 69% | Approaches standards. Core syntax and basic transformations compile, but logic fails key functional requirements, concurrent safety, or secondary edge cases. Demonstrates partial conceptual grasp. |
|
|
17
|
+
| **Level 3** | **Proficient** | 70% – 89% | Meets standards. Fully solves the primary problem, compiles cleanly, passes standard test suites, and adheres to domain best practices. May exhibit minor inefficiencies or code style redundancies. |
|
|
18
|
+
| **Level 4** | **Advanced** | 90% – 100% | Exceeds standards. Architecture is elegant, modular, and optimally robust. Correctly defends against all edge cases (null inputs, timeouts, concurrency contention). Computational complexity is optimal. |
|
|
19
|
+
|
|
20
|
+
### 1.2 Multi-Criteria Rubric Decomposition
|
|
21
|
+
Every assignment rubric must define at least two (and up to four) distinct criteria, with specific behavioral descriptors for each tier:
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
rubric_definition:
|
|
25
|
+
assignment_id: "CS-DIST-2027-01"
|
|
26
|
+
criteria:
|
|
27
|
+
- criterion_name: "Concurrency Safety & Synchronization"
|
|
28
|
+
weight_percentage: 40
|
|
29
|
+
levels:
|
|
30
|
+
level_1: "Employs no synchronization or triggers race conditions under standard go test -race (0–19 points)."
|
|
31
|
+
level_2: "Applies basic mutex locks but exhibits deadlocks or lock-upgrade race windows under stress (20–27 points)."
|
|
32
|
+
level_3: "Correctly protects shared state with sync.RWMutex; zero race conditions under concurrent test (28–35 points)."
|
|
33
|
+
level_4: "Optimal lock granularity or lock-free atomics; zero contention bottlenecks; elegant defer cleanup (36–40 points)."
|
|
34
|
+
- criterion_name: "Algorithmic Efficiency & Edge Case Defense"
|
|
35
|
+
weight_percentage: 30
|
|
36
|
+
levels:
|
|
37
|
+
level_1: "O(N^2) complexity where O(N log N) is expected; crashes on nil or empty inputs (0–14 points)."
|
|
38
|
+
level_2: "Correct average complexity; fails boundary conditions (e.g., zero capacity, integer overflow) (15–20 points)."
|
|
39
|
+
level_3: "Optimal complexity; gracefully handles nil/empty collections with structured errors (21–26 points)."
|
|
40
|
+
level_4: "Optimal complexity; minimizes heap allocations; fuzz-tested against extreme boundaries (27–30 points)."
|
|
41
|
+
- criterion_name: "Test Verification & Evidence Rigor"
|
|
42
|
+
weight_percentage: 30
|
|
43
|
+
levels:
|
|
44
|
+
level_1: "No automated tests provided, or tests pass trivially without testing logic (0–14 points)."
|
|
45
|
+
level_2: "Basic happy-path unit test provided; missing concurrent or boundary assertions (15–20 points)."
|
|
46
|
+
level_3: "Comprehensive table-driven unit tests covering happy paths and common failure modes (21–26 points)."
|
|
47
|
+
level_4: "Includes adversarial concurrency stress tests, race detection verification, and benchmarks (27–30 points)."
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 2. Anti-Hallucination Line Citation Protocol
|
|
53
|
+
|
|
54
|
+
When AI models evaluate student code or essays, they are vulnerable to *grading hallucinations*—falsely penalizing students for non-existent mistakes (e.g., claiming "Line 42 lacks error handling" when line 42 explicitly checks `if err != nil`), or inventing fabricated requirements.
|
|
55
|
+
|
|
56
|
+
### 2.1 The Verifiable Line Citation Mandate
|
|
57
|
+
To guarantee absolute grading integrity, automated evaluators and instructors must adhere to the **Verifiable Citation Mandate**:
|
|
58
|
+
1. **Mandatory Verbatim Quote**: Every point deduction must explicitly quote the student's submission line number(s) and the exact verbatim snippet being criticized.
|
|
59
|
+
2. **Grounding Verification Gate**: Automated grading systems must execute an exact substring match between the quoted snippet and the raw submission file before recording any deduction.
|
|
60
|
+
3. **Rejection of Unanchored Deductions**: Any evaluation feedback containing phrases such as *"Code could be improved"* or *"Missing error check"* without a verified line citation and verbatim quote is automatically rejected by the schema validator as an ungrounded hallucination.
|
|
61
|
+
|
|
62
|
+
### 2.2 Citation Data Structure (JSON Contract Alignment)
|
|
63
|
+
All rubric deductions must emit structured evidence matching `contracts/schemas/learning-assessment-report.json`:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"submission_line_reference": "lines 34-41",
|
|
68
|
+
"verbatim_quote": "sync.Mutex used around order state mutation; double check locking implemented",
|
|
69
|
+
"evaluator_note": "Correctly protects state mutation but read-path defer unlock introduces small contention overhead."
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 3. Anti-Superficial Fluency Filter
|
|
76
|
+
|
|
77
|
+
Large Language Models make it trivial for students to submit articulate, beautifully written essays or explanations that lack genuine technical substance ("vibe slop").
|
|
78
|
+
|
|
79
|
+
### 3.1 Fluency vs Rigor Disconnect
|
|
80
|
+
- **Superficial Fluency**: Polished grammar, academic buzzwords ("synergistic", "paradigm", "robustly"), and generic summaries of concepts without concrete proofs or executable verification.
|
|
81
|
+
- **Pedagogical Invariant**: High verbal fluency alone must never qualify a student for Level 3 (Proficient) or Level 4 (Advanced).
|
|
82
|
+
|
|
83
|
+
### 3.2 Evaluation Heuristic
|
|
84
|
+
Grader prompts and rubric checkers must apply this strict filter:
|
|
85
|
+
- If a submission is verbally eloquent but lacks:
|
|
86
|
+
- Verifiable mathematical derivations or formal proofs,
|
|
87
|
+
- Concrete code snippets with deterministic test results, or
|
|
88
|
+
- Direct citations of empirical artifacts (logs, profiles, benchmarks),
|
|
89
|
+
- The submission's maximum score is **capped at Level 2 (Developing)**.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 4. EU AI Act High-Risk AI Human Verification Gate
|
|
94
|
+
|
|
95
|
+
Under the European Union Artificial Intelligence Act (effective August 2026), AI systems used in education and vocational training to evaluate learning outcomes or assess student competencies are legally classified as **High-Risk AI Systems**.
|
|
96
|
+
|
|
97
|
+
### 4.1 Legal & Operational Invariants
|
|
98
|
+
1. **Prohibition of Autonomous High-Stakes Grading**: AI agents may only act as evaluative assistants drafting recommended scores. Autonomous release of AI-generated grades for accredited credit, course progression, or disciplinary records without human educator review is strictly prohibited.
|
|
99
|
+
2. **Mandatory Audit Trail**: Every assessment record must encapsulate immutable metadata identifying the AI model, educator reviewer, timestamp, and approval status.
|
|
100
|
+
|
|
101
|
+
### 4.2 Mandatory Audit Metadata Specification
|
|
102
|
+
Every emitted `learning-assessment-report.json` must include the fully populated audit block:
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"audit_metadata": {
|
|
107
|
+
"graded_by_ai": true,
|
|
108
|
+
"reviewed_by": "Dr. Sarah Chen (Senior Faculty ID 4401)",
|
|
109
|
+
"ai_model": "gemini-2.5-pro",
|
|
110
|
+
"verification_status": "verified_and_approved",
|
|
111
|
+
"verification_timestamp": "2026-09-05T08:00:00Z",
|
|
112
|
+
"human_reviewer_comments": "Verified line citations and approved feedback. Rule of One adhered to."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
If `verification_status` is not `"verified_and_approved"`, LMS integration webhooks must lock the grade from the student gradebook until an authorized educator signs off.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Cognitive Error Analysis & Socratic Feedback
|
|
2
|
+
|
|
3
|
+
This reference guide establishes the diagnostic taxonomy for classifying student learning errors and outlines the pedagogical protocol for delivering growth-mindset feedback enforcing Carol Dweck's educational psychology and the "Rule of One" in 2026–2027.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. The 4-Tier Cognitive Error Taxonomy
|
|
8
|
+
|
|
9
|
+
When evaluating student work, educators and evaluators must diagnose the root cognitive failure mechanism rather than merely labeling an answer "incorrect."
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
13
|
+
│ Cognitive Error Taxonomy │
|
|
14
|
+
├─────────────────────────┬─────────────────────────┬─────────────────────────┤
|
|
15
|
+
│ Conceptual │ Procedural │ Boundary / Edge Case │
|
|
16
|
+
│ Misunderstanding │ Execution Error │ Blindspot │
|
|
17
|
+
│ │ │ │
|
|
18
|
+
│ - Flawed mental model │ - Correct mental model │ - Happy path succeeds │
|
|
19
|
+
│ - Broken domain axioms │ - Syntax / off-by-one │ - Fails on null/overflow│
|
|
20
|
+
│ - Re-anchor schemas │ - Linter / unit test │ - Counter-example test │
|
|
21
|
+
├─────────────────────────┴─────────────────────────┴─────────────────────────┤
|
|
22
|
+
│ Cognitive Overload Interference │
|
|
23
|
+
│ - High element interactivity (>3–5 elements) saturates working memory │
|
|
24
|
+
│ - Solution: Decompose task into sequenced sub-schemas │
|
|
25
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 1.1 Conceptual Misunderstandings (Flawed Mental Models)
|
|
29
|
+
- **Nature**: The learner holds an incorrect theoretical model of how the underlying system operates.
|
|
30
|
+
- **Manifestations**:
|
|
31
|
+
- Confusing concurrency with parallelism (e.g., believing that spawning 10,000 goroutines on a single-core CPU provides 10,000x speedup).
|
|
32
|
+
- Assuming HTTP `GET` requests are inherently idempotent and secure because they do not carry request bodies.
|
|
33
|
+
- Misunderstanding variable scoping in closures within asynchronous loops.
|
|
34
|
+
- **Pedagogical Remediation**: Do not provide quick syntax fixes. Re-anchor the foundational schema using physical analogies, memory trace diagrams, or formal invariant definitions.
|
|
35
|
+
|
|
36
|
+
### 1.2 Procedural Execution Errors (Slips & Mechanical Lapses)
|
|
37
|
+
- **Nature**: The learner's mental model is correct, but execution slips occurred during translation into code or calculations.
|
|
38
|
+
- **Manifestations**:
|
|
39
|
+
- Off-by-one loop indexing (`i <= len(slice)` instead of `i < len(slice)`).
|
|
40
|
+
- Typographical mistakes in variable names or misplaced return statements.
|
|
41
|
+
- Applying addition instead of multiplication in a known formula.
|
|
42
|
+
- **Pedagogical Remediation**: Provide Hint Level 1 (Constraint Focus) directing attention to the offending line, or encourage running the compiler/linter. Avoid over-explaining the concept.
|
|
43
|
+
|
|
44
|
+
### 1.3 Boundary & Edge-Case Blindspots
|
|
45
|
+
- **Nature**: The learner successfully implements the core transformation for standard happy-path inputs, but fails to consider boundary conditions or adversarial states.
|
|
46
|
+
- **Manifestations**:
|
|
47
|
+
- Function panics when receiving a nil pointer, empty array, or zero capacity.
|
|
48
|
+
- Integer overflow when calculating midpoints (`(low + high) / 2`).
|
|
49
|
+
- Network timeout or connection drop unhandled in distributed RPC calls.
|
|
50
|
+
- **Pedagogical Remediation**: Present an adversarial test case or counter-example that exercises the unhandled boundary. Prompt the student to observe the runtime failure and formulate a guard condition.
|
|
51
|
+
|
|
52
|
+
### 1.4 Cognitive Overload Interference
|
|
53
|
+
- **Nature**: The learner exhibits disorganization, fragmented logic, or incomplete implementations because the task's element interactivity exceeded working memory capacity ($> 3\text{--}5$ interacting novel elements).
|
|
54
|
+
- **Manifestations**:
|
|
55
|
+
- Abandoning structured design; mixing unrelated concerns in a monolithic function.
|
|
56
|
+
- Attempting to handle caching, authentication, database transactions, and parsing all at once.
|
|
57
|
+
- **Pedagogical Remediation**: Pause the assignment. Decompose the challenge into isolated sub-problems. Provide a faded worked example for the initial stage before resuming.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 2. Growth-Mindset Feedback Science (Carol Dweck)
|
|
62
|
+
|
|
63
|
+
Feedback tone profoundly influences learner persistence and self-efficacy. In accordance with Carol Dweck's growth-mindset research, feedback must praise deliberate process rather than innate ability.
|
|
64
|
+
|
|
65
|
+
### 2.1 Process Praise vs Ability Praise
|
|
66
|
+
|
|
67
|
+
| Category | Ineffective / Harmful Praise (Fixed Mindset) | Effective Growth-Mindset Praise (Process & Strategy) |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| **High Achievement** | "You are a natural genius at distributed systems!" | "Your methodical approach to diagramming the Raft election state machine before writing code produced exceptionally clean synchronization logic." |
|
|
70
|
+
| **Effort & Grit** | "At least you tried your best." | "I appreciate how systematically you isolated the race condition by adding deterministic logging before attempting a fix." |
|
|
71
|
+
| **Debugging** | "You are so smart for figuring that out so quickly." | "Your persistence in authoring an automated reproduction test allowed you to catch the subtle race condition on line 42." |
|
|
72
|
+
|
|
73
|
+
*Why Fixed Praise Fails*: Telling students they are "smart" creates anxiety around maintaining that perception, causing them to avoid challenging DOK 3/4 tasks where failure is possible.
|
|
74
|
+
|
|
75
|
+
### 2.2 The "Not-Yet" Constructive Framing
|
|
76
|
+
Deficiencies and failing tests must never be framed as permanent limitations. Always employ "not-yet" framing:
|
|
77
|
+
- *Harmful*: "You failed the thread-safety requirement."
|
|
78
|
+
- *Constructive*: "You have **not yet** synchronized the shared order map across concurrent client threads. With proper mutex guards, your logic will hold."
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 3. The "Rule of One" (Strict Cognitive Scaffolding Limit)
|
|
83
|
+
|
|
84
|
+
A major failure mode in automated grading and teacher feedback is the *feedback avalanche*: presenting a struggling student with 5 to 10 distinct corrections across syntax, architecture, formatting, and performance in a single review session.
|
|
85
|
+
|
|
86
|
+
### 3.1 The Cognitive Overwhelm Mechanism
|
|
87
|
+
When learners receive more than two critical corrections simultaneously:
|
|
88
|
+
- Working memory becomes saturated.
|
|
89
|
+
- Emotional defensiveness and decision fatigue trigger disengagement.
|
|
90
|
+
- Learners fix the easiest cosmetic items (e.g., indentation) while ignoring critical architectural blockers.
|
|
91
|
+
|
|
92
|
+
### 3.2 The Rule of One Protocol
|
|
93
|
+
Every feedback deliverable must restrict its critical action guidance to **strictly one high-impact remediation step**:
|
|
94
|
+
1. **Identify the Highest-Severity Blocker**: Evaluate all detected errors against the hierarchy:
|
|
95
|
+
$$\text{Conceptual Flaw} > \text{Concurrency/Data Race} > \text{Algorithmic Correctness} > \text{Boundary Blindspot} > \text{Style/Optimization}$$
|
|
96
|
+
2. **Isolate That Single Item**: Craft a single, concrete, actionable directive for the learner's immediate next iteration.
|
|
97
|
+
3. **Queue Secondary Feedback**: Store minor style improvements, linting suggestions, or secondary optimizations in the diagnostic log for subsequent review cycles.
|
|
98
|
+
4. **Pair with a Socratic Question**: Conclude the feedback with an open inquiry question guiding the student to solve that single step.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## 4. Concrete Socratic Feedback Case Study
|
|
103
|
+
|
|
104
|
+
### Context
|
|
105
|
+
Student submission implements a concurrent banking ledger in Go.
|
|
106
|
+
- *Submission*: Lines 30–45 contain an unlocked map write causing a data race under concurrent transfers. In addition, variable names are brief (`a`, `b`), and comments are missing.
|
|
107
|
+
|
|
108
|
+
### Compliant Feedback Report (Rule of One Applied)
|
|
109
|
+
|
|
110
|
+
```markdown
|
|
111
|
+
### Evaluation & Feedback for Student STU-8f2e-2027
|
|
112
|
+
|
|
113
|
+
#### 1. Strategy & Effort Praise
|
|
114
|
+
Your structured breakdown of debit and credit transaction stages in `Transfer()` shows strong procedural planning! The validation of non-negative account balances before transfer is executed cleanly.
|
|
115
|
+
|
|
116
|
+
#### 2. "Not-Yet" Framing
|
|
117
|
+
You have not yet synchronized access to the shared `accounts` map across concurrent transfer threads, which triggers a data race when two clients transfer simultaneously.
|
|
118
|
+
|
|
119
|
+
#### 3. Single Actionable Next Step (The Rule of One)
|
|
120
|
+
Focus exclusively on protecting the `accounts` map mutation by acquiring your struct's `sync.Mutex` before line 34 and deferring its unlock. (Do not worry about variable renaming or comments right now).
|
|
121
|
+
|
|
122
|
+
#### 4. Socratic Probing Question
|
|
123
|
+
What happens to memory consistency in the Go runtime if client thread A writes to `accounts["user1"]` at the exact same nanosecond that client thread B reads `accounts["user1"]`?
|
|
124
|
+
```
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: accessibility-review
|
|
3
|
+
description: Audit UI for keyboard navigation, focus order, screen-reader labels, color contrast, motion preferences, and ARIA correctness against WCAG 2.2 criteria (including Focus Not Obscured 2.4.11, Target Size 2.5.8, Accessible Authentication 3.3.8, Dragging Movements 2.5.7, Redundant Entry 3.3.7). Use automated CI gates via @axe-core/playwright for regression detection alongside manual screen-reader testing. Use when validating user-facing flows before release, after design specs land, or when fixing reported a11y defects.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Accessibility Review
|
|
8
|
+
|
|
9
|
+
Use this skill with **QA Engineer**, **Frontend Developer**, or **UI/UX Designer** when accessibility conformance must be verified explicitly.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- validating user-facing flows before release
|
|
14
|
+
- after design specs land
|
|
15
|
+
- fixing reported a11y defects
|
|
16
|
+
- running @axe-core/playwright gates + screen-reader checks
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- target WCAG 2.2 Level AA as the default baseline unless the repo documents a different bar; WCAG 2.2 AA is a superset of 2.1 AA, so a 2.1 AA obligation is satisfied by meeting 2.2 AA
|
|
21
|
+
- confirm which conformance target actually binds the project before reporting: regulatory regimes lag the latest WCAG release (see the regulatory note below)
|
|
22
|
+
- **CI gate mandate**: all PR builds must run `new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag22a', 'wcag22aa']).analyze()` and fail CI if `violations.length > 0` — automated axe scans catch ~30–50% of defects; pair with manual keyboard-only and screen reader testing
|
|
23
|
+
- use WAI-ARIA Authoring Practices Guide (APG) 2.2 keyboard interaction patterns as the authoritative reference for widget types (combobox, dialog, menu, tabs, tree) — do not invent ad-hoc keyboard patterns
|
|
24
|
+
- audit the Success Criteria added in WCAG 2.2 at Level A/AA:
|
|
25
|
+
- **3.3.8 Accessible Authentication (AA)**: Ensure cognitive function tests (such as memorizing passwords/usernames or solving puzzles) are not required for login processes without alternatives. (3.3.9 is the AAA variant — out of scope for an AA baseline.)
|
|
26
|
+
- **3.3.7 Redundant Entry (A)**: Avoid requiring users to re-enter information previously entered in the same process; instead, auto-populate or provide selectable choices.
|
|
27
|
+
- **2.4.11 Focus Not Obscured (Minimum) (AA)**: Verify the focused component is not entirely hidden by author-created content such as sticky headers, cookie banners, or floating chat widgets. (2.4.12 Focus Not Obscured (Enhanced) is AAA.)
|
|
28
|
+
- **2.4.13 Focus Appearance (AAA)**: Focus indicator minimum area and 3:1 contrast against adjacent colors. This is **Level AAA** — report it as an enhancement, not an AA failure.
|
|
29
|
+
- **2.5.7 Dragging Movements (AA)**: Provide a single-pointer alternative (e.g. click/tap controls) for any functionality requiring dragging.
|
|
30
|
+
- **2.5.8 Target Size (Minimum) (AA)**: Pointer targets are at least 24x24 CSS pixels, or meet one of the spacing/inline/essential exceptions.
|
|
31
|
+
- evaluate Cognitive Accessibility (COGA) requirements:
|
|
32
|
+
- **Plain Language**: Keep instructions and UI labels simple and concise.
|
|
33
|
+
- **Error Prevention**: Provide automatic suggestions, warnings, and clear instructions before submission.
|
|
34
|
+
- **Memory Aids**: Avoid placeholder-only labels; maintain persistent context and visual cues.
|
|
35
|
+
- audit ARIA annotation roles and attributes on dynamic elements, treating them as progressive enhancement (WAI-ARIA 1.3 is still a Working Draft and support is uneven):
|
|
36
|
+
- Use `suggestion`, `comment`, and `mark` roles for editorial markup and user feedback panels.
|
|
37
|
+
- Use `aria-description` for a detailed text description, and `aria-braillelabel` / `aria-brailleroledescription` for braille readers.
|
|
38
|
+
- Never rely on an annotation role as the only accessible name or state; keep a 1.2-compatible fallback.
|
|
39
|
+
- test keyboard-only paths for every primary task in scope; `Tab`, `Shift+Tab`, `Enter`, `Space`, `Escape` must be 100% operable with visible, non-obscured focus indicators (3:1 contrast ratio minimum)
|
|
40
|
+
- verify visible focus indicators and logical tab order
|
|
41
|
+
- ensure images, icons, and controls have accessible names (text or aria-label)
|
|
42
|
+
- check color contrast for text and interactive states; do not rely on color alone
|
|
43
|
+
- respect `prefers-reduced-motion` when animations are present
|
|
44
|
+
- cite concrete selectors, routes, or component names for every finding
|
|
45
|
+
- route visual/IA issues without a11y impact to `design-review`; route logic bugs to `review-code`
|
|
46
|
+
|
|
47
|
+
## Suggested Process
|
|
48
|
+
|
|
49
|
+
### 1. Define Scope
|
|
50
|
+
|
|
51
|
+
- routes, components, or ux-flow-spec screens in scope
|
|
52
|
+
- supported browsers and assistive tech assumptions from repo docs
|
|
53
|
+
- whether design specs already document a11y behavior
|
|
54
|
+
|
|
55
|
+
### 2. Static Spec Review
|
|
56
|
+
|
|
57
|
+
When specs exist:
|
|
58
|
+
|
|
59
|
+
- copy_per_state includes announcements for dynamic updates
|
|
60
|
+
- focus trap and escape behavior documented for modals
|
|
61
|
+
- error messages associated with fields (aria-describedby pattern)
|
|
62
|
+
|
|
63
|
+
### 3. Implementation Review
|
|
64
|
+
|
|
65
|
+
- semantic HTML landmarks (main, nav, heading order)
|
|
66
|
+
- form labels, grouping, and error association
|
|
67
|
+
- custom widgets: roles, states, keyboard handlers
|
|
68
|
+
- live regions for toasts and async status
|
|
69
|
+
|
|
70
|
+
### 4. Manual Checks
|
|
71
|
+
|
|
72
|
+
- tab through primary flow without mouse
|
|
73
|
+
- activate controls with Enter/Space where expected
|
|
74
|
+
- screen reader spot-check on critical path (if tooling available)
|
|
75
|
+
|
|
76
|
+
### 5. Report
|
|
77
|
+
|
|
78
|
+
List violations by severity: critical (blocks task) | serious | moderate | minor.
|
|
79
|
+
|
|
80
|
+
Recommend fix pattern, not only failure description.
|
|
81
|
+
|
|
82
|
+
### WCAG 2.2 AA Baseline
|
|
83
|
+
|
|
84
|
+
Audit these Success Criteria as the AA baseline. Levels are stated explicitly so AAA enhancements are never reported as AA failures:
|
|
85
|
+
- **3.3.8 Accessible Authentication (AA)**: Do not require cognitive tests (e.g., copy-paste blocks, security questions, puzzles) for authentication without a mechanism that does not require one or provides support.
|
|
86
|
+
- **3.3.7 Redundant Entry (A)**: Previously entered data in a single multi-step workflow must be auto-populated or selectable (except for security/re-verification inputs).
|
|
87
|
+
- **2.4.11 Focus Not Obscured (Minimum) (AA)**: The focused component must not be entirely hidden by author-created content (sticky headers, banners, floating widgets).
|
|
88
|
+
- **2.5.7 Dragging Movements (AA)**: Provide click or tap alternatives for dragging functions (e.g. sliders, canvas manipulation).
|
|
89
|
+
- **2.5.8 Target Size (Minimum) (AA)**: Pointer targets at least 24x24 CSS px unless a spacing, inline, or essential exception applies.
|
|
90
|
+
- **2.4.13 Focus Appearance (AAA)**: Focus indicator minimum area and 3:1 contrast. Report as an enhancement.
|
|
91
|
+
|
|
92
|
+
### Regulatory Baseline (verify before citing)
|
|
93
|
+
|
|
94
|
+
Regulatory obligations lag the latest WCAG release. State which version actually binds the project rather than assuming 2.2:
|
|
95
|
+
- **ISO/IEC 40500:2025** ratifies **WCAG 2.2** as an international standard.
|
|
96
|
+
- **EU European Accessibility Act** has applied since **28 June 2025**; the harmonised standard is **EN 301 549**, whose current version maps to **WCAG 2.1 AA**. The update to WCAG 2.2 is still pending, so do not cite the EAA as a WCAG 2.2 mandate.
|
|
97
|
+
- **US DOJ ADA Title II final rule** specifies **WCAG 2.1 AA** and binds state and local government entities only. An interim final rule issued **20 April 2026** extended the compliance deadline to **26 April 2027** (2028 for small entities). It is not a WCAG 2.2 driver.
|
|
98
|
+
|
|
99
|
+
Targeting 2.2 AA still satisfies all of the above, because 2.2 AA is a superset of 2.1 AA. Cite the binding regime accurately when justifying the bar.
|
|
100
|
+
|
|
101
|
+
### 2026: Cognitive Accessibility (COGA)
|
|
102
|
+
Design and review UIs with COGA guidelines to assist users with cognitive and learning disabilities:
|
|
103
|
+
- **Plain Language**: Avoid jargon, keep paragraphs short, and structure text logically.
|
|
104
|
+
- **Error Prevention**: Provide contextual help, input format suggestions, and clear error notifications with actionable recovery steps.
|
|
105
|
+
- **Memory Aids**: Display persistent labels, ensure context remains visible across steps, and do not rely on short-term memory (e.g. keep instructions visible during input).
|
|
106
|
+
|
|
107
|
+
### ARIA Annotations (progressive enhancement)
|
|
108
|
+
|
|
109
|
+
WAI-ARIA 1.3 is a Working Draft and these annotation roles are still marked proposed by implementers. Use them additively, never as the sole carrier of a name, role, or state:
|
|
110
|
+
- **suggestion**: Use to mark up proposed additions or deletions in collaborative text fields.
|
|
111
|
+
- **comment**: Use to identify user-submitted commentary, annotations, or discussion threads.
|
|
112
|
+
- **mark**: Use to indicate text marked or highlighted for relevance or reference.
|
|
113
|
+
- **aria-description**: Provide an explicit descriptive string to assistive devices without needing an ID reference.
|
|
114
|
+
- **aria-braillelabel** and **aria-brailleroledescription**: Provide braille-optimized label and role description text. These are the only two braille ARIA attributes that exist — there is no `aria-braillevaluedescription`.
|
|
115
|
+
|
|
116
|
+
## Checklist
|
|
117
|
+
|
|
118
|
+
- [ ] scope routes/components listed
|
|
119
|
+
- [ ] keyboard path completes primary user task
|
|
120
|
+
- [ ] focus order is logical and focus visible
|
|
121
|
+
- [ ] interactive elements have accessible names
|
|
122
|
+
- [ ] images and icons have alt text or are marked decorative
|
|
123
|
+
- [ ] color contrast checked for text and controls
|
|
124
|
+
- [ ] motion respects reduced-motion preference when applicable
|
|
125
|
+
- [ ] findings tied to files or components with severity
|
|
126
|
+
- [ ] WCAG 2.2 A/AA new SCs verified (Accessible Auth 3.3.8, Redundant Entry 3.3.7, Focus Not Obscured 2.4.11, Dragging Movements 2.5.7, Target Size 2.5.8)
|
|
127
|
+
- [ ] AAA items (2.4.13 Focus Appearance) reported as enhancements, not AA failures
|
|
128
|
+
- [ ] binding regulatory target confirmed (EN 301 549 / DOJ Title II map to WCAG 2.1 AA; ISO/IEC 40500:2025 maps to 2.2)
|
|
129
|
+
- [ ] Cognitive accessibility (COGA) principles (plain language, error prevention, memory aids) reviewed
|
|
130
|
+
- [ ] ARIA annotation roles (suggestion, comment, mark) and attributes (aria-description, aria-braillelabel, aria-brailleroledescription) verified as additive only
|
|
131
|
+
|
|
132
|
+
## Failure Modes
|
|
133
|
+
|
|
134
|
+
- **A11y regression undetected**: a UI change introduces a contrast or focus issue. **Mitigation:** run axe-core on every component; surface findings as blocking; require human review for components that fail.
|
|
135
|
+
- **WCAG version drift**: the review references a deprecated WCAG criterion. **Mitigation:** validate every reference against the current WCAG version; surface the drift in the review.
|
|
136
|
+
- **Screen reader not tested**: a component passes automated checks but fails screen reader. **Mitigation:** require a manual screen reader pass on critical components; surface the missing test in the review.
|
|
137
|
+
- **Color-only signal**: a component conveys state by color alone. **Mitigation:** require an alternative signal (icon, text, ARIA); reject components with color-only state.
|
|
138
|
+
|
|
139
|
+
## Output Contracts
|
|
140
|
+
|
|
141
|
+
When the a11y review produces a structured handoff (CI gate, pre-merge
|
|
142
|
+
audit, or multi-role delivery), emit:
|
|
143
|
+
|
|
144
|
+
- **`contracts/schemas/code-review-finding.json`** adapted for a11y: each finding gets a `severity`, an `owner` (Frontend or QA), a `category` (perceivable, operable, understandable, robust), and the WCAG criterion.
|
|
145
|
+
- For human-readable reports, the markdown findings table already documented is the canonical format.
|
|
146
|
+
|
|
147
|
+
Skip emission for a single-component a11y walkthrough that does not cross a role boundary.
|
|
148
|
+
|
|
149
|
+
## Security Guardrails (OWASP ASI)
|
|
150
|
+
|
|
151
|
+
- **ASI07 Inter-Agent Communication**: a11y findings are consumed by Frontend and QA; emit a structured contract so each role can validate.
|
|
152
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a component as "WCAG-compliant" without the actual scan output; surface the residual risk honestly.
|
|
153
|
+
|
|
154
|
+
## Related Skills
|
|
155
|
+
|
|
156
|
+
- **design-ux-flow**: Add a11y notes to specs when gaps found early
|
|
157
|
+
- **design-review**: Visual hierarchy and pattern consistency
|
|
158
|
+
- **frontend-testing**: Automate regression tests for a11y fixes
|
|
159
|
+
- **review-code**: Broader code review including non-a11y risks
|
|
160
|
+
- **write-tests**: Add axe or similar checks when repo supports them
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ai-risk-assessment
|
|
3
|
+
description: Assess AI/ML system risks using NIST AI RMF 1.0 (Govern/Map/Measure/Manage) and NIST AI 600-1 GenAI Profile (12 risk categories), classify EU AI Act risk tiers, and produce an AI risk register covering hallucination thresholds, model degradation signals, bias exposure, and compliance drift. Use when onboarding a new AI feature, scoping an AI system for delivery, or conducting a periodic AI governance audit.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# AI Risk Assessment
|
|
8
|
+
|
|
9
|
+
Use this skill when a product, feature, or system involves AI/ML components that require structured risk governance before delivery commitment or continued operation. Applies NIST AI RMF 1.0 and the NIST AI 600-1 GenAI Profile alongside EU AI Act risk classification.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- onboarding a new AI feature
|
|
14
|
+
- scoping an AI system for delivery
|
|
15
|
+
- periodic AI governance audit
|
|
16
|
+
- classifying EU AI Act tiers + risk register
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- **Not a checklist**: NIST AI RMF is a "thinking structure" — apply it to inform decisions, not to fill boxes mechanically.
|
|
21
|
+
- **Govern before Map**: establish accountability and policy boundaries before inventorying risks.
|
|
22
|
+
- **Classification first**: determine EU AI Act risk tier before writing any acceptance criteria; high-risk classification changes the delivery contract.
|
|
23
|
+
- **GenAI-specific**: for LLM/generative AI systems, apply all 12 NIST AI 600-1 risk categories — standard software risk assessments are insufficient.
|
|
24
|
+
- **Living register**: the AI risk register is a delivery artifact maintained throughout the system's lifecycle, not a one-time document.
|
|
25
|
+
- **HITL is mandatory for high-risk**: Human-in-the-Loop is not a UX preference — it is a regulatory requirement for EU AI Act high-risk systems.
|
|
26
|
+
- **EU AI Act Article 50 transparency obligations are enforceable from August 2026**: all GPAI and generative content features must implement visible user disclosure (label, watermark, tooltip) for AI-generated content — transparency obligations are no longer "upcoming" compliance, they are current requirements.
|
|
27
|
+
- **Agentic autonomy tier**: for agentic AI systems, declare the level of autonomous decision-making (supervised / semi-autonomous / fully autonomous) and classify every agent action as reversible or irreversible — irreversible actions require explicit human approval gates
|
|
28
|
+
- **OWASP ASI alignment**: map identified agentic risks to OWASP ASI01–ASI10 threat categories
|
|
29
|
+
- **Cascading failure analysis**: for multi-agent systems, trace how a single agent failure propagates through the chain and document the circuit breaker strategy
|
|
30
|
+
|
|
31
|
+
## Suggested Process
|
|
32
|
+
|
|
33
|
+
Apply the NIST AI RMF 1.0 four functions in sequence:
|
|
34
|
+
|
|
35
|
+
### 1. Govern
|
|
36
|
+
Establish organizational accountability for AI risk:
|
|
37
|
+
|
|
38
|
+
```yaml
|
|
39
|
+
governance:
|
|
40
|
+
owner: "[PM / Tech Lead / BA who is accountable]"
|
|
41
|
+
policy_profile: "[acceptable-use / restricted / prohibited]"
|
|
42
|
+
human_oversight_mechanism: "[HITL gates / monitoring / kill-switch]"
|
|
43
|
+
review_cadence: "[monthly / quarterly / per-release]"
|
|
44
|
+
escalation_path: "[who decides on risk acceptance]"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 2. Map
|
|
48
|
+
Identify and contextualize AI risks:
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
system_context:
|
|
52
|
+
intended_use: "[primary task the AI is performing]"
|
|
53
|
+
users_and_stakeholders: "[who is affected]"
|
|
54
|
+
data_sources: "[training, validation, retrieval sources]"
|
|
55
|
+
deployment_environment: "[edge / cloud / on-prem / hybrid]"
|
|
56
|
+
dependency_chain: "[models, APIs, third-party services relied upon]"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. Measure (NIST AI 600-1 — 12 GenAI Risk Categories)
|
|
60
|
+
|
|
61
|
+
Assess each category for relevance and severity:
|
|
62
|
+
|
|
63
|
+
| # | Risk Category | In Scope? | Severity | Mitigation |
|
|
64
|
+
|---|---|---|---|---|
|
|
65
|
+
| 1 | **Confabulation / Hallucination** | [yes/no] | [H/M/L] | |
|
|
66
|
+
| 2 | **CBRN Information Hazards** | [yes/no] | [H/M/L] | |
|
|
67
|
+
| 3 | **Cyberattacks / Malicious Code** | [yes/no] | [H/M/L] | |
|
|
68
|
+
| 4 | **Data Privacy Violations** | [yes/no] | [H/M/L] | |
|
|
69
|
+
| 5 | **Environmental Impacts** | [yes/no] | [H/M/L] | |
|
|
70
|
+
| 6 | **Harmful Bias & Homogenization** | [yes/no] | [H/M/L] | |
|
|
71
|
+
| 7 | **Human-AI Configuration Failures** | [yes/no] | [H/M/L] | |
|
|
72
|
+
| 8 | **Information Integrity (Disinformation)** | [yes/no] | [H/M/L] | |
|
|
73
|
+
| 9 | **Intellectual Property Infringement** | [yes/no] | [H/M/L] | |
|
|
74
|
+
| 10 | **Obscene / Harmful Content** | [yes/no] | [H/M/L] | |
|
|
75
|
+
| 11 | **Value Chain & Component Risks** | [yes/no] | [H/M/L] | |
|
|
76
|
+
| 12 | **Societal \& Macro-Level Harms** | [yes/no] | [H/M/L] | |
|
|
77
|
+
|
|
78
|
+
### 4. Manage
|
|
79
|
+
Prioritize and mitigate identified risks:
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
risk_treatments:
|
|
83
|
+
- risk: "Hallucination in user-facing output"
|
|
84
|
+
treatment: "Output validation layer + human review for high-stakes decisions"
|
|
85
|
+
owner: "Backend Developer + QA Engineer"
|
|
86
|
+
deadline: "[sprint or date]"
|
|
87
|
+
residual_risk: "[acceptable / requires escalation]"
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## EU AI Act Risk Classification
|
|
91
|
+
|
|
92
|
+
Determine risk tier before delivery commitment:
|
|
93
|
+
|
|
94
|
+
| Tier | Examples | Compliance Obligations |
|
|
95
|
+
|---|---|---|
|
|
96
|
+
| **Unacceptable** | Social scoring, real-time biometric surveillance | **Prohibited** — do not build |
|
|
97
|
+
| **High-risk** | CV screening, credit scoring, safety-critical systems, autonomous agents in regulated domains | Conformity assessment, audit logging, HITL, bias assessment, QMS |
|
|
98
|
+
| **Limited-risk** | Chatbots, deepfakes with disclosure | Transparency obligations only |
|
|
99
|
+
| **Minimal-risk** | Spam filters, AI-powered games | Voluntary code of conduct |
|
|
100
|
+
|
|
101
|
+
```yaml
|
|
102
|
+
eu_ai_act:
|
|
103
|
+
risk_tier: "[high-risk / limited-risk / minimal-risk / not-applicable]"
|
|
104
|
+
classification_rationale: "[why this tier was assigned]"
|
|
105
|
+
conformity_assessment_required: "[yes / no]"
|
|
106
|
+
audit_logging_required: "[yes / no]"
|
|
107
|
+
hitl_required: "[yes / no]"
|
|
108
|
+
bias_assessment_required: "[yes / no]"
|
|
109
|
+
target_compliance_date: "2027-12-02" # standalone high-risk systems deadline
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
> ⚠️ **Deadline note**: EU AI Act high-risk system enforcement — standalone: 2 December 2027; embedded in products: 2 August 2028 (AI Omnibus update). Use this date for high-risk planning, not "2026." Separately, do not treat 2026 as empty: **Article 50 transparency obligations and GPAI penalty powers became applicable 2 August 2026** — those are not deferred. Additional 2027 runway milestones: **GPAI models placed on market before 2 August 2025 must comply by 2 August 2027** (legacy-model cliff); **prohibitions on non-consensual intimate imagery / CSAM-generating AI apply 2 December 2026**; Commission post-market monitoring guidance + template lands 2 September 2027; member-state AI regulatory sandboxes must be operational 2 August 2027.
|
|
113
|
+
|
|
114
|
+
## AI Risk Register Template
|
|
115
|
+
|
|
116
|
+
```yaml
|
|
117
|
+
ai_risk_register:
|
|
118
|
+
system_id: "[slug or ticket ref]"
|
|
119
|
+
assessment_date: "[YYYY-MM-DD]"
|
|
120
|
+
assessor: "[role or person]"
|
|
121
|
+
review_due: "[YYYY-MM-DD]"
|
|
122
|
+
|
|
123
|
+
governance:
|
|
124
|
+
owner: ""
|
|
125
|
+
policy_profile: ""
|
|
126
|
+
human_oversight_mechanism: ""
|
|
127
|
+
|
|
128
|
+
eu_ai_act_tier: ""
|
|
129
|
+
|
|
130
|
+
nist_600_1_risks:
|
|
131
|
+
hallucination_threshold: "[% acceptable error rate before intervention]"
|
|
132
|
+
model_degradation_signal: "[metric that triggers model review]"
|
|
133
|
+
bias_exposure: "[groups or use cases with bias risk]"
|
|
134
|
+
data_privacy_classification: "[PII sensitivity level]"
|
|
135
|
+
ip_risk: "[training data provenance status]"
|
|
136
|
+
|
|
137
|
+
owasp_asi_alignment:
|
|
138
|
+
- asi_id: "ASI01"
|
|
139
|
+
applicable: "[yes/no]"
|
|
140
|
+
mitigation: ""
|
|
141
|
+
|
|
142
|
+
compliance_drift_indicators:
|
|
143
|
+
- signal: "[what to monitor]"
|
|
144
|
+
threshold: "[when to escalate]"
|
|
145
|
+
responsible: "[who monitors]"
|
|
146
|
+
|
|
147
|
+
residual_risks:
|
|
148
|
+
- risk: ""
|
|
149
|
+
accepted_by: ""
|
|
150
|
+
accepted_date: ""
|
|
151
|
+
review_date: ""
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Checklist
|
|
155
|
+
|
|
156
|
+
- [ ] Governance owner assigned and accountability documented
|
|
157
|
+
- [ ] EU AI Act risk tier classified before any acceptance criteria written
|
|
158
|
+
- [ ] All 12 NIST AI 600-1 risk categories assessed for relevance and severity
|
|
159
|
+
- [ ] OWASP ASI01–ASI10 alignment completed for agentic systems
|
|
160
|
+
- [ ] Autonomy tier declared for agentic components (supervised / semi / fully autonomous)
|
|
161
|
+
- [ ] Action reversibility audit completed (irreversible actions identified)
|
|
162
|
+
- [ ] Hallucination threshold defined and measurable
|
|
163
|
+
- [ ] Model degradation signal defined and monitored
|
|
164
|
+
- [ ] HITL mechanism documented (if high-risk tier)
|
|
165
|
+
- [ ] AI risk register produced and stored alongside feature ticket
|
|
166
|
+
- [ ] Review cadence set for ongoing monitoring
|
|
167
|
+
|
|
168
|
+
## Failure Modes
|
|
169
|
+
|
|
170
|
+
- **Risk tier down-classified**: a feature is labeled `minimal_risk` when it triggers EU AI Act `high_risk`. **Mitigation:** require a documented rationale for any down-classification; reject the assessment when the rationale is missing.
|
|
171
|
+
- **Fail-open fallback**: a High-Risk AI feature's fallback is "show AI output anyway". **Mitigation:** reject fail-open fallbacks for High-Risk; require a deterministic alternative.
|
|
172
|
+
- **HITL trigger missing**: a High-Risk feature ships without a human-in-the-loop gate. **Mitigation:** require the HITL gate before the feature is promoted; surface the missing gate in the assessment.
|
|
173
|
+
- **AI transparency disclosure missing**: an AI feature ships without a user-facing label. **Mitigation:** require the AI label before promotion; surface the missing label in the assessment.
|
|
174
|
+
|
|
175
|
+
## Output Contracts
|
|
176
|
+
|
|
177
|
+
When completing an AI governance, safety, or compliance risk evaluation, emit:
|
|
178
|
+
|
|
179
|
+
- **`contracts/schemas/ai-risk-register.json`** — Emitted when completing an AI risk governance assessment, documenting EU AI Act tier classification, NIST AI 600-1 risk profile, OWASP ASI mitigations, and residual risk acceptance. Set `produced_by_role: ai-systems-engineer` (or assessing role).
|
|
180
|
+
|
|
181
|
+
Skip emission for non-AI software delivery slices.
|
|
182
|
+
|
|
183
|
+
## Security Guardrails (OWASP ASI)
|
|
184
|
+
|
|
185
|
+
- **ASI01 Goal Hijack**: an assessed agentic system ingests external retrieval content that can reframe its operating objective; the assessment must record prompt-injection exposure. Mitigation: require an explicit ASI01 entry in `owasp_asi_alignment` for every agentic system with external data sources.
|
|
186
|
+
- **ASI03 Identity & Privilege Abuse**: the assessed agent holds credentials whose scope exceeds its declared autonomy tier. Mitigation: verify issued credentials match the declared autonomy level (supervised / semi-autonomous / fully autonomous) and log over-privileged access as a register entry.
|
|
187
|
+
- **ASI06 Memory & Context Poisoning**: retrieval-augmented systems under assessment ingest poisoned memory that persists across sessions. Mitigation: assess cross-session memory validation as a NIST AI 600-1 Human-AI Configuration risk and document the validation mechanism in the register.
|
|
188
|
+
- **ASI08 Cascading Failures**: a multi-agent chain propagates one agent's failure downstream with no circuit breaker. Mitigation: require the cascading-failure trace and circuit breaker strategy as mandatory register content for multi-agent systems.
|
|
189
|
+
- **ASI09 Human-Agent Trust Exploitation**: the tier is down-classified or the HITL gate is waived to hit a delivery deadline, exploiting the sponsor's trust in the compliance artifact. Mitigation: require a documented rationale for any down-classification and reject High-Risk scopes without a mandatory HITL gate.
|
|
190
|
+
- **ASI10 Rogue Agents**: an autonomous component drifts beyond its authorized action set after deployment. Mitigation: classify every agent action as reversible or irreversible in the register; require explicit human approval gates for irreversible actions.
|
|
191
|
+
|
|
192
|
+
## Related Skills
|
|
193
|
+
|
|
194
|
+
- **analyze-business-requirements**: BA is the first to apply EU AI Act tier classification in `feature-ticket.json`
|
|
195
|
+
- **security-audit**: full security review that incorporates AI risk register findings
|
|
196
|
+
- **conduct-research**: domain research on AI risk context, regulations, and comparable systems
|
|
197
|
+
- **agent-tool-orchestration**: agentic action inventory required by this assessment
|
|
198
|
+
|