@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,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Emergency workflow for hotfixing production issues with minimal blast radius
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Hotfix Production Workflow
|
|
6
|
+
|
|
7
|
+
Use this workflow only for true production emergencies where delaying the fix is riskier than taking the shortest safe path to recovery.
|
|
8
|
+
|
|
9
|
+
### When To Use
|
|
10
|
+
|
|
11
|
+
- production is unavailable or severely degraded
|
|
12
|
+
- a critical security issue needs immediate mitigation
|
|
13
|
+
- there is active data corruption or a strong risk of data loss
|
|
14
|
+
- the incident has meaningful customer impact
|
|
15
|
+
|
|
16
|
+
### Prerequisites
|
|
17
|
+
|
|
18
|
+
- the incident is real and scoped enough to act on
|
|
19
|
+
- stakeholders or on-call owners are aware
|
|
20
|
+
- the minimal safe fix or rollback path is understood
|
|
21
|
+
|
|
22
|
+
### Workflow Steps
|
|
23
|
+
|
|
24
|
+
#### 1. Confirm Severity
|
|
25
|
+
|
|
26
|
+
Role: **SRE**, **Technical Lead**
|
|
27
|
+
|
|
28
|
+
Ask:
|
|
29
|
+
|
|
30
|
+
- is production impact active right now?
|
|
31
|
+
- is this a customer-visible outage or severe degradation?
|
|
32
|
+
- can the issue be mitigated by rollback or configuration first?
|
|
33
|
+
|
|
34
|
+
If the answer is no, use the normal delivery workflow instead.
|
|
35
|
+
|
|
36
|
+
#### 2. Contain The Blast Radius
|
|
37
|
+
|
|
38
|
+
Role: **SRE**, **DevOps Engineer**
|
|
39
|
+
|
|
40
|
+
Choose the least risky mitigation available first:
|
|
41
|
+
|
|
42
|
+
- **disable via OpenFeature flag first** (takes seconds, no deployment) — if the failing path is behind a feature flag, disable it immediately before assessing rollback vs hotfix
|
|
43
|
+
- rollback to the last known good release (in Argo CD: `argo rollouts abort` for progressive delivery; in GitOps: revert the manifest commit)
|
|
44
|
+
- disable the failing path with config or a feature flag
|
|
45
|
+
- isolate or scale down only the affected workload
|
|
46
|
+
- route traffic away from the failing dependency when the platform allows it
|
|
47
|
+
|
|
48
|
+
Record the **DORA MTTR clock start** at the moment production impact is confirmed — this is used for post-incident DORA reporting.
|
|
49
|
+
|
|
50
|
+
Use the repo's approved production control path.
|
|
51
|
+
|
|
52
|
+
#### 3. Identify The Smallest Valid Fix
|
|
53
|
+
|
|
54
|
+
Role: **Backend Developer**, **Frontend Developer**
|
|
55
|
+
|
|
56
|
+
Use skill: `troubleshoot-service`
|
|
57
|
+
|
|
58
|
+
**Distributed-trace-first**: retrieve the trace for the failing request before reading raw logs. The span tree immediately shows which service and which layer failed, cutting diagnosis time significantly.
|
|
59
|
+
|
|
60
|
+
Rules:
|
|
61
|
+
|
|
62
|
+
- fix only the incident, not adjacent cleanup
|
|
63
|
+
- avoid opportunistic refactors
|
|
64
|
+
- prefer a reversible change
|
|
65
|
+
- keep the delta as small as possible
|
|
66
|
+
|
|
67
|
+
#### 4. Verify The Fix Quickly
|
|
68
|
+
|
|
69
|
+
Role: **Backend Developer**, **Reviewer**
|
|
70
|
+
|
|
71
|
+
Before shipping:
|
|
72
|
+
|
|
73
|
+
- run the narrowest useful test set first
|
|
74
|
+
- build the changed component
|
|
75
|
+
- exercise the failing path locally or in a lower environment if time allows
|
|
76
|
+
- confirm the fix does not obviously expand blast radius
|
|
77
|
+
|
|
78
|
+
Use skill: `review-code`
|
|
79
|
+
|
|
80
|
+
#### 5. Ship Through The Normal Emergency Path
|
|
81
|
+
|
|
82
|
+
Role: **Backend Developer**, **DevOps Engineer**
|
|
83
|
+
|
|
84
|
+
Use skill: `commit-code`
|
|
85
|
+
|
|
86
|
+
Deliver using the repo's approved emergency release path:
|
|
87
|
+
|
|
88
|
+
- hotfix branch
|
|
89
|
+
- release branch
|
|
90
|
+
- rollback deployment
|
|
91
|
+
- emergency config push
|
|
92
|
+
|
|
93
|
+
Do not create a commit until the user explicitly confirms that commit action.
|
|
94
|
+
Do not push, create a tag, or publish a release until the user explicitly confirms that specific action.
|
|
95
|
+
|
|
96
|
+
#### 6. Monitor Recovery
|
|
97
|
+
|
|
98
|
+
Role: **SRE**, **DevOps Engineer**
|
|
99
|
+
|
|
100
|
+
After deployment:
|
|
101
|
+
|
|
102
|
+
- watch service health and key alerts
|
|
103
|
+
- verify the affected path behaves correctly
|
|
104
|
+
- compare error rate and latency against the incident window
|
|
105
|
+
- keep monitoring until the system is stable
|
|
106
|
+
|
|
107
|
+
#### 7. Close The Incident Properly
|
|
108
|
+
|
|
109
|
+
Role: **Technical Lead**, **Technical Writer**
|
|
110
|
+
|
|
111
|
+
After stabilization:
|
|
112
|
+
|
|
113
|
+
- merge or reconcile the hotfix back into the main development line
|
|
114
|
+
- update changelog or release notes if the repo expects them
|
|
115
|
+
- capture an incident summary and preventive follow-up
|
|
116
|
+
|
|
117
|
+
### Post-Incident Follow-Up
|
|
118
|
+
|
|
119
|
+
Record:
|
|
120
|
+
|
|
121
|
+
- root cause
|
|
122
|
+
- mitigation used
|
|
123
|
+
- final fix
|
|
124
|
+
- missing tests, monitoring, or process gaps
|
|
125
|
+
|
|
126
|
+
Schedule deeper cleanup separately from the hotfix itself.
|
|
127
|
+
|
|
128
|
+
### Checklist
|
|
129
|
+
|
|
130
|
+
- [ ] severity and production impact confirmed
|
|
131
|
+
- [ ] blast radius contained with the least risky mitigation
|
|
132
|
+
- [ ] smallest valid fix identified
|
|
133
|
+
- [ ] narrow verification completed
|
|
134
|
+
- [ ] emergency delivery path followed with explicit approvals
|
|
135
|
+
- [ ] recovery monitored until stable
|
|
136
|
+
- [ ] incident summary and preventive follow-up captured
|
|
137
|
+
|
|
138
|
+
### Related Workflows
|
|
139
|
+
|
|
140
|
+
- [Troubleshooting](troubleshooting.md)
|
|
141
|
+
- [Service Review & Release](service-review-release.md)
|
|
142
|
+
- [Build & Deploy](build-deploy.md)
|
|
143
|
+
|
|
144
|
+
### Related Skills
|
|
145
|
+
|
|
146
|
+
- **troubleshoot-service**: Isolate the incident cause quickly
|
|
147
|
+
- **review-code**: Review risky hotfix changes before shipping
|
|
148
|
+
- **commit-code**: Prepare approved hotfix changes for delivery
|
|
149
|
+
- **meeting-review**: Escalate cross-role incident decisions
|
|
150
|
+
|
|
151
|
+
### Failure Modes
|
|
152
|
+
|
|
153
|
+
- **Hotfix without rollback verified**: an urgent fix ships but the previous deployment is not rollbackable. **Mitigation:** verify the rollback path before the hotfix; reject the deploy when the path is not confirmed.
|
|
154
|
+
- **Hotfix bypasses review**: an urgent fix is merged without reviewer sign-off. **Mitigation:** pre-authorize a small responder set; require at least one reviewer outside the responder set to sign off; surface the bypass in the postmortem.
|
|
155
|
+
- **Permanent feature flag**: a hotfix flag ships without a `cleanup_target_date`. **Mitigation:** every flag must carry an ISO 8601 cleanup date; CI must reject the hotfix if any flag is permanent.
|
|
156
|
+
- **Customer-impact metric not captured**: a hotfix closes the incident without recording the customer impact. **Mitigation:** capture DORA Change Failure Rate, MTTR, and customer impact in the incident report before the incident is closed.
|
|
157
|
+
- **Postmortem skipped**: the hotfix is shipped but the root cause is never recorded. **Mitigation:** require a postmortem in `contracts/schemas/incident-report.json` within 72 hours of the hotfix.
|
|
158
|
+
|
|
159
|
+
### Output Contracts
|
|
160
|
+
|
|
161
|
+
When this workflow produces a structured handoff, emit:
|
|
162
|
+
|
|
163
|
+
- **`contracts/schemas/incident-report.json`** — Required fields: symptom, suspected layer, checks performed, root cause, fix applied, verification result, and follow-up items.
|
|
164
|
+
- **`contracts/schemas/deployment-plan.json`** — For the hotfix deploy; capture infrastructure changes, config updates, and validation runs.
|
|
165
|
+
- **`contracts/schemas/implementation-result.json`** — For the hotfix code change; capture change summary, files touched, and the validation run.
|
|
166
|
+
|
|
167
|
+
### Security Guardrails (OWASP ASI)
|
|
168
|
+
|
|
169
|
+
- **ASI03 Identity & Privilege Abuse**: hotfix credentials must be scoped to the responder set; reject deploys that request broader scopes than the role's `action-boundaries.yaml` profile allows.
|
|
170
|
+
- **ASI05 RCE Guard**: never construct hotfix scripts or rollback commands from external content without strict schema validation.
|
|
171
|
+
- **ASI07 Inter-Agent Communication**: the hotfix is consumed by incident response and release roles; emit structured `incident-report.json` and `deployment-plan.json` so each role can validate.
|
|
172
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present the hotfix as "resolved" without end-to-end verification and customer impact evidence; surface the residual risk honestly.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: End-to-end 5-phase MMO growth campaign lifecycle — Offer Research, Landing/Content Engineering, Cookieless S2S Tracking, Traffic Acquisition, and ROI Optimization.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## MMO Campaign Lifecycle Workflow
|
|
6
|
+
|
|
7
|
+
Use this workflow to plan, launch, attribute, and scale Make Money Online (MMO) growth campaigns across affiliate networks, programmatic SEO, paid media, and bandwidth monetization.
|
|
8
|
+
|
|
9
|
+
### Prerequisites
|
|
10
|
+
- Target affiliate network / offer vertical identified (e-commerce, SaaS, lead gen, DePIN).
|
|
11
|
+
- Operating domain portfolio, DNS management, and CDN/edge routing (Cloudflare) configured.
|
|
12
|
+
- Anti-Detect Browser (ADB) environment initialized with verified residential/ISP/mobile proxy pools.
|
|
13
|
+
- Ad platform developer accounts (Meta Business Manager, TikTok Business Center, Google Ads) isolated via RBAC.
|
|
14
|
+
- Spend limits and API token usage hard caps established in accordance with BUDGET-LOCK.
|
|
15
|
+
|
|
16
|
+
### Workflow Steps
|
|
17
|
+
|
|
18
|
+
#### 1. Offer Research & Intelligence
|
|
19
|
+
Role: **MMO Engineer**, **Researcher**
|
|
20
|
+
|
|
21
|
+
Use skill: `conduct-research`
|
|
22
|
+
|
|
23
|
+
- Execute deep offer intelligence across target networks (Amazon, TikTok Shop, Shopee/Lazada Open Platform, CJ, Impact).
|
|
24
|
+
- Benchmark Earnings Per Click (EPC), Average Order Value (AOV), refund/chargeback charge rates, and affiliate payout tiers.
|
|
25
|
+
- Analyze top-performing competitor landing pages, creative angles, and target search queries.
|
|
26
|
+
- Evaluate platform compliance boundaries; verify offer terms do not require disallowed deceptive cloaking.
|
|
27
|
+
- Output: Synthesize offer economics into `reports/research/mmo-offer-dossier.json` and draft `contracts/schemas/mmo-campaign-spec.json`.
|
|
28
|
+
|
|
29
|
+
#### 2. Landing Page & Content Engineering
|
|
30
|
+
Role: **MMO Engineer**, **Content Writer**
|
|
31
|
+
|
|
32
|
+
Use skill: `generate-mmo-content`
|
|
33
|
+
Use skill: `write-article`
|
|
34
|
+
|
|
35
|
+
- Generate programmatic SEO (pSEO) landing pages utilizing Answer-First structure (BLUF ≤60 words) for search capture.
|
|
36
|
+
- Develop high-converting direct-response copywriting (AIDA / PAS frameworks) emphasizing value proposition and social proof.
|
|
37
|
+
- Author multimodal video hooks and scripts tailored for short-form video traffic arbitrage (TikTok, YouTube Shorts, Reels).
|
|
38
|
+
- Ensure zero AI-hallucinated product claims; embed schema markup (`Product`, `Review`, `FAQPage`) for generative search engine extraction.
|
|
39
|
+
- Output: Publish-ready landing pages and creative assets conforming to `contracts/schemas/content-handoff.json`.
|
|
40
|
+
|
|
41
|
+
#### 3. Cookieless S2S Tracking & Attribution Setup
|
|
42
|
+
Role: **MMO Engineer**
|
|
43
|
+
|
|
44
|
+
Use skill: `setup-tracking-system`
|
|
45
|
+
|
|
46
|
+
- Configure dual-layer attribution: client-side pixel backup paired with direct Server-to-Server (S2S) event transmission.
|
|
47
|
+
- Integrate modern conversion APIs: Meta CAPI v20+, TikTok Events API, and Google Enhanced Conversions.
|
|
48
|
+
- Enforce cryptographic deduplication by generating identical UUID v4 `event_id` parameters across client and server events.
|
|
49
|
+
- Deploy affiliate network postback webhooks with signature verification (HMAC-SHA256) and Click-to-Install Time (CTIT) fraud filtering.
|
|
50
|
+
- Verify end-to-end event firing using test payloads before committing any paid traffic budget.
|
|
51
|
+
- Output: Active tracking endpoints, validated postback URLs, and verification logs in `contracts/schemas/implementation-result.json`.
|
|
52
|
+
|
|
53
|
+
#### 4. Traffic Acquisition & Stealth Ad Launch
|
|
54
|
+
Role: **MMO Engineer**, **Security Engineer**
|
|
55
|
+
|
|
56
|
+
Use skill: `create-automation-script`
|
|
57
|
+
Use skill: `deploy-mmo-infrastructure`
|
|
58
|
+
Use skill: `manage-mmo-assets`
|
|
59
|
+
|
|
60
|
+
- Deploy isolated browser profiles using Chrome DevTools Protocol (CDP) over anti-detect browser platforms.
|
|
61
|
+
- Enforce WebGPU/Canvas fingerprint consistency, client audio noise injection, and TLS client hello (JA3/JA4) fingerprint alignment.
|
|
62
|
+
- Implement organic behavioral automation: humanized mouse splines, dynamic typing cadences, and random jitter to evade bot heuristics.
|
|
63
|
+
- Manage automated warmup state machines for ad accounts and dynamic residential proxy health probes.
|
|
64
|
+
- Safeguard credentials and payment assets: programmatically handle 2FA/TOTP tokens and enforce virtual card (VCC) isolation.
|
|
65
|
+
- Output: Executed campaign launch logs and infrastructure state in `contracts/schemas/implementation-result.json`.
|
|
66
|
+
|
|
67
|
+
#### 5. ROI Optimization, Attribution & Scaling
|
|
68
|
+
Role: **MMO Engineer**, **Data Analyst**
|
|
69
|
+
|
|
70
|
+
Use skill: `analyze-campaign-roi`
|
|
71
|
+
Use skill: `analyze-data`
|
|
72
|
+
|
|
73
|
+
- Calculate True ROI incorporating blended ad spend, residential proxy consumption costs, API tokens, and account die-rate depreciation.
|
|
74
|
+
- Measure Blended Return on Ad Spend (Blended ROAS = Total Revenue / Total Ad Spend) across all acquisition channels.
|
|
75
|
+
- Model multi-tier affiliate commission structures, delayed conversion payouts, and customer lifetime value (LTV).
|
|
76
|
+
- Enforce automated budget scaling rules: scale ad spend by 20% on winning ad sets exceeding target ROAS; immediately pause bleeders.
|
|
77
|
+
- Produce comprehensive financial analytics and executive performance reports.
|
|
78
|
+
- Output: Validated campaign performance report in `contracts/schemas/mmo-roi-report.json`.
|
|
79
|
+
|
|
80
|
+
### Checklist
|
|
81
|
+
- [ ] Offer EPC, AOV, and payout terms validated against affiliate network APIs
|
|
82
|
+
- [ ] Programmatic SEO landing page drafted with Answer-First BLUF (≤60 words)
|
|
83
|
+
- [ ] Direct-response copy and short-form video hooks reviewed against platform compliance
|
|
84
|
+
- [ ] Server-to-Server (S2S) tracking endpoints configured for Meta CAPI, TikTok Events API, and Google Enhanced Conversions
|
|
85
|
+
- [ ] UUID v4 event_id deduplication verified across client and server event payloads
|
|
86
|
+
- [ ] Postback webhook HMAC-SHA256 signature verification and CTIT fraud filtering enabled
|
|
87
|
+
- [ ] Anti-detect browser profiles verified for WebGPU, Canvas, and JA3/JA4 fingerprint consistency
|
|
88
|
+
- [ ] Residential proxy health checks and automated warmup state machine confirmed
|
|
89
|
+
- [ ] 2FA/TOTP programmatic token handling and VCC spending limits enforced
|
|
90
|
+
- [ ] True ROI, Blended ROAS, and die-rate amortized costs computed
|
|
91
|
+
- [ ] Automated budget scaling and bleeder-pause thresholds active
|
|
92
|
+
|
|
93
|
+
### Related Workflows
|
|
94
|
+
- [seo-content-lifecycle](seo-content-lifecycle.md) — Precursor workflow for organic topic clustering and SEO content development
|
|
95
|
+
- [content-publishing](content-publishing.md) — Production editorial pipeline for publishing review articles and advertorials
|
|
96
|
+
- [qa-validation](qa-validation.md) — Quality assurance protocol for landing page rendering and webhook reliability
|
|
97
|
+
- [security-incident-response](security-incident-response.md) — Incident response protocol for compromised ad accounts or rogue proxy routing
|
|
98
|
+
|
|
99
|
+
### Related Skills
|
|
100
|
+
- **setup-tracking-system**: Configure S2S postbacks, Meta CAPI, TikTok Events API, and Google Enhanced Conversions
|
|
101
|
+
- **create-automation-script**: Build CDP stealth automation scripts with WebGPU/Canvas fingerprint consistency
|
|
102
|
+
- **deploy-mmo-infrastructure**: Orchestrate dynamic proxy networks and automated warmup state machines
|
|
103
|
+
- **manage-mmo-assets**: Maintain isolated ad accounts, VCC payment allocations, and 2FA/TOTP credentials
|
|
104
|
+
- **deploy-proxyware-fleet**: Operate decentralized bandwidth monetization nodes (DePIN) with resource boundaries
|
|
105
|
+
- **generate-mmo-content**: Produce programmatic SEO landing pages, CRO advertorials, and video hooks
|
|
106
|
+
- **analyze-campaign-roi**: Calculate True ROI, Blended ROAS, customer LTV, and multi-tier payout models
|
|
107
|
+
- **conduct-research**: Investigate competitor ad creative intelligence and affiliate offer metrics
|
|
108
|
+
- **write-article**: Author long-form affiliate reviews and programmatic content
|
|
109
|
+
- **analyze-data**: Synthesize multi-channel attribution and ad spend datasets
|
|
110
|
+
|
|
111
|
+
### Failure Modes
|
|
112
|
+
- **Attribution Loss (Postback Failure)**: Affiliate network fails to fire postbacks due to URL encoding issues or network dropouts. **Mitigation:** Implement idempotent postback replay queues and local access log reconciliation.
|
|
113
|
+
- **Cascading Profile Ban ("Chết chùm")**: Cross-contamination of residential IPs or shared browser fingerprint hashes triggers mass suspension. **Mitigation:** Enforce strict 1:1:1 profile-to-IP-to-card isolation under ISOLATION-LOCK.
|
|
114
|
+
- **Budget Bleed**: Rogue automation script or unchecked campaign spends past profitability threshold during high-latency periods. **Mitigation:** Hardware API spend limits and automatic circuit-breaker pause scripts triggered under BUDGET-LOCK.
|
|
115
|
+
|
|
116
|
+
### Output Contracts
|
|
117
|
+
- **`contracts/schemas/mmo-campaign-spec.json`** — Formal campaign specification (target offer, tracking schema, budget caps, landing page parameters).
|
|
118
|
+
- **`contracts/schemas/mmo-roi-report.json`** — Comprehensive financial audit (Blended ROAS, True ROI, net margin, LTV projections, die-rate depreciation).
|
|
119
|
+
|
|
120
|
+
### Security Guardrails (OWASP ASI)
|
|
121
|
+
- **ASI01 Goal Hijack**: Automation script must not navigate to unauthorized ad networks or click unvetted affiliate links.
|
|
122
|
+
- **ASI03 Identity & Privilege Abuse**: Ad accounts and payment credentials must be accessed strictly via least-privilege RBAC; zero credential persistence in automation code.
|
|
123
|
+
- **ASI09 Human-Agent Trust Exploitation**: Campaign performance figures must report raw, unreconciled ad platform stats alongside verified bank postback settlements; no fabricated ROAS figures.
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: End-to-end Vietnam accounting period closing: subledger cut-off, 3-way matching, revaluations, accruals, revenue/expense closing to TK 911, Decree 132 EBITDA cap, B01-B09 statements, and dual HITL sign-off.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Period-End Closing Workflow
|
|
6
|
+
|
|
7
|
+
Use this workflow to execute a compliant, deterministic period-end financial closing cycle under Vietnamese Accounting Standards (VAS / Circular 200 / Circular 133) and the 2027 VFRS roadmap (Decision 345/QD-BTC), ensuring statutory compliance, zero-balance clearing, immutable audit trails, and segregation of duties.
|
|
8
|
+
|
|
9
|
+
### When To Use
|
|
10
|
+
|
|
11
|
+
- Monthly, quarterly, or annual accounting period close for Vietnamese legal entities
|
|
12
|
+
- Preparation of statutory financial statements (B01-DN, B02-DN, B03-DN, B09-DN)
|
|
13
|
+
- Reconciliation and clearing of temporary accounts (TK 511, TK 521, TK 632, TK 641, TK 642, TK 811, TK 821, TK 911)
|
|
14
|
+
- Year-end tax finalization and Decree 132/2020/ND-CP net interest deduction limitation review
|
|
15
|
+
- Period locking with immutable cryptographic audit logging and dual human-in-the-loop (HITL) digital sign-off
|
|
16
|
+
|
|
17
|
+
### Prerequisites
|
|
18
|
+
|
|
19
|
+
- Access to general ledger, subledgers (AR, AP, Inventory, Fixed Assets, Cash/Bank, Payroll), and ERP posting journals
|
|
20
|
+
- Access to electronic invoice XML repository, General Department of Taxation (GDT) verification services, and bank statements
|
|
21
|
+
- Active accounting regime confirmed (Circular 200/2014/TT-BTC, Circular 133/2016/TT-BTC, or Circular 132/2018/TT-BTC)
|
|
22
|
+
- Reference exchange rates from primary transacting commercial banks as of the closing date
|
|
23
|
+
- Asset and prepaid expense master registers with historical depreciation and amortization schedules
|
|
24
|
+
- Authorization tokens and cryptographic credentials for Chief Accountant and Legal Representative
|
|
25
|
+
|
|
26
|
+
### Workflow Steps
|
|
27
|
+
|
|
28
|
+
#### 1. Subledger Cut-Off & Period Ingestion
|
|
29
|
+
|
|
30
|
+
Role: **Vietnam Accounting Specialist**
|
|
31
|
+
|
|
32
|
+
Enforce strict transaction cut-off and ingest source transaction records across all accounting subsystems:
|
|
33
|
+
|
|
34
|
+
- Freeze transaction posting for the closing period; reject backdated journal entries without explicit supervisor override.
|
|
35
|
+
- Verify that all sales invoices, purchase invoices, warehouse receipts, and payment orders dated on or before the cut-off date are ingested.
|
|
36
|
+
- Audit input electronic invoices against Decree 123/2020/ND-CP and Circular 78/2021/TT-BTC:
|
|
37
|
+
- validate Decision 1450/QD-TCT XML structure and verify digital signatures against trusted certificate authorities.
|
|
38
|
+
- perform automated lookup on the GDT portal (`hoadondientu.gdt.gov.vn`) to confirm invoice existence and tax authority approval code (`MCCQT`).
|
|
39
|
+
- screen vendor tax codes against the national tax registry (`tracuunnt.gdt.gov.vn`) to identify suspended (status 03) or runaway (status 04) entities.
|
|
40
|
+
- verify non-cash payment vouchers (Ủy nhiệm chi) for all B2B invoices with gross value $\ge$ 20,000,000 VND per Circular 219/2013/TT-BTC.
|
|
41
|
+
- Classify any cut-off discrepancies into standard severity levels:
|
|
42
|
+
- **Blocking**: suspended vendor invoice claimed for VAT deduction, missing non-cash payment proof for large invoice, or unrecorded transaction dated within the period.
|
|
43
|
+
- **Important**: minor timestamp drift at cut-off boundary with immaterial tax impact.
|
|
44
|
+
- **Follow-Up**: missing secondary vendor contact metadata.
|
|
45
|
+
|
|
46
|
+
Use skill: `manage-vietnam-accounting`
|
|
47
|
+
|
|
48
|
+
#### 2. Deterministic 3-Way Matching & Variance Resolution
|
|
49
|
+
|
|
50
|
+
Role: **Vietnam Accounting Specialist**
|
|
51
|
+
|
|
52
|
+
Execute algorithmic 3-way matching across procurement and inventory documents:
|
|
53
|
+
|
|
54
|
+
- Match Purchase Orders (PO), Goods Receipt Notes (GRN / Phiếu nhập kho), and Vendor Electronic Invoices across item codes, quantities, unit prices, and VAT rates.
|
|
55
|
+
- Enforce strict variance tolerances:
|
|
56
|
+
- **Price Variance**: 0.00% allowable variance; block payment authorization if invoice unit price exceeds PO unit price without approved contract addendum.
|
|
57
|
+
- **Quantity Variance**: 0.00% for discrete units; maximum $\le 0.50\%$ for bulk commodities within contract shrink margins.
|
|
58
|
+
- Manage cut-off inventory accruals:
|
|
59
|
+
- **Goods Received Not Invoiced (GRNI)**: post provisional accrual for warehouse receipts without invoice at cut-off (Debit TK 152/156, Credit TK 331 without input VAT accrual); tag for automatic reversal upon invoice receipt in next period.
|
|
60
|
+
- **Goods in Transit**: post goods purchased and accepted where ownership transferred but physical receipt is pending at cut-off (Debit TK 151, Debit TK 133, Credit TK 331/112).
|
|
61
|
+
- Route unresolved discrepancies to procurement and vendor managers for formal settlement.
|
|
62
|
+
|
|
63
|
+
Use skill: `manage-vietnam-accounting`
|
|
64
|
+
|
|
65
|
+
#### 3. Balance Reconciliations & Foreign Currency Revaluation
|
|
66
|
+
|
|
67
|
+
Role: **Vietnam Accounting Specialist**
|
|
68
|
+
|
|
69
|
+
Reconcile balance sheet accounts against external third-party statements and revalue foreign currency balances:
|
|
70
|
+
|
|
71
|
+
- Reconcile Cash in Bank (TK 112) against official bank statements and credit advices for every open bank account; prepare bank reconciliation workpapers identifying outstanding deposits and unpresented checks.
|
|
72
|
+
- Reconcile Accounts Receivable (TK 131) and Accounts Payable (TK 331) against customer and vendor balance confirmation letters (Biên bản đối chiếu công nợ); investigate balances older than 180 days for bad debt provisioning per Circular 48/2019/TT-BTC.
|
|
73
|
+
- Reconcile perpetual inventory subledgers (TK 15x) with physical warehouse count sheets; post inventory discrepancies (Debit/Credit TK 1381 or TK 3381) pending board approval.
|
|
74
|
+
- Execute year-end foreign currency monetary revaluation per Circular 200/2014/TT-BTC Article 69:
|
|
75
|
+
- revalue foreign currency monetary assets (TK 1112, TK 1122, TK 128, TK 131 debit balances) using the actual buying rate of the commercial bank where transactions are conducted.
|
|
76
|
+
- revalue foreign currency monetary liabilities (TK 331 credit balances, TK 341) using the actual selling rate of the primary lending commercial bank.
|
|
77
|
+
- recognize revaluation differences in Foreign Exchange Differences (TK 413); transfer net gain to Financial Income (Credit TK 515) or net loss to Financial Expenses (Debit TK 635) at year-end closing. Do not revalue non-monetary items or advance payments.
|
|
78
|
+
|
|
79
|
+
Use skill: `manage-vietnam-accounting`
|
|
80
|
+
|
|
81
|
+
#### 4. Accrual Entries & Automated Amortization / Depreciation
|
|
82
|
+
|
|
83
|
+
Role: **Vietnam Accounting Specialist**
|
|
84
|
+
|
|
85
|
+
Calculate and post month-end cost center allocations, amortizations, and depreciation schedules:
|
|
86
|
+
|
|
87
|
+
- Automate prepaid expense amortization (TK 242):
|
|
88
|
+
- amortize tools, office leases, equipment rentals, and repair expenditures straight-line into operating expense accounts (TK 641, TK 642, TK 627).
|
|
89
|
+
- enforce the statutory maximum allocation period ceiling of **36 months** for CIT deductibility per Circular 96/2015/TT-BTC; flag any schedule exceeding 36 months as non-deductible for tax purposes.
|
|
90
|
+
- Automate fixed asset depreciation (TK 214):
|
|
91
|
+
- calculate monthly straight-line or declining balance depreciation for all tangible (TK 211) and intangible (TK 213) assets per Circular 45/2013/TT-BTC.
|
|
92
|
+
- verify asset useful lives against statutory minimum and maximum brackets in Appendix I of Circular 45/2013/TT-BTC.
|
|
93
|
+
- Post month-end payroll and social insurance accruals:
|
|
94
|
+
- reconcile salary expenses (TK 622, TK 641, TK 642) against payroll summary sheets and gross salary payable (TK 334).
|
|
95
|
+
- accrue statutory employer insurance contributions (TK 3383 Social Insurance 17.5%, TK 3384 Health Insurance 3%, TK 3386 Unemployment Insurance 1%, TK 3382 Trade Union 2%).
|
|
96
|
+
|
|
97
|
+
Use skill: `manage-vietnam-accounting`
|
|
98
|
+
|
|
99
|
+
#### 5. Revenue Deductions & Net Revenue Closing
|
|
100
|
+
|
|
101
|
+
Role: **Vietnam Accounting Specialist**
|
|
102
|
+
|
|
103
|
+
Close sales deductions and transfer net revenues into the profit and loss clearing account:
|
|
104
|
+
|
|
105
|
+
- Review and aggregate revenue deduction accounts:
|
|
106
|
+
- Trade Discounts (TK 5211)
|
|
107
|
+
- Sales Returns (TK 5212)
|
|
108
|
+
- Sales Allowances (TK 5213)
|
|
109
|
+
- Transfer revenue deductions to Gross Revenue (TK 511):
|
|
110
|
+
- Debit TK 511 (Revenue from goods sold and services rendered)
|
|
111
|
+
- Credit TK 521 (TK 5211, TK 5212, TK 5213)
|
|
112
|
+
- verify that ending balances for all TK 521 sub-accounts equal strictly 0.00 VND.
|
|
113
|
+
- Close Net Revenue and Financial/Other Income to Account 911 (Summary of Operations):
|
|
114
|
+
- Debit TK 511 (Net revenue from sales and services)
|
|
115
|
+
- Debit TK 515 (Financial income: interest, dividends, realized FX gains, revaluation gains)
|
|
116
|
+
- Debit TK 711 (Other income: asset disposals, contract penalties received)
|
|
117
|
+
- Credit TK 911 (Summary of operations)
|
|
118
|
+
- verify that ending balances of TK 511, TK 515, and TK 711 equal strictly 0.00 VND.
|
|
119
|
+
|
|
120
|
+
Use skill: `manage-vietnam-accounting`
|
|
121
|
+
|
|
122
|
+
#### 6. Expense Closing to Account 911
|
|
123
|
+
|
|
124
|
+
Role: **Vietnam Accounting Specialist**
|
|
125
|
+
|
|
126
|
+
Close all operating, financial, and other expenses into the profit and loss clearing account:
|
|
127
|
+
|
|
128
|
+
- Close Cost of Goods Sold:
|
|
129
|
+
- Debit TK 911 (Summary of operations)
|
|
130
|
+
- Credit TK 632 (Cost of goods sold)
|
|
131
|
+
- Close Financial Expenses:
|
|
132
|
+
- Debit TK 911 (Summary of operations)
|
|
133
|
+
- Credit TK 635 (Financial expenses: interest expenses, borrowing fees, realized FX losses)
|
|
134
|
+
- Close Selling and Administrative Expenses:
|
|
135
|
+
- Under Circular 200: Debit TK 911 / Credit TK 641 (Selling expenses) and Credit TK 642 (General and administrative expenses).
|
|
136
|
+
- Under Circular 133: Debit TK 911 / Credit TK 6421 (Selling expenses) and Credit TK 6422 (General and administrative expenses).
|
|
137
|
+
- Close Other Expenses:
|
|
138
|
+
- Debit TK 911 (Summary of operations)
|
|
139
|
+
- Credit TK 811 (Other expenses: tax fines, asset liquidation residual book values)
|
|
140
|
+
- Audit temporary expense accounts post-closing: verify that TK 632, TK 635, TK 641, TK 642, and TK 811 have ending balances of strictly 0.00 VND.
|
|
141
|
+
|
|
142
|
+
Use skill: `manage-vietnam-accounting`
|
|
143
|
+
|
|
144
|
+
#### 7. CIT Calculation, Decree 132 30% EBITDA Cap & Net Profit Closing
|
|
145
|
+
|
|
146
|
+
Role: **Vietnam Accounting Specialist**
|
|
147
|
+
|
|
148
|
+
Compute Corporate Income Tax, enforce related-party net interest expense limitations, and transfer net profit to undistributed earnings:
|
|
149
|
+
|
|
150
|
+
- Calculate accounting profit before tax on Account 911:
|
|
151
|
+
$$\text{Accounting Profit Before Tax} = \sum \text{Credits on TK 911} - \sum \text{Debits on TK 911}$$
|
|
152
|
+
- Screen for related-party relationships under Decree 132/2020/ND-CP Article 5:
|
|
153
|
+
- if related-party transactions exist, calculate EBITDA per statutory formula:
|
|
154
|
+
$$\text{EBITDA} = \text{Operating Profit} + \text{Net Interest Expense} + \text{Depreciation/Amortization}$$
|
|
155
|
+
- compute the 30% EBITDA net interest expense deduction cap per Decree 132/2020/ND-CP Article 16.
|
|
156
|
+
- disallow net interest expense exceeding 30% EBITDA on CIT Return Form 03-1A/TNDN (Box B4); register excess interest for 5-year carry-forward tracking.
|
|
157
|
+
- if EBITDA $\le 0$, net deductible interest expense is 0 VND; disallow 100% of net interest expense for the current tax year.
|
|
158
|
+
- Calculate tax adjustments (Permanent differences B1, B2, B4, B7; Temporary differences B8-B14) to determine Taxable Income.
|
|
159
|
+
- Compute Current Corporate Income Tax (CIT rate 20%):
|
|
160
|
+
- Debit TK 8211 (Current corporate income tax expense) / Credit TK 3334 (CIT payable).
|
|
161
|
+
- Close CIT expense to Account 911:
|
|
162
|
+
- Debit TK 911 / Credit TK 8211.
|
|
163
|
+
- Close Net Profit After Tax to Undistributed Earnings (TK 4212):
|
|
164
|
+
- if net profit: Debit TK 911 / Credit TK 4212.
|
|
165
|
+
- if net loss: Debit TK 4212 / Credit TK 911.
|
|
166
|
+
- **Strict Account 911 Clearing Verification**: verify that the post-closing ending balance of Account 911 is strictly **0.00 VND**. Block progression immediately if any residual balance remains.
|
|
167
|
+
|
|
168
|
+
Use skill: `manage-vietnam-accounting`
|
|
169
|
+
|
|
170
|
+
#### 8. Statutory Financial Statements Assembly & Dual HITL Digital Sign-Off Gate
|
|
171
|
+
|
|
172
|
+
Role: **Vietnam Accounting Specialist**
|
|
173
|
+
|
|
174
|
+
Assemble statutory financial statements, generate immutable audit hashes, and enforce dual human-in-the-loop approvals:
|
|
175
|
+
|
|
176
|
+
- Assemble the complete statutory financial statements package:
|
|
177
|
+
- **B01-DN (Balance Sheet)**: verify the fundamental balance sheet equality:
|
|
178
|
+
$$\text{Total Assets} = \text{Total Liabilities} + \text{Owner's Equity}$$
|
|
179
|
+
- **B02-DN (Income Statement)**: verify revenue, COGS, expenses, and profit figures match closed general ledger balances.
|
|
180
|
+
- **B03-DN (Cash Flow Statement)**: verify direct or indirect operating, investing, and financing cash flows, ensuring:
|
|
181
|
+
$$\text{Net Cash Flow} = \text{Closing Cash Balance} - \text{Opening Cash Balance}$$
|
|
182
|
+
- **B09-DN (Notes to Financial Statements)**: complete required accounting policy disclosures, related-party transaction breakdowns, and VFRS dual-layer adjustments per Decision 345/QD-BTC.
|
|
183
|
+
- Generate cryptographic post-closing trial balance snapshot:
|
|
184
|
+
- compute SHA-256 digest of post-closing ledger balances and emit OCSF 99001 compliance audit event.
|
|
185
|
+
- set write-once-read-many (WORM) immutable period lock flag.
|
|
186
|
+
- Execute Dual HITL Digital Sign-Off Gate:
|
|
187
|
+
- transmit closing package and audit report to Chief Accountant and Legal Representative.
|
|
188
|
+
- require explicit digital signature approval tokens from both authorities.
|
|
189
|
+
- reject automated closing attempts lacking valid human authorization tokens.
|
|
190
|
+
- Emit structured closing deliverable `contracts/schemas/period-end-closing-report.json`.
|
|
191
|
+
|
|
192
|
+
Use skill: `manage-vietnam-accounting`
|
|
193
|
+
|
|
194
|
+
### Checklist
|
|
195
|
+
|
|
196
|
+
- [ ] Subledger transactions frozen and period cut-off date enforced across AR, AP, bank, inventory, and payroll
|
|
197
|
+
- [ ] Invoices validated for GDT registration, XML signature authenticity, vendor active tax status, and non-cash bank transfer vouchers ($\ge$ 20M VND)
|
|
198
|
+
- [ ] Deterministic 3-way matching completed with zero unit price variance and GRNI/goods-in-transit cut-off accruals posted
|
|
199
|
+
- [ ] Bank accounts, customer/vendor balances, and physical inventory reconciled with discrepancies documented
|
|
200
|
+
- [ ] Monetary foreign currency assets and liabilities revalued using Circular 200 Article 69 commercial bank exchange rates
|
|
201
|
+
- [ ] Prepaid expenses (TK 242) amortized adhering to Circular 96 36-month ceiling and fixed asset depreciation (TK 214) calculated per Circular 45 brackets
|
|
202
|
+
- [ ] Revenue deductions (TK 521) cleared to TK 511, and net revenues and other income closed to Account 911
|
|
203
|
+
- [ ] Operating, financial, and other expenses closed to Account 911 with temporary accounts showing zero ending balance
|
|
204
|
+
- [ ] Decree 132 30% EBITDA net interest cap evaluated and CIT calculated with tax adjustments (B1-B14)
|
|
205
|
+
- [ ] Account 911 ending balance verified to be strictly 0.00 VND prior to net profit closing to TK 4212
|
|
206
|
+
- [ ] Statutory financial statements (B01-B09) assembled with balance equality validated and cryptographic snapshot generated
|
|
207
|
+
- [ ] Dual HITL approval tokens secured from Chief Accountant and Legal Representative before immutable period lock
|
|
208
|
+
|
|
209
|
+
### Related Workflows
|
|
210
|
+
|
|
211
|
+
- [QA Validation](qa-validation.md)
|
|
212
|
+
- [Service Review Release](service-review-release.md)
|
|
213
|
+
- [Data Migration](data-migration.md)
|
|
214
|
+
- [Tech Repo Review](tech-repo-review.md)
|
|
215
|
+
|
|
216
|
+
### Related Skills
|
|
217
|
+
|
|
218
|
+
- **manage-vietnam-accounting**: Execute subledger reconciliations, 3-way matching, amortization, depreciation, closing entries, and financial statements
|
|
219
|
+
- **analyze-data**: Query transaction ledgers, investigate reconciliation variance anomalies, and compute EBITDA
|
|
220
|
+
- **database-maintenance**: Ensure immutable audit trail preservation and WORM ledger snapshotting
|
|
221
|
+
- **write-documentation**: Document accounting policy disclosures, period-closing workpapers, and explanatory notes
|
|
222
|
+
- **security-audit**: Audit compliance with non-cash payment rules, GDT e-invoice authenticity, and segregation of duties
|
|
223
|
+
|
|
224
|
+
### Failure Modes
|
|
225
|
+
|
|
226
|
+
- **Account 911 Residual Balance**: Account 911 has a non-zero balance post-closing due to omitted expense entries or rounding differences. **Mitigation:** block closing workflow gate; run automated trial balance reconciliation to locate and resolve discrepancies before profit transfer.
|
|
227
|
+
- **Unverified Bogus E-Invoice**: Invoices from suspended or runaway vendors claimed for tax deduction. **Mitigation:** automated GDT portal lookup and tax status screening blocking payment and VAT deduction.
|
|
228
|
+
- **Decree 132 Net Interest Cap Breach**: Enterprise deducts net interest expense exceeding 30% EBITDA in violation of transfer pricing rules. **Mitigation:** automated EBITDA calculation and Form 03-1A/TNDN Box B4 adjustment.
|
|
229
|
+
- **Unauthorized Autonomous Period Lock**: AI agent closes accounting period without human officer authorization. **Mitigation:** mandatory cryptographic sign-off gate requiring Chief Accountant and Legal Representative tokens.
|
|
230
|
+
- **Amortization Beyond Statutory Cap**: Prepaid expenses amortized over 48–60 months instead of statutory 36-month limit. **Mitigation:** programmatic validation enforcing 36-month allocation ceiling.
|
|
231
|
+
|
|
232
|
+
### Output Contracts
|
|
233
|
+
|
|
234
|
+
When this workflow completes, emit:
|
|
235
|
+
|
|
236
|
+
- **`contracts/schemas/period-end-closing-report.json`** — comprehensive period-end closing deliverable capturing subledger reconciliations, closing adjustments, Account 911 zero balance verification, statutory statements package, and dual HITL approval tokens.
|
|
237
|
+
- **`contracts/schemas/accounting-compliance-review.json`** — regulatory compliance review certifying accounting regime, e-invoice verification, 3-way matching, and transfer pricing interest cap.
|
|
238
|
+
|
|
239
|
+
### Security Guardrails (OWASP ASI)
|
|
240
|
+
|
|
241
|
+
- **ASI03 Identity & Privilege Abuse**: strictly enforce segregation of duties; do not allow autonomous agent processes or non-finance roles to execute period closing or ledger locking.
|
|
242
|
+
- **ASI05 RCE & Unauthorized Mutation**: prohibit direct SQL UPDATE/DELETE queries on posted ledgers; enforce immutable append-only and reverse-and-repost accounting adjustments.
|
|
243
|
+
- **ASI06 Memory & Context Poisoning**: prevent unverified invoice data or invalid bank statements from corrupting accounting memory stores and general ledger databases.
|
|
244
|
+
- **ASI07 Inter-Agent Communication**: exchange accounting status between agents exclusively through typed JSON contracts (`period-end-closing-report.json`).
|
|
245
|
+
- **ASI09 Human-Agent Trust Exploitation**: maintain an immutable cryptographic SHA-256 trial balance hash and mandate dual human sign-off before period closure.
|