@cubis/foundry 0.3.32 → 0.3.34
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/CHANGELOG.md +30 -0
- package/README.md +23 -0
- package/bin/cubis.js +461 -37
- package/mcp/README.md +17 -0
- package/mcp/catalogs/default.json +14 -0
- package/mcp/powers/atlassian-mcp/POWER.md +91 -0
- package/mcp/powers/atlassian-mcp/SKILL.md +88 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/POWER.md +261 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/powers/datadog-automation/POWER.md +238 -0
- package/mcp/powers/datadog-automation/SKILL.md +235 -0
- package/mcp/powers/github-automation/POWER.md +230 -0
- package/mcp/powers/github-automation/SKILL.md +227 -0
- package/mcp/powers/mcp-builder/POWER.md +179 -0
- package/mcp/powers/mcp-builder/SKILL.md +176 -0
- package/mcp/powers/mcp-developer/POWER.md +88 -0
- package/mcp/powers/mcp-developer/SKILL.md +85 -0
- package/mcp/powers/postman/POWER.md +243 -0
- package/mcp/powers/postman/SKILL.md +240 -0
- package/mcp/powers/sentry-automation/POWER.md +235 -0
- package/mcp/powers/sentry-automation/SKILL.md +232 -0
- package/mcp/skills/atlassian-mcp/SKILL.md +88 -0
- package/mcp/skills/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/skills/datadog-automation/SKILL.md +235 -0
- package/mcp/skills/github-automation/SKILL.md +227 -0
- package/mcp/skills/mcp-builder/SKILL.md +176 -0
- package/mcp/skills/mcp-developer/SKILL.md +85 -0
- package/mcp/skills/postman/SKILL.md +240 -0
- package/mcp/skills/sentry-automation/SKILL.md +232 -0
- package/package.json +2 -1
- package/workflows/powers/architecture/POWER.md +12 -46
- package/workflows/powers/architecture/SKILL.md +12 -46
- package/workflows/powers/atlassian-mcp/POWER.md +11 -81
- package/workflows/powers/atlassian-mcp/SKILL.md +11 -81
- package/workflows/powers/building-mcp-server-on-cloudflare/POWER.md +12 -252
- package/workflows/powers/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/powers/code-review-checklist/POWER.md +11 -99
- package/workflows/powers/code-review-checklist/SKILL.md +11 -99
- package/workflows/powers/csharp-pro/POWER.md +43 -0
- package/workflows/powers/csharp-pro/SKILL.md +40 -0
- package/workflows/powers/database-design/POWER.md +47 -5
- package/workflows/powers/database-design/SKILL.md +45 -4
- package/workflows/powers/database-optimizer/POWER.md +11 -23
- package/workflows/powers/database-optimizer/SKILL.md +5 -5
- package/workflows/powers/datadog-automation/POWER.md +12 -229
- package/workflows/powers/datadog-automation/SKILL.md +12 -229
- package/workflows/powers/debugging-wizard/POWER.md +12 -78
- package/workflows/powers/debugging-wizard/SKILL.md +12 -78
- package/workflows/powers/deployment-procedures/POWER.md +11 -231
- package/workflows/powers/deployment-procedures/SKILL.md +11 -231
- package/workflows/powers/drift-flutter/POWER.md +51 -0
- package/workflows/powers/drift-flutter/SKILL.md +2 -2
- package/workflows/powers/github-automation/POWER.md +12 -221
- package/workflows/powers/github-automation/SKILL.md +12 -221
- package/workflows/powers/golang-pro/POWER.md +38 -66
- package/workflows/powers/golang-pro/SKILL.md +38 -66
- package/workflows/powers/java-pro/POWER.md +43 -0
- package/workflows/powers/java-pro/SKILL.md +40 -0
- package/workflows/powers/javascript-pro/POWER.md +37 -67
- package/workflows/powers/javascript-pro/SKILL.md +37 -67
- package/workflows/powers/kotlin-pro/POWER.md +43 -0
- package/workflows/powers/kotlin-pro/SKILL.md +40 -0
- package/workflows/powers/mcp-builder/POWER.md +12 -170
- package/workflows/powers/mcp-builder/SKILL.md +12 -170
- package/workflows/powers/mcp-developer/POWER.md +11 -78
- package/workflows/powers/mcp-developer/SKILL.md +11 -78
- package/workflows/powers/nextjs-developer/POWER.md +41 -148
- package/workflows/powers/nextjs-developer/SKILL.md +41 -148
- package/workflows/powers/nextjs-react-expert/POWER.md +10 -281
- package/workflows/powers/nextjs-react-expert/SKILL.md +10 -281
- package/workflows/powers/nodejs-best-practices/POWER.md +33 -317
- package/workflows/powers/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/powers/postman/POWER.md +11 -233
- package/workflows/powers/postman/SKILL.md +11 -233
- package/workflows/powers/python-patterns/POWER.md +11 -431
- package/workflows/powers/python-patterns/SKILL.md +11 -431
- package/workflows/powers/python-pro/POWER.md +38 -66
- package/workflows/powers/python-pro/SKILL.md +38 -66
- package/workflows/powers/react-best-practices/POWER.md +35 -118
- package/workflows/powers/react-best-practices/SKILL.md +35 -118
- package/workflows/powers/react-expert/POWER.md +38 -66
- package/workflows/powers/react-expert/SKILL.md +38 -66
- package/workflows/powers/rust-engineer/POWER.md +10 -75
- package/workflows/powers/rust-engineer/SKILL.md +10 -75
- package/workflows/powers/rust-pro/POWER.md +36 -163
- package/workflows/powers/rust-pro/SKILL.md +36 -163
- package/workflows/powers/sentry-automation/POWER.md +12 -226
- package/workflows/powers/sentry-automation/SKILL.md +12 -226
- package/workflows/powers/server-management/POWER.md +11 -151
- package/workflows/powers/server-management/SKILL.md +11 -151
- package/workflows/powers/tdd-workflow/POWER.md +12 -140
- package/workflows/powers/tdd-workflow/SKILL.md +12 -140
- package/workflows/powers/testing-patterns/POWER.md +11 -168
- package/workflows/powers/testing-patterns/SKILL.md +11 -168
- package/workflows/powers/typescript-pro/POWER.md +43 -70
- package/workflows/powers/typescript-pro/SKILL.md +43 -70
- package/workflows/powers/vercel-ai/POWER.md +43 -0
- package/workflows/powers/vercel-ai/SKILL.md +40 -0
- package/workflows/powers/vercel-ai-gateway/POWER.md +11 -69
- package/workflows/powers/vercel-ai-gateway/SKILL.md +11 -69
- package/workflows/powers/vercel-ai-sdk/POWER.md +11 -49
- package/workflows/powers/vercel-ai-sdk/SKILL.md +11 -49
- package/workflows/powers/vercel-caching/POWER.md +10 -72
- package/workflows/powers/vercel-caching/SKILL.md +10 -72
- package/workflows/powers/vercel-cli/POWER.md +11 -75
- package/workflows/powers/vercel-cli/SKILL.md +11 -75
- package/workflows/powers/vercel-delivery/POWER.md +45 -0
- package/workflows/powers/vercel-delivery/SKILL.md +42 -0
- package/workflows/powers/vercel-deployments/POWER.md +10 -90
- package/workflows/powers/vercel-deployments/SKILL.md +10 -90
- package/workflows/powers/vercel-domains/POWER.md +10 -69
- package/workflows/powers/vercel-domains/SKILL.md +10 -69
- package/workflows/powers/vercel-firewall/POWER.md +10 -61
- package/workflows/powers/vercel-firewall/SKILL.md +10 -61
- package/workflows/powers/vercel-flags/POWER.md +10 -62
- package/workflows/powers/vercel-flags/SKILL.md +10 -62
- package/workflows/powers/vercel-functions/POWER.md +10 -70
- package/workflows/powers/vercel-functions/SKILL.md +10 -70
- package/workflows/powers/vercel-routing/POWER.md +10 -68
- package/workflows/powers/vercel-routing/SKILL.md +10 -68
- package/workflows/powers/vercel-runtime/POWER.md +43 -0
- package/workflows/powers/vercel-runtime/SKILL.md +40 -0
- package/workflows/powers/vercel-security/POWER.md +43 -0
- package/workflows/powers/vercel-security/SKILL.md +40 -0
- package/workflows/powers/vulnerability-scanner/POWER.md +11 -266
- package/workflows/powers/vulnerability-scanner/SKILL.md +11 -266
- package/workflows/scripts/generate-powers.mjs +95 -202
- package/workflows/skills/atlassian-mcp/SKILL.md +11 -81
- package/workflows/skills/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/skills/catalogs/core.json +30 -0
- package/workflows/skills/catalogs/web-backend.json +70 -0
- package/workflows/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/skills/datadog-automation/SKILL.md +12 -229
- package/workflows/skills/github-automation/SKILL.md +12 -221
- package/workflows/skills/golang-pro/SKILL.md +38 -66
- package/workflows/skills/java-pro/SKILL.md +40 -0
- package/workflows/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/skills/mcp-builder/SKILL.md +12 -170
- package/workflows/skills/mcp-developer/SKILL.md +11 -78
- package/workflows/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/skills/nextjs-react-expert/SKILL.md +5 -11
- package/workflows/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/skills/postman/SKILL.md +11 -233
- package/workflows/skills/python-pro/SKILL.md +38 -66
- package/workflows/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/skills/react-expert/SKILL.md +38 -66
- package/workflows/skills/rust-pro/SKILL.md +36 -163
- package/workflows/skills/sentry-automation/SKILL.md +12 -226
- package/workflows/skills/skills_index.json +43 -57
- package/workflows/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/vercel-expert.md +1 -1
- package/workflows/powers/sub-agents/scripts/run_subagent.py.bak +0 -512
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/common-workflows.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/confluence-operations.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/jira-queries.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/examples.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/oauth-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/troubleshooting.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/protocol.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/python-sdk.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/resources.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/tools.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/bloc-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/engineering-principles.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/performance.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/project-structure.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/riverpod-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/widget-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/log_redaction.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/network_hardening.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secret-scanning.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/golden-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/integration-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/property-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/test-utilities.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/unit-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/widget-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/guard_patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/tab_preservation.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/powers/postman/mcp.json +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/communication.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/data.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/decomposition.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/observability.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/authentication.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/controllers-routing.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/dtos-validation.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/migration-from-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/secure-sessions.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/services-di.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/testing-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/colors.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/components.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/spacing.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/crud-templates.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/powers/postman/steering/steering.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/common-workflows.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/confluence-operations.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/jira-queries.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/protocol.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/python-sdk.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/resources.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/tools.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/skills/postman/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/bloc-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/engineering-principles.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/performance.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/project-structure.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/riverpod-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/widget-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/golden-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/integration-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/property-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/test-utilities.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/unit-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/widget-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/skills/postman/mcp.json +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/communication.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/data.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/decomposition.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/observability.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/authentication.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/controllers-routing.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/dtos-validation.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/migration-from-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/secure-sessions.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/services-di.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/testing-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/colors.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/components.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/spacing.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/crud-templates.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/skills/postman/references/steering.md +0 -0
|
@@ -1,258 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: building-mcp-server-on-cloudflare
|
|
3
|
-
description:
|
|
2
|
+
name: "building-mcp-server-on-cloudflare"
|
|
3
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/building-mcp-server-on-cloudflare."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: "building-mcp-server-on-cloudflare"
|
|
7
|
+
moved_to: "mcp/skills/building-mcp-server-on-cloudflare/SKILL.md"
|
|
8
|
+
removal_target: "v0.6.0"
|
|
4
9
|
---
|
|
5
10
|
|
|
6
|
-
#
|
|
11
|
+
# building-mcp-server-on-cloudflare (Compatibility Wrapper)
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
Canonical MCP skill path:
|
|
16
|
+
- mcp/skills/building-mcp-server-on-cloudflare/SKILL.md
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
- User needs to expose tools via MCP
|
|
14
|
-
- User asks about MCP authentication or OAuth
|
|
15
|
-
- User wants to deploy MCP to Cloudflare Workers
|
|
16
|
-
|
|
17
|
-
## Prerequisites
|
|
18
|
-
|
|
19
|
-
- Cloudflare account with Workers enabled
|
|
20
|
-
- Node.js 18+ and npm/pnpm/yarn
|
|
21
|
-
- Wrangler CLI (`npm install -g wrangler`)
|
|
22
|
-
|
|
23
|
-
## Quick Start
|
|
24
|
-
|
|
25
|
-
### Option 1: Public Server (No Auth)
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
npm create cloudflare@latest -- my-mcp-server \
|
|
29
|
-
--template=cloudflare/ai/demos/remote-mcp-authless
|
|
30
|
-
cd my-mcp-server
|
|
31
|
-
npm start
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Server runs at `http://localhost:8788/mcp`
|
|
35
|
-
|
|
36
|
-
### Option 2: Authenticated Server (OAuth)
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm create cloudflare@latest -- my-mcp-server \
|
|
40
|
-
--template=cloudflare/ai/demos/remote-mcp-github-oauth
|
|
41
|
-
cd my-mcp-server
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Requires OAuth app setup. See [references/oauth-setup.md](references/oauth-setup.md).
|
|
45
|
-
|
|
46
|
-
## Core Workflow
|
|
47
|
-
|
|
48
|
-
### Step 1: Define Tools
|
|
49
|
-
|
|
50
|
-
Tools are functions MCP clients can call. Define them using `server.tool()`:
|
|
51
|
-
|
|
52
|
-
```typescript
|
|
53
|
-
import { McpAgent } from "agents/mcp";
|
|
54
|
-
import { z } from "zod";
|
|
55
|
-
|
|
56
|
-
export class MyMCP extends McpAgent {
|
|
57
|
-
server = new Server({ name: "my-mcp", version: "1.0.0" });
|
|
58
|
-
|
|
59
|
-
async init() {
|
|
60
|
-
// Simple tool with parameters
|
|
61
|
-
this.server.tool(
|
|
62
|
-
"add",
|
|
63
|
-
{ a: z.number(), b: z.number() },
|
|
64
|
-
async ({ a, b }) => ({
|
|
65
|
-
content: [{ type: "text", text: String(a + b) }],
|
|
66
|
-
})
|
|
67
|
-
);
|
|
68
|
-
|
|
69
|
-
// Tool that calls external API
|
|
70
|
-
this.server.tool(
|
|
71
|
-
"get_weather",
|
|
72
|
-
{ city: z.string() },
|
|
73
|
-
async ({ city }) => {
|
|
74
|
-
const response = await fetch(`https://api.weather.com/${city}`);
|
|
75
|
-
const data = await response.json();
|
|
76
|
-
return {
|
|
77
|
-
content: [{ type: "text", text: JSON.stringify(data) }],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Step 2: Configure Entry Point
|
|
86
|
-
|
|
87
|
-
**Public server** (`src/index.ts`):
|
|
88
|
-
|
|
89
|
-
```typescript
|
|
90
|
-
import { MyMCP } from "./mcp";
|
|
91
|
-
|
|
92
|
-
export default {
|
|
93
|
-
fetch(request: Request, env: Env, ctx: ExecutionContext) {
|
|
94
|
-
const url = new URL(request.url);
|
|
95
|
-
if (url.pathname === "/mcp") {
|
|
96
|
-
return MyMCP.serveSSE("/mcp").fetch(request, env, ctx);
|
|
97
|
-
}
|
|
98
|
-
return new Response("MCP Server", { status: 200 });
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export { MyMCP };
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**Authenticated server** — See [references/oauth-setup.md](references/oauth-setup.md).
|
|
106
|
-
|
|
107
|
-
### Step 3: Test Locally
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
# Start server
|
|
111
|
-
npm start
|
|
112
|
-
|
|
113
|
-
# In another terminal, test with MCP Inspector
|
|
114
|
-
npx @modelcontextprotocol/inspector@latest
|
|
115
|
-
# Open http://localhost:5173, enter http://localhost:8788/mcp
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Step 4: Deploy
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
npx wrangler deploy
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
Server accessible at `https://[worker-name].[account].workers.dev/mcp`
|
|
125
|
-
|
|
126
|
-
### Step 5: Connect Clients
|
|
127
|
-
|
|
128
|
-
**Claude Desktop** (`claude_desktop_config.json`):
|
|
129
|
-
|
|
130
|
-
```json
|
|
131
|
-
{
|
|
132
|
-
"mcpServers": {
|
|
133
|
-
"my-server": {
|
|
134
|
-
"command": "npx",
|
|
135
|
-
"args": ["mcp-remote", "https://my-mcp.workers.dev/mcp"]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Restart Claude Desktop after updating config.
|
|
142
|
-
|
|
143
|
-
## Tool Patterns
|
|
144
|
-
|
|
145
|
-
### Return Types
|
|
146
|
-
|
|
147
|
-
```typescript
|
|
148
|
-
// Text response
|
|
149
|
-
return { content: [{ type: "text", text: "result" }] };
|
|
150
|
-
|
|
151
|
-
// Multiple content items
|
|
152
|
-
return {
|
|
153
|
-
content: [
|
|
154
|
-
{ type: "text", text: "Here's the data:" },
|
|
155
|
-
{ type: "text", text: JSON.stringify(data, null, 2) },
|
|
156
|
-
],
|
|
157
|
-
};
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Input Validation with Zod
|
|
161
|
-
|
|
162
|
-
```typescript
|
|
163
|
-
this.server.tool(
|
|
164
|
-
"create_user",
|
|
165
|
-
{
|
|
166
|
-
email: z.string().email(),
|
|
167
|
-
name: z.string().min(1).max(100),
|
|
168
|
-
role: z.enum(["admin", "user", "guest"]),
|
|
169
|
-
age: z.number().int().min(0).optional(),
|
|
170
|
-
},
|
|
171
|
-
async (params) => {
|
|
172
|
-
// params are fully typed and validated
|
|
173
|
-
}
|
|
174
|
-
);
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Accessing Environment/Bindings
|
|
178
|
-
|
|
179
|
-
```typescript
|
|
180
|
-
export class MyMCP extends McpAgent<Env> {
|
|
181
|
-
async init() {
|
|
182
|
-
this.server.tool("query_db", { sql: z.string() }, async ({ sql }) => {
|
|
183
|
-
// Access D1 binding
|
|
184
|
-
const result = await this.env.DB.prepare(sql).all();
|
|
185
|
-
return { content: [{ type: "text", text: JSON.stringify(result) }] };
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
## Authentication
|
|
192
|
-
|
|
193
|
-
For OAuth-protected servers, see [references/oauth-setup.md](references/oauth-setup.md).
|
|
194
|
-
|
|
195
|
-
Supported providers:
|
|
196
|
-
- GitHub
|
|
197
|
-
- Google
|
|
198
|
-
- Auth0
|
|
199
|
-
- Stytch
|
|
200
|
-
- WorkOS
|
|
201
|
-
- Any OAuth 2.0 compliant provider
|
|
202
|
-
|
|
203
|
-
## Wrangler Configuration
|
|
204
|
-
|
|
205
|
-
Minimal `wrangler.toml`:
|
|
206
|
-
|
|
207
|
-
```toml
|
|
208
|
-
name = "my-mcp-server"
|
|
209
|
-
main = "src/index.ts"
|
|
210
|
-
compatibility_date = "2024-12-01"
|
|
211
|
-
|
|
212
|
-
[durable_objects]
|
|
213
|
-
bindings = [{ name = "MCP", class_name = "MyMCP" }]
|
|
214
|
-
|
|
215
|
-
[[migrations]]
|
|
216
|
-
tag = "v1"
|
|
217
|
-
new_classes = ["MyMCP"]
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
With bindings (D1, KV, etc.):
|
|
221
|
-
|
|
222
|
-
```toml
|
|
223
|
-
[[d1_databases]]
|
|
224
|
-
binding = "DB"
|
|
225
|
-
database_name = "my-db"
|
|
226
|
-
database_id = "xxx"
|
|
227
|
-
|
|
228
|
-
[[kv_namespaces]]
|
|
229
|
-
binding = "KV"
|
|
230
|
-
id = "xxx"
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
## Common Issues
|
|
234
|
-
|
|
235
|
-
### "Tool not found" in Client
|
|
236
|
-
|
|
237
|
-
1. Verify tool name matches exactly (case-sensitive)
|
|
238
|
-
2. Ensure `init()` registers tools before connections
|
|
239
|
-
3. Check server logs: `wrangler tail`
|
|
240
|
-
|
|
241
|
-
### Connection Fails
|
|
242
|
-
|
|
243
|
-
1. Confirm endpoint path is `/mcp`
|
|
244
|
-
2. Check CORS if browser-based client
|
|
245
|
-
3. Verify Worker is deployed: `wrangler deployments list`
|
|
246
|
-
|
|
247
|
-
### OAuth Redirect Errors
|
|
248
|
-
|
|
249
|
-
1. Callback URL must match OAuth app config exactly
|
|
250
|
-
2. Check `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` are set
|
|
251
|
-
3. For local dev, use `http://localhost:8788/callback`
|
|
252
|
-
|
|
253
|
-
## References
|
|
254
|
-
|
|
255
|
-
- [references/examples.md](references/examples.md) — Official templates and production examples
|
|
256
|
-
- [references/oauth-setup.md](references/oauth-setup.md) — OAuth provider configuration
|
|
257
|
-
- [references/tool-patterns.md](references/tool-patterns.md) — Advanced tool examples
|
|
258
|
-
- [references/troubleshooting.md](references/troubleshooting.md) — Error codes and fixes
|
|
18
|
+
Install MCP skills with: cbx workflows install --include-mcp
|
|
@@ -2,111 +2,23 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: code-review-checklist
|
|
5
|
-
description:
|
|
6
|
-
|
|
5
|
+
description: "Compatibility alias skill. Deprecated: use code-reviewer."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: code-reviewer
|
|
9
|
+
removal_target: v0.6.0
|
|
7
10
|
---
|
|
8
11
|
|
|
9
12
|
# Code Review Checklist
|
|
10
13
|
|
|
11
|
-
##
|
|
14
|
+
## Compatibility Alias
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
- [ ] Code does what it's supposed to do
|
|
15
|
-
- [ ] Edge cases handled
|
|
16
|
-
- [ ] Error handling in place
|
|
17
|
-
- [ ] No obvious bugs
|
|
16
|
+
This skill is deprecated and kept for backward compatibility.
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
- [ ] Input validated and sanitized
|
|
21
|
-
- [ ] No SQL/NoSQL injection vulnerabilities
|
|
22
|
-
- [ ] No XSS or CSRF vulnerabilities
|
|
23
|
-
- [ ] No hardcoded secrets or sensitive credentials
|
|
24
|
-
- [ ] **AI-Specific:** Protection against Prompt Injection (if applicable)
|
|
25
|
-
- [ ] **AI-Specific:** Outputs are sanitized before being used in critical sinks
|
|
18
|
+
Use `code-reviewer` as the canonical skill.
|
|
26
19
|
|
|
27
|
-
|
|
28
|
-
- [ ] No N+1 queries
|
|
29
|
-
- [ ] No unnecessary loops
|
|
30
|
-
- [ ] Appropriate caching
|
|
31
|
-
- [ ] Bundle size impact considered
|
|
20
|
+
## Migration
|
|
32
21
|
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
- [ ] DRY - no duplicate code
|
|
36
|
-
- [ ] SOLID principles followed
|
|
37
|
-
- [ ] Appropriate abstraction level
|
|
38
|
-
|
|
39
|
-
### Testing
|
|
40
|
-
- [ ] Unit tests for new code
|
|
41
|
-
- [ ] Edge cases tested
|
|
42
|
-
- [ ] Tests readable and maintainable
|
|
43
|
-
|
|
44
|
-
### Documentation
|
|
45
|
-
- [ ] Complex logic commented
|
|
46
|
-
- [ ] Public APIs documented
|
|
47
|
-
- [ ] README updated if needed
|
|
48
|
-
|
|
49
|
-
## AI & LLM Review Patterns (2025)
|
|
50
|
-
|
|
51
|
-
### Logic & Hallucinations
|
|
52
|
-
- [ ] **Chain of Thought:** Does the logic follow a verifiable path?
|
|
53
|
-
- [ ] **Edge Cases:** Did the AI account for empty states, timeouts, and partial failures?
|
|
54
|
-
- [ ] **External State:** Is the code making safe assumptions about file systems or networks?
|
|
55
|
-
|
|
56
|
-
### Prompt Engineering Review
|
|
57
|
-
```markdown
|
|
58
|
-
// ❌ Vague prompt in code
|
|
59
|
-
const response = await ai.generate(userInput);
|
|
60
|
-
|
|
61
|
-
// ✅ Structured & Safe prompt
|
|
62
|
-
const response = await ai.generate({
|
|
63
|
-
system: "You are a specialized parser...",
|
|
64
|
-
input: sanitize(userInput),
|
|
65
|
-
schema: ResponseSchema
|
|
66
|
-
});
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Anti-Patterns to Flag
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
// ❌ Magic numbers
|
|
73
|
-
if (status === 3) { ... }
|
|
74
|
-
|
|
75
|
-
// ✅ Named constants
|
|
76
|
-
if (status === Status.ACTIVE) { ... }
|
|
77
|
-
|
|
78
|
-
// ❌ Deep nesting
|
|
79
|
-
if (a) { if (b) { if (c) { ... } } }
|
|
80
|
-
|
|
81
|
-
// ✅ Early returns
|
|
82
|
-
if (!a) return;
|
|
83
|
-
if (!b) return;
|
|
84
|
-
if (!c) return;
|
|
85
|
-
// do work
|
|
86
|
-
|
|
87
|
-
// ❌ Long functions (100+ lines)
|
|
88
|
-
// ✅ Small, focused functions
|
|
89
|
-
|
|
90
|
-
// ❌ any type
|
|
91
|
-
const data: any = ...
|
|
92
|
-
|
|
93
|
-
// ✅ Proper types
|
|
94
|
-
const data: UserData = ...
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## Review Comments Guide
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
// Blocking issues use 🔴
|
|
101
|
-
🔴 BLOCKING: SQL injection vulnerability here
|
|
102
|
-
|
|
103
|
-
// Important suggestions use 🟡
|
|
104
|
-
🟡 SUGGESTION: Consider using useMemo for performance
|
|
105
|
-
|
|
106
|
-
// Minor nits use 🟢
|
|
107
|
-
🟢 NIT: Prefer const over let for immutable variable
|
|
108
|
-
|
|
109
|
-
// Questions use ❓
|
|
110
|
-
❓ QUESTION: What happens if user is null here?
|
|
111
|
-
```
|
|
22
|
+
1. Replace direct references to `code-review-checklist` with `code-reviewer`.
|
|
23
|
+
2. Apply the full workflow from `code-reviewer` for new work.
|
|
112
24
|
````
|
|
@@ -1,109 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-review-checklist
|
|
3
|
-
description:
|
|
4
|
-
|
|
3
|
+
description: "Compatibility alias skill. Deprecated: use code-reviewer."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: code-reviewer
|
|
7
|
+
removal_target: v0.6.0
|
|
5
8
|
---
|
|
6
9
|
|
|
7
10
|
# Code Review Checklist
|
|
8
11
|
|
|
9
|
-
##
|
|
12
|
+
## Compatibility Alias
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
- [ ] Code does what it's supposed to do
|
|
13
|
-
- [ ] Edge cases handled
|
|
14
|
-
- [ ] Error handling in place
|
|
15
|
-
- [ ] No obvious bugs
|
|
14
|
+
This skill is deprecated and kept for backward compatibility.
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
- [ ] Input validated and sanitized
|
|
19
|
-
- [ ] No SQL/NoSQL injection vulnerabilities
|
|
20
|
-
- [ ] No XSS or CSRF vulnerabilities
|
|
21
|
-
- [ ] No hardcoded secrets or sensitive credentials
|
|
22
|
-
- [ ] **AI-Specific:** Protection against Prompt Injection (if applicable)
|
|
23
|
-
- [ ] **AI-Specific:** Outputs are sanitized before being used in critical sinks
|
|
16
|
+
Use `code-reviewer` as the canonical skill.
|
|
24
17
|
|
|
25
|
-
|
|
26
|
-
- [ ] No N+1 queries
|
|
27
|
-
- [ ] No unnecessary loops
|
|
28
|
-
- [ ] Appropriate caching
|
|
29
|
-
- [ ] Bundle size impact considered
|
|
18
|
+
## Migration
|
|
30
19
|
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
- [ ] DRY - no duplicate code
|
|
34
|
-
- [ ] SOLID principles followed
|
|
35
|
-
- [ ] Appropriate abstraction level
|
|
36
|
-
|
|
37
|
-
### Testing
|
|
38
|
-
- [ ] Unit tests for new code
|
|
39
|
-
- [ ] Edge cases tested
|
|
40
|
-
- [ ] Tests readable and maintainable
|
|
41
|
-
|
|
42
|
-
### Documentation
|
|
43
|
-
- [ ] Complex logic commented
|
|
44
|
-
- [ ] Public APIs documented
|
|
45
|
-
- [ ] README updated if needed
|
|
46
|
-
|
|
47
|
-
## AI & LLM Review Patterns (2025)
|
|
48
|
-
|
|
49
|
-
### Logic & Hallucinations
|
|
50
|
-
- [ ] **Chain of Thought:** Does the logic follow a verifiable path?
|
|
51
|
-
- [ ] **Edge Cases:** Did the AI account for empty states, timeouts, and partial failures?
|
|
52
|
-
- [ ] **External State:** Is the code making safe assumptions about file systems or networks?
|
|
53
|
-
|
|
54
|
-
### Prompt Engineering Review
|
|
55
|
-
```markdown
|
|
56
|
-
// ❌ Vague prompt in code
|
|
57
|
-
const response = await ai.generate(userInput);
|
|
58
|
-
|
|
59
|
-
// ✅ Structured & Safe prompt
|
|
60
|
-
const response = await ai.generate({
|
|
61
|
-
system: "You are a specialized parser...",
|
|
62
|
-
input: sanitize(userInput),
|
|
63
|
-
schema: ResponseSchema
|
|
64
|
-
});
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Anti-Patterns to Flag
|
|
68
|
-
|
|
69
|
-
```typescript
|
|
70
|
-
// ❌ Magic numbers
|
|
71
|
-
if (status === 3) { ... }
|
|
72
|
-
|
|
73
|
-
// ✅ Named constants
|
|
74
|
-
if (status === Status.ACTIVE) { ... }
|
|
75
|
-
|
|
76
|
-
// ❌ Deep nesting
|
|
77
|
-
if (a) { if (b) { if (c) { ... } } }
|
|
78
|
-
|
|
79
|
-
// ✅ Early returns
|
|
80
|
-
if (!a) return;
|
|
81
|
-
if (!b) return;
|
|
82
|
-
if (!c) return;
|
|
83
|
-
// do work
|
|
84
|
-
|
|
85
|
-
// ❌ Long functions (100+ lines)
|
|
86
|
-
// ✅ Small, focused functions
|
|
87
|
-
|
|
88
|
-
// ❌ any type
|
|
89
|
-
const data: any = ...
|
|
90
|
-
|
|
91
|
-
// ✅ Proper types
|
|
92
|
-
const data: UserData = ...
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## Review Comments Guide
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
// Blocking issues use 🔴
|
|
99
|
-
🔴 BLOCKING: SQL injection vulnerability here
|
|
100
|
-
|
|
101
|
-
// Important suggestions use 🟡
|
|
102
|
-
🟡 SUGGESTION: Consider using useMemo for performance
|
|
103
|
-
|
|
104
|
-
// Minor nits use 🟢
|
|
105
|
-
🟢 NIT: Prefer const over let for immutable variable
|
|
106
|
-
|
|
107
|
-
// Questions use ❓
|
|
108
|
-
❓ QUESTION: What happens if user is null here?
|
|
109
|
-
```
|
|
20
|
+
1. Replace direct references to `code-review-checklist` with `code-reviewer`.
|
|
21
|
+
2. Apply the full workflow from `code-reviewer` for new work.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
````markdown
|
|
2
|
+
---
|
|
3
|
+
inclusion: manual
|
|
4
|
+
name: "csharp-pro"
|
|
5
|
+
description: "Use for modern C# backend/application engineering with C# 14 and .NET 10-era production practices."
|
|
6
|
+
license: MIT
|
|
7
|
+
metadata:
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
domain: "language"
|
|
10
|
+
role: "specialist"
|
|
11
|
+
stack: "csharp"
|
|
12
|
+
baseline: "C# 14 / .NET 10"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# C# Pro
|
|
16
|
+
|
|
17
|
+
## When to use
|
|
18
|
+
|
|
19
|
+
- Building APIs, workers, and services in .NET.
|
|
20
|
+
- Refactoring legacy C# into modern, testable architecture.
|
|
21
|
+
- Improving async correctness and operational resilience.
|
|
22
|
+
|
|
23
|
+
## Core workflow
|
|
24
|
+
|
|
25
|
+
1. Confirm target framework/runtime constraints.
|
|
26
|
+
2. Define clean contracts (DTOs, domain, persistence boundaries).
|
|
27
|
+
3. Implement async-first I/O and cancellation-aware flows.
|
|
28
|
+
4. Validate with tests, analyzers, and profiling.
|
|
29
|
+
|
|
30
|
+
## Baseline standards
|
|
31
|
+
|
|
32
|
+
- Use nullable reference types and treat warnings as actionable.
|
|
33
|
+
- Use `async`/`await` with `CancellationToken` in public async APIs.
|
|
34
|
+
- Keep exception handling consistent and observable.
|
|
35
|
+
- Use dependency injection with explicit lifetimes.
|
|
36
|
+
- Keep API contracts versioned and backward-compatible.
|
|
37
|
+
|
|
38
|
+
## Avoid
|
|
39
|
+
|
|
40
|
+
- Sync-over-async (`.Result`, `.Wait()`) in request paths.
|
|
41
|
+
- Fat controllers with business logic and persistence mixed.
|
|
42
|
+
- Global static mutable state in multi-request services.
|
|
43
|
+
````
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "csharp-pro"
|
|
3
|
+
description: "Use for modern C# backend/application engineering with C# 14 and .NET 10-era production practices."
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
domain: "language"
|
|
8
|
+
role: "specialist"
|
|
9
|
+
stack: "csharp"
|
|
10
|
+
baseline: "C# 14 / .NET 10"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# C# Pro
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Building APIs, workers, and services in .NET.
|
|
18
|
+
- Refactoring legacy C# into modern, testable architecture.
|
|
19
|
+
- Improving async correctness and operational resilience.
|
|
20
|
+
|
|
21
|
+
## Core workflow
|
|
22
|
+
|
|
23
|
+
1. Confirm target framework/runtime constraints.
|
|
24
|
+
2. Define clean contracts (DTOs, domain, persistence boundaries).
|
|
25
|
+
3. Implement async-first I/O and cancellation-aware flows.
|
|
26
|
+
4. Validate with tests, analyzers, and profiling.
|
|
27
|
+
|
|
28
|
+
## Baseline standards
|
|
29
|
+
|
|
30
|
+
- Use nullable reference types and treat warnings as actionable.
|
|
31
|
+
- Use `async`/`await` with `CancellationToken` in public async APIs.
|
|
32
|
+
- Keep exception handling consistent and observable.
|
|
33
|
+
- Use dependency injection with explicit lifetimes.
|
|
34
|
+
- Keep API contracts versioned and backward-compatible.
|
|
35
|
+
|
|
36
|
+
## Avoid
|
|
37
|
+
|
|
38
|
+
- Sync-over-async (`.Result`, `.Wait()`) in request paths.
|
|
39
|
+
- Fat controllers with business logic and persistence mixed.
|
|
40
|
+
- Global static mutable state in multi-request services.
|
|
@@ -1,13 +1,55 @@
|
|
|
1
|
+
````markdown
|
|
1
2
|
---
|
|
3
|
+
inclusion: manual
|
|
2
4
|
name: database-design
|
|
3
5
|
description: Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
|
|
6
|
+
allowed-tools: Read, Write, Edit, Glob, Grep
|
|
4
7
|
---
|
|
5
8
|
|
|
6
|
-
#
|
|
9
|
+
# Database Design
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
> **Learn to THINK, not copy SQL patterns.**
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
- `workflows/skills/database-design/SKILL.md`
|
|
13
|
+
## 🎯 Selective Reading Rule
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
**Read ONLY files relevant to the request!** Check the content map, find what you need.
|
|
16
|
+
|
|
17
|
+
| File | Description | When to Read |
|
|
18
|
+
|------|-------------|--------------|
|
|
19
|
+
| `database-selection.md` | PostgreSQL vs Neon vs Turso vs SQLite | Choosing database |
|
|
20
|
+
| `orm-selection.md` | Drizzle vs Prisma vs Kysely | Choosing ORM |
|
|
21
|
+
| `schema-design.md` | Normalization, PKs, relationships | Designing schema |
|
|
22
|
+
| `indexing.md` | Index types, composite indexes | Performance tuning |
|
|
23
|
+
| `optimization.md` | N+1, EXPLAIN ANALYZE | Query optimization |
|
|
24
|
+
| `migrations.md` | Safe migrations, serverless DBs | Schema changes |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## ⚠️ Core Principle
|
|
29
|
+
|
|
30
|
+
- ASK user for database preferences when unclear
|
|
31
|
+
- Choose database/ORM based on CONTEXT
|
|
32
|
+
- Don't default to PostgreSQL for everything
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Decision Checklist
|
|
37
|
+
|
|
38
|
+
Before designing schema:
|
|
39
|
+
|
|
40
|
+
- [ ] Asked user about database preference?
|
|
41
|
+
- [ ] Chosen database for THIS context?
|
|
42
|
+
- [ ] Considered deployment environment?
|
|
43
|
+
- [ ] Planned index strategy?
|
|
44
|
+
- [ ] Defined relationship types?
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Anti-Patterns
|
|
49
|
+
|
|
50
|
+
❌ Default to PostgreSQL for simple apps (SQLite may suffice)
|
|
51
|
+
❌ Skip indexing
|
|
52
|
+
❌ Use SELECT * in production
|
|
53
|
+
❌ Store JSON when structured data is better
|
|
54
|
+
❌ Ignore N+1 queries
|
|
55
|
+
````
|