@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,11 +1,52 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: database-design
|
|
3
3
|
description: Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
#
|
|
7
|
+
# Database Design
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
- `workflows/skills/database-design/SKILL.md`
|
|
9
|
+
> **Learn to THINK, not copy SQL patterns.**
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## 🎯 Selective Reading Rule
|
|
12
|
+
|
|
13
|
+
**Read ONLY files relevant to the request!** Check the content map, find what you need.
|
|
14
|
+
|
|
15
|
+
| File | Description | When to Read |
|
|
16
|
+
|------|-------------|--------------|
|
|
17
|
+
| `database-selection.md` | PostgreSQL vs Neon vs Turso vs SQLite | Choosing database |
|
|
18
|
+
| `orm-selection.md` | Drizzle vs Prisma vs Kysely | Choosing ORM |
|
|
19
|
+
| `schema-design.md` | Normalization, PKs, relationships | Designing schema |
|
|
20
|
+
| `indexing.md` | Index types, composite indexes | Performance tuning |
|
|
21
|
+
| `optimization.md` | N+1, EXPLAIN ANALYZE | Query optimization |
|
|
22
|
+
| `migrations.md` | Safe migrations, serverless DBs | Schema changes |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## ⚠️ Core Principle
|
|
27
|
+
|
|
28
|
+
- ASK user for database preferences when unclear
|
|
29
|
+
- Choose database/ORM based on CONTEXT
|
|
30
|
+
- Don't default to PostgreSQL for everything
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Decision Checklist
|
|
35
|
+
|
|
36
|
+
Before designing schema:
|
|
37
|
+
|
|
38
|
+
- [ ] Asked user about database preference?
|
|
39
|
+
- [ ] Chosen database for THIS context?
|
|
40
|
+
- [ ] Considered deployment environment?
|
|
41
|
+
- [ ] Planned index strategy?
|
|
42
|
+
- [ ] Defined relationship types?
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Anti-Patterns
|
|
47
|
+
|
|
48
|
+
❌ Default to PostgreSQL for simple apps (SQLite may suffice)
|
|
49
|
+
❌ Skip indexing
|
|
50
|
+
❌ Use SELECT * in production
|
|
51
|
+
❌ Store JSON when structured data is better
|
|
52
|
+
❌ Ignore N+1 queries
|
|
@@ -1,24 +1,11 @@
|
|
|
1
|
+
````markdown
|
|
1
2
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
description:
|
|
5
|
-
Use when investigating slow queries, analyzing execution plans, or optimizing
|
|
6
|
-
database performance. Invoke for index design, query rewrites, configuration tuning,
|
|
7
|
-
partitioning strategies, lock contention resolution.
|
|
8
|
-
keywords:
|
|
9
|
-
- database optimization
|
|
10
|
-
- slow query
|
|
11
|
-
- query performance
|
|
12
|
-
- database tuning
|
|
13
|
-
- index optimization
|
|
14
|
-
- execution plan
|
|
15
|
-
- EXPLAIN ANALYZE
|
|
16
|
-
- database performance
|
|
17
|
-
- PostgreSQL optimization
|
|
18
|
-
- MySQL optimization
|
|
19
|
-
author: OneUp
|
|
3
|
+
inclusion: manual
|
|
4
|
+
name: "database-optimizer"
|
|
5
|
+
description: "Use for system-level database performance triage across engines: bottleneck analysis, indexing strategy, config tuning, partitioning, and lock contention."
|
|
20
6
|
---
|
|
21
7
|
|
|
8
|
+
|
|
22
9
|
# Database Optimizer
|
|
23
10
|
|
|
24
11
|
## Overview
|
|
@@ -52,11 +39,11 @@ Load detailed guidance on-demand:
|
|
|
52
39
|
|
|
53
40
|
| Topic | Reference | Load When |
|
|
54
41
|
| --------------------- | --------------------------------- | --------------------------------------- |
|
|
55
|
-
| Query Optimization | `
|
|
56
|
-
| Index Strategies | `
|
|
57
|
-
| PostgreSQL Tuning | `
|
|
58
|
-
| MySQL Tuning | `
|
|
59
|
-
| Monitoring & Analysis | `
|
|
42
|
+
| Query Optimization | `references/query-optimization.md` | Analyzing slow queries, execution plans |
|
|
43
|
+
| Index Strategies | `references/index-strategies.md` | Designing indexes, covering indexes |
|
|
44
|
+
| PostgreSQL Tuning | `references/postgresql-tuning.md` | PostgreSQL-specific optimizations |
|
|
45
|
+
| MySQL Tuning | `references/mysql-tuning.md` | MySQL-specific optimizations |
|
|
46
|
+
| Monitoring & Analysis | `references/monitoring-analysis.md` | Performance metrics, diagnostics |
|
|
60
47
|
|
|
61
48
|
## Constraints
|
|
62
49
|
|
|
@@ -100,3 +87,4 @@ PostgreSQL (pg_stat_statements, EXPLAIN ANALYZE, indexes, VACUUM, partitioning),
|
|
|
100
87
|
- **Backend Developer** - Query pattern optimization
|
|
101
88
|
- **DevOps Engineer** - Infrastructure and resource tuning
|
|
102
89
|
- **Data Engineer** - ETL and analytical query optimization
|
|
90
|
+
````
|
|
@@ -37,11 +37,11 @@ Load detailed guidance on-demand:
|
|
|
37
37
|
|
|
38
38
|
| Topic | Reference | Load When |
|
|
39
39
|
| --------------------- | --------------------------------- | --------------------------------------- |
|
|
40
|
-
| Query Optimization | `
|
|
41
|
-
| Index Strategies | `
|
|
42
|
-
| PostgreSQL Tuning | `
|
|
43
|
-
| MySQL Tuning | `
|
|
44
|
-
| Monitoring & Analysis | `
|
|
40
|
+
| Query Optimization | `references/query-optimization.md` | Analyzing slow queries, execution plans |
|
|
41
|
+
| Index Strategies | `references/index-strategies.md` | Designing indexes, covering indexes |
|
|
42
|
+
| PostgreSQL Tuning | `references/postgresql-tuning.md` | PostgreSQL-specific optimizations |
|
|
43
|
+
| MySQL Tuning | `references/mysql-tuning.md` | MySQL-specific optimizations |
|
|
44
|
+
| Monitoring & Analysis | `references/monitoring-analysis.md` | Performance metrics, diagnostics |
|
|
45
45
|
|
|
46
46
|
## Constraints
|
|
47
47
|
|
|
@@ -1,238 +1,21 @@
|
|
|
1
1
|
````markdown
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
|
-
name: datadog-automation
|
|
5
|
-
description: "
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
name: "datadog-automation"
|
|
5
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/datadog-automation."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: "datadog-automation"
|
|
9
|
+
moved_to: "mcp/skills/datadog-automation/SKILL.md"
|
|
10
|
+
removal_target: "v0.6.0"
|
|
8
11
|
---
|
|
9
12
|
|
|
10
|
-
#
|
|
13
|
+
# datadog-automation (Compatibility Wrapper)
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
Canonical MCP skill path:
|
|
18
|
+
- mcp/skills/datadog-automation/SKILL.md
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
- Active Datadog connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
18
|
-
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
19
|
-
|
|
20
|
-
## Setup
|
|
21
|
-
|
|
22
|
-
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
26
|
-
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
27
|
-
3. If connection is not ACTIVE, follow the returned auth link to complete Datadog authentication
|
|
28
|
-
4. Confirm connection status shows ACTIVE before running any workflows
|
|
29
|
-
|
|
30
|
-
## Core Workflows
|
|
31
|
-
|
|
32
|
-
### 1. Query and Explore Metrics
|
|
33
|
-
|
|
34
|
-
**When to use**: User wants to query metric data or list available metrics
|
|
35
|
-
|
|
36
|
-
**Tool sequence**:
|
|
37
|
-
1. `DATADOG_LIST_METRICS` - List available metric names [Optional]
|
|
38
|
-
2. `DATADOG_QUERY_METRICS` - Query metric time series data [Required]
|
|
39
|
-
|
|
40
|
-
**Key parameters**:
|
|
41
|
-
- `query`: Datadog metric query string (e.g., `avg:system.cpu.user{host:web01}`)
|
|
42
|
-
- `from`: Start timestamp (Unix epoch seconds)
|
|
43
|
-
- `to`: End timestamp (Unix epoch seconds)
|
|
44
|
-
- `q`: Search string for listing metrics
|
|
45
|
-
|
|
46
|
-
**Pitfalls**:
|
|
47
|
-
- Query syntax follows Datadog's metric query format: `aggregation:metric_name{tag_filters}`
|
|
48
|
-
- `from` and `to` are Unix epoch timestamps in seconds, not milliseconds
|
|
49
|
-
- Valid aggregations: `avg`, `sum`, `min`, `max`, `count`
|
|
50
|
-
- Tag filters use curly braces: `{host:web01,env:prod}`
|
|
51
|
-
- Time range should not exceed Datadog's retention limits for the metric type
|
|
52
|
-
|
|
53
|
-
### 2. Search and Analyze Logs
|
|
54
|
-
|
|
55
|
-
**When to use**: User wants to search log entries or list log indexes
|
|
56
|
-
|
|
57
|
-
**Tool sequence**:
|
|
58
|
-
1. `DATADOG_LIST_LOG_INDEXES` - List available log indexes [Optional]
|
|
59
|
-
2. `DATADOG_SEARCH_LOGS` - Search logs with query and filters [Required]
|
|
60
|
-
|
|
61
|
-
**Key parameters**:
|
|
62
|
-
- `query`: Log search query using Datadog log query syntax
|
|
63
|
-
- `from`: Start time (ISO 8601 or Unix timestamp)
|
|
64
|
-
- `to`: End time (ISO 8601 or Unix timestamp)
|
|
65
|
-
- `sort`: Sort order ('asc' or 'desc')
|
|
66
|
-
- `limit`: Number of log entries to return
|
|
67
|
-
|
|
68
|
-
**Pitfalls**:
|
|
69
|
-
- Log queries use Datadog's log search syntax: `service:web status:error`
|
|
70
|
-
- Search is limited to retained logs within the configured retention period
|
|
71
|
-
- Large result sets require pagination; check for cursor/page tokens
|
|
72
|
-
- Log indexes control routing and retention; filter by index if known
|
|
73
|
-
|
|
74
|
-
### 3. Manage Monitors
|
|
75
|
-
|
|
76
|
-
**When to use**: User wants to create, update, mute, or inspect monitors
|
|
77
|
-
|
|
78
|
-
**Tool sequence**:
|
|
79
|
-
1. `DATADOG_LIST_MONITORS` - List all monitors with filters [Required]
|
|
80
|
-
2. `DATADOG_GET_MONITOR` - Get specific monitor details [Optional]
|
|
81
|
-
3. `DATADOG_CREATE_MONITOR` - Create a new monitor [Optional]
|
|
82
|
-
4. `DATADOG_UPDATE_MONITOR` - Update monitor configuration [Optional]
|
|
83
|
-
5. `DATADOG_MUTE_MONITOR` - Silence a monitor temporarily [Optional]
|
|
84
|
-
6. `DATADOG_UNMUTE_MONITOR` - Re-enable a muted monitor [Optional]
|
|
85
|
-
|
|
86
|
-
**Key parameters**:
|
|
87
|
-
- `monitor_id`: Numeric monitor ID
|
|
88
|
-
- `name`: Monitor display name
|
|
89
|
-
- `type`: Monitor type ('metric alert', 'service check', 'log alert', 'query alert', etc.)
|
|
90
|
-
- `query`: Monitor query defining the alert condition
|
|
91
|
-
- `message`: Notification message with @mentions
|
|
92
|
-
- `tags`: Array of tag strings
|
|
93
|
-
- `thresholds`: Alert threshold values (`critical`, `warning`, `ok`)
|
|
94
|
-
|
|
95
|
-
**Pitfalls**:
|
|
96
|
-
- Monitor `type` must match the query type; mismatches cause creation failures
|
|
97
|
-
- `message` supports @mentions for notifications (e.g., `@slack-channel`, `@pagerduty`)
|
|
98
|
-
- Thresholds vary by monitor type; metric monitors need `critical` at minimum
|
|
99
|
-
- Muting a monitor suppresses notifications but the monitor still evaluates
|
|
100
|
-
- Monitor IDs are numeric integers
|
|
101
|
-
|
|
102
|
-
### 4. Manage Dashboards
|
|
103
|
-
|
|
104
|
-
**When to use**: User wants to list, view, update, or delete dashboards
|
|
105
|
-
|
|
106
|
-
**Tool sequence**:
|
|
107
|
-
1. `DATADOG_LIST_DASHBOARDS` - List all dashboards [Required]
|
|
108
|
-
2. `DATADOG_GET_DASHBOARD` - Get full dashboard definition [Optional]
|
|
109
|
-
3. `DATADOG_UPDATE_DASHBOARD` - Update dashboard layout or widgets [Optional]
|
|
110
|
-
4. `DATADOG_DELETE_DASHBOARD` - Remove a dashboard (irreversible) [Optional]
|
|
111
|
-
|
|
112
|
-
**Key parameters**:
|
|
113
|
-
- `dashboard_id`: Dashboard identifier string
|
|
114
|
-
- `title`: Dashboard title
|
|
115
|
-
- `layout_type`: 'ordered' (grid) or 'free' (freeform positioning)
|
|
116
|
-
- `widgets`: Array of widget definition objects
|
|
117
|
-
- `description`: Dashboard description
|
|
118
|
-
|
|
119
|
-
**Pitfalls**:
|
|
120
|
-
- Dashboard IDs are alphanumeric strings (e.g., 'abc-def-ghi'), not numeric
|
|
121
|
-
- `layout_type` cannot be changed after creation; must recreate the dashboard
|
|
122
|
-
- Widget definitions are complex nested objects; get existing dashboard first to understand structure
|
|
123
|
-
- DELETE is permanent; there is no undo
|
|
124
|
-
|
|
125
|
-
### 5. Create Events and Manage Downtimes
|
|
126
|
-
|
|
127
|
-
**When to use**: User wants to post events or schedule maintenance downtimes
|
|
128
|
-
|
|
129
|
-
**Tool sequence**:
|
|
130
|
-
1. `DATADOG_LIST_EVENTS` - List existing events [Optional]
|
|
131
|
-
2. `DATADOG_CREATE_EVENT` - Post a new event [Required]
|
|
132
|
-
3. `DATADOG_CREATE_DOWNTIME` - Schedule a maintenance downtime [Optional]
|
|
133
|
-
|
|
134
|
-
**Key parameters for events**:
|
|
135
|
-
- `title`: Event title
|
|
136
|
-
- `text`: Event body text (supports markdown)
|
|
137
|
-
- `alert_type`: Event severity ('error', 'warning', 'info', 'success')
|
|
138
|
-
- `tags`: Array of tag strings
|
|
139
|
-
|
|
140
|
-
**Key parameters for downtimes**:
|
|
141
|
-
- `scope`: Tag scope for the downtime (e.g., `host:web01`)
|
|
142
|
-
- `start`: Start time (Unix epoch)
|
|
143
|
-
- `end`: End time (Unix epoch; omit for indefinite)
|
|
144
|
-
- `message`: Downtime description
|
|
145
|
-
- `monitor_id`: Specific monitor to downtime (optional, omit for scope-based)
|
|
146
|
-
|
|
147
|
-
**Pitfalls**:
|
|
148
|
-
- Event `text` supports Datadog's markdown format including @mentions
|
|
149
|
-
- Downtimes scope uses tag syntax: `host:web01`, `env:staging`
|
|
150
|
-
- Omitting `end` creates an indefinite downtime; always set an end time for maintenance
|
|
151
|
-
- Downtime `monitor_id` narrows to a single monitor; scope applies to all matching monitors
|
|
152
|
-
|
|
153
|
-
### 6. Manage Hosts and Traces
|
|
154
|
-
|
|
155
|
-
**When to use**: User wants to list infrastructure hosts or inspect distributed traces
|
|
156
|
-
|
|
157
|
-
**Tool sequence**:
|
|
158
|
-
1. `DATADOG_LIST_HOSTS` - List all reporting hosts [Required]
|
|
159
|
-
2. `DATADOG_GET_TRACE_BY_ID` - Get a specific distributed trace [Optional]
|
|
160
|
-
|
|
161
|
-
**Key parameters**:
|
|
162
|
-
- `filter`: Host search filter string
|
|
163
|
-
- `sort_field`: Sort hosts by field (e.g., 'name', 'apps', 'cpu')
|
|
164
|
-
- `sort_dir`: Sort direction ('asc' or 'desc')
|
|
165
|
-
- `trace_id`: Distributed trace ID for trace lookup
|
|
166
|
-
|
|
167
|
-
**Pitfalls**:
|
|
168
|
-
- Host list includes all hosts reporting to Datadog within the retention window
|
|
169
|
-
- Trace IDs are long numeric strings; ensure exact match
|
|
170
|
-
- Hosts that stop reporting are retained for a configured period before removal
|
|
171
|
-
|
|
172
|
-
## Common Patterns
|
|
173
|
-
|
|
174
|
-
### Monitor Query Syntax
|
|
175
|
-
|
|
176
|
-
**Metric alerts**:
|
|
177
|
-
```
|
|
178
|
-
avg(last_5m):avg:system.cpu.user{env:prod} > 90
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
**Log alerts**:
|
|
182
|
-
```
|
|
183
|
-
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Tag Filtering
|
|
187
|
-
|
|
188
|
-
- Tags use `key:value` format: `host:web01`, `env:prod`, `service:api`
|
|
189
|
-
- Multiple tags: `{host:web01,env:prod}` (AND logic)
|
|
190
|
-
- Wildcard: `host:web*`
|
|
191
|
-
|
|
192
|
-
### Pagination
|
|
193
|
-
|
|
194
|
-
- Use `page` and `page_size` or offset-based pagination depending on endpoint
|
|
195
|
-
- Check response for total count to determine if more pages exist
|
|
196
|
-
- Continue until all results are retrieved
|
|
197
|
-
|
|
198
|
-
## Known Pitfalls
|
|
199
|
-
|
|
200
|
-
**Timestamps**:
|
|
201
|
-
- Most endpoints use Unix epoch seconds (not milliseconds)
|
|
202
|
-
- Some endpoints accept ISO 8601; check tool schema
|
|
203
|
-
- Time ranges should be reasonable (not years of data)
|
|
204
|
-
|
|
205
|
-
**Query Syntax**:
|
|
206
|
-
- Metric queries: `aggregation:metric{tags}`
|
|
207
|
-
- Log queries: `field:value` pairs
|
|
208
|
-
- Monitor queries vary by type; check Datadog documentation
|
|
209
|
-
|
|
210
|
-
**Rate Limits**:
|
|
211
|
-
- Datadog API has per-endpoint rate limits
|
|
212
|
-
- Implement backoff on 429 responses
|
|
213
|
-
- Batch operations where possible
|
|
214
|
-
|
|
215
|
-
## Quick Reference
|
|
216
|
-
|
|
217
|
-
| Task | Tool Slug | Key Params |
|
|
218
|
-
|------|-----------|------------|
|
|
219
|
-
| Query metrics | DATADOG_QUERY_METRICS | query, from, to |
|
|
220
|
-
| List metrics | DATADOG_LIST_METRICS | q |
|
|
221
|
-
| Search logs | DATADOG_SEARCH_LOGS | query, from, to, limit |
|
|
222
|
-
| List log indexes | DATADOG_LIST_LOG_INDEXES | (none) |
|
|
223
|
-
| List monitors | DATADOG_LIST_MONITORS | tags |
|
|
224
|
-
| Get monitor | DATADOG_GET_MONITOR | monitor_id |
|
|
225
|
-
| Create monitor | DATADOG_CREATE_MONITOR | name, type, query, message |
|
|
226
|
-
| Update monitor | DATADOG_UPDATE_MONITOR | monitor_id |
|
|
227
|
-
| Mute monitor | DATADOG_MUTE_MONITOR | monitor_id |
|
|
228
|
-
| Unmute monitor | DATADOG_UNMUTE_MONITOR | monitor_id |
|
|
229
|
-
| List dashboards | DATADOG_LIST_DASHBOARDS | (none) |
|
|
230
|
-
| Get dashboard | DATADOG_GET_DASHBOARD | dashboard_id |
|
|
231
|
-
| Update dashboard | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets |
|
|
232
|
-
| Delete dashboard | DATADOG_DELETE_DASHBOARD | dashboard_id |
|
|
233
|
-
| List events | DATADOG_LIST_EVENTS | start, end |
|
|
234
|
-
| Create event | DATADOG_CREATE_EVENT | title, text, alert_type |
|
|
235
|
-
| Create downtime | DATADOG_CREATE_DOWNTIME | scope, start, end |
|
|
236
|
-
| List hosts | DATADOG_LIST_HOSTS | filter, sort_field |
|
|
237
|
-
| Get trace | DATADOG_GET_TRACE_BY_ID | trace_id |
|
|
20
|
+
Install MCP skills with: cbx workflows install --include-mcp
|
|
238
21
|
````
|
|
@@ -1,235 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: datadog-automation
|
|
3
|
-
description: "
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
name: "datadog-automation"
|
|
3
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/datadog-automation."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: "datadog-automation"
|
|
7
|
+
moved_to: "mcp/skills/datadog-automation/SKILL.md"
|
|
8
|
+
removal_target: "v0.6.0"
|
|
6
9
|
---
|
|
7
10
|
|
|
8
|
-
#
|
|
11
|
+
# datadog-automation (Compatibility Wrapper)
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
Canonical MCP skill path:
|
|
16
|
+
- mcp/skills/datadog-automation/SKILL.md
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
- Active Datadog connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
16
|
-
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
17
|
-
|
|
18
|
-
## Setup
|
|
19
|
-
|
|
20
|
-
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
24
|
-
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
25
|
-
3. If connection is not ACTIVE, follow the returned auth link to complete Datadog authentication
|
|
26
|
-
4. Confirm connection status shows ACTIVE before running any workflows
|
|
27
|
-
|
|
28
|
-
## Core Workflows
|
|
29
|
-
|
|
30
|
-
### 1. Query and Explore Metrics
|
|
31
|
-
|
|
32
|
-
**When to use**: User wants to query metric data or list available metrics
|
|
33
|
-
|
|
34
|
-
**Tool sequence**:
|
|
35
|
-
1. `DATADOG_LIST_METRICS` - List available metric names [Optional]
|
|
36
|
-
2. `DATADOG_QUERY_METRICS` - Query metric time series data [Required]
|
|
37
|
-
|
|
38
|
-
**Key parameters**:
|
|
39
|
-
- `query`: Datadog metric query string (e.g., `avg:system.cpu.user{host:web01}`)
|
|
40
|
-
- `from`: Start timestamp (Unix epoch seconds)
|
|
41
|
-
- `to`: End timestamp (Unix epoch seconds)
|
|
42
|
-
- `q`: Search string for listing metrics
|
|
43
|
-
|
|
44
|
-
**Pitfalls**:
|
|
45
|
-
- Query syntax follows Datadog's metric query format: `aggregation:metric_name{tag_filters}`
|
|
46
|
-
- `from` and `to` are Unix epoch timestamps in seconds, not milliseconds
|
|
47
|
-
- Valid aggregations: `avg`, `sum`, `min`, `max`, `count`
|
|
48
|
-
- Tag filters use curly braces: `{host:web01,env:prod}`
|
|
49
|
-
- Time range should not exceed Datadog's retention limits for the metric type
|
|
50
|
-
|
|
51
|
-
### 2. Search and Analyze Logs
|
|
52
|
-
|
|
53
|
-
**When to use**: User wants to search log entries or list log indexes
|
|
54
|
-
|
|
55
|
-
**Tool sequence**:
|
|
56
|
-
1. `DATADOG_LIST_LOG_INDEXES` - List available log indexes [Optional]
|
|
57
|
-
2. `DATADOG_SEARCH_LOGS` - Search logs with query and filters [Required]
|
|
58
|
-
|
|
59
|
-
**Key parameters**:
|
|
60
|
-
- `query`: Log search query using Datadog log query syntax
|
|
61
|
-
- `from`: Start time (ISO 8601 or Unix timestamp)
|
|
62
|
-
- `to`: End time (ISO 8601 or Unix timestamp)
|
|
63
|
-
- `sort`: Sort order ('asc' or 'desc')
|
|
64
|
-
- `limit`: Number of log entries to return
|
|
65
|
-
|
|
66
|
-
**Pitfalls**:
|
|
67
|
-
- Log queries use Datadog's log search syntax: `service:web status:error`
|
|
68
|
-
- Search is limited to retained logs within the configured retention period
|
|
69
|
-
- Large result sets require pagination; check for cursor/page tokens
|
|
70
|
-
- Log indexes control routing and retention; filter by index if known
|
|
71
|
-
|
|
72
|
-
### 3. Manage Monitors
|
|
73
|
-
|
|
74
|
-
**When to use**: User wants to create, update, mute, or inspect monitors
|
|
75
|
-
|
|
76
|
-
**Tool sequence**:
|
|
77
|
-
1. `DATADOG_LIST_MONITORS` - List all monitors with filters [Required]
|
|
78
|
-
2. `DATADOG_GET_MONITOR` - Get specific monitor details [Optional]
|
|
79
|
-
3. `DATADOG_CREATE_MONITOR` - Create a new monitor [Optional]
|
|
80
|
-
4. `DATADOG_UPDATE_MONITOR` - Update monitor configuration [Optional]
|
|
81
|
-
5. `DATADOG_MUTE_MONITOR` - Silence a monitor temporarily [Optional]
|
|
82
|
-
6. `DATADOG_UNMUTE_MONITOR` - Re-enable a muted monitor [Optional]
|
|
83
|
-
|
|
84
|
-
**Key parameters**:
|
|
85
|
-
- `monitor_id`: Numeric monitor ID
|
|
86
|
-
- `name`: Monitor display name
|
|
87
|
-
- `type`: Monitor type ('metric alert', 'service check', 'log alert', 'query alert', etc.)
|
|
88
|
-
- `query`: Monitor query defining the alert condition
|
|
89
|
-
- `message`: Notification message with @mentions
|
|
90
|
-
- `tags`: Array of tag strings
|
|
91
|
-
- `thresholds`: Alert threshold values (`critical`, `warning`, `ok`)
|
|
92
|
-
|
|
93
|
-
**Pitfalls**:
|
|
94
|
-
- Monitor `type` must match the query type; mismatches cause creation failures
|
|
95
|
-
- `message` supports @mentions for notifications (e.g., `@slack-channel`, `@pagerduty`)
|
|
96
|
-
- Thresholds vary by monitor type; metric monitors need `critical` at minimum
|
|
97
|
-
- Muting a monitor suppresses notifications but the monitor still evaluates
|
|
98
|
-
- Monitor IDs are numeric integers
|
|
99
|
-
|
|
100
|
-
### 4. Manage Dashboards
|
|
101
|
-
|
|
102
|
-
**When to use**: User wants to list, view, update, or delete dashboards
|
|
103
|
-
|
|
104
|
-
**Tool sequence**:
|
|
105
|
-
1. `DATADOG_LIST_DASHBOARDS` - List all dashboards [Required]
|
|
106
|
-
2. `DATADOG_GET_DASHBOARD` - Get full dashboard definition [Optional]
|
|
107
|
-
3. `DATADOG_UPDATE_DASHBOARD` - Update dashboard layout or widgets [Optional]
|
|
108
|
-
4. `DATADOG_DELETE_DASHBOARD` - Remove a dashboard (irreversible) [Optional]
|
|
109
|
-
|
|
110
|
-
**Key parameters**:
|
|
111
|
-
- `dashboard_id`: Dashboard identifier string
|
|
112
|
-
- `title`: Dashboard title
|
|
113
|
-
- `layout_type`: 'ordered' (grid) or 'free' (freeform positioning)
|
|
114
|
-
- `widgets`: Array of widget definition objects
|
|
115
|
-
- `description`: Dashboard description
|
|
116
|
-
|
|
117
|
-
**Pitfalls**:
|
|
118
|
-
- Dashboard IDs are alphanumeric strings (e.g., 'abc-def-ghi'), not numeric
|
|
119
|
-
- `layout_type` cannot be changed after creation; must recreate the dashboard
|
|
120
|
-
- Widget definitions are complex nested objects; get existing dashboard first to understand structure
|
|
121
|
-
- DELETE is permanent; there is no undo
|
|
122
|
-
|
|
123
|
-
### 5. Create Events and Manage Downtimes
|
|
124
|
-
|
|
125
|
-
**When to use**: User wants to post events or schedule maintenance downtimes
|
|
126
|
-
|
|
127
|
-
**Tool sequence**:
|
|
128
|
-
1. `DATADOG_LIST_EVENTS` - List existing events [Optional]
|
|
129
|
-
2. `DATADOG_CREATE_EVENT` - Post a new event [Required]
|
|
130
|
-
3. `DATADOG_CREATE_DOWNTIME` - Schedule a maintenance downtime [Optional]
|
|
131
|
-
|
|
132
|
-
**Key parameters for events**:
|
|
133
|
-
- `title`: Event title
|
|
134
|
-
- `text`: Event body text (supports markdown)
|
|
135
|
-
- `alert_type`: Event severity ('error', 'warning', 'info', 'success')
|
|
136
|
-
- `tags`: Array of tag strings
|
|
137
|
-
|
|
138
|
-
**Key parameters for downtimes**:
|
|
139
|
-
- `scope`: Tag scope for the downtime (e.g., `host:web01`)
|
|
140
|
-
- `start`: Start time (Unix epoch)
|
|
141
|
-
- `end`: End time (Unix epoch; omit for indefinite)
|
|
142
|
-
- `message`: Downtime description
|
|
143
|
-
- `monitor_id`: Specific monitor to downtime (optional, omit for scope-based)
|
|
144
|
-
|
|
145
|
-
**Pitfalls**:
|
|
146
|
-
- Event `text` supports Datadog's markdown format including @mentions
|
|
147
|
-
- Downtimes scope uses tag syntax: `host:web01`, `env:staging`
|
|
148
|
-
- Omitting `end` creates an indefinite downtime; always set an end time for maintenance
|
|
149
|
-
- Downtime `monitor_id` narrows to a single monitor; scope applies to all matching monitors
|
|
150
|
-
|
|
151
|
-
### 6. Manage Hosts and Traces
|
|
152
|
-
|
|
153
|
-
**When to use**: User wants to list infrastructure hosts or inspect distributed traces
|
|
154
|
-
|
|
155
|
-
**Tool sequence**:
|
|
156
|
-
1. `DATADOG_LIST_HOSTS` - List all reporting hosts [Required]
|
|
157
|
-
2. `DATADOG_GET_TRACE_BY_ID` - Get a specific distributed trace [Optional]
|
|
158
|
-
|
|
159
|
-
**Key parameters**:
|
|
160
|
-
- `filter`: Host search filter string
|
|
161
|
-
- `sort_field`: Sort hosts by field (e.g., 'name', 'apps', 'cpu')
|
|
162
|
-
- `sort_dir`: Sort direction ('asc' or 'desc')
|
|
163
|
-
- `trace_id`: Distributed trace ID for trace lookup
|
|
164
|
-
|
|
165
|
-
**Pitfalls**:
|
|
166
|
-
- Host list includes all hosts reporting to Datadog within the retention window
|
|
167
|
-
- Trace IDs are long numeric strings; ensure exact match
|
|
168
|
-
- Hosts that stop reporting are retained for a configured period before removal
|
|
169
|
-
|
|
170
|
-
## Common Patterns
|
|
171
|
-
|
|
172
|
-
### Monitor Query Syntax
|
|
173
|
-
|
|
174
|
-
**Metric alerts**:
|
|
175
|
-
```
|
|
176
|
-
avg(last_5m):avg:system.cpu.user{env:prod} > 90
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
**Log alerts**:
|
|
180
|
-
```
|
|
181
|
-
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
### Tag Filtering
|
|
185
|
-
|
|
186
|
-
- Tags use `key:value` format: `host:web01`, `env:prod`, `service:api`
|
|
187
|
-
- Multiple tags: `{host:web01,env:prod}` (AND logic)
|
|
188
|
-
- Wildcard: `host:web*`
|
|
189
|
-
|
|
190
|
-
### Pagination
|
|
191
|
-
|
|
192
|
-
- Use `page` and `page_size` or offset-based pagination depending on endpoint
|
|
193
|
-
- Check response for total count to determine if more pages exist
|
|
194
|
-
- Continue until all results are retrieved
|
|
195
|
-
|
|
196
|
-
## Known Pitfalls
|
|
197
|
-
|
|
198
|
-
**Timestamps**:
|
|
199
|
-
- Most endpoints use Unix epoch seconds (not milliseconds)
|
|
200
|
-
- Some endpoints accept ISO 8601; check tool schema
|
|
201
|
-
- Time ranges should be reasonable (not years of data)
|
|
202
|
-
|
|
203
|
-
**Query Syntax**:
|
|
204
|
-
- Metric queries: `aggregation:metric{tags}`
|
|
205
|
-
- Log queries: `field:value` pairs
|
|
206
|
-
- Monitor queries vary by type; check Datadog documentation
|
|
207
|
-
|
|
208
|
-
**Rate Limits**:
|
|
209
|
-
- Datadog API has per-endpoint rate limits
|
|
210
|
-
- Implement backoff on 429 responses
|
|
211
|
-
- Batch operations where possible
|
|
212
|
-
|
|
213
|
-
## Quick Reference
|
|
214
|
-
|
|
215
|
-
| Task | Tool Slug | Key Params |
|
|
216
|
-
|------|-----------|------------|
|
|
217
|
-
| Query metrics | DATADOG_QUERY_METRICS | query, from, to |
|
|
218
|
-
| List metrics | DATADOG_LIST_METRICS | q |
|
|
219
|
-
| Search logs | DATADOG_SEARCH_LOGS | query, from, to, limit |
|
|
220
|
-
| List log indexes | DATADOG_LIST_LOG_INDEXES | (none) |
|
|
221
|
-
| List monitors | DATADOG_LIST_MONITORS | tags |
|
|
222
|
-
| Get monitor | DATADOG_GET_MONITOR | monitor_id |
|
|
223
|
-
| Create monitor | DATADOG_CREATE_MONITOR | name, type, query, message |
|
|
224
|
-
| Update monitor | DATADOG_UPDATE_MONITOR | monitor_id |
|
|
225
|
-
| Mute monitor | DATADOG_MUTE_MONITOR | monitor_id |
|
|
226
|
-
| Unmute monitor | DATADOG_UNMUTE_MONITOR | monitor_id |
|
|
227
|
-
| List dashboards | DATADOG_LIST_DASHBOARDS | (none) |
|
|
228
|
-
| Get dashboard | DATADOG_GET_DASHBOARD | dashboard_id |
|
|
229
|
-
| Update dashboard | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets |
|
|
230
|
-
| Delete dashboard | DATADOG_DELETE_DASHBOARD | dashboard_id |
|
|
231
|
-
| List events | DATADOG_LIST_EVENTS | start, end |
|
|
232
|
-
| Create event | DATADOG_CREATE_EVENT | title, text, alert_type |
|
|
233
|
-
| Create downtime | DATADOG_CREATE_DOWNTIME | scope, start, end |
|
|
234
|
-
| List hosts | DATADOG_LIST_HOSTS | filter, sort_field |
|
|
235
|
-
| Get trace | DATADOG_GET_TRACE_BY_ID | trace_id |
|
|
18
|
+
Install MCP skills with: cbx workflows install --include-mcp
|