@cubis/foundry 0.3.32 → 0.3.33

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.
Files changed (460) hide show
  1. package/README.md +23 -0
  2. package/bin/cubis.js +461 -37
  3. package/mcp/README.md +17 -0
  4. package/mcp/catalogs/default.json +14 -0
  5. package/mcp/powers/atlassian-mcp/POWER.md +91 -0
  6. package/mcp/powers/atlassian-mcp/SKILL.md +88 -0
  7. package/mcp/powers/building-mcp-server-on-cloudflare/POWER.md +261 -0
  8. package/mcp/powers/building-mcp-server-on-cloudflare/SKILL.md +258 -0
  9. package/mcp/powers/datadog-automation/POWER.md +238 -0
  10. package/mcp/powers/datadog-automation/SKILL.md +235 -0
  11. package/mcp/powers/github-automation/POWER.md +230 -0
  12. package/mcp/powers/github-automation/SKILL.md +227 -0
  13. package/mcp/powers/mcp-builder/POWER.md +179 -0
  14. package/mcp/powers/mcp-builder/SKILL.md +176 -0
  15. package/mcp/powers/mcp-developer/POWER.md +88 -0
  16. package/mcp/powers/mcp-developer/SKILL.md +85 -0
  17. package/mcp/powers/postman/POWER.md +243 -0
  18. package/mcp/powers/postman/SKILL.md +240 -0
  19. package/mcp/powers/sentry-automation/POWER.md +235 -0
  20. package/mcp/powers/sentry-automation/SKILL.md +232 -0
  21. package/mcp/skills/atlassian-mcp/SKILL.md +88 -0
  22. package/mcp/skills/building-mcp-server-on-cloudflare/SKILL.md +258 -0
  23. package/mcp/skills/datadog-automation/SKILL.md +235 -0
  24. package/mcp/skills/github-automation/SKILL.md +227 -0
  25. package/mcp/skills/mcp-builder/SKILL.md +176 -0
  26. package/mcp/skills/mcp-developer/SKILL.md +85 -0
  27. package/mcp/skills/postman/SKILL.md +240 -0
  28. package/mcp/skills/sentry-automation/SKILL.md +232 -0
  29. package/package.json +2 -1
  30. package/workflows/powers/architecture/POWER.md +12 -46
  31. package/workflows/powers/architecture/SKILL.md +12 -46
  32. package/workflows/powers/atlassian-mcp/POWER.md +11 -81
  33. package/workflows/powers/atlassian-mcp/SKILL.md +11 -81
  34. package/workflows/powers/building-mcp-server-on-cloudflare/POWER.md +12 -252
  35. package/workflows/powers/building-mcp-server-on-cloudflare/SKILL.md +12 -252
  36. package/workflows/powers/code-review-checklist/POWER.md +11 -99
  37. package/workflows/powers/code-review-checklist/SKILL.md +11 -99
  38. package/workflows/powers/csharp-pro/POWER.md +43 -0
  39. package/workflows/powers/csharp-pro/SKILL.md +40 -0
  40. package/workflows/powers/database-design/POWER.md +47 -5
  41. package/workflows/powers/database-design/SKILL.md +45 -4
  42. package/workflows/powers/database-optimizer/POWER.md +11 -23
  43. package/workflows/powers/database-optimizer/SKILL.md +5 -5
  44. package/workflows/powers/datadog-automation/POWER.md +12 -229
  45. package/workflows/powers/datadog-automation/SKILL.md +12 -229
  46. package/workflows/powers/debugging-wizard/POWER.md +12 -78
  47. package/workflows/powers/debugging-wizard/SKILL.md +12 -78
  48. package/workflows/powers/deployment-procedures/POWER.md +11 -231
  49. package/workflows/powers/deployment-procedures/SKILL.md +11 -231
  50. package/workflows/powers/drift-flutter/POWER.md +51 -0
  51. package/workflows/powers/drift-flutter/SKILL.md +2 -2
  52. package/workflows/powers/github-automation/POWER.md +12 -221
  53. package/workflows/powers/github-automation/SKILL.md +12 -221
  54. package/workflows/powers/golang-pro/POWER.md +38 -66
  55. package/workflows/powers/golang-pro/SKILL.md +38 -66
  56. package/workflows/powers/java-pro/POWER.md +43 -0
  57. package/workflows/powers/java-pro/SKILL.md +40 -0
  58. package/workflows/powers/javascript-pro/POWER.md +37 -67
  59. package/workflows/powers/javascript-pro/SKILL.md +37 -67
  60. package/workflows/powers/kotlin-pro/POWER.md +43 -0
  61. package/workflows/powers/kotlin-pro/SKILL.md +40 -0
  62. package/workflows/powers/mcp-builder/POWER.md +12 -170
  63. package/workflows/powers/mcp-builder/SKILL.md +12 -170
  64. package/workflows/powers/mcp-developer/POWER.md +11 -78
  65. package/workflows/powers/mcp-developer/SKILL.md +11 -78
  66. package/workflows/powers/nextjs-developer/POWER.md +41 -148
  67. package/workflows/powers/nextjs-developer/SKILL.md +41 -148
  68. package/workflows/powers/nextjs-react-expert/POWER.md +10 -281
  69. package/workflows/powers/nextjs-react-expert/SKILL.md +10 -281
  70. package/workflows/powers/nodejs-best-practices/POWER.md +33 -317
  71. package/workflows/powers/nodejs-best-practices/SKILL.md +33 -317
  72. package/workflows/powers/postman/POWER.md +11 -233
  73. package/workflows/powers/postman/SKILL.md +11 -233
  74. package/workflows/powers/python-patterns/POWER.md +11 -431
  75. package/workflows/powers/python-patterns/SKILL.md +11 -431
  76. package/workflows/powers/python-pro/POWER.md +38 -66
  77. package/workflows/powers/python-pro/SKILL.md +38 -66
  78. package/workflows/powers/react-best-practices/POWER.md +35 -118
  79. package/workflows/powers/react-best-practices/SKILL.md +35 -118
  80. package/workflows/powers/react-expert/POWER.md +38 -66
  81. package/workflows/powers/react-expert/SKILL.md +38 -66
  82. package/workflows/powers/rust-engineer/POWER.md +10 -75
  83. package/workflows/powers/rust-engineer/SKILL.md +10 -75
  84. package/workflows/powers/rust-pro/POWER.md +36 -163
  85. package/workflows/powers/rust-pro/SKILL.md +36 -163
  86. package/workflows/powers/sentry-automation/POWER.md +12 -226
  87. package/workflows/powers/sentry-automation/SKILL.md +12 -226
  88. package/workflows/powers/server-management/POWER.md +11 -151
  89. package/workflows/powers/server-management/SKILL.md +11 -151
  90. package/workflows/powers/tdd-workflow/POWER.md +12 -140
  91. package/workflows/powers/tdd-workflow/SKILL.md +12 -140
  92. package/workflows/powers/testing-patterns/POWER.md +11 -168
  93. package/workflows/powers/testing-patterns/SKILL.md +11 -168
  94. package/workflows/powers/typescript-pro/POWER.md +43 -70
  95. package/workflows/powers/typescript-pro/SKILL.md +43 -70
  96. package/workflows/powers/vercel-ai/POWER.md +43 -0
  97. package/workflows/powers/vercel-ai/SKILL.md +40 -0
  98. package/workflows/powers/vercel-ai-gateway/POWER.md +11 -69
  99. package/workflows/powers/vercel-ai-gateway/SKILL.md +11 -69
  100. package/workflows/powers/vercel-ai-sdk/POWER.md +11 -49
  101. package/workflows/powers/vercel-ai-sdk/SKILL.md +11 -49
  102. package/workflows/powers/vercel-caching/POWER.md +10 -72
  103. package/workflows/powers/vercel-caching/SKILL.md +10 -72
  104. package/workflows/powers/vercel-cli/POWER.md +11 -75
  105. package/workflows/powers/vercel-cli/SKILL.md +11 -75
  106. package/workflows/powers/vercel-delivery/POWER.md +45 -0
  107. package/workflows/powers/vercel-delivery/SKILL.md +42 -0
  108. package/workflows/powers/vercel-deployments/POWER.md +10 -90
  109. package/workflows/powers/vercel-deployments/SKILL.md +10 -90
  110. package/workflows/powers/vercel-domains/POWER.md +10 -69
  111. package/workflows/powers/vercel-domains/SKILL.md +10 -69
  112. package/workflows/powers/vercel-firewall/POWER.md +10 -61
  113. package/workflows/powers/vercel-firewall/SKILL.md +10 -61
  114. package/workflows/powers/vercel-flags/POWER.md +10 -62
  115. package/workflows/powers/vercel-flags/SKILL.md +10 -62
  116. package/workflows/powers/vercel-functions/POWER.md +10 -70
  117. package/workflows/powers/vercel-functions/SKILL.md +10 -70
  118. package/workflows/powers/vercel-routing/POWER.md +10 -68
  119. package/workflows/powers/vercel-routing/SKILL.md +10 -68
  120. package/workflows/powers/vercel-runtime/POWER.md +43 -0
  121. package/workflows/powers/vercel-runtime/SKILL.md +40 -0
  122. package/workflows/powers/vercel-security/POWER.md +43 -0
  123. package/workflows/powers/vercel-security/SKILL.md +40 -0
  124. package/workflows/powers/vulnerability-scanner/POWER.md +11 -266
  125. package/workflows/powers/vulnerability-scanner/SKILL.md +11 -266
  126. package/workflows/scripts/generate-powers.mjs +95 -202
  127. package/workflows/skills/atlassian-mcp/SKILL.md +11 -81
  128. package/workflows/skills/building-mcp-server-on-cloudflare/SKILL.md +12 -252
  129. package/workflows/skills/catalogs/core.json +30 -0
  130. package/workflows/skills/catalogs/web-backend.json +70 -0
  131. package/workflows/skills/csharp-pro/SKILL.md +40 -0
  132. package/workflows/skills/datadog-automation/SKILL.md +12 -229
  133. package/workflows/skills/github-automation/SKILL.md +12 -221
  134. package/workflows/skills/golang-pro/SKILL.md +38 -66
  135. package/workflows/skills/java-pro/SKILL.md +40 -0
  136. package/workflows/skills/javascript-pro/SKILL.md +37 -67
  137. package/workflows/skills/kotlin-pro/SKILL.md +40 -0
  138. package/workflows/skills/mcp-builder/SKILL.md +12 -170
  139. package/workflows/skills/mcp-developer/SKILL.md +11 -78
  140. package/workflows/skills/nextjs-developer/SKILL.md +41 -148
  141. package/workflows/skills/nextjs-react-expert/SKILL.md +5 -11
  142. package/workflows/skills/nodejs-best-practices/SKILL.md +33 -317
  143. package/workflows/skills/postman/SKILL.md +11 -233
  144. package/workflows/skills/python-pro/SKILL.md +38 -66
  145. package/workflows/skills/react-best-practices/SKILL.md +35 -118
  146. package/workflows/skills/react-expert/SKILL.md +38 -66
  147. package/workflows/skills/rust-pro/SKILL.md +36 -163
  148. package/workflows/skills/sentry-automation/SKILL.md +12 -226
  149. package/workflows/skills/skills_index.json +43 -57
  150. package/workflows/skills/typescript-pro/SKILL.md +43 -70
  151. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/backend-specialist.md +1 -1
  152. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/code-archaeologist.md +1 -1
  153. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/database-architect.md +1 -1
  154. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/debugger.md +1 -1
  155. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/devops-engineer.md +1 -1
  156. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/documentation-writer.md +1 -1
  157. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/explorer-agent.md +1 -1
  158. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/frontend-specialist.md +1 -1
  159. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/game-developer.md +1 -1
  160. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/mobile-developer.md +1 -1
  161. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +28 -400
  162. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/penetration-tester.md +1 -1
  163. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/performance-optimizer.md +1 -1
  164. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-manager.md +1 -1
  165. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-owner.md +1 -1
  166. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +1 -1
  167. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/qa-automation-engineer.md +1 -1
  168. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/security-auditor.md +1 -1
  169. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/seo-specialist.md +1 -1
  170. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/test-engineer.md +1 -1
  171. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/vercel-expert.md +1 -1
  172. package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +7 -6
  173. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
  174. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
  175. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
  176. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
  177. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
  178. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
  179. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/explorer-agent.md +1 -1
  180. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
  181. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
  182. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
  183. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +28 -400
  184. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
  185. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
  186. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
  187. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-owner.md +1 -1
  188. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +1 -1
  189. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
  190. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
  191. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
  192. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
  193. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
  194. package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +7 -6
  195. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/backend-specialist.md +1 -1
  196. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/code-archaeologist.md +1 -1
  197. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/database-architect.md +1 -1
  198. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/debugger.md +1 -1
  199. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/devops-engineer.md +1 -1
  200. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/documentation-writer.md +1 -1
  201. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/explorer-agent.md +1 -1
  202. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/frontend-specialist.md +1 -1
  203. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/game-developer.md +1 -1
  204. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/mobile-developer.md +1 -1
  205. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +28 -400
  206. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/penetration-tester.md +1 -1
  207. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/performance-optimizer.md +1 -1
  208. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-manager.md +1 -1
  209. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-owner.md +1 -1
  210. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +1 -1
  211. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/qa-automation-engineer.md +1 -1
  212. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/security-auditor.md +1 -1
  213. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/seo-specialist.md +1 -1
  214. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/test-engineer.md +1 -1
  215. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/vercel-expert.md +1 -1
  216. package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/AGENTS.md +7 -6
  217. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/csharp-pro/SKILL.md +40 -0
  218. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/golang-pro/SKILL.md +38 -66
  219. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/java-pro/SKILL.md +40 -0
  220. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/javascript-pro/SKILL.md +37 -67
  221. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/kotlin-pro/SKILL.md +40 -0
  222. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-developer/SKILL.md +41 -148
  223. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-react-expert/SKILL.md +6 -12
  224. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nodejs-best-practices/SKILL.md +33 -317
  225. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/python-pro/SKILL.md +38 -66
  226. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-best-practices/SKILL.md +35 -118
  227. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-expert/SKILL.md +38 -66
  228. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/rust-pro/SKILL.md +36 -163
  229. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +43 -57
  230. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/typescript-pro/SKILL.md +43 -70
  231. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/csharp-pro/SKILL.md +40 -0
  232. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/golang-pro/SKILL.md +38 -66
  233. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/java-pro/SKILL.md +40 -0
  234. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/javascript-pro/SKILL.md +37 -67
  235. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/kotlin-pro/SKILL.md +40 -0
  236. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-developer/SKILL.md +41 -148
  237. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-react-expert/SKILL.md +6 -12
  238. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nodejs-best-practices/SKILL.md +33 -317
  239. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/python-pro/SKILL.md +38 -66
  240. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-best-practices/SKILL.md +35 -118
  241. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-expert/SKILL.md +38 -66
  242. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/rust-pro/SKILL.md +36 -163
  243. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json +43 -57
  244. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/typescript-pro/SKILL.md +43 -70
  245. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/csharp-pro/SKILL.md +40 -0
  246. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/golang-pro/SKILL.md +38 -66
  247. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/java-pro/SKILL.md +40 -0
  248. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/javascript-pro/SKILL.md +37 -67
  249. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/kotlin-pro/SKILL.md +40 -0
  250. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-developer/SKILL.md +41 -148
  251. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-react-expert/SKILL.md +6 -12
  252. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nodejs-best-practices/SKILL.md +33 -317
  253. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/python-pro/SKILL.md +38 -66
  254. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-best-practices/SKILL.md +35 -118
  255. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-expert/SKILL.md +38 -66
  256. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/rust-pro/SKILL.md +36 -163
  257. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/skills_index.json +43 -57
  258. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/typescript-pro/SKILL.md +43 -70
  259. package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +1 -1
  260. package/workflows/workflows/agent-environment-setup/shared/agents/code-archaeologist.md +1 -1
  261. package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +1 -1
  262. package/workflows/workflows/agent-environment-setup/shared/agents/debugger.md +1 -1
  263. package/workflows/workflows/agent-environment-setup/shared/agents/devops-engineer.md +1 -1
  264. package/workflows/workflows/agent-environment-setup/shared/agents/documentation-writer.md +1 -1
  265. package/workflows/workflows/agent-environment-setup/shared/agents/explorer-agent.md +1 -1
  266. package/workflows/workflows/agent-environment-setup/shared/agents/frontend-specialist.md +1 -1
  267. package/workflows/workflows/agent-environment-setup/shared/agents/game-developer.md +1 -1
  268. package/workflows/workflows/agent-environment-setup/shared/agents/mobile-developer.md +1 -1
  269. package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +28 -400
  270. package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +1 -1
  271. package/workflows/workflows/agent-environment-setup/shared/agents/performance-optimizer.md +1 -1
  272. package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +1 -1
  273. package/workflows/workflows/agent-environment-setup/shared/agents/product-owner.md +1 -1
  274. package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +1 -1
  275. package/workflows/workflows/agent-environment-setup/shared/agents/qa-automation-engineer.md +1 -1
  276. package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +1 -1
  277. package/workflows/workflows/agent-environment-setup/shared/agents/seo-specialist.md +1 -1
  278. package/workflows/workflows/agent-environment-setup/shared/agents/test-engineer.md +1 -1
  279. package/workflows/workflows/agent-environment-setup/shared/agents/vercel-expert.md +1 -1
  280. package/workflows/powers/sub-agents/scripts/run_subagent.py.bak +0 -512
  281. /package/{workflows → mcp}/powers/atlassian-mcp/steering/authentication-patterns.md +0 -0
  282. /package/{workflows → mcp}/powers/atlassian-mcp/steering/common-workflows.md +0 -0
  283. /package/{workflows → mcp}/powers/atlassian-mcp/steering/confluence-operations.md +0 -0
  284. /package/{workflows → mcp}/powers/atlassian-mcp/steering/jira-queries.md +0 -0
  285. /package/{workflows → mcp}/powers/atlassian-mcp/steering/mcp-server-setup.md +0 -0
  286. /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/examples.md +0 -0
  287. /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/oauth-setup.md +0 -0
  288. /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/troubleshooting.md +0 -0
  289. /package/{workflows → mcp}/powers/mcp-builder/LICENSE.txt +0 -0
  290. /package/{workflows → mcp}/powers/mcp-builder/reference/evaluation.md +0 -0
  291. /package/{workflows → mcp}/powers/mcp-builder/reference/mcp_best_practices.md +0 -0
  292. /package/{workflows → mcp}/powers/mcp-builder/reference/node_mcp_server.md +0 -0
  293. /package/{workflows → mcp}/powers/mcp-builder/reference/python_mcp_server.md +0 -0
  294. /package/{workflows → mcp}/powers/mcp-builder/scripts/connections.py +0 -0
  295. /package/{workflows → mcp}/powers/mcp-builder/scripts/evaluation.py +0 -0
  296. /package/{workflows → mcp}/powers/mcp-builder/scripts/example_evaluation.xml +0 -0
  297. /package/{workflows → mcp}/powers/mcp-builder/scripts/requirements.txt +0 -0
  298. /package/{workflows → mcp}/powers/mcp-developer/steering/protocol.md +0 -0
  299. /package/{workflows → mcp}/powers/mcp-developer/steering/python-sdk.md +0 -0
  300. /package/{workflows → mcp}/powers/mcp-developer/steering/resources.md +0 -0
  301. /package/{workflows → mcp}/powers/mcp-developer/steering/tools.md +0 -0
  302. /package/{workflows → mcp}/powers/mcp-developer/steering/typescript-sdk.md +0 -0
  303. /package/{workflows → mcp}/powers/postman/flutter-expert/POWER.md +0 -0
  304. /package/{workflows → mcp}/powers/postman/flutter-expert/SKILL.md +0 -0
  305. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/bloc-state.md +0 -0
  306. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/engineering-principles.md +0 -0
  307. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/gorouter-navigation.md +0 -0
  308. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/performance.md +0 -0
  309. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/project-structure.md +0 -0
  310. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/riverpod-state.md +0 -0
  311. /package/{workflows → mcp}/powers/postman/flutter-expert/steering/widget-patterns.md +0 -0
  312. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/POWER.md +0 -0
  313. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/SKILL.md +0 -0
  314. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/log_redaction.md +0 -0
  315. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/network_hardening.md +0 -0
  316. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secret-scanning.md +0 -0
  317. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secure_storage_policy.md +0 -0
  318. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/vulnerability-patterns.md +0 -0
  319. /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
  320. /package/{workflows → mcp}/powers/postman/flutter-test-master/POWER.md +0 -0
  321. /package/{workflows → mcp}/powers/postman/flutter-test-master/SKILL.md +0 -0
  322. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/golden-testing.md +0 -0
  323. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/integration-testing.md +0 -0
  324. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/property-testing.md +0 -0
  325. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/riverpod-testing.md +0 -0
  326. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/test-utilities.md +0 -0
  327. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/unit-testing.md +0 -0
  328. /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/widget-testing.md +0 -0
  329. /package/{workflows → mcp}/powers/postman/git-commit/POWER.md +0 -0
  330. /package/{workflows → mcp}/powers/postman/git-commit/SKILL.md +0 -0
  331. /package/{workflows → mcp}/powers/postman/gorouter-restoration/POWER.md +0 -0
  332. /package/{workflows → mcp}/powers/postman/gorouter-restoration/SKILL.md +0 -0
  333. /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/guard_patterns.md +0 -0
  334. /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/tab_preservation.md +0 -0
  335. /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
  336. /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
  337. /package/{workflows → mcp}/powers/postman/mcp.json +0 -0
  338. /package/{workflows → mcp}/powers/postman/microservices-architect/POWER.md +0 -0
  339. /package/{workflows → mcp}/powers/postman/microservices-architect/SKILL.md +0 -0
  340. /package/{workflows → mcp}/powers/postman/microservices-architect/steering/communication.md +0 -0
  341. /package/{workflows → mcp}/powers/postman/microservices-architect/steering/data.md +0 -0
  342. /package/{workflows → mcp}/powers/postman/microservices-architect/steering/decomposition.md +0 -0
  343. /package/{workflows → mcp}/powers/postman/microservices-architect/steering/observability.md +0 -0
  344. /package/{workflows → mcp}/powers/postman/microservices-architect/steering/patterns.md +0 -0
  345. /package/{workflows → mcp}/powers/postman/nestjs-expert/POWER.md +0 -0
  346. /package/{workflows → mcp}/powers/postman/nestjs-expert/SKILL.md +0 -0
  347. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/authentication.md +0 -0
  348. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/controllers-routing.md +0 -0
  349. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/dtos-validation.md +0 -0
  350. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/migration-from-express.md +0 -0
  351. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/secure-sessions.md +0 -0
  352. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/services-di.md +0 -0
  353. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/strangler-fig-pattern.md +0 -0
  354. /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/testing-patterns.md +0 -0
  355. /package/{workflows → mcp}/powers/postman/oneup-design/POWER.md +0 -0
  356. /package/{workflows → mcp}/powers/postman/oneup-design/SKILL.md +0 -0
  357. /package/{workflows → mcp}/powers/postman/oneup-design/steering/colors.md +0 -0
  358. /package/{workflows → mcp}/powers/postman/oneup-design/steering/components.md +0 -0
  359. /package/{workflows → mcp}/powers/postman/oneup-design/steering/spacing.md +0 -0
  360. /package/{workflows → mcp}/powers/postman/openapi-docs/POWER.md +0 -0
  361. /package/{workflows → mcp}/powers/postman/openapi-docs/SKILL.md +0 -0
  362. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/crud-templates.md +0 -0
  363. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-express.md +0 -0
  364. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-fastapi.md +0 -0
  365. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-nestjs.md +0 -0
  366. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-raw-openapi.md +0 -0
  367. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/openapi-checklist.md +0 -0
  368. /package/{workflows → mcp}/powers/postman/openapi-docs/steering/stoplight-ui.md +0 -0
  369. /package/{workflows → mcp}/powers/postman/steering/steering.md +0 -0
  370. /package/{workflows → mcp}/skills/atlassian-mcp/references/authentication-patterns.md +0 -0
  371. /package/{workflows → mcp}/skills/atlassian-mcp/references/common-workflows.md +0 -0
  372. /package/{workflows → mcp}/skills/atlassian-mcp/references/confluence-operations.md +0 -0
  373. /package/{workflows → mcp}/skills/atlassian-mcp/references/jira-queries.md +0 -0
  374. /package/{workflows → mcp}/skills/atlassian-mcp/references/mcp-server-setup.md +0 -0
  375. /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -0
  376. /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -0
  377. /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -0
  378. /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -0
  379. /package/{workflows → mcp}/skills/mcp-builder/LICENSE.txt +0 -0
  380. /package/{workflows → mcp}/skills/mcp-builder/reference/evaluation.md +0 -0
  381. /package/{workflows → mcp}/skills/mcp-builder/reference/mcp_best_practices.md +0 -0
  382. /package/{workflows → mcp}/skills/mcp-builder/reference/node_mcp_server.md +0 -0
  383. /package/{workflows → mcp}/skills/mcp-builder/reference/python_mcp_server.md +0 -0
  384. /package/{workflows → mcp}/skills/mcp-builder/scripts/connections.py +0 -0
  385. /package/{workflows → mcp}/skills/mcp-builder/scripts/evaluation.py +0 -0
  386. /package/{workflows → mcp}/skills/mcp-builder/scripts/example_evaluation.xml +0 -0
  387. /package/{workflows → mcp}/skills/mcp-builder/scripts/requirements.txt +0 -0
  388. /package/{workflows → mcp}/skills/mcp-developer/references/protocol.md +0 -0
  389. /package/{workflows → mcp}/skills/mcp-developer/references/python-sdk.md +0 -0
  390. /package/{workflows → mcp}/skills/mcp-developer/references/resources.md +0 -0
  391. /package/{workflows → mcp}/skills/mcp-developer/references/tools.md +0 -0
  392. /package/{workflows → mcp}/skills/mcp-developer/references/typescript-sdk.md +0 -0
  393. /package/{workflows → mcp}/skills/postman/POWER.md +0 -0
  394. /package/{workflows → mcp}/skills/postman/flutter-expert/POWER.md +0 -0
  395. /package/{workflows → mcp}/skills/postman/flutter-expert/SKILL.md +0 -0
  396. /package/{workflows → mcp}/skills/postman/flutter-expert/references/bloc-state.md +0 -0
  397. /package/{workflows → mcp}/skills/postman/flutter-expert/references/engineering-principles.md +0 -0
  398. /package/{workflows → mcp}/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -0
  399. /package/{workflows → mcp}/skills/postman/flutter-expert/references/performance.md +0 -0
  400. /package/{workflows → mcp}/skills/postman/flutter-expert/references/project-structure.md +0 -0
  401. /package/{workflows → mcp}/skills/postman/flutter-expert/references/riverpod-state.md +0 -0
  402. /package/{workflows → mcp}/skills/postman/flutter-expert/references/widget-patterns.md +0 -0
  403. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/POWER.md +0 -0
  404. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/SKILL.md +0 -0
  405. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -0
  406. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -0
  407. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -0
  408. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -0
  409. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -0
  410. /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
  411. /package/{workflows → mcp}/skills/postman/flutter-test-master/POWER.md +0 -0
  412. /package/{workflows → mcp}/skills/postman/flutter-test-master/SKILL.md +0 -0
  413. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/golden-testing.md +0 -0
  414. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/integration-testing.md +0 -0
  415. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/property-testing.md +0 -0
  416. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -0
  417. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/test-utilities.md +0 -0
  418. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/unit-testing.md +0 -0
  419. /package/{workflows → mcp}/skills/postman/flutter-test-master/references/widget-testing.md +0 -0
  420. /package/{workflows → mcp}/skills/postman/git-commit/POWER.md +0 -0
  421. /package/{workflows → mcp}/skills/postman/git-commit/SKILL.md +0 -0
  422. /package/{workflows → mcp}/skills/postman/gorouter-restoration/POWER.md +0 -0
  423. /package/{workflows → mcp}/skills/postman/gorouter-restoration/SKILL.md +0 -0
  424. /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -0
  425. /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -0
  426. /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
  427. /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
  428. /package/{workflows → mcp}/skills/postman/mcp.json +0 -0
  429. /package/{workflows → mcp}/skills/postman/microservices-architect/POWER.md +0 -0
  430. /package/{workflows → mcp}/skills/postman/microservices-architect/SKILL.md +0 -0
  431. /package/{workflows → mcp}/skills/postman/microservices-architect/references/communication.md +0 -0
  432. /package/{workflows → mcp}/skills/postman/microservices-architect/references/data.md +0 -0
  433. /package/{workflows → mcp}/skills/postman/microservices-architect/references/decomposition.md +0 -0
  434. /package/{workflows → mcp}/skills/postman/microservices-architect/references/observability.md +0 -0
  435. /package/{workflows → mcp}/skills/postman/microservices-architect/references/patterns.md +0 -0
  436. /package/{workflows → mcp}/skills/postman/nestjs-expert/POWER.md +0 -0
  437. /package/{workflows → mcp}/skills/postman/nestjs-expert/SKILL.md +0 -0
  438. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/authentication.md +0 -0
  439. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/controllers-routing.md +0 -0
  440. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/dtos-validation.md +0 -0
  441. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/migration-from-express.md +0 -0
  442. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/secure-sessions.md +0 -0
  443. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/services-di.md +0 -0
  444. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -0
  445. /package/{workflows → mcp}/skills/postman/nestjs-expert/references/testing-patterns.md +0 -0
  446. /package/{workflows → mcp}/skills/postman/oneup-design/POWER.md +0 -0
  447. /package/{workflows → mcp}/skills/postman/oneup-design/SKILL.md +0 -0
  448. /package/{workflows → mcp}/skills/postman/oneup-design/references/colors.md +0 -0
  449. /package/{workflows → mcp}/skills/postman/oneup-design/references/components.md +0 -0
  450. /package/{workflows → mcp}/skills/postman/oneup-design/references/spacing.md +0 -0
  451. /package/{workflows → mcp}/skills/postman/openapi-docs/POWER.md +0 -0
  452. /package/{workflows → mcp}/skills/postman/openapi-docs/SKILL.md +0 -0
  453. /package/{workflows → mcp}/skills/postman/openapi-docs/references/crud-templates.md +0 -0
  454. /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-express.md +0 -0
  455. /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-fastapi.md +0 -0
  456. /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-nestjs.md +0 -0
  457. /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -0
  458. /package/{workflows → mcp}/skills/postman/openapi-docs/references/openapi-checklist.md +0 -0
  459. /package/{workflows → mcp}/skills/postman/openapi-docs/references/stoplight-ui.md +0 -0
  460. /package/{workflows → mcp}/skills/postman/references/steering.md +0 -0
@@ -0,0 +1,235 @@
1
+ ---
2
+ name: datadog-automation
3
+ description: "Automate Datadog tasks via Rube MCP (Composio): query metrics, search logs, manage monitors/dashboards, create events and downtimes. Always search tools first for current schemas."
4
+ requires:
5
+ mcp: [rube]
6
+ ---
7
+
8
+ # Datadog Automation via Rube MCP
9
+
10
+ Automate Datadog monitoring and observability operations through Composio's Datadog toolkit via Rube MCP.
11
+
12
+ ## Prerequisites
13
+
14
+ - Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
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 |
@@ -0,0 +1,227 @@
1
+ ---
2
+ name: github-automation
3
+ description: Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manage code workflows, review PRs, search code, and handle deployments programmatically.
4
+ requires:
5
+ mcp: [rube]
6
+ ---
7
+
8
+ # GitHub Automation via Rube MCP
9
+
10
+ Automate GitHub repository management, issue tracking, pull request workflows, branch operations, and CI/CD through Composio's GitHub toolkit.
11
+
12
+ ## Prerequisites
13
+
14
+ - Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
15
+ - Active GitHub connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `github`
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 `github`
25
+ 3. If connection is not ACTIVE, follow the returned auth link to complete GitHub OAuth
26
+ 4. Confirm connection status shows ACTIVE before running any workflows
27
+
28
+ ## Core Workflows
29
+
30
+ ### 1. Create and Manage Issues
31
+
32
+ **When to use**: User wants to create, list, or manage GitHub issues
33
+
34
+ **Tool sequence**:
35
+ 1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - Find target repo if unknown [Prerequisite]
36
+ 2. `GITHUB_LIST_REPOSITORY_ISSUES` - List existing issues (includes PRs) [Required]
37
+ 3. `GITHUB_CREATE_AN_ISSUE` - Create a new issue [Required]
38
+ 4. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Add comments to an issue [Optional]
39
+ 5. `GITHUB_SEARCH_ISSUES_AND_PULL_REQUESTS` - Search across repos by keyword [Optional]
40
+
41
+ **Key parameters**:
42
+ - `owner`: Repository owner (username or org), case-insensitive
43
+ - `repo`: Repository name without .git extension
44
+ - `title`: Issue title (required for creation)
45
+ - `body`: Issue description (supports Markdown)
46
+ - `labels`: Array of label names
47
+ - `assignees`: Array of GitHub usernames
48
+ - `state`: 'open', 'closed', or 'all' for filtering
49
+
50
+ **Pitfalls**:
51
+ - `GITHUB_LIST_REPOSITORY_ISSUES` returns both issues AND pull requests; check `pull_request` field to distinguish
52
+ - Only users with push access can set assignees, labels, and milestones; they are silently dropped otherwise
53
+ - Pagination: `per_page` max 100; iterate pages until empty
54
+
55
+ ### 2. Manage Pull Requests
56
+
57
+ **When to use**: User wants to create, review, or merge pull requests
58
+
59
+ **Tool sequence**:
60
+ 1. `GITHUB_FIND_PULL_REQUESTS` - Search and filter PRs [Required]
61
+ 2. `GITHUB_GET_A_PULL_REQUEST` - Get detailed PR info including mergeable status [Required]
62
+ 3. `GITHUB_LIST_PULL_REQUESTS_FILES` - Review changed files [Optional]
63
+ 4. `GITHUB_CREATE_A_PULL_REQUEST` - Create a new PR [Required]
64
+ 5. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Post review comments [Optional]
65
+ 6. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Verify CI status before merge [Optional]
66
+ 7. `GITHUB_MERGE_A_PULL_REQUEST` - Merge after explicit user approval [Required]
67
+
68
+ **Key parameters**:
69
+ - `head`: Source branch with changes (must exist; for cross-repo: 'username:branch')
70
+ - `base`: Target branch to merge into (e.g., 'main')
71
+ - `title`: PR title (required unless `issue` number provided)
72
+ - `merge_method`: 'merge', 'squash', or 'rebase'
73
+ - `state`: 'open', 'closed', or 'all'
74
+
75
+ **Pitfalls**:
76
+ - `GITHUB_CREATE_A_PULL_REQUEST` fails with 422 if base/head are invalid, identical, or already merged
77
+ - `GITHUB_MERGE_A_PULL_REQUEST` can be rejected if PR is draft, closed, or branch protection applies
78
+ - Always verify mergeable status with `GITHUB_GET_A_PULL_REQUEST` immediately before merging
79
+ - Require explicit user confirmation before calling MERGE
80
+
81
+ ### 3. Manage Repositories and Branches
82
+
83
+ **When to use**: User wants to create repos, manage branches, or update repo settings
84
+
85
+ **Tool sequence**:
86
+ 1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - List user's repos [Required]
87
+ 2. `GITHUB_GET_A_REPOSITORY` - Get detailed repo info [Optional]
88
+ 3. `GITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER` - Create personal repo [Required]
89
+ 4. `GITHUB_CREATE_AN_ORGANIZATION_REPOSITORY` - Create org repo [Alternative]
90
+ 5. `GITHUB_LIST_BRANCHES` - List branches [Required]
91
+ 6. `GITHUB_CREATE_A_REFERENCE` - Create new branch from SHA [Required]
92
+ 7. `GITHUB_UPDATE_A_REPOSITORY` - Update repo settings [Optional]
93
+
94
+ **Key parameters**:
95
+ - `name`: Repository name
96
+ - `private`: Boolean for visibility
97
+ - `ref`: Full reference path (e.g., 'refs/heads/new-branch')
98
+ - `sha`: Commit SHA to point the new reference to
99
+ - `default_branch`: Default branch name
100
+
101
+ **Pitfalls**:
102
+ - `GITHUB_CREATE_A_REFERENCE` only creates NEW references; use `GITHUB_UPDATE_A_REFERENCE` for existing ones
103
+ - `ref` must start with 'refs/' and contain at least two slashes
104
+ - `GITHUB_LIST_BRANCHES` paginates via `page`/`per_page`; iterate until empty page
105
+ - `GITHUB_DELETE_A_REPOSITORY` is permanent and irreversible; requires admin privileges
106
+
107
+ ### 4. Search Code and Commits
108
+
109
+ **When to use**: User wants to find code, files, or commits across repositories
110
+
111
+ **Tool sequence**:
112
+ 1. `GITHUB_SEARCH_CODE` - Search file contents and paths [Required]
113
+ 2. `GITHUB_SEARCH_CODE_ALL_PAGES` - Multi-page code search [Alternative]
114
+ 3. `GITHUB_SEARCH_COMMITS_BY_AUTHOR` - Search commits by author/date/org [Required]
115
+ 4. `GITHUB_LIST_COMMITS` - List commits for a specific repo [Alternative]
116
+ 5. `GITHUB_GET_A_COMMIT` - Get detailed commit info [Optional]
117
+ 6. `GITHUB_GET_REPOSITORY_CONTENT` - Get file content [Optional]
118
+
119
+ **Key parameters**:
120
+ - `q`: Search query with qualifiers (`language:python`, `repo:owner/repo`, `extension:js`)
121
+ - `owner`/`repo`: For repo-specific commit listing
122
+ - `author`: Filter by commit author
123
+ - `since`/`until`: ISO 8601 date range for commits
124
+
125
+ **Pitfalls**:
126
+ - Code search only indexes files under 384KB on default branch
127
+ - Maximum 1000 results returned from code search
128
+ - `GITHUB_SEARCH_COMMITS_BY_AUTHOR` requires keywords in addition to qualifiers; qualifier-only queries are not allowed
129
+ - `GITHUB_LIST_COMMITS` returns 409 on empty repos
130
+
131
+ ### 5. Manage CI/CD and Deployments
132
+
133
+ **When to use**: User wants to view workflows, check CI status, or manage deployments
134
+
135
+ **Tool sequence**:
136
+ 1. `GITHUB_LIST_REPOSITORY_WORKFLOWS` - List GitHub Actions workflows [Required]
137
+ 2. `GITHUB_GET_A_WORKFLOW` - Get workflow details by ID or filename [Optional]
138
+ 3. `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` - Manually trigger a workflow [Required]
139
+ 4. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Check CI status for a commit/branch [Required]
140
+ 5. `GITHUB_LIST_DEPLOYMENTS` - List deployments [Optional]
141
+ 6. `GITHUB_GET_A_DEPLOYMENT_STATUS` - Get deployment status [Optional]
142
+
143
+ **Key parameters**:
144
+ - `workflow_id`: Numeric ID or filename (e.g., 'ci.yml')
145
+ - `ref`: Git reference (branch/tag) for workflow dispatch
146
+ - `inputs`: JSON string of workflow inputs matching `on.workflow_dispatch.inputs`
147
+ - `environment`: Filter deployments by environment name
148
+
149
+ **Pitfalls**:
150
+ - `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` requires the workflow to have `workflow_dispatch` trigger configured
151
+ - Full path `.github/workflows/main.yml` is auto-stripped to just `main.yml`
152
+ - Inputs max 10 key-value pairs; must match workflow's `on.workflow_dispatch.inputs` definitions
153
+
154
+ ### 6. Manage Users and Permissions
155
+
156
+ **When to use**: User wants to check collaborators, permissions, or branch protection
157
+
158
+ **Tool sequence**:
159
+ 1. `GITHUB_LIST_REPOSITORY_COLLABORATORS` - List repo collaborators [Required]
160
+ 2. `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` - Check specific user's access [Optional]
161
+ 3. `GITHUB_GET_BRANCH_PROTECTION` - Inspect branch protection rules [Required]
162
+ 4. `GITHUB_UPDATE_BRANCH_PROTECTION` - Update protection settings [Optional]
163
+ 5. `GITHUB_ADD_A_REPOSITORY_COLLABORATOR` - Add/update collaborator [Optional]
164
+
165
+ **Key parameters**:
166
+ - `affiliation`: 'outside', 'direct', or 'all' for collaborator filtering
167
+ - `permission`: Filter by 'pull', 'triage', 'push', 'maintain', 'admin'
168
+ - `branch`: Branch name for protection rules
169
+ - `enforce_admins`: Whether protection applies to admins
170
+
171
+ **Pitfalls**:
172
+ - `GITHUB_GET_BRANCH_PROTECTION` returns 404 for unprotected branches; treat as no protection rules
173
+ - Determine push ability from `permissions.push` or `role_name`, not display labels
174
+ - `GITHUB_LIST_REPOSITORY_COLLABORATORS` paginates; iterate all pages
175
+ - `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` may be inconclusive for non-collaborators
176
+
177
+ ## Common Patterns
178
+
179
+ ### ID Resolution
180
+ - **Repo name -> owner/repo**: `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER`
181
+ - **PR number -> PR details**: `GITHUB_FIND_PULL_REQUESTS` then `GITHUB_GET_A_PULL_REQUEST`
182
+ - **Branch name -> SHA**: `GITHUB_GET_A_BRANCH`
183
+ - **Workflow name -> ID**: `GITHUB_LIST_REPOSITORY_WORKFLOWS`
184
+
185
+ ### Pagination
186
+ All list endpoints use page-based pagination:
187
+ - `page`: Page number (starts at 1)
188
+ - `per_page`: Results per page (max 100)
189
+ - Iterate until response returns fewer results than `per_page`
190
+
191
+ ### Safety
192
+ - Always verify PR mergeable status before merge
193
+ - Require explicit user confirmation for destructive operations (merge, delete)
194
+ - Check CI status with `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` before merging
195
+
196
+ ## Known Pitfalls
197
+
198
+ - **Issues vs PRs**: `GITHUB_LIST_REPOSITORY_ISSUES` returns both; check `pull_request` field
199
+ - **Pagination limits**: `per_page` max 100; always iterate pages until empty
200
+ - **Branch creation**: `GITHUB_CREATE_A_REFERENCE` fails with 422 if reference already exists
201
+ - **Merge guards**: Merge can fail due to branch protection, failing checks, or draft status
202
+ - **Code search limits**: Only files <384KB on default branch; max 1000 results
203
+ - **Commit search**: Requires search text keywords alongside qualifiers
204
+ - **Destructive actions**: Repo deletion is irreversible; merge cannot be undone
205
+ - **Silent permission drops**: Labels, assignees, milestones silently dropped without push access
206
+
207
+ ## Quick Reference
208
+
209
+ | Task | Tool Slug | Key Params |
210
+ |------|-----------|------------|
211
+ | List repos | `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` | `type`, `sort`, `per_page` |
212
+ | Get repo | `GITHUB_GET_A_REPOSITORY` | `owner`, `repo` |
213
+ | Create issue | `GITHUB_CREATE_AN_ISSUE` | `owner`, `repo`, `title`, `body` |
214
+ | List issues | `GITHUB_LIST_REPOSITORY_ISSUES` | `owner`, `repo`, `state` |
215
+ | Find PRs | `GITHUB_FIND_PULL_REQUESTS` | `repo`, `state`, `author` |
216
+ | Create PR | `GITHUB_CREATE_A_PULL_REQUEST` | `owner`, `repo`, `head`, `base`, `title` |
217
+ | Merge PR | `GITHUB_MERGE_A_PULL_REQUEST` | `owner`, `repo`, `pull_number`, `merge_method` |
218
+ | List branches | `GITHUB_LIST_BRANCHES` | `owner`, `repo` |
219
+ | Create branch | `GITHUB_CREATE_A_REFERENCE` | `owner`, `repo`, `ref`, `sha` |
220
+ | Search code | `GITHUB_SEARCH_CODE` | `q` |
221
+ | List commits | `GITHUB_LIST_COMMITS` | `owner`, `repo`, `author`, `since` |
222
+ | Search commits | `GITHUB_SEARCH_COMMITS_BY_AUTHOR` | `q` |
223
+ | List workflows | `GITHUB_LIST_REPOSITORY_WORKFLOWS` | `owner`, `repo` |
224
+ | Trigger workflow | `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` | `owner`, `repo`, `workflow_id`, `ref` |
225
+ | Check CI | `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` | `owner`, `repo`, ref |
226
+ | List collaborators | `GITHUB_LIST_REPOSITORY_COLLABORATORS` | `owner`, `repo` |
227
+ | Branch protection | `GITHUB_GET_BRANCH_PROTECTION` | `owner`, `repo`, `branch` |
@@ -0,0 +1,176 @@
1
+ ---
2
+ name: mcp-builder
3
+ description: MCP (Model Context Protocol) server building principles. Tool design, resource patterns, best practices.
4
+ allowed-tools: Read, Write, Edit, Glob, Grep
5
+ ---
6
+
7
+ # MCP Builder
8
+
9
+ > Principles for building MCP servers.
10
+
11
+ ---
12
+
13
+ ## 1. MCP Overview
14
+
15
+ ### What is MCP?
16
+
17
+ Model Context Protocol - standard for connecting AI systems with external tools and data sources.
18
+
19
+ ### Core Concepts
20
+
21
+ | Concept | Purpose |
22
+ |---------|---------|
23
+ | **Tools** | Functions AI can call |
24
+ | **Resources** | Data AI can read |
25
+ | **Prompts** | Pre-defined prompt templates |
26
+
27
+ ---
28
+
29
+ ## 2. Server Architecture
30
+
31
+ ### Project Structure
32
+
33
+ ```
34
+ my-mcp-server/
35
+ ├── src/
36
+ │ └── index.ts # Main entry
37
+ ├── package.json
38
+ └── tsconfig.json
39
+ ```
40
+
41
+ ### Transport Types
42
+
43
+ | Type | Use |
44
+ |------|-----|
45
+ | **Stdio** | Local, CLI-based |
46
+ | **SSE** | Web-based, streaming |
47
+ | **WebSocket** | Real-time, bidirectional |
48
+
49
+ ---
50
+
51
+ ## 3. Tool Design Principles
52
+
53
+ ### Good Tool Design
54
+
55
+ | Principle | Description |
56
+ |-----------|-------------|
57
+ | Clear name | Action-oriented (get_weather, create_user) |
58
+ | Single purpose | One thing well |
59
+ | Validated input | Schema with types and descriptions |
60
+ | Structured output | Predictable response format |
61
+
62
+ ### Input Schema Design
63
+
64
+ | Field | Required? |
65
+ |-------|-----------|
66
+ | Type | Yes - object |
67
+ | Properties | Define each param |
68
+ | Required | List mandatory params |
69
+ | Description | Human-readable |
70
+
71
+ ---
72
+
73
+ ## 4. Resource Patterns
74
+
75
+ ### Resource Types
76
+
77
+ | Type | Use |
78
+ |------|-----|
79
+ | Static | Fixed data (config, docs) |
80
+ | Dynamic | Generated on request |
81
+ | Template | URI with parameters |
82
+
83
+ ### URI Patterns
84
+
85
+ | Pattern | Example |
86
+ |---------|---------|
87
+ | Fixed | `docs://readme` |
88
+ | Parameterized | `users://{userId}` |
89
+ | Collection | `files://project/*` |
90
+
91
+ ---
92
+
93
+ ## 5. Error Handling
94
+
95
+ ### Error Types
96
+
97
+ | Situation | Response |
98
+ |-----------|----------|
99
+ | Invalid params | Validation error message |
100
+ | Not found | Clear "not found" |
101
+ | Server error | Generic error, log details |
102
+
103
+ ### Best Practices
104
+
105
+ - Return structured errors
106
+ - Don't expose internal details
107
+ - Log for debugging
108
+ - Provide actionable messages
109
+
110
+ ---
111
+
112
+ ## 6. Multimodal Handling
113
+
114
+ ### Supported Types
115
+
116
+ | Type | Encoding |
117
+ |------|----------|
118
+ | Text | Plain text |
119
+ | Images | Base64 + MIME type |
120
+ | Files | Base64 + MIME type |
121
+
122
+ ---
123
+
124
+ ## 7. Security Principles
125
+
126
+ ### Input Validation
127
+
128
+ - Validate all tool inputs
129
+ - Sanitize user-provided data
130
+ - Limit resource access
131
+
132
+ ### API Keys
133
+
134
+ - Use environment variables
135
+ - Don't log secrets
136
+ - Validate permissions
137
+
138
+ ---
139
+
140
+ ## 8. Configuration
141
+
142
+ ### Claude Desktop Config
143
+
144
+ | Field | Purpose |
145
+ |-------|---------|
146
+ | command | Executable to run |
147
+ | args | Command arguments |
148
+ | env | Environment variables |
149
+
150
+ ---
151
+
152
+ ## 9. Testing
153
+
154
+ ### Test Categories
155
+
156
+ | Type | Focus |
157
+ |------|-------|
158
+ | Unit | Tool logic |
159
+ | Integration | Full server |
160
+ | Contract | Schema validation |
161
+
162
+ ---
163
+
164
+ ## 10. Best Practices Checklist
165
+
166
+ - [ ] Clear, action-oriented tool names
167
+ - [ ] Complete input schemas with descriptions
168
+ - [ ] Structured JSON output
169
+ - [ ] Error handling for all cases
170
+ - [ ] Input validation
171
+ - [ ] Environment-based configuration
172
+ - [ ] Logging for debugging
173
+
174
+ ---
175
+
176
+ > **Remember:** MCP tools should be simple, focused, and well-documented. The AI relies on descriptions to use them correctly.