@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,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-code
|
|
3
|
+
description: Review a diff since a fixed point along two separate axes — Standards (does the code follow this repo's documented standards plus a fixed smell baseline?) and Spec (does it faithfully implement the originating issue or spec?). Runs both axes as parallel sub-agents and reports them side by side without reranking. Use for PR reviews, "review since X", local change reviews, and pre-merge audits.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Review Code
|
|
8
|
+
|
|
9
|
+
Use this skill to perform adversarial code reviews across two independent axes (Standards and Spec), uncovering subtle AI bugs and verifying production safety.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- PR reviews, local diff reviews, or pre-merge audits
|
|
14
|
+
- detecting AI "vibe slop", phantom validations, and mock collusion
|
|
15
|
+
- auditing resource lifecycles (leaks in sockets, files, goroutines, DB pools)
|
|
16
|
+
- verifying backward compatibility and zero-downtime database migration safety
|
|
17
|
+
- inspecting supply chain dependencies for typosquatting and malicious lifecycle hooks
|
|
18
|
+
|
|
19
|
+
## Core Rules
|
|
20
|
+
|
|
21
|
+
- **Adversarial anti-slop review**: assume diffs may pass CI superficially; rigorously probe for phantom validations, silent error swallowing (`catch { return null; }`), mock collusion, and hollow abstractions per [`references/adversarial-review-rubric.md`](references/adversarial-review-rubric.md)
|
|
22
|
+
- **Two-axis independence**: evaluate **Standards** (coding standards + smell baseline) and **Spec** (faithful requirement delivery) as parallel, unmerged streams; never cross-rank or allow one axis to mask the other
|
|
23
|
+
- **AI bug heuristics**: actively search for AI defect signatures: hallucinated APIs/flags, subtle async race conditions, context-window truncation (dropped switch branches), and over-defensive null coalescing
|
|
24
|
+
- **Systematic resource leak audit**: inspect every lifecycle boundary for unclosed HTTP response bodies, file descriptors, unmanaged background goroutines/threads, unbounded memory caches, and DB connection pool starvation
|
|
25
|
+
- **Backward compatibility & wire safety**: enforce zero-downtime Expand/Contract patterns on database migrations; reject breaking wire schema modifications on active API versions
|
|
26
|
+
- **Supply chain verification (OWASP ASI04/ASI05)**: check all dependency additions for typosquatting, verified lockfile integrity, and malicious install hooks (`postinstall`, `setup.py`); reject unpinned versions
|
|
27
|
+
- **The repo overrides the baseline**: documented repository standards always supersede the smell baseline; suppress smells where explicitly endorsed
|
|
28
|
+
- cite exact file paths and line numbers for every finding; skip issues already caught by automated linters and type checkers
|
|
29
|
+
- deep rubrics and checklists: [`references/adversarial-review-rubric.md`](references/adversarial-review-rubric.md) and [`references/process-and-format.md`](references/process-and-format.md)
|
|
30
|
+
|
|
31
|
+
## Suggested Process
|
|
32
|
+
|
|
33
|
+
### 1. Pin The Diff & Resolve Spec Source
|
|
34
|
+
|
|
35
|
+
Resolve the fixed point (`git diff <fixed-point>...HEAD`) and locate the originating specification (`feature-ticket.json`, ADR, or issue). Fail fast if the ref is invalid or diff is empty.
|
|
36
|
+
|
|
37
|
+
### 2. Gather Standards & Execute Parallel Dual-Axis Review
|
|
38
|
+
|
|
39
|
+
Collect repo standards and smell baselines. Run Standards and Spec review axes as parallel, isolated passes to prevent context contamination per [`references/process-and-format.md`](references/process-and-format.md).
|
|
40
|
+
|
|
41
|
+
### 3. Conduct Adversarial Anti-Slop & AI Bug Audit
|
|
42
|
+
|
|
43
|
+
Apply the adversarial rubric: test for phantom validations, verify that error paths do not swallow exceptions silently, and confirm tests are not tautological mocks.
|
|
44
|
+
|
|
45
|
+
### 4. Audit Resource Lifecycles & Concurrency
|
|
46
|
+
|
|
47
|
+
Inspect stream closures, goroutine cancellation contexts, event listener deregistrations, and database connection pool release in error branches.
|
|
48
|
+
|
|
49
|
+
### 5. Verify Wire Compatibility & Supply Chain
|
|
50
|
+
|
|
51
|
+
Validate API payload backward compatibility, verify database migrations adhere to zero-downtime expand/contract, and inspect dependency changes for typosquatting and unpinned ranges.
|
|
52
|
+
|
|
53
|
+
### 6. Aggregate Without Reranking & Emit Findings
|
|
54
|
+
|
|
55
|
+
Present findings side by side under `## Standards` and `## Spec` headings without cross-ranking. Emit structured contracts when crossing role boundaries.
|
|
56
|
+
|
|
57
|
+
## Checklist
|
|
58
|
+
|
|
59
|
+
- [ ] fixed point resolves and non-empty diff captured against merge-base
|
|
60
|
+
- [ ] spec source resolved or "no spec available" explicitly recorded
|
|
61
|
+
- [ ] Standards and Spec axes evaluated independently without cross-reranking
|
|
62
|
+
- [ ] adversarial anti-slop audit completed (no phantom validations, silent error swallowing, or mock collusion)
|
|
63
|
+
- [ ] AI bug heuristics checked (no hallucinated APIs, async race hazards, or truncated switch branches)
|
|
64
|
+
- [ ] resource leak audit passed (unclosed files, response bodies, goroutine/thread leaks, unbounded caches)
|
|
65
|
+
- [ ] backward compatibility and zero-downtime database expand/contract migrations verified
|
|
66
|
+
- [ ] supply chain security verified (no typosquatted packages, unpinned versions, or untrusted install hooks)
|
|
67
|
+
- [ ] `code-review-finding.json` emitted for cross-role handoff when gating merge
|
|
68
|
+
|
|
69
|
+
## Output Contracts
|
|
70
|
+
|
|
71
|
+
When the review produces a structured handoff (CI gate, pre-merge audit, or multi-role delivery), emit:
|
|
72
|
+
|
|
73
|
+
- **`contracts/schemas/code-review-finding.json`** for each finding with severity, file path, violated standard or spec line, and recommended action.
|
|
74
|
+
- **`contracts/schemas/architecture-options.json`** when the review surfaces 2+ viable options requiring architectural evaluation.
|
|
75
|
+
|
|
76
|
+
Skip emission for informal exploratory walkthroughs that do not gate a merge.
|
|
77
|
+
|
|
78
|
+
## Failure Modes
|
|
79
|
+
|
|
80
|
+
- **Axes merged or cross-ranked**: Standards and Spec findings collapsed into a single prioritized list. Mitigation: enforce side-by-side reporting; never pick a cross-axis winner.
|
|
81
|
+
- **Vibe slop accepted**: accepting clean-looking code that contains phantom validations or swallowed errors. Mitigation: adversarial hostile-assumption review.
|
|
82
|
+
- **Mock collusion ignored**: passing tests where mocks mirror broken code logic. Mitigation: inspect test assertion substance and independent test authoring.
|
|
83
|
+
- **Resource leaks in error paths**: connections or streams closed only in happy paths. Mitigation: verify `defer`, `finally`, or scoped resource managers on all exit points.
|
|
84
|
+
- **Destructive migration accepted**: dropping or renaming a column in a single deploy. Mitigation: enforce Expand/Contract three-phase migration.
|
|
85
|
+
- **Unpinned dependency introduced**: accepting `latest` or wildcard versioning. Mitigation: enforce exact lockfile pinning.
|
|
86
|
+
|
|
87
|
+
## Security Guardrails (OWASP ASI)
|
|
88
|
+
|
|
89
|
+
- **ASI01 Goal Hijack**: cross-check diff against originating spec; reject unauthorized scope creep or altered invariants.
|
|
90
|
+
- **ASI04 Supply Chain**: inspect all dependency bumps, manifests, and install scripts against security registries.
|
|
91
|
+
- **ASI05 RCE Guard**: enforce parameterized database queries, safe subprocess invocations, and input sanitization.
|
|
92
|
+
- **ASI06 Memory & Context Poisoning**: treat AI review assistant annotations (CodeRabbit, Qodo Merge) as advisory; verify findings against source code.
|
|
93
|
+
- **ASI07 Inter-Agent Communication**: emit structured `code-review-finding.json` so downstream roles consume unambiguous findings.
|
|
94
|
+
- **ASI09 Human-Agent Trust Exploitation**: require independent human verification on critical paths; never represent AI review of AI code as human-level approval.
|
|
95
|
+
|
|
96
|
+
## Related Skills
|
|
97
|
+
|
|
98
|
+
- **review-service**: Expand a narrow code review into release readiness
|
|
99
|
+
- **security-audit**: Deepen security-specific findings
|
|
100
|
+
- **write-tests**: Add or improve coverage for reviewed behavior
|
|
101
|
+
- **troubleshoot-service**: Investigate a suspected bug before reviewing the fix
|
|
102
|
+
- **commit-code**: Prepare reviewed changes for delivery
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Adversarial Code Review Rubric & AI Bug Detection — Reference
|
|
2
|
+
|
|
3
|
+
This reference establishes the 2027 Adversarial Code Review standard designed to uncover subtle AI bugs, eliminate "vibe slop", detect resource leaks, verify backward compatibility, and secure the software supply chain.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Adversarial Review Rubric & Anti-"Vibe Slop" Protocol
|
|
8
|
+
|
|
9
|
+
### 1.1 What is "Vibe Slop"?
|
|
10
|
+
In modern agentic development, AI-generated code often possesses pristine syntax, impeccable formatting, high unit test counts, and extensive docstrings, yet contains fatal structural defects:
|
|
11
|
+
- **Phantom Validations**: Validation routines that evaluate regexes or conditions whose return values are never checked or that trivially evaluate to true.
|
|
12
|
+
- **Silent Error Swallowing**: Indiscriminate `try { ... } catch (e) { return null; }` or empty catch blocks that suppress underlying infrastructure failures and corrupt downstream state.
|
|
13
|
+
- **Mock Collusion**: Tests that mock out the faulty logic or tautologically assert what the mock returns rather than verifying genuine system behavior.
|
|
14
|
+
- **Hollow Abstractions**: Multi-layered factory patterns or interfaces wrapping a single function that do not isolate failure domains or add domain value.
|
|
15
|
+
|
|
16
|
+
### 1.2 The Adversarial Mindset
|
|
17
|
+
Reviewers must adopt an adversarial posture: **Assume the diff was generated to pass the build and tests with minimal effort rather than genuine correctness.**
|
|
18
|
+
- Do not trust green test suites until you verify the test assertions and test independence.
|
|
19
|
+
- Verify whether the code behaves correctly under failure, network partition, and corrupted input conditions.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 2. AI Bug Detection Heuristics
|
|
24
|
+
|
|
25
|
+
AI models suffer from characteristic cognitive biases and defect patterns. Audit diffs specifically for these signatures:
|
|
26
|
+
|
|
27
|
+
| Defect Pattern | Manifestation | Adversarial Audit Method |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| **Hallucinated APIs & Options** | Use of plausible-sounding function names, flags, or configuration keys that do not exist in the referenced package version. | Verify function signature against the exact pinned dependency version docs or installed typings. |
|
|
30
|
+
| **Async & Concurrency Hazards** | Missing `await`, unhandled Promise rejections, race conditions in shared mutable state, missing lock releases in error branches. | Trace all error paths inside async functions; verify mutex unlock in `defer` / `finally` blocks. |
|
|
31
|
+
| **Context-Window Truncation** | Dropped `switch` cases, missing enum branch handlers, or half-refactored methods where old and new parameters collide. | Compare the modified block against the original file; check for dropped default or edge branches. |
|
|
32
|
+
| **Over-Defensive Null Coalescing** | Liberal use of `?.` and `?? []` masking `null`/`undefined` bugs until deep in the call stack. | Question why an expected required value could be nil; eliminate defensive masking at the root. |
|
|
33
|
+
| **Tautological Assertions** | Tests asserting `expect(mockService.call).toHaveBeenCalled()` without verifying output correctness. | Reject tests that only verify mock invocation without validating state transitions. |
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 3. Systematic Resource Leak Audit
|
|
38
|
+
|
|
39
|
+
Examine every lifecycle boundary to ensure complete resource cleanup under both success and error paths:
|
|
40
|
+
|
|
41
|
+
### 3.1 File Descriptors & Network Streams
|
|
42
|
+
- **HTTP Response Bodies**: Ensure response bodies are explicitly drained and closed (e.g. `resp.Body.Close()` in Go, stream destruction in Node.js, `with` context managers in Python).
|
|
43
|
+
- **File Handles**: Files must be opened within scoped resource blocks or explicitly closed in `finally` blocks.
|
|
44
|
+
|
|
45
|
+
### 3.2 Concurrency & Worker Lifecycles
|
|
46
|
+
- **Goroutine / Thread Leaks**: Ensure every spawned background worker listens to a cancellation context (`ctx.Done()`) or termination channel. Reject unmanaged background spawns.
|
|
47
|
+
- **Worker Pools & Queues**: Verify thread pools, task runners, and queues have explicit shutdown and flush routines.
|
|
48
|
+
|
|
49
|
+
### 3.3 Memory & Connection Management
|
|
50
|
+
- **Unbounded Collections**: In-memory caches, lookup tables, and maps must have size limits and TTL eviction policies.
|
|
51
|
+
- **Event Listeners**: Verify event listeners, pub/sub subscriptions, and socket hooks are deregistered when objects are destroyed.
|
|
52
|
+
- **Database Connection Pools**: Ensure transactions and client handles are released back to the pool in error/defer branches. Confirm connection acquisition timeouts are configured.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 4. Backward Compatibility & Wire Verification
|
|
57
|
+
|
|
58
|
+
Public interfaces and persisted structures must guarantee zero-downtime evolution:
|
|
59
|
+
|
|
60
|
+
### 4.1 Public APIs & Protocols
|
|
61
|
+
- **Additive Evolution**: New fields must be optional or have backwards-compatible defaults.
|
|
62
|
+
- **Forbidden Changes**: Never remove fields, narrow types, or alter serialized JSON key casing on active API versions.
|
|
63
|
+
- **Enum Changes**: Adding enum variants must account for existing clients whose parsers fail on unknown enums.
|
|
64
|
+
|
|
65
|
+
### 4.2 Database Migrations (Expand / Contract Pattern)
|
|
66
|
+
- **Zero-Downtime Rule**: Single-phase column renames or destructive drops are forbidden.
|
|
67
|
+
- **Phase 1 (Expand)**: Add new column as nullable; dual-write to old and new columns.
|
|
68
|
+
- **Phase 2 (Backfill & Migrate)**: Asynchronously backfill historical records; transition reads to new column.
|
|
69
|
+
- **Phase 3 (Contract)**: Stop writing to old column and deprecate/drop in a subsequent release.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 5. Supply Chain Security (OWASP ASI04 & ASI05)
|
|
74
|
+
|
|
75
|
+
Third-party dependencies represent an acute attack vector in autonomous SWE:
|
|
76
|
+
|
|
77
|
+
- **Typosquatting Verification**: Scrutinize all newly introduced package names for phonetic or orthographic similarity to popular packages (e.g. `cross-env` vs `crossenv`).
|
|
78
|
+
- **Lockfile Integrity**: Ensure lockfiles (`package-lock.json`, `poetry.lock`, `Cargo.lock`, `go.sum`) are committed alongside manifest changes. Flag unpinned version specifiers (`*`, `latest`, unbounded ranges).
|
|
79
|
+
- **Install Hook Audit**: Scrutinize packages containing lifecycle scripts (`postinstall`, `preinstall`, `setup.py`, `build.rs`). Verify they do not execute untrusted external network requests or shell scripts.
|
|
80
|
+
- **Provenance & Age**: Review repository stars, maintainer activity, and package publication date. New packages published within days or weeks must be flagged for security lead review.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Review Code — Process, Inputs, and Output Format (Reference)
|
|
2
|
+
|
|
3
|
+
## Inputs To Gather
|
|
4
|
+
|
|
5
|
+
- the fixed point the user names (commit SHA, branch, tag, `main`, `HEAD~5`)
|
|
6
|
+
- purpose of the change and its originating issue or spec, when one exists
|
|
7
|
+
- affected services, libraries, APIs, events, or migrations
|
|
8
|
+
- local repo standards under `docs/standards/`, `CONTRIBUTING.md`, or equivalent
|
|
9
|
+
|
|
10
|
+
If the repo does not have standards docs, the smell baseline below still applies on its own.
|
|
11
|
+
|
|
12
|
+
## Suggested Process
|
|
13
|
+
|
|
14
|
+
Review in this order.
|
|
15
|
+
|
|
16
|
+
### 1. Pin The Diff Fixed Point
|
|
17
|
+
|
|
18
|
+
Whatever the user named is the fixed point; if they did not specify one, ask before proceeding.
|
|
19
|
+
|
|
20
|
+
- capture the diff once: `git diff <fixed-point>...HEAD` — three-dot, so the comparison runs against the merge-base
|
|
21
|
+
- list the commits via `git log <fixed-point>..HEAD --oneline`
|
|
22
|
+
- fail fast here: confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty — a bad ref or empty diff must fail now, not inside parallel sub-agents
|
|
23
|
+
|
|
24
|
+
### 2. Resolve The Spec Source
|
|
25
|
+
|
|
26
|
+
Look for the originating spec, in this order:
|
|
27
|
+
|
|
28
|
+
1. issue references in the commit messages (`#123`, `Closes #45`) fetched via the repo's issue-tracker workflow
|
|
29
|
+
2. a spec path the user passed as an argument
|
|
30
|
+
3. a spec file under `docs/`, `specs/`, or `.scratch/` matching the branch name or feature
|
|
31
|
+
4. nothing found → ask the user where the spec is; if they say there isn't one, run the Spec axis anyway and report "no spec available"
|
|
32
|
+
|
|
33
|
+
### 3. Gather Standards Sources And Baseline
|
|
34
|
+
|
|
35
|
+
Collect every file documenting how code should be written. On top of repo docs, the Standards axis always carries the **Fowler smell baseline** (12 smells from _Refactoring_ ch.3) — see [two-axis-review.md](two-axis-review.md) for the full table and paste-ready sub-agent briefs. The baseline binds by two rules: the repo overrides it, and each hit is a labelled judgement call.
|
|
36
|
+
|
|
37
|
+
### 4. Run Both Axes In Parallel
|
|
38
|
+
|
|
39
|
+
Spawn the Standards and Spec reviews as **parallel sub-agents** so neither pollutes the other's context. Each sub-agent prompt must be self-contained:
|
|
40
|
+
|
|
41
|
+
- the full diff command and commit list
|
|
42
|
+
- Standards agent: the standards-source file list plus the smell baseline pasted in full (the sub-agent has no other access to it)
|
|
43
|
+
- Spec agent: the path or fetched contents of the spec
|
|
44
|
+
- each brief asks for findings under 400 words, quoting the violated standard or spec line per finding
|
|
45
|
+
|
|
46
|
+
If the spec is missing, skip the Spec sub-agent and note that in the final report. While agents run, apply the domain checks in step 5 yourself to the same diff.
|
|
47
|
+
|
|
48
|
+
### 5. Domain Checks (Standards depth)
|
|
49
|
+
|
|
50
|
+
- preserve layer boundaries such as handler -> biz -> data; keep business logic out of transport layers
|
|
51
|
+
- validate requests close to the boundary; keep REST/gRPC naming consistent; check backward compatibility of public methods, payloads, and enums; confirm error mapping suits callers
|
|
52
|
+
- wrap multi-step writes in transactions; avoid N+1 queries; use parameterized queries; paginate list endpoints that can grow; verify migrations are reversible or rollout-safe; prefer expand/migrate/contract over destructive schema changes
|
|
53
|
+
- propagate `context.Context`; avoid unmanaged goroutines; respect timeouts and cancellation; clean up connections, files, and streams; make retries and idempotency explicit on critical paths
|
|
54
|
+
- no hardcoded secrets; enforce authn/authz where needed; avoid leaking credentials or PII in logs; validate user-controlled input; call out trust-boundary changes clearly
|
|
55
|
+
- verify config added in code exists in config or manifests; check health probes and rollout assumptions when deployment files changed; verify event consumers survive the change; verify shared-library version bumps are intentional
|
|
56
|
+
- check meaningful coverage around changed business logic; ensure error paths and boundary cases are tested; call out fragile naming, duplication, or unclear ownership
|
|
57
|
+
|
|
58
|
+
### 6. Aggregate Without Reranking
|
|
59
|
+
|
|
60
|
+
Present the two reports under `## Standards` and `## Spec` headings, verbatim or lightly cleaned. End with a one-line summary: total findings per axis and the worst issue within each axis — never pick a single winner across axes, because that is exactly the reranking the separation prevents.
|
|
61
|
+
|
|
62
|
+
## Output Format
|
|
63
|
+
|
|
64
|
+
Findings come first. Keep summaries brief. When the Spec axis ran, group under the two axis headings; otherwise use the flat layout.
|
|
65
|
+
|
|
66
|
+
```markdown
|
|
67
|
+
## Standards
|
|
68
|
+
|
|
69
|
+
### Blocking
|
|
70
|
+
1. [path/to/file:123] Violates <documented standard>: description
|
|
71
|
+
|
|
72
|
+
### Important
|
|
73
|
+
1. [path/to/file:45] Possible <Smell Name> (judgement call): description
|
|
74
|
+
|
|
75
|
+
### Follow-Up
|
|
76
|
+
1. [path/to/file:78] Maintainability gap
|
|
77
|
+
|
|
78
|
+
## Spec
|
|
79
|
+
|
|
80
|
+
- missing: requirement from spec line "<quote>" not implemented
|
|
81
|
+
- scope creep: behaviour in diff not asked for
|
|
82
|
+
- suspect: implemented but likely wrong because <reason>
|
|
83
|
+
|
|
84
|
+
## Open Questions
|
|
85
|
+
|
|
86
|
+
- Assumption or repo-specific detail that needs confirmation
|
|
87
|
+
|
|
88
|
+
## Summary
|
|
89
|
+
|
|
90
|
+
Standards: N findings (worst: ...). Spec: M findings (worst: ...).
|
|
91
|
+
|
|
92
|
+
## Notes
|
|
93
|
+
|
|
94
|
+
- brief positive observations
|
|
95
|
+
- remaining validation gaps
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
If there are no findings, say so explicitly and mention residual risk such as unrun tests, unreviewed deployment config, or missing integration coverage.
|
|
99
|
+
|
|
100
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Two-Axis Review Playbook
|
|
2
|
+
|
|
3
|
+
Reference playbook for `review-code`. Loaded on demand — the SKILL.md body
|
|
4
|
+
summarizes the discipline; this file carries the full smell baseline and the
|
|
5
|
+
paste-ready sub-agent briefs.
|
|
6
|
+
|
|
7
|
+
Method provenance: two-axis (Standards / Spec) review adapted from the
|
|
8
|
+
`code-review` skill in `mattpocock/skills`; smell baseline from Fowler,
|
|
9
|
+
_Refactoring_, chapter 3.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Fowler Smell Baseline
|
|
14
|
+
|
|
15
|
+
A fixed set of smells that applies to every diff even when the repo documents
|
|
16
|
+
no standards. Two binding rules:
|
|
17
|
+
|
|
18
|
+
- **The repo overrides.** A documented repo standard always wins; where it
|
|
19
|
+
endorses something the baseline would flag, suppress the smell.
|
|
20
|
+
- **Always a judgement call.** Each hit is a labelled heuristic ("possible
|
|
21
|
+
Feature Envy"), never a hard violation.
|
|
22
|
+
|
|
23
|
+
Each smell reads *what it is* → *how to fix*; match it against the diff:
|
|
24
|
+
|
|
25
|
+
| Smell | What it is | Fix |
|
|
26
|
+
| ----- | ---------- | --- |
|
|
27
|
+
| Mysterious Name | a function, variable, or type whose name doesn't reveal what it does or holds | rename it; if no honest name comes, the design's murky |
|
|
28
|
+
| Duplicated Code | the same logic shape appears in more than one hunk or file in the change | extract the shared shape, call it from both |
|
|
29
|
+
| Feature Envy | a method that reaches into another object's data more than its own | move the method onto the data it envies |
|
|
30
|
+
| Data Clumps | the same few fields or params keep travelling together (a type wanting to be born) | bundle them into one type, pass that |
|
|
31
|
+
| Primitive Obsession | a primitive or string standing in for a domain concept that deserves its own type | give the concept its own small type |
|
|
32
|
+
| Repeated Switches | the same switch/if-cascade on the same type recurs across the change | replace with polymorphism, or one map both sites share |
|
|
33
|
+
| Shotgun Surgery | one logical change forces scattered edits across many files in the diff | gather what changes together into one module |
|
|
34
|
+
| Divergent Change | one file or module is edited for several unrelated reasons | split so each module changes for one reason |
|
|
35
|
+
| Speculative Generality | abstraction, parameters, or hooks added for needs the spec doesn't have | delete it; inline back until a real need shows |
|
|
36
|
+
| Message Chains | long `a.b().c().d()` navigation the caller shouldn't depend on | hide the walk behind one method on the first object |
|
|
37
|
+
| Middle Man | a class or function that mostly just delegates onward | cut it, call the real target direct |
|
|
38
|
+
| Refused Bequest | a subclass or implementer that ignores or overrides most of what it inherits | drop the inheritance, use composition |
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Sub-Agent Briefs
|
|
43
|
+
|
|
44
|
+
Spawn the Standards and Spec reviews as parallel sub-agents so neither axis
|
|
45
|
+
pollutes the other's context. Both prompts are self-contained: the sub-agent
|
|
46
|
+
has no access to this file, so paste whatever it needs into the prompt.
|
|
47
|
+
|
|
48
|
+
### Standards sub-agent prompt must include
|
|
49
|
+
|
|
50
|
+
- the full diff command (`git diff <fixed-point>...HEAD`) and the commit list
|
|
51
|
+
- the list of standards-source files found in the repo
|
|
52
|
+
- **the smell baseline above, pasted in full**
|
|
53
|
+
- the brief:
|
|
54
|
+
|
|
55
|
+
> Report, per file/hunk where relevant, (a) every place the diff violates a
|
|
56
|
+
> documented standard: cite the standard (file + the rule); and (b) any
|
|
57
|
+
> baseline smell you spot: name it and quote the hunk. Distinguish hard
|
|
58
|
+
> violations from judgement calls: documented-standard breaches can be hard,
|
|
59
|
+
> but baseline smells are always judgement calls, and a documented repo
|
|
60
|
+
> standard overrides the baseline. Skip anything tooling enforces.
|
|
61
|
+
> Under 400 words.
|
|
62
|
+
|
|
63
|
+
### Spec sub-agent prompt must include
|
|
64
|
+
|
|
65
|
+
- the diff command and commit list
|
|
66
|
+
- the path or fetched contents of the spec
|
|
67
|
+
- the brief:
|
|
68
|
+
|
|
69
|
+
> Report: (a) requirements the spec asked for that are missing or partial;
|
|
70
|
+
> (b) behaviour in the diff that wasn't asked for (scope creep); (c)
|
|
71
|
+
> requirements that look implemented but where the implementation looks
|
|
72
|
+
> wrong. Quote the spec line for each finding. Under 400 words.
|
|
73
|
+
|
|
74
|
+
### Aggregation rules
|
|
75
|
+
|
|
76
|
+
- present both reports under `## Standards` and `## Spec`, verbatim or lightly cleaned
|
|
77
|
+
- do not merge findings and do not rerank across axes — the separation exists so one axis cannot mask the other
|
|
78
|
+
- end with one line per axis: total findings and the worst issue within that axis
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-service
|
|
3
|
+
description: Review an entire service for release readiness. Use for full-service audits, production-readiness checks, pre-release hardening, and broad reviews that should cover code, contracts, dependencies, rollout safety, and documentation.
|
|
4
|
+
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Review Service
|
|
8
|
+
|
|
9
|
+
Use this skill for an end-to-end service review, not a narrow code diff.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- full-service release-readiness audit
|
|
14
|
+
- pre-release hardening
|
|
15
|
+
- broad review across code, contracts, deps, rollout, docs
|
|
16
|
+
- production-readiness check
|
|
17
|
+
|
|
18
|
+
## Core Rules
|
|
19
|
+
|
|
20
|
+
- decide whether the service is ready to ship, not only whether code looks clean
|
|
21
|
+
- map the service boundary before judging release risk
|
|
22
|
+
- check code, contracts, data, dependencies, operations, and documentation together
|
|
23
|
+
- fix clear local issues when that is in scope
|
|
24
|
+
- escalate decisions that require product, architecture, security, or operational ownership
|
|
25
|
+
- **SLO-RELEASE-GATE**: Before marking a service release-ready, verify: SLO dashboards show no active burn-rate alerts, error budget remaining for the month is above the team's minimum threshold, and P99 latency is within the service's SLO. A release that depletes remaining error budget requires explicit SRE sign-off.
|
|
26
|
+
- **SBOM-IN-RELEASE**: Attach the current SBOM (CycloneDX 1.6 or SPDX format) to the release artifact; verify no new Critical/High CVEs were introduced since the last release using Dependency-Track, Grype, or Trivy.
|
|
27
|
+
- **CHAOS-ENGINEERING-PRE-RELEASE**: For critical services, run a limited chaos experiment (LitmusChaos, Toxiproxy) in staging before release; verify graceful degradation under one dependency failure and document the result in the release artifact.
|
|
28
|
+
|
|
29
|
+
## Suggested Process
|
|
30
|
+
|
|
31
|
+
### 1. Sync Context
|
|
32
|
+
|
|
33
|
+
- pull the latest code when allowed
|
|
34
|
+
- identify the service root, entry points, worker processes, migrations, configs, and deploy manifests
|
|
35
|
+
- locate local standards under `docs/standards/`, `docs/infrastructure/`, or equivalent
|
|
36
|
+
|
|
37
|
+
### 2. Index The Service
|
|
38
|
+
|
|
39
|
+
Map the service before judging it:
|
|
40
|
+
|
|
41
|
+
- transport or API layer
|
|
42
|
+
- business logic layer
|
|
43
|
+
- data layer
|
|
44
|
+
- shared clients and shared libraries
|
|
45
|
+
- worker, cron, outbox, or event consumers
|
|
46
|
+
- API contracts and migrations
|
|
47
|
+
|
|
48
|
+
### 3. Run A Full Review
|
|
49
|
+
|
|
50
|
+
Apply the `review-code` checklist across the service, then expand to service-level risk:
|
|
51
|
+
|
|
52
|
+
- backward compatibility for APIs and events
|
|
53
|
+
- dependency health and version drift
|
|
54
|
+
- rollout safety for schema and config changes
|
|
55
|
+
- operational readiness such as probes, limits, alerts, and recovery path
|
|
56
|
+
|
|
57
|
+
### 4. Cross-Service Impact
|
|
58
|
+
|
|
59
|
+
Check who depends on this service:
|
|
60
|
+
|
|
61
|
+
- imports of its client or contract packages
|
|
62
|
+
- downstream event consumers
|
|
63
|
+
- shared tables, topics, or feature flags
|
|
64
|
+
- infra objects tied to the service name or ports
|
|
65
|
+
|
|
66
|
+
### 5. Fix Or Escalate
|
|
67
|
+
|
|
68
|
+
- fix release-blocking issues before considering release
|
|
69
|
+
- fix important issues when the solution is clear and local
|
|
70
|
+
- report lower-risk follow-up items unless they are trivial to address
|
|
71
|
+
- stop and escalate when a fix requires product or architecture decisions
|
|
72
|
+
|
|
73
|
+
### 6. Validate
|
|
74
|
+
|
|
75
|
+
Run the validations that make sense for the repo:
|
|
76
|
+
|
|
77
|
+
- code generation
|
|
78
|
+
- build checks
|
|
79
|
+
- unit or integration tests
|
|
80
|
+
- linting
|
|
81
|
+
- manifest validation or dry-run checks
|
|
82
|
+
|
|
83
|
+
### 7. Release Readiness
|
|
84
|
+
|
|
85
|
+
Verify that:
|
|
86
|
+
|
|
87
|
+
- config added in code exists in manifests or runtime config
|
|
88
|
+
- ports, probes, and app IDs line up
|
|
89
|
+
- migrations are safe to roll forward
|
|
90
|
+
- rollback is possible
|
|
91
|
+
- docs and changelog reflect the shipped behavior
|
|
92
|
+
|
|
93
|
+
## Review Artifact
|
|
94
|
+
|
|
95
|
+
Create or update a repo-local review artifact when the repository has a convention for it. Good examples:
|
|
96
|
+
|
|
97
|
+
- `docs/reviews/<service>-review.md`
|
|
98
|
+
- `docs/checklists/<service>-release.md`
|
|
99
|
+
- a service-local release note or changelog entry
|
|
100
|
+
|
|
101
|
+
Do not force a specific docs layout if the repo uses a different convention.
|
|
102
|
+
|
|
103
|
+
## Output Format
|
|
104
|
+
|
|
105
|
+
```markdown
|
|
106
|
+
## Service Review: <service>
|
|
107
|
+
|
|
108
|
+
Status: Ready | Needs Work | Not Ready
|
|
109
|
+
|
|
110
|
+
### Blocking
|
|
111
|
+
1. [file:line] Blocking issue
|
|
112
|
+
|
|
113
|
+
### Important
|
|
114
|
+
1. [file:line] Issue that should be fixed before release
|
|
115
|
+
|
|
116
|
+
### Follow-Up
|
|
117
|
+
1. [file:line] Follow-up issue
|
|
118
|
+
|
|
119
|
+
### Completed Fixes
|
|
120
|
+
1. Short description
|
|
121
|
+
|
|
122
|
+
### Validation
|
|
123
|
+
- build: pass/fail
|
|
124
|
+
- tests: pass/fail/not run
|
|
125
|
+
- lint: pass/fail/not run
|
|
126
|
+
- deploy checks: pass/fail/not run
|
|
127
|
+
|
|
128
|
+
### Release Risks
|
|
129
|
+
- short list of remaining risk or unknowns
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Checklist
|
|
133
|
+
|
|
134
|
+
- [ ] service boundary and entrypoints identified
|
|
135
|
+
- [ ] local standards and docs reviewed when present
|
|
136
|
+
- [ ] service layers and key flows mapped
|
|
137
|
+
- [ ] code, contracts, data, and dependencies reviewed
|
|
138
|
+
- [ ] rollout, config, and operations impact checked
|
|
139
|
+
- [ ] clear local fixes applied when in scope
|
|
140
|
+
- [ ] repo-local validation completed or explicitly skipped
|
|
141
|
+
- [ ] release risks and follow-up items captured
|
|
142
|
+
|
|
143
|
+
## Adaptation Notes
|
|
144
|
+
|
|
145
|
+
Adapt these assumptions to the active repo:
|
|
146
|
+
|
|
147
|
+
- `common/` may be a different shared module
|
|
148
|
+
- `gitops/` may instead be `deploy/` or `k8s/`
|
|
149
|
+
- standards docs may live outside `docs/standards/`
|
|
150
|
+
- some services may not have workers, events, protobuf, or separate manifests
|
|
151
|
+
|
|
152
|
+
Skip absent concepts. Do not mark them as findings just because this pack mentions them.
|
|
153
|
+
|
|
154
|
+
## Failure Modes
|
|
155
|
+
|
|
156
|
+
- **Review without a fixed point**: a review is requested before the diff is complete. **Mitigation:** fail fast on bad ref or empty diff; surface the failure to the reviewer.
|
|
157
|
+
- **Two-axis collapse**: the Standards and Spec axes are merged into a single ranking. **Mitigation:** report the two axes side by side; never pick a single winner across axes.
|
|
158
|
+
- **Spec missing silently**: a review proceeds without a spec source. **Mitigation:** if the spec is missing, report "no spec available" and skip the Spec axis; do not invent requirements.
|
|
159
|
+
- **Smell baseline over repo standard**: a finding flags a smell that the repo explicitly endorses. **Mitigation:** repo-documented standards override the smell baseline; suppress the smell where the repo endorses it.
|
|
160
|
+
|
|
161
|
+
## Output Contracts
|
|
162
|
+
|
|
163
|
+
When the service review produces a structured handoff (release
|
|
164
|
+
readiness gate, multi-role delivery), emit:
|
|
165
|
+
|
|
166
|
+
- **`contracts/schemas/incident-report.json`** (or a release-readiness variant) capturing the readiness verdict, the evidence, the blockers, and the residual risk.
|
|
167
|
+
- For human-readable reports, the markdown release-readiness summary is the canonical format; emit JSON only when crossing a role boundary.
|
|
168
|
+
|
|
169
|
+
Skip emission for informal service walkthroughs that do not gate a release.
|
|
170
|
+
|
|
171
|
+
## Security Guardrails (OWASP ASI)
|
|
172
|
+
|
|
173
|
+
- **ASI03 Identity & Privilege Abuse**: the service's auth surface and data handling must be reviewed; never expose raw credential patterns in the review findings.
|
|
174
|
+
- **ASI04 Supply Chain**: dependency and runtime versions must be schema-validated against the expected manifest; treat unknown versions as untrusted.
|
|
175
|
+
- **ASI07 Inter-Agent Communication**: the review deliverable is consumed by SRE, release, and management roles; emit a structured contract so each role can validate.
|
|
176
|
+
- **ASI08 Cascading Failures**: a release-blocking issue must be surfaced to the coordinator before the gate opens; do not silently absorb the risk.
|
|
177
|
+
- **ASI09 Human-Agent Trust Exploitation**: do not present a service as "release-ready" without the actual evidence; surface the residual risk and the unverified checks.
|
|
178
|
+
|
|
179
|
+
## Related Skills
|
|
180
|
+
|
|
181
|
+
- **navigate-service**: Map a service before reviewing it
|
|
182
|
+
- **review-code**: Review concrete code paths and diffs
|
|
183
|
+
- **security-audit**: Deepen security and trust-boundary review
|
|
184
|
+
- **setup-deployment**: Check deployment source-of-truth changes
|
|
185
|
+
- **commit-code**: Prepare reviewed fixes for delivery
|
|
186
|
+
|