@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,151 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-migration
|
|
3
|
+
description: Create safe schema or data migrations by following the repo's local migration tool, naming rules, rollout constraints, and rollback expectations. Use when adding, changing, backfilling, cleaning, or repairing persisted data structures.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, query_db, read_database, run_tests]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Create Migration
|
|
8
|
+
|
|
9
|
+
Use this skill when the user needs to add or review a database schema migration, backfill, or data repair step.
|
|
10
|
+
|
|
11
|
+
## Core Rules
|
|
12
|
+
|
|
13
|
+
- follow the repo's existing migration tool, naming, and ordering conventions
|
|
14
|
+
- prefer rollout-safe additive changes before destructive changes — renaming or dropping a column/table in a single release is strictly prohibited
|
|
15
|
+
- use the Expand-Contract (Parallel Change) pattern for destructive changes: Phase 1 (Expand: add new structure), Phase 2 (Backfill: dual-write / CDC), Phase 3 (Contract: remove old structure after full cutover)
|
|
16
|
+
- every DDL migration must set `SET lock_timeout = '2s';` to prevent queuing locks behind long-running queries from taking down connection pools
|
|
17
|
+
- build indexes with `CREATE INDEX CONCURRENTLY` (PostgreSQL) or online DDL tools (`gh-ost` for MySQL) to avoid `ACCESS EXCLUSIVE` table locks on large tables
|
|
18
|
+
- backfill historical data in small batches (500–2000 rows) with sleep intervals to keep replication lag and I/O load near zero
|
|
19
|
+
- use feature flags for dual-read / shadow-read validation and instant rollback — percentage-based traffic cutover 1% → 10% → 50% → 100%
|
|
20
|
+
- keep schema changes, backfills, and cleanup in separate releases when that reduces risk
|
|
21
|
+
- make rollback behavior explicit when the repo supports rollback — document when reversal is partial or unsafe
|
|
22
|
+
- verify code and schema compatibility across staged deployment; database migrations must be deployable before application code releases
|
|
23
|
+
|
|
24
|
+
## When to Use
|
|
25
|
+
|
|
26
|
+
- adding or changing tables, collections, or indexes
|
|
27
|
+
- adding, removing, or renaming fields or columns
|
|
28
|
+
- introducing constraints or defaults
|
|
29
|
+
- performing data backfills or cleanup
|
|
30
|
+
- preparing persistence changes for a feature rollout
|
|
31
|
+
|
|
32
|
+
## Operating Assumptions
|
|
33
|
+
|
|
34
|
+
This skill is intentionally repo-agnostic.
|
|
35
|
+
|
|
36
|
+
- do not assume a specific migration tool
|
|
37
|
+
- do not assume a specific database engine
|
|
38
|
+
- do not assume SQL files are the only migration format
|
|
39
|
+
- prefer the repo's existing naming, ordering, and rollback conventions
|
|
40
|
+
|
|
41
|
+
## First Questions To Answer
|
|
42
|
+
|
|
43
|
+
Before writing the migration, confirm:
|
|
44
|
+
|
|
45
|
+
1. What persistence system is being changed?
|
|
46
|
+
2. What tool or format does this repo use for migrations?
|
|
47
|
+
3. Is the change schema-only, data-only, or both?
|
|
48
|
+
4. Can the change be rolled out safely while old and new code coexist?
|
|
49
|
+
5. What is the rollback path if deployment must be reversed?
|
|
50
|
+
|
|
51
|
+
## Suggested Process
|
|
52
|
+
|
|
53
|
+
The full 7-step workflow lives in
|
|
54
|
+
[`references/suggested-process.md`](references/suggested-process.md). Key
|
|
55
|
+
constraints the main file keeps in scope:
|
|
56
|
+
|
|
57
|
+
- Follow the repo's existing migration tool, naming, and ordering conventions.
|
|
58
|
+
- Always set `SET lock_timeout = '2s';` on DDL migrations.
|
|
59
|
+
- Always use `CREATE INDEX CONCURRENTLY` (PostgreSQL) or `gh-ost` (MySQL) for large tables.
|
|
60
|
+
- Backfill in batches of 500-2000 rows with sleep intervals; monitor replication lag.
|
|
61
|
+
- Use feature flags for dual-read / shadow-read validation and instant rollback.
|
|
62
|
+
- Keep schema changes, backfills, and cleanup in separate releases when that reduces risk.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Safety Guidelines
|
|
68
|
+
|
|
69
|
+
- prefer additive changes over destructive changes
|
|
70
|
+
- separate schema change from backfill when that reduces risk
|
|
71
|
+
- index columns that will be heavily queried after rollout
|
|
72
|
+
- avoid full-table rewrites in peak-risk paths when safer alternatives exist
|
|
73
|
+
- document assumptions for large datasets or long-running operations
|
|
74
|
+
|
|
75
|
+
For the full pattern library (additive schema change, expand-and-contract,
|
|
76
|
+
data backfill) and the common gotchas, see
|
|
77
|
+
[`references/patterns-and-gotchas.md`](references/patterns-and-gotchas.md).
|
|
78
|
+
|
|
79
|
+
## What To Capture In Your Output
|
|
80
|
+
|
|
81
|
+
When reporting migration work, include:
|
|
82
|
+
|
|
83
|
+
- what changed
|
|
84
|
+
- why the change is needed
|
|
85
|
+
- rollout safety notes
|
|
86
|
+
- rollback notes
|
|
87
|
+
- any required follow-up in code or deployment order
|
|
88
|
+
|
|
89
|
+
## Checklist
|
|
90
|
+
|
|
91
|
+
- [ ] existing migration pattern inspected
|
|
92
|
+
- [ ] current schema or data state understood
|
|
93
|
+
- [ ] rollout safety considered
|
|
94
|
+
- [ ] forward migration written
|
|
95
|
+
- [ ] rollback path written or explicitly limited
|
|
96
|
+
- [ ] dependent code updated
|
|
97
|
+
- [ ] migration verified with repo-local commands
|
|
98
|
+
- [ ] release ordering or backfill notes captured
|
|
99
|
+
- [ ] for destructive changes, Expand-Contract pattern documented with phases
|
|
100
|
+
- [ ] for PostgreSQL, `SET lock_timeout = '2s';` set on every DDL migration
|
|
101
|
+
- [ ] for large tables, index built with `CREATE INDEX CONCURRENTLY` (PG) or `gh-ost` (MySQL)
|
|
102
|
+
- [ ] backfill is batched (500-2000 rows) and restartable; replication lag and I/O load monitored
|
|
103
|
+
- [ ] data-classification.yaml applied to any column that stores PII or restricted data
|
|
104
|
+
|
|
105
|
+
## Quick Reference
|
|
106
|
+
|
|
107
|
+
Use this for rapid migration creation:
|
|
108
|
+
|
|
109
|
+
- inspect existing migrations
|
|
110
|
+
- match naming and ordering
|
|
111
|
+
- design the safest rollout shape
|
|
112
|
+
- write forward and rollback steps
|
|
113
|
+
- update dependent code
|
|
114
|
+
- verify locally
|
|
115
|
+
|
|
116
|
+
## Related Skills
|
|
117
|
+
|
|
118
|
+
- **optimize-postgres**: Optimize connection pooling, EXPLAIN ANALYZE query plans, and zero-downtime DDL safeguards
|
|
119
|
+
- **troubleshoot-service**: Debug migration failures and rollout issues
|
|
120
|
+
- **commit-code**: Prepare migration changes for delivery
|
|
121
|
+
- **review-code**: Review safety, compatibility, and rollback risk
|
|
122
|
+
- **write-tests**: Add regression coverage for schema-sensitive behavior
|
|
123
|
+
- **review-service**: Validate release readiness for persistence changes
|
|
124
|
+
|
|
125
|
+
## Output Contracts
|
|
126
|
+
|
|
127
|
+
- `contracts/schemas/schema-migration.json`
|
|
128
|
+
|
|
129
|
+
When the migration is consumed by a release manager, an infra agent, or a
|
|
130
|
+
downstream reviewer, emit the JSON contract alongside the migration file.
|
|
131
|
+
The JSON must name the migration's forward and rollback behavior, the
|
|
132
|
+
rollout phases (Expand-Contract when applicable), the batch size for any
|
|
133
|
+
backfill, and the data classification of any new column.
|
|
134
|
+
|
|
135
|
+
## Failure Modes
|
|
136
|
+
|
|
137
|
+
- **Single-release destructive change**: a column is renamed or dropped in a single release. Mitigation: enforce the Expand-Contract pattern; reject migrations that combine remove-old and add-new without a dual-write phase.
|
|
138
|
+
- **Lock pool starvation**: a long-running DDL blocks the connection pool. Mitigation: set `SET lock_timeout = '2s';` on every DDL migration; surface timeout as a CI failure.
|
|
139
|
+
- **ACCESS EXCLUSIVE on a large table**: a `CREATE INDEX` locks the table for writes. Mitigation: use `CREATE INDEX CONCURRENTLY` (PostgreSQL) or `gh-ost` (MySQL) for large tables.
|
|
140
|
+
- **Unbatched backfill**: a backfill rewrites millions of rows in a single statement. Mitigation: batch in 500-2000 row chunks with sleep intervals; monitor replication lag and I/O load.
|
|
141
|
+
- **Rollback over-promised**: the rollback path is declared "safe" but the destructive change is not reversible. Mitigation: document the rollback as "partial" or "unsafe" when the data has already changed; never claim a destructive data change is fully reversible.
|
|
142
|
+
- **PII column added without classification**: a new column stores customer PII but is not classified. Mitigation: classify every new column with `data-classification.yaml`; surface restricted columns in the migration report.
|
|
143
|
+
- **Permanent flag without cleanup**: a feature flag is introduced to gate the migration but has no cleanup target. Mitigation: every flag must carry an ISO 8601 cleanup target.
|
|
144
|
+
|
|
145
|
+
## Security Guardrails (OWASP ASI)
|
|
146
|
+
|
|
147
|
+
- **ASI03 Identity & Privilege Abuse**: the migration's privileged database role must be scoped to the minimum required grants; reject migrations that run under a superuser role when a scoped role would suffice.
|
|
148
|
+
- **ASI05 RCE Guard**: never construct migration SQL from external or user-supplied content; treat the migration file as the source of truth and lint it against expected patterns.
|
|
149
|
+
- **ASI06 Memory & Context Poisoning**: when the migration is informed by retrieved memory (e.g., a prior migration's notes), validate every note against the live schema before relying on it.
|
|
150
|
+
- **ASI07 Inter-Agent Communication**: the migration is consumed by release and infra agents; emit a structured `schema-migration.json` so each consumer can validate the rollout plan.
|
|
151
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not declare a destructive migration "safe" without naming the residual risk; surface partial-rollback or unsafe-rollback honestly.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Create Migration — Reference
|
|
2
|
+
|
|
3
|
+
Deep material extracted from `SKILL.md` to keep the main file under 200 lines.
|
|
4
|
+
Load this file when designing a non-trivial migration, when reviewing
|
|
5
|
+
rollback safety, or when authoring a backfill.
|
|
6
|
+
|
|
7
|
+
## Safety Guidelines
|
|
8
|
+
|
|
9
|
+
- Prefer additive changes over destructive changes.
|
|
10
|
+
- Separate schema change from backfill when that reduces risk.
|
|
11
|
+
- Index columns that will be heavily queried after rollout.
|
|
12
|
+
- Avoid full-table rewrites in peak-risk paths when safer alternatives exist.
|
|
13
|
+
- Document assumptions for large datasets or long-running operations.
|
|
14
|
+
|
|
15
|
+
## Common Migration Patterns
|
|
16
|
+
|
|
17
|
+
### Additive Schema Change
|
|
18
|
+
|
|
19
|
+
Best for:
|
|
20
|
+
|
|
21
|
+
- new table or collection
|
|
22
|
+
- new nullable field
|
|
23
|
+
- new field with safe default
|
|
24
|
+
- new index
|
|
25
|
+
|
|
26
|
+
### Expand And Contract
|
|
27
|
+
|
|
28
|
+
Best for:
|
|
29
|
+
|
|
30
|
+
- renaming fields
|
|
31
|
+
- changing types
|
|
32
|
+
- splitting one field into several
|
|
33
|
+
- removing old columns safely
|
|
34
|
+
|
|
35
|
+
Typical flow:
|
|
36
|
+
|
|
37
|
+
1. add new structure
|
|
38
|
+
2. dual-write or backfill
|
|
39
|
+
3. migrate reads
|
|
40
|
+
4. remove old structure later
|
|
41
|
+
|
|
42
|
+
### Data Backfill
|
|
43
|
+
|
|
44
|
+
Best for:
|
|
45
|
+
|
|
46
|
+
- normalizing old values
|
|
47
|
+
- populating new required fields
|
|
48
|
+
- repairing inconsistent records
|
|
49
|
+
|
|
50
|
+
Keep the backfill restartable and observable when possible.
|
|
51
|
+
|
|
52
|
+
## Common Gotchas
|
|
53
|
+
|
|
54
|
+
1. A migration that works on an empty database may still fail on real data.
|
|
55
|
+
2. Destructive changes often need a multi-step rollout, not a single migration.
|
|
56
|
+
3. Large index builds or constraint changes may need special handling in the local tool.
|
|
57
|
+
4. Code and schema must remain compatible during rollout, not just after rollout.
|
|
58
|
+
5. Rollback may be operationally different from logical reversal when data has already changed.
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# Create Migration — Suggested Process (Reference)
|
|
2
|
+
|
|
3
|
+
Detailed migration workflow extracted from `SKILL.md` to keep the main file
|
|
4
|
+
under 200 lines. Load this file when writing a new migration, reviewing a
|
|
5
|
+
destructive change, or designing a backfill.
|
|
6
|
+
|
|
7
|
+
## Operating Assumptions
|
|
8
|
+
|
|
9
|
+
This skill is intentionally repo-agnostic.
|
|
10
|
+
|
|
11
|
+
- Do not assume a specific migration tool.
|
|
12
|
+
- Do not assume a specific database engine.
|
|
13
|
+
- Do not assume SQL files are the only migration format.
|
|
14
|
+
- Prefer the repo's existing naming, ordering, and rollback conventions.
|
|
15
|
+
|
|
16
|
+
## First Questions To Answer
|
|
17
|
+
|
|
18
|
+
Before writing the migration, confirm:
|
|
19
|
+
|
|
20
|
+
1. What persistence system is being changed?
|
|
21
|
+
2. What tool or format does this repo use for migrations?
|
|
22
|
+
3. Is the change schema-only, data-only, or both?
|
|
23
|
+
4. Can the change be rolled out safely while old and new code coexist?
|
|
24
|
+
5. What is the rollback path if deployment must be reversed?
|
|
25
|
+
|
|
26
|
+
## Suggested Process
|
|
27
|
+
|
|
28
|
+
### Step 1: Inspect Existing Migrations
|
|
29
|
+
|
|
30
|
+
Find:
|
|
31
|
+
|
|
32
|
+
- migration location
|
|
33
|
+
- naming pattern
|
|
34
|
+
- sequencing or timestamp convention
|
|
35
|
+
- whether the repo separates schema changes from data backfills
|
|
36
|
+
|
|
37
|
+
Match the local pattern instead of inventing a new one.
|
|
38
|
+
|
|
39
|
+
### Step 2: Understand Current State
|
|
40
|
+
|
|
41
|
+
Review the latest relevant migrations and the current persistence model.
|
|
42
|
+
|
|
43
|
+
Check:
|
|
44
|
+
|
|
45
|
+
- current schema shape
|
|
46
|
+
- existing indexes and constraints
|
|
47
|
+
- data volume and table size if available
|
|
48
|
+
- current application assumptions in code
|
|
49
|
+
|
|
50
|
+
### Step 3: Design For Safe Rollout
|
|
51
|
+
|
|
52
|
+
Prefer migrations that are safe across staged rollout:
|
|
53
|
+
|
|
54
|
+
- additive changes before destructive ones
|
|
55
|
+
- nullable or defaulted fields before strict enforcement
|
|
56
|
+
- backfills before making new constraints mandatory
|
|
57
|
+
- separate risky index builds or long-running steps when needed
|
|
58
|
+
|
|
59
|
+
Avoid combining multiple high-risk changes in one migration unless the repo explicitly expects it.
|
|
60
|
+
|
|
61
|
+
### Step 4: Create The Migration
|
|
62
|
+
|
|
63
|
+
Use the repo's official mechanism, such as:
|
|
64
|
+
|
|
65
|
+
- migration generator command
|
|
66
|
+
- hand-written migration file
|
|
67
|
+
- framework migration scaffold
|
|
68
|
+
|
|
69
|
+
Follow local naming rules and keep the description precise.
|
|
70
|
+
|
|
71
|
+
### Step 5: Write Forward And Rollback Logic
|
|
72
|
+
|
|
73
|
+
The migration should make both directions explicit whenever the repo supports rollback.
|
|
74
|
+
|
|
75
|
+
Forward logic should:
|
|
76
|
+
|
|
77
|
+
- make the intended shape change
|
|
78
|
+
- preserve data safety
|
|
79
|
+
- avoid unnecessary locking or long blocking operations
|
|
80
|
+
|
|
81
|
+
Rollback logic should:
|
|
82
|
+
|
|
83
|
+
- reverse the change cleanly when practical
|
|
84
|
+
- document when reversal is partial or unsafe
|
|
85
|
+
- avoid pretending a destructive data change is fully reversible when it is not
|
|
86
|
+
|
|
87
|
+
### Step 6: Update The Code That Depends On The Schema
|
|
88
|
+
|
|
89
|
+
After the migration, update the repo-local persistence code as needed:
|
|
90
|
+
|
|
91
|
+
- models or entity mappings
|
|
92
|
+
- repositories or query layers
|
|
93
|
+
- validation or serialization logic
|
|
94
|
+
- feature flags or compatibility shims
|
|
95
|
+
|
|
96
|
+
Do not assume paths like `internal/data/model` or any specific layer names. Follow the local structure.
|
|
97
|
+
|
|
98
|
+
### Step 7: Verify Locally
|
|
99
|
+
|
|
100
|
+
Run the repo's normal validation flow:
|
|
101
|
+
|
|
102
|
+
- apply the migration forward
|
|
103
|
+
- run the relevant tests
|
|
104
|
+
- build the affected service
|
|
105
|
+
- rollback if the repo expects rollback testing
|
|
106
|
+
|
|
107
|
+
If the migration is data-sensitive or long-running, also reason through:
|
|
108
|
+
|
|
109
|
+
- ordering during deploy
|
|
110
|
+
- idempotency expectations
|
|
111
|
+
- impact on replicas, readers, or older code
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-review
|
|
3
|
+
description: Review UX flows, visual hierarchy, interaction patterns, and design-system alignment against specs and user goals. Use when validating ui-component-spec or ux-flow-spec before implementation, or critiquing marketing/product UI without reviewing application code.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Design Review
|
|
8
|
+
|
|
9
|
+
Use this skill with **UI/UX Designer** or **Reviewer** when the deliverable is design quality and spec completeness—not code correctness.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- validating ui-component-spec or ux-flow-spec
|
|
14
|
+
- critiquing marketing/product UI (no app code)
|
|
15
|
+
- checking visual hierarchy + design-system alignment
|
|
16
|
+
- reviewing interaction patterns vs goals
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- review against declared user goals, preserved behavior, and feature-ticket when provided
|
|
21
|
+
- consume `ux-flow-spec.json` and `ui-component-spec.json` when present; do not invent missing states
|
|
22
|
+
- separate blocking UX defects from polish or preference; classify findings as blocking | should-fix | suggestion
|
|
23
|
+
- every screen spec must define all 5 critical UI states: Empty, Loading/Skeleton, Populated, Error (with actionable recovery), and Unauthorized/Permission — specs missing any of these states are incomplete
|
|
24
|
+
- verify design-system tokens — all styles must reference tokens; zero hardcoded hex colors, magic spacing numbers, or raw typography values are acceptable (W3C DTCG standard)
|
|
25
|
+
- for AI-generated UI (v0.dev, Galileo, Builder.io, Copilot): run token conformance check (no hardcoded values), axe-core accessibility scan, and style namespace pollution check before development handoff
|
|
26
|
+
- require interactive Figma prototype links for flows with more than 2 screens before Frontend implementation begins
|
|
27
|
+
- do not implement UI; emit findings for Frontend or UI/UX to fix
|
|
28
|
+
- route code-level bugs to `review-code`; route a11y conformance gaps to `accessibility-review`
|
|
29
|
+
- treat AI-generated UI outputs (v0.dev, Galileo, Builder.io, Copilot) as untrusted artifacts: validate tokens, accessibility, and namespace conformance before any handoff to Frontend
|
|
30
|
+
- classify any screen content that may contain PII (forms, account recovery) with `data-classification.yaml` before publishing the spec
|
|
31
|
+
|
|
32
|
+
## Suggested Process
|
|
33
|
+
|
|
34
|
+
### 1. Gather Inputs
|
|
35
|
+
|
|
36
|
+
- feature-ticket.json, ux-flow-spec.json, ui-component-spec.json set
|
|
37
|
+
- design overlay tokens (ui-design-system, brand overlay)
|
|
38
|
+
- research-report.json or data-analysis-report.json when metrics UI is involved
|
|
39
|
+
|
|
40
|
+
### 2. Evaluate Flow Coherence
|
|
41
|
+
|
|
42
|
+
- entry and exit points match user mental model
|
|
43
|
+
- transitions are explicit; no dead ends without recovery
|
|
44
|
+
- primary task completion path is obvious
|
|
45
|
+
|
|
46
|
+
### 3. Evaluate Screens And Components
|
|
47
|
+
|
|
48
|
+
- hierarchy, spacing, typography, and CTA prominence
|
|
49
|
+
- copy clarity per state; error messages actionable
|
|
50
|
+
- consistency with existing patterns in the product
|
|
51
|
+
|
|
52
|
+
### 4. Record Findings
|
|
53
|
+
|
|
54
|
+
Classify each item: blocking | should-fix | suggestion.
|
|
55
|
+
|
|
56
|
+
Note spec gaps (missing state, missing api_field, ambiguous transition).
|
|
57
|
+
|
|
58
|
+
### 5. Hand Off
|
|
59
|
+
|
|
60
|
+
- blocking items return to UI/UX Designer before Frontend starts
|
|
61
|
+
- should-fix items may proceed with documented debt
|
|
62
|
+
- implementation-ready specs get explicit approval note
|
|
63
|
+
|
|
64
|
+
## 2026 Modern Design Review
|
|
65
|
+
|
|
66
|
+
### 2026: Figma as Canonical Design Source
|
|
67
|
+
- Treat Figma as the canonical design source where variables are directly linked to CSS tokens via Token Studio or Style Dictionary pipelines.
|
|
68
|
+
- Verify that variable overrides and component aliases correspond correctly to exported CSS tokens.
|
|
69
|
+
- Review token mappings on UI components to ensure no custom hardcoded values bypass the theme.
|
|
70
|
+
|
|
71
|
+
### 2026: AI-Generated UI Review Criteria
|
|
72
|
+
- Perform design-system alignment checks on layouts generated by tools such as v0.dev, Galileo, or Builder.io to enforce proper token use.
|
|
73
|
+
- Conduct automated accessibility checks on the generated component outputs before development handoff.
|
|
74
|
+
- Verify that generated component variations adhere strictly to the repository's styling conventions and do not pollute global CSS namespaces.
|
|
75
|
+
|
|
76
|
+
### 2026: Dark Mode Review Checklist
|
|
77
|
+
- Check semantic design tokens to ensure appropriate color contrast under dark mode.
|
|
78
|
+
- Test UI components with OS-level dark mode forced settings to verify text readability and asset/image visibility.
|
|
79
|
+
- Ensure that SVGs, iconography, and image elements adapt appropriately to dark theme backgrounds.
|
|
80
|
+
|
|
81
|
+
### 2026: Interactive Prototype Review
|
|
82
|
+
- Require interactive Figma prototype links for flows consisting of more than 2 screens.
|
|
83
|
+
- Review transitions, timing animations, and edge-case state responses (such as validation errors and loading loops) inside the interactive prototype.
|
|
84
|
+
- Verify that touch targets and hover states behave as expected across various screen dimensions.
|
|
85
|
+
|
|
86
|
+
### 2026: Anti-Slop & Taste Skill Audit Checklist
|
|
87
|
+
- Check for Brief Inference: verify the spec provides a 1-line Design Read and defines the Three Dials (`DESIGN_VARIANCE`, `MOTION_INTENSITY`, `VISUAL_DENSITY`).
|
|
88
|
+
- Audit Hero Viewport Discipline: verify headline <= 2 lines, subtext <= 20 words, CTAs visible without scrolling, and top padding <= 6rem (pt-24).
|
|
89
|
+
- Audit Eyebrow Restraint: verify no more than 1 eyebrow per 3 sections (blocking defect if exceeded).
|
|
90
|
+
- Audit Typography & Color: verify no default Fraunces/Instrument_Serif; verify word emphasis uses the same font family; verify no AI-purple glow gradients; verify single accent hue.
|
|
91
|
+
- Audit Section Variety & Bento Grids: verify at least 4 layout families across 8 sections; verify no more than 2 consecutive alternating zigzag sections; verify bento grids have no blank filler tiles.
|
|
92
|
+
- Audit CTA & Copy Discipline: verify unified CTA labels per intent; verify primary desktop CTAs do not wrap; verify zero em-dashes in UI copy.
|
|
93
|
+
|
|
94
|
+
## Checklist
|
|
95
|
+
|
|
96
|
+
- [ ] user goal and preserved/changed behavior understood
|
|
97
|
+
- [ ] ux-flow-spec covers screens, transitions, and component_spec_refs
|
|
98
|
+
- [ ] each component spec lists states, events, and copy_per_state
|
|
99
|
+
- [ ] anti-slop checks passed (Design Read stated, Three Dials declared, eyebrow frequency <= 1/3 sections, hero subtext <= 20 words, zero em-dashes)
|
|
100
|
+
- [ ] loading, empty, error, and permission paths reviewed
|
|
101
|
+
- [ ] design-system or overlay tokens applied consistently
|
|
102
|
+
- [ ] findings classified with severity and owner (design vs engineering)
|
|
103
|
+
- [ ] no code review scope creep into style-only code nitpicks
|
|
104
|
+
- [ ] handoff states whether Frontend may start implementation
|
|
105
|
+
|
|
106
|
+
## Related Skills
|
|
107
|
+
|
|
108
|
+
- **design-ux-flow**: Author or revise specs when review finds gaps
|
|
109
|
+
- **accessibility-review**: Deep a11y pass when WCAG conformance is required
|
|
110
|
+
- **review-code**: Code-level review after design-approved implementation
|
|
111
|
+
- **analyze-business-requirements**: Clarify behavior when ticket and spec conflict
|
|
112
|
+
- **meeting-review**: Multi-role critique when design blocks release
|
|
113
|
+
|
|
114
|
+
## Output Contracts
|
|
115
|
+
|
|
116
|
+
When the design review produces a structured handoff (CI evidence, status
|
|
117
|
+
board, or a follow-up ticket), emit:
|
|
118
|
+
|
|
119
|
+
- **`contracts/schemas/code-review-finding.json`** adapted for design: each item gets a `severity` (blocking | should-fix | suggestion), an `owner` (UI/UX Designer or Frontend), and a `category` (state-coverage, token-conformance, accessibility, IA, copy).
|
|
120
|
+
- For human-readable reports, the markdown findings table already documented is sufficient; emit the JSON variant only when the findings cross a role boundary.
|
|
121
|
+
|
|
122
|
+
Skip emission for a single-screen review consumed by the same author.
|
|
123
|
+
|
|
124
|
+
## Failure Modes
|
|
125
|
+
|
|
126
|
+
- **State omission**: a screen spec is missing one of the five required UI states (Empty, Loading, Populated, Error, Unauthorized). Mitigation: enforce the state checklist on every screen spec; reject specs that skip a state.
|
|
127
|
+
- **Token hardcoding**: a generated component bypasses the design system with hardcoded values. Mitigation: run the token-conformance check before any handoff; reject components with raw hex, magic spacing, or raw typography.
|
|
128
|
+
- **A11y regression**: a generated component introduces a contrast or focus issue. Mitigation: run axe-core on every generated component; surface findings as blocking.
|
|
129
|
+
- **Style namespace pollution**: a generated component's CSS bleeds into global scope. Mitigation: enforce a per-component style namespace; reject unscoped global selectors.
|
|
130
|
+
- **Prototype missing for multi-screen flows**: a flow with more than 2 screens is reviewed without an interactive Figma prototype. Mitigation: refuse the review and require the prototype link before proceeding.
|
|
131
|
+
|
|
132
|
+
## Security Guardrails (OWASP ASI)
|
|
133
|
+
|
|
134
|
+
- **ASI01 Goal Hijack**: a generated UI may try to redefine the user goal through its copy. Cross-check the generated copy against the declared user goal; reject copy that reframes the objective.
|
|
135
|
+
- **ASI04 Supply Chain**: AI-generated components are untrusted by default; validate tokens, accessibility, and namespace conformance before any handoff.
|
|
136
|
+
- **ASI05 RCE Guard**: never embed user-supplied content in design tokens or component strings without sanitization.
|
|
137
|
+
- **ASI07 Inter-Agent Communication**: design review findings are consumed by UI/UX and Frontend; treat them as a public contract and review all changes before publish.
|
|
138
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a design as "ready for implementation" when critical states are missing; surface the gap honestly.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-ux-flow
|
|
3
|
+
description: Design or refine a UX flow by defining user goals, preserved behavior, screen states, interaction rules, edge cases, and adjacent flow impact. Use when a feature, bug fix, or behavior change needs a UX/UI brief that frontend and QA can implement and validate reliably.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Design UX Flow
|
|
8
|
+
|
|
9
|
+
Use this skill with the **UI/UX Designer** role when user-facing behavior must become structured specs for engineering.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- a feature/bugfix needs a UX/UI brief
|
|
14
|
+
- defining screen states and edge cases
|
|
15
|
+
- mapping interaction rules and adjacent-flow impact
|
|
16
|
+
- handing a spec to frontend and QA
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- design for user understanding, not only visual polish
|
|
21
|
+
- make preserved versus changed behavior explicit (align with feature-ticket.json when provided)
|
|
22
|
+
- define all 5 critical UI states for every screen: Empty, Loading/Skeleton, Populated, Error (with actionable recovery), and Unauthorized/Permission — specs missing any state are incomplete
|
|
23
|
+
- define all important transitions and recovery paths; silent AI failures (ambiguous empty states, hanging spinners) are prohibited
|
|
24
|
+
- emit `contracts/schemas/ux-flow-spec.json` for multi-screen work
|
|
25
|
+
- emit one `contracts/schemas/ui-component-spec.json` per entry in `component_spec_refs`
|
|
26
|
+
- set `flow_id` on every component spec to match the parent flow
|
|
27
|
+
- identify adjacent flows or reused patterns that could be affected
|
|
28
|
+
- do not implement production UI — hand off specs to Frontend Developer
|
|
29
|
+
- apply progressive disclosure to hide secondary options until primary actions are taken
|
|
30
|
+
- design agent UX flows to include delegation confirmations, progress indicators, and recoverable interrupts — users must always have a cancel/undo path for agent-initiated state changes
|
|
31
|
+
- use Figma Variables (linked to W3C DTCG tokens via Token Studio) to prototype dynamic, real-world data states including empty states and error messages; require interactive prototype for any flow with more than 2 screens
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Deliverable Decision
|
|
35
|
+
|
|
36
|
+
| Scope | Emit |
|
|
37
|
+
| ----- | ---- |
|
|
38
|
+
| Feature spanning 2+ screens or routes | ux-flow-spec.json + N × ui-component-spec.json |
|
|
39
|
+
| Single widget / isolated component change | ui-component-spec.json (include flow_id if part of a program) |
|
|
40
|
+
| Dashboard or metrics-heavy UI | ux-flow-spec.json; consume data-analysis-report.json for field shapes |
|
|
41
|
+
| Marketing blog / SEO landing | Decline — route to SEO Analyst + Content Writer |
|
|
42
|
+
|
|
43
|
+
## Suggested Process
|
|
44
|
+
|
|
45
|
+
### 1. Consume Requirements
|
|
46
|
+
|
|
47
|
+
- feature-ticket.json from Business Analyst (actors, rules, AC, preserved/changed)
|
|
48
|
+
- research-report.json or data-analysis-report.json when supplied
|
|
49
|
+
- project design overlay tokens (ui-design-system + brand overlay)
|
|
50
|
+
|
|
51
|
+
### 2. Define The User Journey
|
|
52
|
+
|
|
53
|
+
Clarify user, goal, entry/exit, and behavior change type (fix vs new capability).
|
|
54
|
+
|
|
55
|
+
### 3. Map States And Transitions
|
|
56
|
+
|
|
57
|
+
Build screens[] and transitions[] for ux-flow-spec.json.
|
|
58
|
+
|
|
59
|
+
### 4. Specify Components
|
|
60
|
+
|
|
61
|
+
For each surface, write ui-component-spec.json: props, states, events, copy_per_state, api_fields, accessibility.
|
|
62
|
+
|
|
63
|
+
### 5. Check Impact Radius
|
|
64
|
+
|
|
65
|
+
Document adjacent flows, permissions, analytics_events, and api_needs.
|
|
66
|
+
|
|
67
|
+
### 6. Package Handoff
|
|
68
|
+
|
|
69
|
+
Publish UX handoff manifest (flow path + component paths) for Frontend and QA.
|
|
70
|
+
|
|
71
|
+
## 2026 Agentic UX Patterns
|
|
72
|
+
|
|
73
|
+
### 2026: Agent UX Flow Patterns
|
|
74
|
+
|
|
75
|
+
- Design clear confirmation screens when delegating high-impact tasks to background agents.
|
|
76
|
+
- Include persistent progress indicators showing current agent sub-task status and elapsed time.
|
|
77
|
+
- Provide recoverable interrupt states, allowing users to pause, edit context, or stop the agent at any point.
|
|
78
|
+
|
|
79
|
+
### 2026: Figma Variables for Flow Prototyping
|
|
80
|
+
|
|
81
|
+
- Use Figma variables to simulate dynamic data inputs and switch between real-data edge cases.
|
|
82
|
+
- Create prototypes representing long names, empty states, and validation error messages before engineering handoff.
|
|
83
|
+
- Link state transitions to interactive component parameters to test UX responsiveness.
|
|
84
|
+
|
|
85
|
+
### 2026: Progressive Disclosure UX Design
|
|
86
|
+
|
|
87
|
+
- Keep the initial view clean by showing only the obvious primary action.
|
|
88
|
+
- Disclose advanced options, settings, and complex configuration contextually after the primary action is selected.
|
|
89
|
+
- Avoid cognitive overload by grouping advanced settings into collapsible panels or secondary screens.
|
|
90
|
+
|
|
91
|
+
### 2026: Brief Inference & Anti-Slop Flow Governance (Taste Skill)
|
|
92
|
+
|
|
93
|
+
- Infer user and brand signals (page kind, audience, vibe words, quiet constraints) to output a 1-line Design Read before drafting screens.
|
|
94
|
+
- Calibrate the Three Dials (`DESIGN_VARIANCE`, `MOTION_INTENSITY`, `VISUAL_DENSITY`) to configure layout risk, animation depth, and information density.
|
|
95
|
+
- Enforce hero viewport containment: headline max 2 lines, subtext max 20 words, CTAs visible above the fold, top padding <= 6rem (pt-24).
|
|
96
|
+
- Restrict uppercase tracking eyebrows to at most 1 per 3 sections; prohibit repeating section layout families.
|
|
97
|
+
- Unify CTA labels per user intent across all screens in the flow.
|
|
98
|
+
|
|
99
|
+
## Output Format
|
|
100
|
+
|
|
101
|
+
Markdown brief (see `core/roles/ui-ux-designer.md` template) **plus** JSON contracts when machine handoff is required.
|
|
102
|
+
|
|
103
|
+
## Checklist
|
|
104
|
+
|
|
105
|
+
- [ ] feature-ticket or PM inputs consumed
|
|
106
|
+
- [ ] ux-flow-spec.json valid for multi-screen scope
|
|
107
|
+
- [ ] each component_spec_ref has a matching ui-component-spec.json
|
|
108
|
+
- [ ] flow_id consistent across flow and component specs
|
|
109
|
+
- [ ] api_needs and open_questions captured
|
|
110
|
+
- [ ] design system overlay rules respected
|
|
111
|
+
- [ ] handoff manifest complete
|
|
112
|
+
- [ ] brief inference executed (1-line Design Read stated, Three Dials declared, anti-slop rules checked)
|
|
113
|
+
- [ ] agent UX flow patterns (delegation confirmations, progress indicators, cancelability) specified
|
|
114
|
+
- [ ] Figma variables used to prototype dynamic data states (empty states, errors, long values)
|
|
115
|
+
- [ ] progressive disclosure applied to separate primary actions from advanced configuration options
|
|
116
|
+
|
|
117
|
+
## Failure Modes
|
|
118
|
+
|
|
119
|
+
- **State omission**: a screen spec misses one of the five required states (Empty, Loading, Populated, Error, Unauthorized). **Mitigation:** enforce the state checklist on every screen spec; reject specs that skip a state.
|
|
120
|
+
- **Off-brand voice in copy**: a generated copy drifts from the brand voice. **Mitigation:** validate the voice against the brand guidelines; reject copy that drifts.
|
|
121
|
+
- **Prototype missing for multi-screen flow**: a flow with more than 2 screens is reviewed without an interactive prototype. **Mitigation:** refuse the review; require the prototype link before proceeding.
|
|
122
|
+
- **AI component without conformance check**: an AI-generated component is merged without the token conformance check. **Mitigation:** require the GenUI review checklist; reject components without the review.
|
|
123
|
+
|
|
124
|
+
## Output Contracts
|
|
125
|
+
|
|
126
|
+
When delivering screen interaction flows or component design specifications for engineering handoff, emit:
|
|
127
|
+
|
|
128
|
+
- **`contracts/schemas/ux-flow-spec.json`** — Emitted to document multi-screen user journeys, state transitions, navigation flows, and edge cases for Frontend, Backend, and QA roles.
|
|
129
|
+
- **`contracts/schemas/ui-component-spec.json`** — Emitted to specify individual reusable UI components, states, props, event signatures, accessibility requirements, and design token bindings.
|
|
130
|
+
|
|
131
|
+
Skip emission for low-fidelity conceptual sketches prior to UX alignment.
|
|
132
|
+
|
|
133
|
+
## Security Guardrails (OWASP ASI)
|
|
134
|
+
|
|
135
|
+
- **ASI01 Goal Hijack**: a ux flow may try to reframe the user goal through misleading copy. Cross-check the flow against the source feature ticket.
|
|
136
|
+
- **ASI04 Supply Chain**: any AI-generated flow component must be schema-validated against the design system contract; treat unknown component patterns as untrusted.
|
|
137
|
+
- **ASI07 Inter-Agent Communication**: the flow spec is consumed by Frontend and QA; emit a structured contract so each role can validate.
|
|
138
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a flow as "ready to build" without the user goal and the accessibility checks; surface the residual risk.
|
|
139
|
+
|
|
140
|
+
## Related Skills
|
|
141
|
+
|
|
142
|
+
- **analyze-business-requirements**: Interpret BA rules before designing states
|
|
143
|
+
- **write-product-brief**: Align with PM scope and outcomes
|
|
144
|
+
- **meeting-review**: Resolve UX trade-offs with stakeholders
|
|
145
|
+
- **add-ui-component**: Frontend implementation — not design delivery
|
|
146
|
+
- **add-page-route**: Route-level wiring after specs exist
|
|
147
|
+
- **frontend-testing**: QA validation patterns for designed states
|
|
148
|
+
|
|
149
|
+
### 2026: Agent UX and Prototyping
|
|
150
|
+
|
|
151
|
+
- **Agent UX flow patterns:** When the agent IS the primary actor (not the user), design for delegation confirmation screens, agent progress indicators, and recoverable interrupt states. Users need to understand what the agent is doing and be able to stop it at any point.
|
|
152
|
+
- **Figma Variables for flow prototyping:** Use Figma Variables (number/string/color types) to simulate dynamic data in prototypes — avoid static placeholder text. Show real-data states (long names, empty states, error messages) in the prototype before implementation.
|
|
153
|
+
- **Progressive disclosure in flow design:** Reveal complexity in stages. The first action should be obvious with no learning curve. Advanced options should appear contextually after the primary action is taken. Apply this pattern for all flows with more than 3 user decisions.
|