@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,89 @@
|
|
|
1
|
+
# Overlays
|
|
2
|
+
|
|
3
|
+
Overlays extend the portable core with repo-specific, brand-specific, or domain-specific behavior.
|
|
4
|
+
|
|
5
|
+
Use an overlay when:
|
|
6
|
+
|
|
7
|
+
- a skill needs absolute content roots or collection paths
|
|
8
|
+
- a role needs org-local toolbox extensions
|
|
9
|
+
- a workflow assumes one repository family or publishing pipeline
|
|
10
|
+
- a pack needs local conventions that do not belong in the global core
|
|
11
|
+
|
|
12
|
+
## Current Overlays (21)
|
|
13
|
+
|
|
14
|
+
### Stack Overlays (tech-specific, project-agnostic)
|
|
15
|
+
|
|
16
|
+
| Overlay | Stack | What it adds |
|
|
17
|
+
|---------|-------|--------------|
|
|
18
|
+
| [astro-cloudflare](astro-cloudflare/README.md) | Astro v6/v7 + Cloudflare Workers/Pages | Architecture patterns, TailwindCSS v4 config, Content Layer API, Wrangler deploy rules, 2026 binding access patterns |
|
|
19
|
+
| [laravel-filament](laravel-filament/README.md) | Laravel **13** + Filament **v4** + Livewire 3 | DB integrity rules, Filament v4 Schema API, PHP 8.4 features, Laravel Reverb, Pest v5, `develop-laravel-feature` skill |
|
|
20
|
+
| [go-microservices](go-microservices/README.md) | Go 1.25+ + Kratos **v3** | Clean Architecture, ConnectRPC, Dapr 1.15, OTel compile-time instrumentation, goforj/wire (google/wire archived) |
|
|
21
|
+
| [r3f-stack](r3f-stack/README.md) | React Three Fiber **v9** / Three.js r171+ / WebGL+**WebGPU** | WebGPU production-ready, TSL shaders, R3F v9 migration, debug-3d-scene, optimize-3d-assets, integrate-r3f-three-legacy |
|
|
22
|
+
|
|
23
|
+
### Project Overlays (project-specific, depends on a stack overlay)
|
|
24
|
+
|
|
25
|
+
| Overlay | Project | Depends On |
|
|
26
|
+
|---------|---------|------------|
|
|
27
|
+
| [laravel-ecommerce](laravel-ecommerce/README.md) | Laravel E-Commerce (Laravel 13, ~20 SKUs) | `laravel-filament` |
|
|
28
|
+
| [b2b-factory-catalog](b2b-factory-catalog/README.md) | B2B Factory Catalog corporate site (Astro v6+/Cloudflare, B2B sportswear) | `astro-cloudflare` |
|
|
29
|
+
| [b2b-catalog-golf](b2b-catalog-golf/README.md) | B2B Golf Catalog niche catalog (Astro v6+/Cloudflare, golf apparel) | `astro-cloudflare` |
|
|
30
|
+
| [b2b-sport-catalog](b2b-sport-catalog/README.md) | B2B Sport Catalog niche catalog (Astro v6+/Cloudflare, sportswear) | `astro-cloudflare` |
|
|
31
|
+
| [obj-configurator](obj-configurator/README.md) | OBJ 3D Configurator (Astro + R3F v9/Three.js r171+, WebGPU) | `astro-cloudflare` |
|
|
32
|
+
| [ecommerce-microservices](ecommerce-microservices/README.md) | Ecommerce microservices platform (planned) | `go-microservices` |
|
|
33
|
+
| [livestream-web](livestream-web/README.md) | Livestream platform (web-first desktop UX) | standalone |
|
|
34
|
+
|
|
35
|
+
### Content & Domain Overlays (domain-specific, project-agnostic)
|
|
36
|
+
|
|
37
|
+
| Overlay | Domain | What it adds |
|
|
38
|
+
|---------|-------|--------------|
|
|
39
|
+
| [hugo-authority-content](hugo-authority-content/README.md) | Hugo twin sites (content + SEO) | Technical Article Standard 2027 (7 gates), twin SEO authority + AI-citation rules, hub-and-spoke topology, `write-hugo-twin-content` + `audit-technical-article` skills, masterclass batch workflow |
|
|
40
|
+
| [real-estate-content](real-estate-content/README.md) | Real Estate / Rental Content (Astro) | Content schema, GEO/AEO baselines, `write-real-estate-astro-data` skill |
|
|
41
|
+
| [hvac-authority-content](hvac-authority-content/README.md) | HVAC Authority Content (Astro v5 / Cloudflare Pages) | HVAC engineering standards (TCVN 7830:2021, ASHRAE 55-2023), 7-category Silo linking (300 posts -> 72 products), `write-hvac-authority-content` skill, empirical power/acoustic protocols |
|
|
42
|
+
| [seo-publishing](seo-publishing/README.md) | Dual-site SEO sprint | 7-day topic boards, 2026 GEO/AI visibility tracking, cannibalization rules, cadence runbook |
|
|
43
|
+
| [ui-design-system](ui-design-system/README.md) | UI design systems | Flow/component handoff conventions |
|
|
44
|
+
| [data-analyst-stack](data-analyst-stack/README.md) | DuckDB + Metabase BI + dbt 1.9 + Iceberg | BI metric templates, Metabase spec template, dbt microbatch, Iceberg REST Catalog patterns |
|
|
45
|
+
| [data-warehouse](data-warehouse/README.md) | Omnichannel retail platform (DuckDB 1.5+, MISA AMIS, VAS 14, PWA) | DuckDB Single-Writer, MISA AMIS VAS 14 voucher splitting, blind recount physical stocktaking, Decree 13/2023/ND-CP PII masking, plus `learning/` data-engineering track (merged from `data-engineer-learning`: Iceberg, dbt 1.9, Kafka, Spark) |
|
|
46
|
+
| [cad-projection](cad-projection/README.md) | Computer-Aided Design (CAD) & technical drawing | Millimeter coordinate system ($1\text{ unit} = 1\text{mm}$), Landscape A3 sheet, 4-tier ISO stroke hierarchy, $\pm 30^\circ$ isometric projection matrix, `isometric-svg-projection` skill |
|
|
47
|
+
| [fintech-compliance](fintech-compliance/README.md) | Financial technology & credit risk modeling | Basel/Fair Lending compliance, monotonic Weight of Evidence (WOE) binning, Information Value (IV) thresholds, scorecard point scaling (PDO), Population Stability Index (PSI) drift monitoring, `build-credit-scorecard` skill |
|
|
48
|
+
| [security-research](security-research/README.md) | Binary analysis & security research | Ethical and legal boundaries, Tier 2/3 container/microVM sandbox isolation, decompiler triage coordination (Ghidra, radare2, Electron unpackers), REA evidence ledger, `reverse-engineer-binary` skill |
|
|
49
|
+
|
|
50
|
+
## 2026 Critical Migration Notes
|
|
51
|
+
|
|
52
|
+
| Priority | Action | Overlays Affected |
|
|
53
|
+
|----------|--------|-------------------|
|
|
54
|
+
| 🚨 P0 | **Laravel 13** — L12 bug fix support ended Aug 13, 2026 | laravel-filament, laravel-ecommerce |
|
|
55
|
+
| 🚨 P0 | **Filament v4** — unified `Schema` API (breaking from v3) | laravel-filament, laravel-ecommerce |
|
|
56
|
+
| 🚨 P0 | **`google/wire` ARCHIVED** → goforj/wire or manual injection | go-microservices, ecommerce-microservices |
|
|
57
|
+
| 🟡 P1 | **Astro 6** — Content Layer mandatory, `env` bindings, TailwindCSS v4 | astro-cloudflare, b2b-factory-catalog, b2b-catalog-golf, b2b-sport-catalog, obj-configurator |
|
|
58
|
+
| 🟡 P1 | **Kratos v3** — import path changed, v2 maintenance-only | go-microservices |
|
|
59
|
+
| 🔵 P2 | **WebGPU + R3F v9** — `state.gl` → `state.renderer` | r3f-stack, obj-configurator |
|
|
60
|
+
|
|
61
|
+
## Overlay Authoring Rules
|
|
62
|
+
|
|
63
|
+
- keep overlays out of `core/` — portable core must work without any overlay loaded
|
|
64
|
+
- an overlay may extend rules, roles, skills, and workflows but must not break core validators
|
|
65
|
+
- project overlays MUST declare their stack overlay dependency in their README
|
|
66
|
+
- validate overlays together with core: `python3 core/scripts/validate-skills.py`
|
|
67
|
+
- declare SKILL.md YAML frontmatter with `name`, `description` for AI agent discoverability
|
|
68
|
+
|
|
69
|
+
## Standard 2026 Alignment
|
|
70
|
+
|
|
71
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
72
|
+
pass added this footer so every prose file in the pack carries a
|
|
73
|
+
consistent Standard 2026 pointer.
|
|
74
|
+
|
|
75
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
76
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
77
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
78
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
79
|
+
related skill or workflow's `### Failure Modes` section.
|
|
80
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
81
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
82
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
83
|
+
owns the affected action; the runtime gate is
|
|
84
|
+
`core/scripts/hooks/check-policy.py`.
|
|
85
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
86
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
87
|
+
publish without explicit user confirmation.
|
|
88
|
+
|
|
89
|
+
Last updated: 2026-10-15
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Astro Cloudflare Overlay
|
|
2
|
+
|
|
3
|
+
Generic, reusable conventions for any Astro v5/6/7 project deployed to Cloudflare Pages/Workers. This overlay is stack-specific but project-agnostic.
|
|
4
|
+
|
|
5
|
+
## Tech Stack Coverage (2026)
|
|
6
|
+
|
|
7
|
+
- **Framework:** Astro v6/v7 (SSG/SSR) — Astro 6 stable, Astro 7 current
|
|
8
|
+
- **Styling:** TailwindCSS **v4** (CSS-first config — `tailwind.config.js` removed)
|
|
9
|
+
- **Infrastructure:** Cloudflare **Workers** (preferred), Pages (legacy/static-only)
|
|
10
|
+
- **Build:** Vite 8 + Rolldown (Rust-based, 10–30× faster builds)
|
|
11
|
+
- **Node.js:** 22+ required (Node 18/20 dropped in Astro 6)
|
|
12
|
+
- **Email:** Resend API (optional)
|
|
13
|
+
- **Anti-Spam:** Cloudflare Turnstile (optional)
|
|
14
|
+
- **Linting:** ESLint + Prettier + astro-check
|
|
15
|
+
|
|
16
|
+
## 2026 Decision: Workers vs Pages
|
|
17
|
+
|
|
18
|
+
**Default to Cloudflare Workers for all new full-stack apps.**
|
|
19
|
+
|
|
20
|
+
| | Workers | Pages |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Static assets | ✅ Native | ✅ |
|
|
23
|
+
| Durable Objects | ✅ | ❌ |
|
|
24
|
+
| Cron Triggers | ✅ | ❌ |
|
|
25
|
+
| Queues | ✅ | ❌ |
|
|
26
|
+
| Advanced observability | ✅ | Limited |
|
|
27
|
+
| Roadmap investment | ✅ Active | Maintenance |
|
|
28
|
+
|
|
29
|
+
Pages remains valid for static-first or legacy Git-push-only deployments.
|
|
30
|
+
|
|
31
|
+
## Astro 5 → 6 Breaking Changes (Action Required)
|
|
32
|
+
|
|
33
|
+
1. **Bindings**: `Astro.locals.runtime.env.MY_BINDING` → **`env.MY_BINDING`** (direct access)
|
|
34
|
+
2. **Content Layer API mandatory** — legacy `/content/` collections removed; migrate to `src/content.config.ts`
|
|
35
|
+
3. **Node.js 22+** required — drop Node 18/20 from CI pipelines
|
|
36
|
+
4. **`Astro.glob()`** → use `import.meta.glob()` instead
|
|
37
|
+
5. **Cloudflare adapter entrypoint** changed to `@astrojs/cloudflare/entrypoints/server`
|
|
38
|
+
|
|
39
|
+
## TailwindCSS v4 Migration (Breaking)
|
|
40
|
+
|
|
41
|
+
`tailwind.config.js` is **deleted** in v4 projects:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# 1. Automated migration
|
|
45
|
+
npx @tailwindcss/upgrade
|
|
46
|
+
|
|
47
|
+
# 2. New install
|
|
48
|
+
npm install tailwindcss @tailwindcss/vite
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`astro.config.mjs`:
|
|
52
|
+
```js
|
|
53
|
+
import tailwindcss from '@tailwindcss/vite';
|
|
54
|
+
export default defineConfig({ vite: { plugins: [tailwindcss()] } });
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
`src/styles/global.css`:
|
|
58
|
+
```css
|
|
59
|
+
@import "tailwindcss";
|
|
60
|
+
@theme { --color-brand: #...; }
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
The `@astrojs/tailwind` integration is deprecated for v4 projects.
|
|
64
|
+
|
|
65
|
+
## Included
|
|
66
|
+
|
|
67
|
+
- `rules/astro-cloudflare-conventions.md` — Architecture, component patterns, deploy, Wrangler config, TailwindCSS v4
|
|
68
|
+
|
|
69
|
+
This overlay should be composed with the global core and optionally with project-specific overlays.
|
|
70
|
+
|
|
71
|
+
**Recommended roles:** `cloudflare-engineer` (edge/Wrangler/bindings) + `frontend-developer` (Astro UI).
|
|
72
|
+
|
|
73
|
+
## Standard 2026 Alignment
|
|
74
|
+
|
|
75
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
76
|
+
pass added this footer so every prose file in the pack carries a
|
|
77
|
+
consistent Standard 2026 pointer.
|
|
78
|
+
|
|
79
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
80
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
81
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
82
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
83
|
+
related skill or workflow's `### Failure Modes` section.
|
|
84
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
85
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
86
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
87
|
+
owns the affected action; the runtime gate is
|
|
88
|
+
`core/scripts/hooks/check-policy.py`.
|
|
89
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
90
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
91
|
+
publish without explicit user confirmation.
|
|
92
|
+
|
|
93
|
+
Last updated: 2026-09-01
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# Astro Cloudflare Conventions
|
|
2
|
+
|
|
3
|
+
Strict, portable conventions for Astro v5/6/7 projects deployed to Cloudflare Workers/Pages. These rules extend `core/rules/code.md`.
|
|
4
|
+
|
|
5
|
+
## 2027 Version Context
|
|
6
|
+
|
|
7
|
+
- **Astro**: v6 (stable) / v7 (current line: 7.x) — Cloudflare-owned since Jan 2026
|
|
8
|
+
- **Vite**: v8 + Rolldown (Rust bundler — use `rolldownOptions` instead of `rollupOptions`)
|
|
9
|
+
- **TailwindCSS**: v4 CSS-first (no `tailwind.config.js`)
|
|
10
|
+
- **Node.js**: 22+ required
|
|
11
|
+
|
|
12
|
+
## 0. Deployment Target Mandate (2027)
|
|
13
|
+
|
|
14
|
+
- **Cloudflare Workers + Static Assets is the only greenfield target** — Cloudflare's own docs now steer all new projects away from Pages ("Start new projects with Workers", banner updated 2026-08-25) and the Pages changelog has been frozen since April 2025.
|
|
15
|
+
- **Pages→Workers migration checklist**: `pages_build_output_dir` → `assets.directory` (+ `not_found_handling`, `run_worker_first` pattern config, `.assetsignore`), `_worker.js` → `main`, Pages wrangler commands → `wrangler dev`/`wrangler deploy` + Workers Builds, previews via workers.dev URLs, `_headers`/`_redirects` supported natively by Static Assets. Known gaps (plan around them): custom domains outside Cloudflare zones are unsupported on Workers; per-environment (prod vs non-prod) bindings are not yet native.
|
|
16
|
+
- **MCP servers on Workers (2026-07-28 spec)**: `McpAgent` is obsolete — use `createMcpHandler` from the official MCP TS SDK on a plain Worker (Durable Objects only when the app itself needs state); Workers OAuth Provider must enable `clientIdMetadataDocumentEnabled` (CIMD) before DCR removal after summer 2027; route by `Mcp-Method`/`Mcp-Name` headers for WAF/rate-limit rules.
|
|
17
|
+
- **AI control plane**: route every `env.AI.run(...)` call through AI Gateway (`{ gateway: { id: 'default' } }` — unified Workers AI + AI Gateway binding and billing since 2026-08); log model names as `provider/model` in cost reports; model-first routing GA expected 2027.
|
|
18
|
+
|
|
19
|
+
## 0a. Astro v7 Migration Notes (when moving from v5/v6)
|
|
20
|
+
|
|
21
|
+
- **Rust compiler strictness** (oxc + Lightning CSS): unclosed tags are now errors — run a lint pass before upgrading; no HTML auto-correction; `compressHTML: 'jsx'` whitespace semantics is the default (use `compressHTML: 'true'` to preserve legacy output when visual regressions appear).
|
|
22
|
+
- **Sätteri** is the default Markdown/MDX processor — audit the remark/rehype plugin inventory per site before upgrading (the unified pipeline is opt-in via `@astrojs/markdown-remark`).
|
|
23
|
+
- **Advanced routing**: `src/fetch.ts` is a reserved Workers-style fetch entrypoint name — do not create a page file with that name unless it is the entrypoint; middleware ordering is explicit (auth before Actions); Hono composition via `astro/hono`.
|
|
24
|
+
- **Route caching**: `Astro.cache`, `routeRules`, `cache.invalidate()` by tag/path are stable — adopt `cacheCloudflare()` from `@astrojs/cloudflare/cache` for SSR pages instead of hand-rolled cache headers; CDN cache providers auto-enable once out of experimental.
|
|
25
|
+
- **Live Content Collections** (`defineLiveCollection()`/`getLiveEntry()`) for request-time freshness-critical listings (property/product feeds); keep build-time collections for SEO content; CSP API replaces hand-rolled CSP headers; `@astrojs/db` was removed in v7.
|
|
26
|
+
|
|
27
|
+
## 1. Component Architecture (Astro Islands)
|
|
28
|
+
|
|
29
|
+
To maximize performance, enforce **Zero-JS-by-default** architecture:
|
|
30
|
+
- **Default Extension:** All static or server-rendered layouts MUST use `.astro`.
|
|
31
|
+
- **Interactive Components:** React/Preact (`.tsx`) ONLY for interactive islands requiring client-side JS.
|
|
32
|
+
- **Hydration Directives:** Explicitly declare hydration strategy: `client:load`, `client:visible`, `client:idle`.
|
|
33
|
+
- **PROHIBITED:** Never use `client:only` unless SSR is strictly impossible for that component.
|
|
34
|
+
- **React 19:** Fully compatible with Astro Islands — use standard directives.
|
|
35
|
+
|
|
36
|
+
## 2. Cloudflare Bindings (2026 API)
|
|
37
|
+
|
|
38
|
+
**Astro 6+:** Access bindings via direct `env` parameter — `Astro.locals.runtime.env` is deprecated:
|
|
39
|
+
|
|
40
|
+
```ts
|
|
41
|
+
// ✅ Astro 6+ / Cloudflare Workers (CORRECT)
|
|
42
|
+
export const GET: APIRoute = async ({ locals }) => {
|
|
43
|
+
const { env } = locals.runtime; // or direct in Workers context
|
|
44
|
+
const data = await env.MY_KV.get("key");
|
|
45
|
+
const obj = await env.MY_R2.get("file.txt");
|
|
46
|
+
const result = await env.MY_D1.prepare("SELECT 1").first();
|
|
47
|
+
return new Response(JSON.stringify(data));
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// ❌ DEPRECATED (Astro 5 pattern)
|
|
51
|
+
// Astro.locals.runtime.env.MY_KV
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- **Wrangler config:** Always use `wrangler.jsonc` at project root as the single source of truth.
|
|
55
|
+
- Set `compatibility_date = "2026-09-23"` (or latest).
|
|
56
|
+
- **Mandatory Dual Observability:** Configure `"observability": { "enabled": true, "traces": { "enabled": true } }` in `wrangler.jsonc`.
|
|
57
|
+
- **Mandatory Type Generation:** Run `wrangler types` to generate TypeScript types; hand-written `Env` interfaces are prohibited.
|
|
58
|
+
- For Workers: update `main` to `dist/_worker.js/index.js` in `wrangler.jsonc`.
|
|
59
|
+
|
|
60
|
+
## 3. TailwindCSS v4 Config (Breaking Change from v3)
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Migrate existing projects automatically
|
|
64
|
+
npx @tailwindcss/upgrade
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**New setup** (`astro.config.mjs`):
|
|
68
|
+
```js
|
|
69
|
+
import tailwindcss from '@tailwindcss/vite';
|
|
70
|
+
export default defineConfig({
|
|
71
|
+
vite: { plugins: [tailwindcss()] }
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**CSS** (`src/styles/global.css`):
|
|
76
|
+
```css
|
|
77
|
+
@import "tailwindcss";
|
|
78
|
+
|
|
79
|
+
@theme {
|
|
80
|
+
--color-brand: #1B2A4A;
|
|
81
|
+
--color-accent: #2BA5B5;
|
|
82
|
+
--font-body: 'Outfit', sans-serif;
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Rules:**
|
|
87
|
+
- `tailwind.config.js` → delete it; use `@theme {}` blocks.
|
|
88
|
+
- `@astrojs/tailwind` integration → deprecated for v4; remove it.
|
|
89
|
+
- `@tailwindcss/typography` → import via `@import "tailwindcss/typography"` in CSS.
|
|
90
|
+
|
|
91
|
+
## 4. Content Layer API (Astro 6 — Mandatory)
|
|
92
|
+
|
|
93
|
+
Legacy `/src/content/` config removed. Use `src/content.config.ts`:
|
|
94
|
+
|
|
95
|
+
```ts
|
|
96
|
+
// src/content.config.ts
|
|
97
|
+
import { defineCollection, z } from 'astro:content';
|
|
98
|
+
import { glob } from 'astro/loaders';
|
|
99
|
+
|
|
100
|
+
export const collections = {
|
|
101
|
+
posts: defineCollection({
|
|
102
|
+
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/data/posts' }),
|
|
103
|
+
schema: z.object({
|
|
104
|
+
title: z.string(),
|
|
105
|
+
date: z.coerce.date(),
|
|
106
|
+
description: z.string(),
|
|
107
|
+
}),
|
|
108
|
+
}),
|
|
109
|
+
};
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
- Use `getEntry()` NOT deprecated `getEntryBySlug()`.
|
|
113
|
+
- All loaders run in **parallel** at build time.
|
|
114
|
+
- Remove `experimental.contentLayer` flags (now default in Astro 6).
|
|
115
|
+
|
|
116
|
+
## 5. Project Structure
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
src/
|
|
120
|
+
├── assets/ ← Static assets (Astro-processed, images optimized at build)
|
|
121
|
+
├── components/ ← Reusable .astro and framework components (.tsx, .jsx)
|
|
122
|
+
├── content.config.ts ← Content Layer collection definitions (Astro 6+)
|
|
123
|
+
├── data/ ← TypeScript/JSON data files (products, config, content)
|
|
124
|
+
├── layouts/ ← Page layouts (BaseLayout.astro, etc.)
|
|
125
|
+
├── pages/ ← File-based routing (.astro, .ts for API routes)
|
|
126
|
+
│ └── api/ ← Server-side API endpoints (Cloudflare Workers)
|
|
127
|
+
├── styles/ ← Global CSS / TailwindCSS v4 imports + @theme blocks
|
|
128
|
+
└── env.d.ts ← Astro environment type declarations
|
|
129
|
+
public/ ← Static files served as-is (favicon, robots.txt, media)
|
|
130
|
+
wrangler.jsonc ← Cloudflare Workers/Pages config (single source of truth)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## 6. Build & Deploy Lifecycle
|
|
134
|
+
|
|
135
|
+
- `npm run dev` — local dev server (Vite 8 + Rolldown).
|
|
136
|
+
- `npm run build` — production build.
|
|
137
|
+
- `npm run preview` — build + Wrangler local preview.
|
|
138
|
+
- `npm run deploy` — build + deploy via Wrangler.
|
|
139
|
+
- GitHub Actions CI/CD on `main` branch push.
|
|
140
|
+
|
|
141
|
+
**Vite 8 + Rolldown migration:**
|
|
142
|
+
- Replace `rollupOptions` → `rolldownOptions` in `astro.config.mjs`.
|
|
143
|
+
- Replace `esbuild` plugin usage with Rolldown-native equivalents.
|
|
144
|
+
- Expected: 10–30× faster builds, 30–50% faster cold starts.
|
|
145
|
+
|
|
146
|
+
## 7. Quality Gates
|
|
147
|
+
|
|
148
|
+
- `npm run check` — `astro check` + ESLint + Prettier.
|
|
149
|
+
- Fix before commit: `npm run fix`.
|
|
150
|
+
- TypeScript strict mode enabled.
|
|
151
|
+
- No `any` types in API routes or data files.
|
|
152
|
+
|
|
153
|
+
## 8. Security
|
|
154
|
+
|
|
155
|
+
- Secrets in `.dev.vars` (local) / Cloudflare Dashboard secrets (production).
|
|
156
|
+
- Never commit `.dev.vars` — it is in `.gitignore`.
|
|
157
|
+
- Turnstile server-side validation at every form API endpoint.
|
|
158
|
+
- Resend API key server-side only — never in client bundles.
|
|
159
|
+
|
|
160
|
+
## Standard 2026 Alignment
|
|
161
|
+
|
|
162
|
+
This overlay rule file is part of the agent-skills engineering pack. The 2026
|
|
163
|
+
upgrade pass added the following Standard 2026 alignment footer to every
|
|
164
|
+
overlay rule file in the pack.
|
|
165
|
+
|
|
166
|
+
- **OWASP ASI**: applied as described in the core pack — see
|
|
167
|
+
`core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
|
|
168
|
+
`## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
|
|
169
|
+
file are applied by the role that owns the affected action; the runtime
|
|
170
|
+
gate is `core/scripts/hooks/check-policy.py` with
|
|
171
|
+
`core/policies/action-boundaries.yaml`.
|
|
172
|
+
- **Failure Modes** (overlay-specific): the rules in this file can be violated
|
|
173
|
+
by drift, missing context, or untracked exceptions. The owning role is
|
|
174
|
+
expected to surface concrete failure scenarios in the workflow's
|
|
175
|
+
`### Failure Modes` section and to capture remediations via
|
|
176
|
+
`contracts/schemas/incident-report.json` when the rule is bypassed.
|
|
177
|
+
- **Output Contracts**: when a rule in this file produces a structured
|
|
178
|
+
artifact (brief, plan, config, content handoff, audit event), the artifact
|
|
179
|
+
must conform to the corresponding schema in `core/contracts/schemas/`.
|
|
180
|
+
See `See `core/skills/foundation/setup-design-system/SKILL.md` and `core/skills/foundation/setup-visual-regression/SKILL.md` for related output contracts.` for the related skill output contract reference.
|
|
181
|
+
- **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
|
|
182
|
+
Skill Toolbox lists the related skill as Primary. Roles that hold the
|
|
183
|
+
skill as Supporting must delegate rather than execute directly (per
|
|
184
|
+
`core/workflows/README.md`).
|
|
185
|
+
- **Commit / publish gate**: rule changes that affect user-visible behavior
|
|
186
|
+
must follow the META-RULE in `core/rules/code.md` — no commit, no push,
|
|
187
|
+
no publish without explicit user confirmation.
|
|
188
|
+
|
|
189
|
+
See `core/skills/foundation/setup-design-system/SKILL.md` and `core/skills/foundation/setup-visual-regression/SKILL.md` for related output contracts.
|
|
190
|
+
|
|
191
|
+
Last updated: 2026-10-19
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# B2B Golf Catalog Overlay
|
|
2
|
+
|
|
3
|
+
Project-specific conventions for the B2B Golf niche catalog website — golf apparel and resort wear catalog.
|
|
4
|
+
|
|
5
|
+
**Depends on:** `overlays/astro-cloudflare`
|
|
6
|
+
|
|
7
|
+
- **Live:** Cloudflare Pages (`golf-catalog.example-account.workers.dev`)
|
|
8
|
+
|
|
9
|
+
## 2026 Stack Status
|
|
10
|
+
|
|
11
|
+
| Component | Current | Target |
|
|
12
|
+
|-----------|---------|--------|
|
|
13
|
+
| Astro | v5 | **v6/v7** — Content Layer API, direct `env` binding access |
|
|
14
|
+
| TailwindCSS | v3 | **v4** — CSS-first, no `tailwind.config.js` |
|
|
15
|
+
| Node.js | 18/20 | **22+** (required by Astro 6) |
|
|
16
|
+
|
|
17
|
+
## Specifics
|
|
18
|
+
|
|
19
|
+
- Single-page catalog site (`src/pages/index.astro` — primary content inline)
|
|
20
|
+
- MDX support for blog/article content (`@astrojs/mdx`)
|
|
21
|
+
- Gallery generation scripts (`generate_galleries.mjs`, `clone_raw.mjs`, `apply_updates.mjs`)
|
|
22
|
+
- Product gallery data in `generated_galleries.json`
|
|
23
|
+
- Tailwind + Tabler icons (`@iconify-json/tabler`)
|
|
24
|
+
- Contact form via Resend API + Turnstile
|
|
25
|
+
|
|
26
|
+
## Rules
|
|
27
|
+
|
|
28
|
+
- `rules/golf-project-rules.md` — Catalog structure, gallery management, brand positioning
|
|
29
|
+
|
|
30
|
+
## Standard 2026 Alignment
|
|
31
|
+
|
|
32
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
33
|
+
pass added this footer so every prose file in the pack carries a
|
|
34
|
+
consistent Standard 2026 pointer.
|
|
35
|
+
|
|
36
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
37
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
38
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
39
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
40
|
+
related skill or workflow's `### Failure Modes` section.
|
|
41
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
42
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
43
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
44
|
+
owns the affected action; the runtime gate is
|
|
45
|
+
`core/scripts/hooks/check-policy.py`.
|
|
46
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
47
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
48
|
+
publish without explicit user confirmation.
|
|
49
|
+
|
|
50
|
+
Last updated: 2026-09-01
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# B2B Golf Catalog — Project Rules
|
|
2
|
+
|
|
3
|
+
Project-specific conventions for the B2B Golf niche catalog site.
|
|
4
|
+
|
|
5
|
+
## 2026 Astro Migration Notes
|
|
6
|
+
|
|
7
|
+
- **Astro 6**: `Astro.locals.runtime.env` → direct `env` parameter access.
|
|
8
|
+
- **TailwindCSS v4**: replace `tailwind.config.js` with `@theme {}` CSS blocks.
|
|
9
|
+
- **Content Layer**: if adding content collections, use `src/content.config.ts` with `glob()` loader.
|
|
10
|
+
- Run `npx @tailwindcss/upgrade` for automated Tailwind migration.
|
|
11
|
+
|
|
12
|
+
## Site Architecture
|
|
13
|
+
|
|
14
|
+
- Primary content in `src/pages/index.astro` — single-page catalog with sections.
|
|
15
|
+
- Additional pages for 404, API endpoints, blog articles (MDX).
|
|
16
|
+
- Components in `src/components/` — Astro-only (no React islands needed).
|
|
17
|
+
- Styles in `src/styles/` — TailwindCSS v4 base + custom `@theme` tokens.
|
|
18
|
+
|
|
19
|
+
## Product Galleries
|
|
20
|
+
|
|
21
|
+
- Gallery data auto-generated to `generated_galleries.json` via build scripts.
|
|
22
|
+
- `generate_galleries.mjs` — scans `public/` media for product images, outputs JSON.
|
|
23
|
+
- `clone_raw.mjs` — clones raw product images from source.
|
|
24
|
+
- `apply_updates.mjs` — applies batch updates to gallery metadata.
|
|
25
|
+
- Image assets in `public/` — served as-is through Cloudflare CDN.
|
|
26
|
+
|
|
27
|
+
## Brand Positioning
|
|
28
|
+
|
|
29
|
+
- Niche: Golf apparel, polo shirts, resort wear, country club uniforms.
|
|
30
|
+
- Tone: Premium, sophisticated, performance-focused.
|
|
31
|
+
- Target: Golf clubs, resorts, corporate events, tournament organizers.
|
|
32
|
+
- Keywords: custom golf apparel, polo shirts manufacturer, resort wear OEM.
|
|
33
|
+
- **2026 GEO/AI**: Add Q&A structured data to product sections for AI search citations.
|
|
34
|
+
|
|
35
|
+
## Content (MDX)
|
|
36
|
+
|
|
37
|
+
- Blog articles use MDX format with reading-time estimation.
|
|
38
|
+
- Typography plugin enabled (`@tailwindcss/typography` — import via CSS in v4).
|
|
39
|
+
- Frontmatter: `title`, `date`, `description`, `image`, `tags`.
|
|
40
|
+
|
|
41
|
+
## Deploy
|
|
42
|
+
|
|
43
|
+
- `npm run deploy` → `astro build && wrangler pages deploy dist`.
|
|
44
|
+
- GitHub Actions on `main` branch.
|
|
45
|
+
- Secrets via `.dev.vars` (local) / Cloudflare Dashboard (prod).
|
|
46
|
+
|
|
47
|
+
## Standard 2026 Alignment
|
|
48
|
+
|
|
49
|
+
This overlay rule file is part of the agent-skills engineering pack. The 2026
|
|
50
|
+
upgrade pass added the following Standard 2026 alignment footer to every
|
|
51
|
+
overlay rule file in the pack.
|
|
52
|
+
|
|
53
|
+
- **OWASP ASI**: applied as described in the core pack — see
|
|
54
|
+
`core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
|
|
55
|
+
`## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
|
|
56
|
+
file are applied by the role that owns the affected action; the runtime
|
|
57
|
+
gate is `core/scripts/hooks/check-policy.py` with
|
|
58
|
+
`core/policies/action-boundaries.yaml`.
|
|
59
|
+
- **Failure Modes** (overlay-specific): the rules in this file can be violated
|
|
60
|
+
by drift, missing context, or untracked exceptions. The owning role is
|
|
61
|
+
expected to surface concrete failure scenarios in the workflow's
|
|
62
|
+
`### Failure Modes` section and to capture remediations via
|
|
63
|
+
`contracts/schemas/incident-report.json` when the rule is bypassed.
|
|
64
|
+
- **Output Contracts**: when a rule in this file produces a structured
|
|
65
|
+
artifact (brief, plan, config, content handoff, audit event), the artifact
|
|
66
|
+
must conform to the corresponding schema in `core/contracts/schemas/`.
|
|
67
|
+
See `See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.` for the related skill output contract reference.
|
|
68
|
+
- **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
|
|
69
|
+
Skill Toolbox lists the related skill as Primary. Roles that hold the
|
|
70
|
+
skill as Supporting must delegate rather than execute directly (per
|
|
71
|
+
`core/workflows/README.md`).
|
|
72
|
+
- **Commit / publish gate**: rule changes that affect user-visible behavior
|
|
73
|
+
must follow the META-RULE in `core/rules/code.md` — no commit, no push,
|
|
74
|
+
no publish without explicit user confirmation.
|
|
75
|
+
|
|
76
|
+
See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.
|
|
77
|
+
|
|
78
|
+
Last updated: 2026-09-01
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: develop-b2b-golf-feature
|
|
3
|
+
description: Develop features for the B2B Golf niche catalog — an Astro v5 golf apparel site on Cloudflare Pages. Use when adding pages, gallery content, MDX articles, or components for the golf apparel niche.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, astro_build, astro_check, astro_dev, run_tests]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Develop B2B Golf Feature
|
|
8
|
+
|
|
9
|
+
Use this skill when building or modifying features in the B2B Golf catalog site.
|
|
10
|
+
|
|
11
|
+
**Prerequisites:** Read `overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md` for generic Astro patterns.
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
- adding or restructuring pages under `src/pages/`
|
|
16
|
+
- adding images to a gallery or regenerating gallery data
|
|
17
|
+
- publishing MDX articles or catalog components
|
|
18
|
+
- debugging build failures specific to this site
|
|
19
|
+
|
|
20
|
+
## Core Rules
|
|
21
|
+
|
|
22
|
+
- Follow all rules from `overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md`
|
|
23
|
+
- Follow all rules from `overlays/b2b-catalog-golf/rules/golf-project-rules.md`
|
|
24
|
+
- Gallery data auto-generated via `generate_galleries.mjs` — do not edit `generated_galleries.json` manually
|
|
25
|
+
- MDX articles use `@tailwindcss/typography` for body styling
|
|
26
|
+
- Brand tone: premium, sophisticated, golf/resort focused
|
|
27
|
+
|
|
28
|
+
## Suggested Process
|
|
29
|
+
|
|
30
|
+
### 1. Identify scope
|
|
31
|
+
|
|
32
|
+
Classify the change as page content, gallery update, MDX article, or component; it determines the directories touched and whether gallery regeneration is needed.
|
|
33
|
+
|
|
34
|
+
### 2. Read existing patterns
|
|
35
|
+
|
|
36
|
+
Inspect neighboring files in `src/pages/`, `src/components/`, and existing MDX articles; mirror their frontmatter, imports, and styling before writing new code.
|
|
37
|
+
|
|
38
|
+
### 3. Implement and regenerate galleries
|
|
39
|
+
|
|
40
|
+
Make the change following project conventions. For galleries: add images to `public/`, then run `node generate_galleries.mjs` and commit the regenerated data.
|
|
41
|
+
|
|
42
|
+
### 4. Validate
|
|
43
|
+
|
|
44
|
+
Run `npm run check` before commit; fix type, Astro, and lint errors until clean.
|
|
45
|
+
|
|
46
|
+
## Failure Modes
|
|
47
|
+
|
|
48
|
+
- **Gallery JSON hand-edited**: a gallery is updated by editing `generated_galleries.json` directly. **Mitigation:** the Core Rules forbid it; reject the change and require `node generate_galleries.mjs`.
|
|
49
|
+
- **MDX frontmatter drift**: a new article uses a different frontmatter shape than the existing articles. **Mitigation:** mirror the existing template (title, date, description, image, tags); reject non-conforming frontmatter.
|
|
50
|
+
- **SEO metadata missing on a new page**: a page ships without title and description. **Mitigation:** the Checklist enforces SEO metadata on every page; reject the change.
|
|
51
|
+
- **Off-brand voice in copy**: copy drifts from the premium, golf-resort tone. **Mitigation:** the Core Rules enforce brand tone; reject copy that drifts.
|
|
52
|
+
- **Build fails on `npm run check`**: a change is merged despite type, Astro, or lint errors. **Mitigation:** the Checklist enforces `npm run check` before commit; reject the change.
|
|
53
|
+
|
|
54
|
+
## Output Contracts
|
|
55
|
+
|
|
56
|
+
When this skill produces a structured handoff, emit:
|
|
57
|
+
|
|
58
|
+
- **`contracts/schemas/implementation-result.json`** — Required fields: `change_summary`, `files_touched[]`, and `validation_run` output proving `npm run check` passes.
|
|
59
|
+
- **`contracts/schemas/edge-deployment-spec.json`** when a new page or component is deployed to Cloudflare Pages.
|
|
60
|
+
|
|
61
|
+
Skip structured emission for trivial content edits that do not cross a role boundary.
|
|
62
|
+
## Security Guardrails (OWASP ASI)
|
|
63
|
+
|
|
64
|
+
- **ASI03 Identity & Privilege Abuse**: contact or lead-capture endpoints must enforce authn/authz per the active role's policy profile; reject anonymous access to non-public routes.
|
|
65
|
+
- **ASI04 Supply Chain**: every Astro, Cloudflare, and gallery-generator dependency must be schema-validated against the expected manifest; treat unknown versions as untrusted.
|
|
66
|
+
- **ASI05 RCE Guard**: do not construct contact-form payloads or external API calls from external or user-supplied content without strict schema validation; reject string-concatenated form payloads.
|
|
67
|
+
- **ASI07 Inter-Agent Communication**: the implementation result is consumed by Cloudflare Engineer and DevOps Engineer roles; emit a structured contract so each role can validate.
|
|
68
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a deploy as "safe" without the actual smoke test evidence; surface the residual risk honestly.
|
|
69
|
+
## Checklist
|
|
70
|
+
|
|
71
|
+
- [ ] correct location in `src/` structure
|
|
72
|
+
- [ ] gallery data generated via script, not manual JSON edits
|
|
73
|
+
- [ ] MDX frontmatter matches existing articles (title, date, description, image, tags)
|
|
74
|
+
- [ ] SEO metadata on every page
|
|
75
|
+
- [ ] brand tone matches golf/resort positioning
|
|
76
|
+
- [ ] `npm run check` passes
|
|
77
|
+
|
|
78
|
+
## Related Skills
|
|
79
|
+
|
|
80
|
+
- **review-code**: review against Astro and project conventions
|
|
81
|
+
- **navigate-service**: understand the codebase structure
|
|
82
|
+
- **commit-code**: commit with proper conventions
|
|
83
|
+
- **write-documentation**: update content or catalog documentation
|
|
84
|
+
- **troubleshoot-service**: debug build or deploy issues
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# B2B Factory Catalog — Main Site Overlay
|
|
2
|
+
|
|
3
|
+
Project-specific conventions for the B2B Factory Direct corporate website — the master brand site for B2B custom manufacturing.
|
|
4
|
+
|
|
5
|
+
**Depends on:** `overlays/astro-cloudflare`
|
|
6
|
+
|
|
7
|
+
- **Live:** Cloudflare Pages (`factory-catalog.example-account.workers.dev`)
|
|
8
|
+
- **Domain:** factory-direct.example.com
|
|
9
|
+
|
|
10
|
+
## 2026 Stack Status
|
|
11
|
+
|
|
12
|
+
| Component | Current | Target |
|
|
13
|
+
|-----------|---------|--------|
|
|
14
|
+
| Astro | v5 | **v6/v7** — Content Layer API mandatory, `env` bindings |
|
|
15
|
+
| TailwindCSS | v3 | **v4** — CSS-first, `@theme {}`, no tailwind.config.js |
|
|
16
|
+
| Node.js | 18/20 | **22+** (required by Astro 6) |
|
|
17
|
+
| Deployment | Pages | Pages (static-first OK; Workers if adding Cron/DO) |
|
|
18
|
+
|
|
19
|
+
## Specifics
|
|
20
|
+
|
|
21
|
+
- ~22 static pages (product categories, fabrics, color charts, services)
|
|
22
|
+
- Product data in `src/data/products.ts` (TypeScript, typed catalog)
|
|
23
|
+
- Category SEO in `src/data/category-seo.json`
|
|
24
|
+
- Color chart data in `src/data/colorCharts.json`
|
|
25
|
+
- Contact form via Resend API + Turnstile anti-spam (`src/pages/api/contact.ts`)
|
|
26
|
+
- R2 bucket `catalog-documents` for downloadable assets
|
|
27
|
+
- Inline critical CSS post-build (`scripts/inline-critical-css.cjs`)
|
|
28
|
+
- Dynamic category routes: `src/pages/[category].astro`, `src/pages/[category]/[product].astro`
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
- `rules/icm-project-rules.md` — Brand voice, product catalog conventions, page templates, 2026 binding API
|
|
33
|
+
|
|
34
|
+
## Standard 2026 Alignment
|
|
35
|
+
|
|
36
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
37
|
+
pass added this footer so every prose file in the pack carries a
|
|
38
|
+
consistent Standard 2026 pointer.
|
|
39
|
+
|
|
40
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
41
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
42
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
43
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
44
|
+
related skill or workflow's `### Failure Modes` section.
|
|
45
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
46
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
47
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
48
|
+
owns the affected action; the runtime gate is
|
|
49
|
+
`core/scripts/hooks/check-policy.py`.
|
|
50
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
51
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
52
|
+
publish without explicit user confirmation.
|
|
53
|
+
|
|
54
|
+
Last updated: 2026-09-01
|