@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,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debug-3d-scene
|
|
3
|
+
description: Debug 3D scene behavior by tracing scene graph structure, transforms, raycasting, decals, materials, camera logic, render loops, and WebGL lifecycle issues. Use when a Three.js, React Three Fiber, WebGL, or WebGPU scene has rendering bugs, interaction bugs, clipping problems, context instability, or suspicious visual math.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_build, run_dev_server, run_tests]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Debug 3D Scene
|
|
8
|
+
|
|
9
|
+
Use this skill when a 3D experience behaves incorrectly and the fix depends on understanding scene state, transforms, asset wiring, or render lifecycle rather than only surface UI symptoms.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- a Three.js / R3F / WebGL / WebGPU scene has rendering bugs
|
|
14
|
+
- interaction or raycasting bugs in a 3D scene
|
|
15
|
+
- clipping, context loss, or camera math problems
|
|
16
|
+
- suspicious material/transform/render-loop behavior
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- capture the exact 3D symptom before changing code
|
|
21
|
+
- verify coordinate systems, transforms, and scene hierarchy instead of trusting visual intuition
|
|
22
|
+
- isolate whether the bug lives in assets, scene graph, interaction math, materials, or lifecycle
|
|
23
|
+
- treat shared materials, shaders, merged geometry, and reused interaction hooks as blast-radius multipliers
|
|
24
|
+
- verify the original issue and nearby scene regressions before closing the fix
|
|
25
|
+
- Utilize Chrome DevTools Shader Editor tab to inspect WebGPU pipelines and shader compilation errors natively.
|
|
26
|
+
- Use Spector.js in development to capture and replay WebGL draw calls frame-by-frame while disabling it in production.
|
|
27
|
+
- Leverage R3F DevTools to analyze scene graphs, geometry vertex counts, material types, and render call counts.
|
|
28
|
+
|
|
29
|
+
## Suggested Process
|
|
30
|
+
|
|
31
|
+
### 1. Define The 3D Failure
|
|
32
|
+
|
|
33
|
+
Clarify:
|
|
34
|
+
|
|
35
|
+
- what the user sees versus what is expected
|
|
36
|
+
- whether the issue is visual, interactive, performance-related, or lifecycle-related
|
|
37
|
+
- which scene, model, decal, material, camera path, or device profile is affected
|
|
38
|
+
- what behavior must stay stable while fixing it
|
|
39
|
+
|
|
40
|
+
### 2. Classify The Failure Layer
|
|
41
|
+
|
|
42
|
+
Decide where the failure most likely lives:
|
|
43
|
+
|
|
44
|
+
- scene graph or parent-child transform logic
|
|
45
|
+
- mesh geometry, normals, UVs, or winding
|
|
46
|
+
- material, texture, shader, or decal projection logic
|
|
47
|
+
- camera, controls, frustum, or clipping setup
|
|
48
|
+
- pointer interaction, raycasting, drag logic, or DOM-to-canvas bridge
|
|
49
|
+
- loading lifecycle, async race, disposal, or WebGL context behavior
|
|
50
|
+
|
|
51
|
+
### 3. Trace The Real 3D State
|
|
52
|
+
|
|
53
|
+
Inspect only what matters:
|
|
54
|
+
|
|
55
|
+
- object hierarchy and local vs world transforms
|
|
56
|
+
- scale, rotation, quaternion, and matrix conversion paths
|
|
57
|
+
- material reuse, texture assignment, and shader assumptions
|
|
58
|
+
- render loop subscriptions and camera/control updates
|
|
59
|
+
- asset format differences such as OBJ vs GLTF/GLB
|
|
60
|
+
|
|
61
|
+
### 4. Check Shared-Risk Areas
|
|
62
|
+
|
|
63
|
+
Look for common 3D regression sources:
|
|
64
|
+
|
|
65
|
+
- reused materials or shaders
|
|
66
|
+
- merged geometry or portal-based decal projection
|
|
67
|
+
- texture flip, color space, or normal map conventions
|
|
68
|
+
- mirrored geometry, negative scale, or winding order
|
|
69
|
+
- event listener leaks, RAF duplication, or missing disposal
|
|
70
|
+
|
|
71
|
+
### 5. Form And Test A Narrow Hypothesis
|
|
72
|
+
|
|
73
|
+
Test one likely cause at a time:
|
|
74
|
+
|
|
75
|
+
- wrong local/world-space conversion
|
|
76
|
+
- incorrect mesh target for decal or raycast
|
|
77
|
+
- stale texture/material instance
|
|
78
|
+
- asset orientation or scale mismatch
|
|
79
|
+
- missed cleanup or duplicate render/update path
|
|
80
|
+
|
|
81
|
+
### 6. Verify The Fix
|
|
82
|
+
|
|
83
|
+
Re-check:
|
|
84
|
+
|
|
85
|
+
- original bug path
|
|
86
|
+
- nearby models or scenes using the same logic
|
|
87
|
+
- mobile or low-end GPU behavior if relevant
|
|
88
|
+
- memory or context stability if lifecycle changed
|
|
89
|
+
|
|
90
|
+
### 2026: Advanced 3D Debugging and Diagnostics Tools
|
|
91
|
+
|
|
92
|
+
- **WebGPU Debugging**: Use the native Chrome DevTools Shader Editor tab (available in Chrome 124+). This enables inspection of GPU pipelines, binding groups, and shader compilation errors natively without the need for external tooling.
|
|
93
|
+
- **Spector.js for WebGL Diagnostics**: For WebGL-based pipelines, inject Spector.js in development builds. It records and replays draw calls frame-by-frame to identify state and binding issues. Ensure it is entirely disabled in production builds due to the significant performance overhead.
|
|
94
|
+
- **React Three Fiber (R3F) DevTools**: Integrate the `@r3f/dev-tools` panel. This provides a real-time visual inspection of the scene graph, geometry vertex counts, material types, active shaders, and render call counts directly in the browser interface.
|
|
95
|
+
|
|
96
|
+
## Output Format
|
|
97
|
+
|
|
98
|
+
Outputs must summarize the root cause and mitigation, and if the debug involves performance/memory bottlenecks, output must be accompanied by a `contracts/schemas/performance-audit.json` payload.
|
|
99
|
+
|
|
100
|
+
```markdown
|
|
101
|
+
# <Problem> - 3D Scene Debug Brief
|
|
102
|
+
|
|
103
|
+
## Symptom
|
|
104
|
+
- Expected behavior:
|
|
105
|
+
- Actual behavior:
|
|
106
|
+
- Affected scene / model / interaction:
|
|
107
|
+
|
|
108
|
+
## Failure Layer
|
|
109
|
+
- Suspected layer:
|
|
110
|
+
- Preserved behavior:
|
|
111
|
+
|
|
112
|
+
## Evidence
|
|
113
|
+
- Relevant files or systems:
|
|
114
|
+
- Transform / material / interaction observations:
|
|
115
|
+
- Shared-risk areas:
|
|
116
|
+
|
|
117
|
+
## Hypothesis
|
|
118
|
+
- Most likely root cause:
|
|
119
|
+
- Why:
|
|
120
|
+
|
|
121
|
+
## Verification
|
|
122
|
+
- Original issue re-checked:
|
|
123
|
+
- Nearby regressions re-checked:
|
|
124
|
+
- Residual risk:
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Failure Modes
|
|
128
|
+
|
|
129
|
+
- **Symptom misattributed to render layer**: a visual bug is treated as a render problem when the cause is data, layout, or asset format. **Mitigation:** always classify the failure layer (scene graph, geometry, materials, camera, interaction, lifecycle) before changing code; the Suggested Process step 2 enforces this.
|
|
130
|
+
- **Shared material or shader edited in isolation**: an edit to a shared material causes regressions in adjacent models. **Mitigation:** run the Shared-Risk Areas check (step 4) and verify neighboring models that reuse the same material; the blast-radius warning is in Core Rules.
|
|
131
|
+
- **GPU memory leak from missing dispose**: a debug fix that adds geometry/material/texture without cleanup leaks GPU memory. **Mitigation:** verify disposal paths in the lifecycle review (step 6); reject changes that add resources without matching `dispose()` calls.
|
|
132
|
+
- **WebGL context loss misattributed to a render bug**: a context loss is treated as a scene issue when the cause is the platform, not the scene. **Mitigation:** check `WEBGL_lose_context` events and platform limits; treat context loss as platform-side until proven otherwise.
|
|
133
|
+
- **R3F DevTools / Spector.js shipped in production**: a debug build accidentally ships with the dev hooks. **Mitigation:** verify the production build excludes Spector.js and R3F DevTools; the Core Rules for these tools call this out explicitly.
|
|
134
|
+
|
|
135
|
+
## Output Contracts
|
|
136
|
+
|
|
137
|
+
When this skill produces a structured handoff, emit:
|
|
138
|
+
|
|
139
|
+
- **`contracts/schemas/performance-audit.json`** when the debug surfaces a performance or memory bottleneck. The `verdict`, `metrics` (draw call count, GPU memory), and `findings` fields are required.
|
|
140
|
+
- For human-readable handoff, use the 3D Scene Debug Brief template in the existing Output Format block.
|
|
141
|
+
|
|
142
|
+
Skip structured emission when the debug only produces a single fix that does not cross a role boundary.
|
|
143
|
+
## Security Guardrails (OWASP ASI)
|
|
144
|
+
|
|
145
|
+
- **ASI05 RCE Guard**: do not execute dynamic shader code or WebGPU shader strings sourced from external content without strict schema validation; AI-generated shaders must compile in a sandboxed build before production.
|
|
146
|
+
- **ASI07 Inter-Agent Communication**: the debug brief is consumed by Frontend and 3D roles; do not include any 3D model paths that point outside the operator's own asset domain.
|
|
147
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a debug summary as "root cause confirmed" without the actual scene-state evidence; surface unverified hypotheses as `[INFERENCE]`.
|
|
148
|
+
## Checklist
|
|
149
|
+
|
|
150
|
+
- [ ] exact 3D symptom captured
|
|
151
|
+
- [ ] likely failure layer classified
|
|
152
|
+
- [ ] real scene state inspected
|
|
153
|
+
- [ ] shared-risk areas checked
|
|
154
|
+
- [ ] narrow hypothesis tested
|
|
155
|
+
- [ ] original issue and nearby regressions re-checked
|
|
156
|
+
- [ ] Native WebGPU pipelines and shaders are inspected via Chrome DevTools Shader Editor when using WebGPU.
|
|
157
|
+
- [ ] Spector.js is integrated for dev-mode WebGL frame capture and disabled for production.
|
|
158
|
+
- [ ] R3F DevTools is utilized to monitor scene graph, vertex count, and render calls.
|
|
159
|
+
|
|
160
|
+
## Related Skills
|
|
161
|
+
|
|
162
|
+
- **optimize-3d-assets**: Improve source assets when geometry or texture quality is the real problem
|
|
163
|
+
- **troubleshoot-service**: Debug non-graphics runtime or integration issues around the scene
|
|
164
|
+
- **frontend-testing**: Add regression checks around interaction-sensitive fixes
|
|
165
|
+
- **review-code**: Review risky transform, shader, or lifecycle changes
|
|
166
|
+
- **navigate-service**: Map the 3D code path before debugging
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: integrate-r3f-three-legacy
|
|
3
|
+
description: Integrate or migrate between React Three Fiber and legacy imperative Three.js code by controlling scene ownership, render loops, loaders, interaction state, and cleanup boundaries. Use when a 3D web app mixes R3F with older Three.js modules, global bridge state, or imperative scene utilities and needs safe coexistence or staged migration.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_build, run_dev_server, run_tests]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Integrate R3F Three Legacy
|
|
8
|
+
|
|
9
|
+
Use this skill when a 3D frontend mixes React Three Fiber with older imperative Three.js code and the real work is defining safe boundaries between the two systems rather than only fixing one component in isolation.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- a 3D app mixes R3F with imperative Three.js
|
|
14
|
+
- migrating legacy Three.js into R3F safely
|
|
15
|
+
- managing global bridge state between paradigms
|
|
16
|
+
- controlling scene ownership and cleanup boundaries
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- define one clear owner for render loop, scene mutation, and disposal in each code path
|
|
21
|
+
- do not let legacy globals and React state mutate the same 3D objects without an explicit contract
|
|
22
|
+
- treat loaders, materials, controls, and decal logic as shared-risk areas when bridging old and new systems
|
|
23
|
+
- preserve current interaction behavior while reducing architectural overlap
|
|
24
|
+
- verify migration or bridge changes against nearby flows, not only the target scene
|
|
25
|
+
|
|
26
|
+
### 2025-2026: AI-Generated 3D Scene Code Review
|
|
27
|
+
|
|
28
|
+
When AI tools generate R3F components or Three.js bridge code, apply these additional checks:
|
|
29
|
+
|
|
30
|
+
- **Context ownership validation:** verify that AI-generated R3F components use `useThree()` context correctly and do not create a second renderer or canvas — AI tools frequently generate standalone `<Canvas>` wrappers that conflict with the existing scene context when dropped into an existing R3F tree.
|
|
31
|
+
- **Disposal and cleanup correctness:** AI-generated 3D components frequently omit `useEffect` cleanup for geometries, materials, and textures — check that every `.dispose()` call is present in the cleanup function to prevent GPU memory leaks.
|
|
32
|
+
- **Animation frame loop ownership:** verify AI-generated `useFrame` callbacks do not accumulate subscriptions across renders — confirm there is only one `useFrame` subscriber per concern, not one added per render cycle.
|
|
33
|
+
- **Generative 3D asset pipeline gate (2025):** for workflows using AI-generated 3D assets (Meshy AI, TripoSR, Rodin), validate generated meshes for polygon density (target ≤10k triangles for interactive use), UV correctness, and material assignment before integrating into the R3F/Three.js scene — AI-generated meshes frequently have inverted normals, missing UVs, or topology errors.
|
|
34
|
+
|
|
35
|
+
## Suggested Process
|
|
36
|
+
|
|
37
|
+
### 1. Map The Split Architecture
|
|
38
|
+
|
|
39
|
+
Identify:
|
|
40
|
+
|
|
41
|
+
- which files own the R3F canvas, scene, controls, and event flow
|
|
42
|
+
- which files still mutate Three.js objects imperatively
|
|
43
|
+
- what global stores, callbacks, or bridge objects connect UI and 3D state
|
|
44
|
+
- which behaviors must remain stable during the change
|
|
45
|
+
|
|
46
|
+
### 2. Classify The Boundary Problem
|
|
47
|
+
|
|
48
|
+
Decide what kind of mixed-system issue exists:
|
|
49
|
+
|
|
50
|
+
- duplicate scene ownership
|
|
51
|
+
- duplicate render/update loops
|
|
52
|
+
- state split across Redux, Zustand, globals, and object instances
|
|
53
|
+
- legacy utilities mutating meshes that R3F also manages
|
|
54
|
+
- loader/material/decal logic duplicated in both systems
|
|
55
|
+
|
|
56
|
+
### 3. Define Safe Ownership
|
|
57
|
+
|
|
58
|
+
For each concern, assign one owner:
|
|
59
|
+
|
|
60
|
+
- scene and camera ownership
|
|
61
|
+
- controls ownership
|
|
62
|
+
- model loading ownership
|
|
63
|
+
- material and texture mutation ownership
|
|
64
|
+
- interaction and raycast ownership
|
|
65
|
+
- cleanup and disposal ownership
|
|
66
|
+
|
|
67
|
+
### 4. Choose The Bridge Strategy
|
|
68
|
+
|
|
69
|
+
Use the smallest safe approach:
|
|
70
|
+
|
|
71
|
+
- **coexistence** when legacy code must remain temporarily but boundaries can be tightened
|
|
72
|
+
- **adapter layer** when legacy modules should be wrapped behind React-safe APIs
|
|
73
|
+
- **staged migration** when imperative scene logic should move gradually into hooks or components
|
|
74
|
+
|
|
75
|
+
### 5. Check High-Risk Shared Paths
|
|
76
|
+
|
|
77
|
+
Review:
|
|
78
|
+
|
|
79
|
+
- texture and material replacement logic
|
|
80
|
+
- decals, text rendering, and merged geometry helpers
|
|
81
|
+
- loaders that behave differently for OBJ versus GLTF/GLB
|
|
82
|
+
- event listeners, drag/drop handlers, and control enable/disable logic
|
|
83
|
+
- teardown for geometries, materials, textures, listeners, and cached assets
|
|
84
|
+
|
|
85
|
+
### 6. Verify Stability
|
|
86
|
+
|
|
87
|
+
Re-check:
|
|
88
|
+
|
|
89
|
+
- original bug or migration target
|
|
90
|
+
- adjacent tools using the same bridge state
|
|
91
|
+
- product switching, undo/redo, share/reload, or restore flows
|
|
92
|
+
- memory growth and duplicate listener/render-loop risk
|
|
93
|
+
|
|
94
|
+
## Output Format
|
|
95
|
+
|
|
96
|
+
```markdown
|
|
97
|
+
# <Change> - R3F Legacy Integration Brief
|
|
98
|
+
|
|
99
|
+
## Architecture Split
|
|
100
|
+
- R3F-owned areas:
|
|
101
|
+
- Legacy-owned areas:
|
|
102
|
+
- Shared bridge state:
|
|
103
|
+
- Preserved behavior:
|
|
104
|
+
|
|
105
|
+
## Boundary Risks
|
|
106
|
+
- Duplicate ownership:
|
|
107
|
+
- Shared mutable objects:
|
|
108
|
+
- Lifecycle or cleanup risks:
|
|
109
|
+
- Asset or material pipeline overlap:
|
|
110
|
+
|
|
111
|
+
## Integration Strategy
|
|
112
|
+
- Chosen approach:
|
|
113
|
+
- Why this approach is safer:
|
|
114
|
+
- What remains legacy for now:
|
|
115
|
+
|
|
116
|
+
## Verification
|
|
117
|
+
- Original issue or migration target checked:
|
|
118
|
+
- Adjacent flows re-checked:
|
|
119
|
+
- Memory / listener / render-loop checks:
|
|
120
|
+
- Residual risk:
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Failure Modes
|
|
124
|
+
|
|
125
|
+
- **Duplicate scene ownership**: R3F and legacy Three.js both try to own the same scene, causing double-render or material double-mutation. **Mitigation:** the Map The Split Architecture step must declare one owner per concern before any code change; reject integrations that leave ownership ambiguous.
|
|
126
|
+
- **Duplicate render loop**: both R3F and the legacy code register a render/update loop, causing frame duplication. **Mitigation:** the Define Safe Ownership step assigns loop ownership explicitly; verify only one `useFrame` chain is active per concern.
|
|
127
|
+
- **State split across React, Redux, Zustand, and globals**: shared state mutates from multiple owners, producing inconsistent renders. **Mitigation:** define a single source of truth for the bridge state; the Choose The Bridge Strategy step is the gate.
|
|
128
|
+
- **AI-generated Canvas wrapper creates a second renderer**: an AI tool wraps content in its own `<Canvas>` instead of reusing the existing one. **Mitigation:** the AI-Generated 3D Scene Code Review check explicitly tests for this; reject AI components that do not use the existing `useThree()` context.
|
|
129
|
+
- **Disposal missing in AI-generated components**: AI-generated 3D components omit `useEffect` cleanup for geometry, material, and texture. **Mitigation:** the Disposal and cleanup correctness check rejects components that do not dispose every owned resource; verify with a memory profile after merge.
|
|
130
|
+
|
|
131
|
+
## Output Contracts
|
|
132
|
+
|
|
133
|
+
When this skill produces a structured handoff, emit:
|
|
134
|
+
|
|
135
|
+
- **`contracts/schemas/api-contract-spec.json`** when the integration introduces a new public API or props surface that other roles will consume.
|
|
136
|
+
- For human-readable handoff, use the R3F Legacy Integration Brief template in the existing Output Format block.
|
|
137
|
+
|
|
138
|
+
Skip structured emission for trivial wrappers that do not cross a role boundary.
|
|
139
|
+
## Security Guardrails (OWASP ASI)
|
|
140
|
+
|
|
141
|
+
- **ASI04 Supply Chain**: AI-generated 3D components must be schema-validated against the project's 3D component manifest; treat AI generators (v0, Copilot, Lovable-style) as untrusted sources.
|
|
142
|
+
- **ASI05 RCE Guard**: AI-generated 3D assets from external providers (Meshy AI, TripoSR, Rodin) must pass the Polygon budget gate, UV / normal validation, and material attribution check before being loaded; never load unvalidated AI meshes at runtime.
|
|
143
|
+
- **ASI07 Inter-Agent Communication**: the integration brief is consumed by Frontend and 3D roles; do not include asset URLs that point to operator-untrusted domains.
|
|
144
|
+
## Checklist
|
|
145
|
+
|
|
146
|
+
- [ ] R3F and legacy ownership boundaries mapped
|
|
147
|
+
- [ ] duplicate ownership or mutation paths identified
|
|
148
|
+
- [ ] bridge strategy chosen explicitly
|
|
149
|
+
- [ ] shared-risk paths checked
|
|
150
|
+
- [ ] cleanup responsibility verified
|
|
151
|
+
- [ ] original path and nearby regressions re-checked
|
|
152
|
+
|
|
153
|
+
## Related Skills
|
|
154
|
+
|
|
155
|
+
- **debug-3d-scene**: Trace transform, decal, lifecycle, and interaction bugs inside mixed 3D systems
|
|
156
|
+
- **optimize-3d-assets**: Reduce asset and texture cost when migration work exposes pipeline inefficiencies
|
|
157
|
+
- **navigate-service**: Map the 3D codebase before choosing ownership boundaries
|
|
158
|
+
- **frontend-testing**: Add regression coverage around bridge-sensitive interactions
|
|
159
|
+
- **review-code**: Review risky lifecycle, ownership, and cleanup changes
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: optimize-3d-assets
|
|
3
|
+
description: Optimize 3D assets and rendering inputs by reviewing model formats, geometry density, texture memory, material strategy, compression, and loading behavior. Use when a 3D web experience suffers from heavy OBJ/GLTF assets, texture bloat, long load times, frame drops, or unnecessary GPU and memory pressure.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_build, run_dev_server, run_tests]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Optimize 3D Assets
|
|
8
|
+
|
|
9
|
+
Use this skill when the main problem is not scene logic alone, but the cost or quality of the 3D assets flowing into the runtime.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- heavy GLTF/OBJ assets slow the experience
|
|
14
|
+
- texture bloat or long load times
|
|
15
|
+
- frame drops or GPU/memory pressure
|
|
16
|
+
- reviewing geometry density and compression
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- optimize the biggest asset bottlenecks first instead of micro-tuning unrelated code
|
|
21
|
+
- measure format, memory, and loading assumptions before reducing quality
|
|
22
|
+
- prefer stable, production-safe asset improvements over ad hoc runtime hacks
|
|
23
|
+
- make visual trade-offs explicit before lowering fidelity
|
|
24
|
+
- check downstream effects on materials, decals, UVs, and interaction anchors when assets change
|
|
25
|
+
|
|
26
|
+
### 2025-2026: GenAI 3D Asset Pipeline Validation
|
|
27
|
+
|
|
28
|
+
AI-generated 3D assets (Meshy AI, TripoSR, Rodin, Luma AI, Stability AI 3D) require additional validation before entering the production pipeline:
|
|
29
|
+
|
|
30
|
+
- **Polygon budget gate:** AI-generated meshes frequently output excessive polygon counts (200k-2M triangles) suited for rendering, not real-time use — validate that the target polygon count is ≤10k triangles for interactive web use; reduce via Blender Decimate or `gltf-transform optimize` before committing.
|
|
31
|
+
- **UV and normal validation:** AI-generated meshes frequently have inverted normals, missing UV islands, or overlapping UVs that cause incorrect lighting and texture baking — run `gltf-validator` or Blender's mesh analysis before using the asset.
|
|
32
|
+
- **Texture format compliance:** AI-generated textures are often 4K or 8K PNG/JPEG — convert to WebP or KTX2 (with Basis Universal compression) and resize to ≤1K for mobile, ≤2K for desktop before committing to the repository.
|
|
33
|
+
- **Material attribution check:** verify AI-generated textures are licensed for commercial use — some AI asset generators train on copyrighted assets; check the provider's output license before shipping.
|
|
34
|
+
- **LOD requirement for AI assets:** high-detail AI-generated meshes should have a simplified LOD variant generated at 10%-25% of the original polygon count for mobile and distance rendering — do not ship a single ultra-high-detail mesh without LOD when the target platform includes mobile browsers.
|
|
35
|
+
|
|
36
|
+
## Suggested Process
|
|
37
|
+
|
|
38
|
+
### 1. Identify The Asset Bottleneck
|
|
39
|
+
|
|
40
|
+
Clarify whether the pressure comes from:
|
|
41
|
+
|
|
42
|
+
- raw model format such as OBJ instead of GLB/GLTF
|
|
43
|
+
- excessive polycount or duplicated geometry
|
|
44
|
+
- large diffuse/normal/roughness textures
|
|
45
|
+
- too many material instances or draw calls
|
|
46
|
+
- slow decode, parse, or network load path
|
|
47
|
+
|
|
48
|
+
### 2. Inspect Current Asset Strategy
|
|
49
|
+
|
|
50
|
+
Review:
|
|
51
|
+
|
|
52
|
+
- file formats in use
|
|
53
|
+
- texture resolutions and counts
|
|
54
|
+
- material model and normal-map usage
|
|
55
|
+
- compression or lack of compression
|
|
56
|
+
- whether asset loading matches target device constraints
|
|
57
|
+
|
|
58
|
+
### 3. Choose The Right Optimization Path
|
|
59
|
+
|
|
60
|
+
Prefer the narrowest useful improvement:
|
|
61
|
+
|
|
62
|
+
- convert OBJ to GLB/GLTF when runtime and pipeline support it
|
|
63
|
+
- reduce texture size or format cost
|
|
64
|
+
- consolidate materials when visually acceptable
|
|
65
|
+
- remove unnecessary geometry detail or hidden parts
|
|
66
|
+
- add LOD or simplified mobile variants when required
|
|
67
|
+
|
|
68
|
+
### 4. Check Runtime Assumptions
|
|
69
|
+
|
|
70
|
+
Verify:
|
|
71
|
+
|
|
72
|
+
- texture flip and color-space expectations
|
|
73
|
+
- normals, UVs, and decal targets remain valid
|
|
74
|
+
- material replacement will not break shading or overlays
|
|
75
|
+
- camera fit and interaction anchors survive asset changes
|
|
76
|
+
|
|
77
|
+
### 5. Produce A Safe Optimization Summary
|
|
78
|
+
|
|
79
|
+
Leave behind:
|
|
80
|
+
|
|
81
|
+
- what was heavy
|
|
82
|
+
- what changed
|
|
83
|
+
- what visual trade-offs were accepted
|
|
84
|
+
- what scenes or devices need re-checking
|
|
85
|
+
|
|
86
|
+
## Output Format
|
|
87
|
+
|
|
88
|
+
Outputs must conform to the `contracts/schemas/performance-audit.json` schema. Provide this structured JSON instead of a raw Markdown block. Ensure `verdict`, `metrics` (like bundle size and frame rate expectations), and `findings` are explicitly populated.
|
|
89
|
+
|
|
90
|
+
## Failure Modes
|
|
91
|
+
|
|
92
|
+
- **Optimization targets wrong bottleneck**: time is spent on texture compression when the real bottleneck is polycount. **Mitigation:** the Identify The Asset Bottleneck step must classify the pressure source (format, polycount, texture, material, decode) before any optimization; reject premature micro-tuning.
|
|
93
|
+
- **AI-generated mesh polycount exceeds budget**: an AI-generated mesh ships at 200k-2M triangles. **Mitigation:** the Polygon budget gate requires ≤10k triangles for interactive web use; reduce via Blender Decimate or gltf-transform optimize before commit.
|
|
94
|
+
- **UV / normal corruption from AI generator**: an AI mesh has inverted normals or missing UVs, breaking lighting. **Mitigation:** the UV and normal validation step runs gltf-validator or Blender mesh analysis; reject assets that fail.
|
|
95
|
+
- **Texture format bloat (4K-8K PNG)**: a large PNG ships without conversion. **Mitigation:** the Texture format compliance step requires WebP or KTX2 conversion with Basis Universal compression; mobile ≤ 1K, desktop ≤ 2K before commit.
|
|
96
|
+
- **Unverified AI asset license**: an AI-generated asset ships without license verification. **Mitigation:** the Material attribution check verifies the provider's output license for commercial use; reject assets that fail.
|
|
97
|
+
- **No LOD for high-detail AI mesh**: a 200k-triangle mesh ships without a simplified LOD for mobile. **Mitigation:** the LOD requirement check rejects assets that lack a 10%-25% polygon-count LOD for mobile browsers.
|
|
98
|
+
|
|
99
|
+
## Output Contracts
|
|
100
|
+
|
|
101
|
+
When this skill produces a structured handoff, emit:
|
|
102
|
+
|
|
103
|
+
- **`contracts/schemas/performance-audit.json`** — required, since the existing Output Format already mandates this schema. Populate `verdict`, `metrics` (bundle size, frame rate expectations, draw calls), and `findings`.
|
|
104
|
+
|
|
105
|
+
Skip the JSON contract only when the optimization is read-only and the result does not cross a role boundary.
|
|
106
|
+
## Security Guardrails (OWASP ASI)
|
|
107
|
+
|
|
108
|
+
- **ASI04 Supply Chain**: every dependency (gltf-transform, draco, meshoptimizer, basis-universal) must be schema-validated against the expected manifest; treat unknown versions as untrusted.
|
|
109
|
+
- **ASI05 RCE Guard**: AI-generated asset loader scripts must be schema-validated; never construct loader configs from external content without strict parameterization.
|
|
110
|
+
- **ASI07 Inter-Agent Communication**: the audit is consumed by Frontend and 3D roles; do not include asset URLs pointing to operator-untrusted domains.
|
|
111
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present an optimization as "shipping-ready" without the before-and-after metrics; surface the actual delta honestly.
|
|
112
|
+
## Checklist
|
|
113
|
+
|
|
114
|
+
- [ ] main asset bottleneck identified
|
|
115
|
+
- [ ] current format and memory strategy inspected
|
|
116
|
+
- [ ] narrowest useful optimization path chosen
|
|
117
|
+
- [ ] runtime assumptions and visual constraints preserved
|
|
118
|
+
- [ ] impacted scenes or overlays identified
|
|
119
|
+
- [ ] verification expectations and residual risk captured
|
|
120
|
+
|
|
121
|
+
## Related Skills
|
|
122
|
+
|
|
123
|
+
- **debug-3d-scene**: Diagnose scene issues when the bottleneck is not purely asset weight
|
|
124
|
+
- **navigate-service**: Locate asset-loading and material-wiring code paths
|
|
125
|
+
- **frontend-testing**: Re-check UI and interaction behavior after asset changes
|
|
126
|
+
- **review-code**: Review material, loader, or runtime trade-offs
|
|
127
|
+
- **troubleshoot-service**: Investigate delivery or environment issues affecting asset loading
|
|
128
|
+
- **commit-code**: Prepare optimized assets for delivery
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Real Estate Content Overlay
|
|
2
|
+
|
|
3
|
+
This overlay contains content-specific extensions for the Real Estate Portal and HVAC Portal Astro content trees, enforcing the 5-Pillar Content Strategy (Intelligence, Information, Insights, Neighborhoods, Integration).
|
|
4
|
+
|
|
5
|
+
## Included Components
|
|
6
|
+
|
|
7
|
+
### Rules
|
|
8
|
+
- `rules/content-schema.md`: Strict Astro frontmatter schema (`unique_angle`, `anti_slop_gate`), enforcing `<AnswerFirst>` component over blockquotes.
|
|
9
|
+
- `rules/seo-baseline.md`: GEO/AEO baseline standards (1,400+ words, answer-first ≤60w, fact density ≥3 data points/500w, minimum 4-8 internal links).
|
|
10
|
+
- `rules/affiliate-links.md`: Link cloaking automation (`/go/partner`), placement guidelines (max 2 per article, prohibited in trust/scam content).
|
|
11
|
+
|
|
12
|
+
### Skills
|
|
13
|
+
- `skills/write-real-estate-astro-data`: Drafting skill integrating 4 core templates (Market Radar, Guide, Scam Alert, Neighborhood) and E-E-A-T Experience Proof requirements.
|
|
14
|
+
|
|
15
|
+
### Workflows
|
|
16
|
+
- `workflows/publish-real-estate-content.md`: 6-step content production workflow and 7-day mix guardrails.
|
|
17
|
+
|
|
18
|
+
### Config
|
|
19
|
+
- `config/collections.md`: Site roots, corpus inventory, category-folder convention, Zod schemas, gate coverage, author registry.
|
|
20
|
+
|
|
21
|
+
## Corpus Index
|
|
22
|
+
|
|
23
|
+
The overlay consumes — and must stay consistent with — the per-repo content indexes:
|
|
24
|
+
|
|
25
|
+
- `real-estate/plan/CONTENT_INDEX.md` (482 posts)
|
|
26
|
+
- `real-estate/plan/LAW_CONTENT_INDEX_AND_AUDIT_2026.md` (204 law-related posts)
|
|
27
|
+
- `real-estate/plan/PROPERTY_INDEX.md` (61 properties)
|
|
28
|
+
|
|
29
|
+
Regenerate that index after every batch upgrade, then update `config/collections.md` with the new counts.
|
|
30
|
+
|
|
31
|
+
## Standard 2026 Alignment
|
|
32
|
+
|
|
33
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
34
|
+
pass added this footer so every prose file in the pack carries a
|
|
35
|
+
consistent Standard 2026 pointer.
|
|
36
|
+
|
|
37
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
38
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
39
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
40
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
41
|
+
related skill or workflow's `### Failure Modes` section.
|
|
42
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
43
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
44
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
45
|
+
owns the affected action; the runtime gate is
|
|
46
|
+
`core/scripts/hooks/check-policy.py`.
|
|
47
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
48
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
49
|
+
publish without explicit user confirmation.
|
|
50
|
+
|
|
51
|
+
Last updated: 2026-09-08
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Lease Content Collections
|
|
2
|
+
|
|
3
|
+
Astro `src/data` collection trees, schemas, and corpus inventory for the Lease
|
|
4
|
+
in Vietnam and HVAC Portal sites. Snapshot: 2026-10-24. Canonical
|
|
5
|
+
corpus indexes: `real-estate/plan/CONTENT_INDEX.md` (posts), `real-estate/plan/LAW_CONTENT_INDEX_AND_AUDIT_2026.md` (204 law-related posts), and
|
|
6
|
+
`real-estate/plan/PROPERTY_INDEX.md` (61 luxury properties) — regenerate after every
|
|
7
|
+
batch, then refresh the counts here.
|
|
8
|
+
|
|
9
|
+
## Site Roots
|
|
10
|
+
|
|
11
|
+
| Site | Data path (workspace-relative) | Collections | Loader |
|
|
12
|
+
|------|-------------------------------|-------------|--------|
|
|
13
|
+
| Real Estate Portal | `real-estate/src/data` | `post` (482 MDX), `property` (61 MD) | `glob('**/*.{md,mdx}')` |
|
|
14
|
+
| HVAC Portal | `hvac-portal/src/data` | `post`, `product` | same glob loader |
|
|
15
|
+
|
|
16
|
+
## Post Layout Convention
|
|
17
|
+
|
|
18
|
+
- Posts live in **category folders**, not dated folders:
|
|
19
|
+
`src/data/post/<category>/<slug>.mdx`
|
|
20
|
+
- 12 categories: `guides` (113), `neighborhood` (70), `living` (50),
|
|
21
|
+
`trust-safety` (43), `property-review` (36), `legal` (36), `market-radar` (27),
|
|
22
|
+
`market-data` (25), `travel` (24), `scam` (22), `neighborhood-comparison` (21),
|
|
23
|
+
`comparisons` (15)
|
|
24
|
+
- Use `.mdx` — the `<AnswerFirst>` component and layout imports require it.
|
|
25
|
+
|
|
26
|
+
## Post Schema (Zod, `src/content/config.ts`)
|
|
27
|
+
|
|
28
|
+
Required: `title`. Optional: `publishDate`, `updateDate`, `draft`, `excerpt`,
|
|
29
|
+
`image`, `category`, `tags`, `author`, `metadata` (canonical/robots/OpenGraph),
|
|
30
|
+
`anti_slop_gate` (boolean or `{ gate_passed, slop_sections_flagged,
|
|
31
|
+
boilerplate_removed, substance_elements_added }`), `postLayout` enum
|
|
32
|
+
(`GuideLayout` | `MarketRadarLayout` | `ScamAlertLayout` | `NeighborhoodLayout`
|
|
33
|
+
| `responsive`). The schema uses `.passthrough()` — layout-specific keys are
|
|
34
|
+
allowed; copy them from sibling posts using the same layout.
|
|
35
|
+
|
|
36
|
+
Editorial-gate fields (not schema-enforced but workflow-enforced):
|
|
37
|
+
`unique_angle`, `serp_title`, `faq` (frontmatter array), `substance_requirements`.
|
|
38
|
+
|
|
39
|
+
## Property Schema (Lease)
|
|
40
|
+
|
|
41
|
+
`title`, `price` (number, `currency` default VND), `bedrooms`, `bathrooms`,
|
|
42
|
+
`area`, `location`, `propertyType`, `agentId`, `coordinates {lat,lng}`, `gallery`,
|
|
43
|
+
`amenities`, `status`, `floorPlan`, `videoTour`, `tags`, `metadata`.
|
|
44
|
+
Houzez-extended fields supported via passthrough.
|
|
45
|
+
Enforced via `scripts/tools/validate_property_listings.py`: title <= 60, desc <= 160,
|
|
46
|
+
integer VND price, management fee breakdown, EVN 6-tier rates, water tariffs, and soundproofing decibel rating.
|
|
47
|
+
|
|
48
|
+
## 2026 Gate Coverage (real-estate)
|
|
49
|
+
|
|
50
|
+
| Gate | Coverage |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `<AnswerFirst>` component | 482/482 (100%) |
|
|
53
|
+
| `author` + `publishDate` | 482/482 (100%) |
|
|
54
|
+
| `faq` block | 482/482 (100%) |
|
|
55
|
+
| `anti_slop_gate` | 482/482 (100%) |
|
|
56
|
+
| `unique_angle` | 482/482 (100%) |
|
|
57
|
+
| Property cross-links | 482/482 posts link `/property/*` |
|
|
58
|
+
| Property Listings Quality Gate | 61/61 properties (0 defects) |
|
|
59
|
+
|
|
60
|
+
## Author Registry
|
|
61
|
+
|
|
62
|
+
`src/data/authors.ts` — 17 E-E-A-T persona slugs (133 aliases) with verifiable credentials
|
|
63
|
+
(lawyers, CPA, MEP engineer, architect, MD). Frontmatter `author:` must
|
|
64
|
+
reference one of these slugs.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Lease Content Roles
|
|
2
|
+
|
|
3
|
+
Overlay-specific role extensions can live here when Lease content operations need repo-local behavior outside the global core.
|
|
4
|
+
|
|
5
|
+
## Standard 2026 Alignment
|
|
6
|
+
|
|
7
|
+
This file is part of the agent-skills engineering pack. The 2026 upgrade
|
|
8
|
+
pass added this footer so every prose file in the pack carries a
|
|
9
|
+
consistent Standard 2026 pointer.
|
|
10
|
+
|
|
11
|
+
- **OWASP ASI**: applied as described in `core/roles/role-standard.md`
|
|
12
|
+
(ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
|
|
13
|
+
- **Failure Modes**: the rule in this file can be violated by drift, missing
|
|
14
|
+
context, or untracked exceptions. Concrete failure scenarios belong in the
|
|
15
|
+
related skill or workflow's `### Failure Modes` section.
|
|
16
|
+
- **Output Contracts**: structured artifacts produced under this file must
|
|
17
|
+
conform to schemas in `core/contracts/schemas/`.
|
|
18
|
+
- **Skill Toolbox Lock**: this file's rules are enforced by the role that
|
|
19
|
+
owns the affected action; the runtime gate is
|
|
20
|
+
`core/scripts/hooks/check-policy.py`.
|
|
21
|
+
- **Commit / publish gate**: changes that affect user-visible behavior
|
|
22
|
+
follow the META-RULE in `core/rules/code.md` — no commit, no push, no
|
|
23
|
+
publish without explicit user confirmation.
|
|
24
|
+
|
|
25
|
+
Last updated: 2026-09-01
|