@cubis/foundry 0.3.34 → 0.3.35

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 (590) hide show
  1. package/README.md +56 -11
  2. package/bin/cubis.js +2809 -965
  3. package/mcp/.dockerignore +5 -0
  4. package/mcp/Dockerfile +19 -0
  5. package/mcp/README.md +550 -11
  6. package/mcp/config.json +18 -0
  7. package/mcp/dist/index.d.ts +1 -0
  8. package/mcp/dist/index.js +1488 -0
  9. package/mcp/package.json +36 -0
  10. package/mcp/src/cbxConfig/index.ts +23 -0
  11. package/mcp/src/cbxConfig/paths.ts +45 -0
  12. package/mcp/src/cbxConfig/reader.ts +149 -0
  13. package/mcp/src/cbxConfig/readerWriter.test.ts +147 -0
  14. package/mcp/src/cbxConfig/serviceConfig.test.ts +42 -0
  15. package/mcp/src/cbxConfig/serviceConfig.ts +157 -0
  16. package/mcp/src/cbxConfig/types.ts +44 -0
  17. package/mcp/src/cbxConfig/writer.ts +90 -0
  18. package/mcp/src/config/index.test.ts +81 -0
  19. package/mcp/src/config/index.ts +45 -0
  20. package/mcp/src/config/schema.ts +55 -0
  21. package/mcp/src/gateway/catalog.ts +37 -0
  22. package/mcp/src/gateway/config.ts +247 -0
  23. package/mcp/src/gateway/manager.ts +255 -0
  24. package/mcp/src/gateway/types.ts +54 -0
  25. package/mcp/src/gateway/upstreamClient.ts +80 -0
  26. package/mcp/src/index.ts +211 -0
  27. package/mcp/src/server.ts +219 -0
  28. package/mcp/src/tools/configTools.test.ts +166 -0
  29. package/mcp/src/tools/future/README.md +21 -0
  30. package/mcp/src/tools/future/index.ts +8 -0
  31. package/mcp/src/tools/index.ts +76 -0
  32. package/mcp/src/tools/mcpGateway.ts +44 -0
  33. package/mcp/src/tools/postmanGetMode.ts +82 -0
  34. package/mcp/src/tools/postmanGetStatus.ts +65 -0
  35. package/mcp/src/tools/postmanModes.ts +28 -0
  36. package/mcp/src/tools/postmanSetMode.ts +71 -0
  37. package/mcp/src/tools/skillBrowseCategory.ts +54 -0
  38. package/mcp/src/tools/skillGet.ts +43 -0
  39. package/mcp/src/tools/skillListCategories.ts +40 -0
  40. package/mcp/src/tools/skillSearch.ts +72 -0
  41. package/mcp/src/tools/skillTools.test.ts +126 -0
  42. package/mcp/src/tools/stitchGetMode.ts +58 -0
  43. package/mcp/src/tools/stitchGetStatus.ts +70 -0
  44. package/mcp/src/tools/stitchSetProfile.ts +82 -0
  45. package/mcp/src/transports/stdio.ts +9 -0
  46. package/mcp/src/transports/streamableHttp.ts +43 -0
  47. package/mcp/src/upstream/passthrough.ts +273 -0
  48. package/mcp/src/utils/errors.ts +38 -0
  49. package/mcp/src/utils/logger.ts +63 -0
  50. package/mcp/src/vault/manifest.test.ts +126 -0
  51. package/mcp/src/vault/manifest.ts +99 -0
  52. package/mcp/src/vault/scanner.test.ts +70 -0
  53. package/mcp/src/vault/scanner.ts +145 -0
  54. package/mcp/src/vault/types.ts +21 -0
  55. package/package.json +9 -2
  56. package/workflows/scripts/generate-powers.mjs +27 -18
  57. package/workflows/skills/skills_index.json +0 -102
  58. package/workflows/workflows/agent-environment-setup/manifest.json +0 -24
  59. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-react-expert/SKILL.md +1 -1
  60. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +0 -102
  61. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-react-expert/SKILL.md +1 -1
  62. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json +0 -102
  63. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-react-expert/SKILL.md +1 -1
  64. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/skills_index.json +0 -102
  65. package/mcp/catalogs/default.json +0 -14
  66. package/mcp/powers/atlassian-mcp/POWER.md +0 -91
  67. package/mcp/powers/atlassian-mcp/SKILL.md +0 -88
  68. package/mcp/powers/atlassian-mcp/steering/authentication-patterns.md +0 -520
  69. package/mcp/powers/atlassian-mcp/steering/common-workflows.md +0 -660
  70. package/mcp/powers/atlassian-mcp/steering/confluence-operations.md +0 -528
  71. package/mcp/powers/atlassian-mcp/steering/jira-queries.md +0 -421
  72. package/mcp/powers/atlassian-mcp/steering/mcp-server-setup.md +0 -292
  73. package/mcp/powers/building-mcp-server-on-cloudflare/POWER.md +0 -261
  74. package/mcp/powers/building-mcp-server-on-cloudflare/SKILL.md +0 -258
  75. package/mcp/powers/building-mcp-server-on-cloudflare/steering/examples.md +0 -115
  76. package/mcp/powers/building-mcp-server-on-cloudflare/steering/oauth-setup.md +0 -338
  77. package/mcp/powers/building-mcp-server-on-cloudflare/steering/troubleshooting.md +0 -317
  78. package/mcp/powers/datadog-automation/POWER.md +0 -238
  79. package/mcp/powers/datadog-automation/SKILL.md +0 -235
  80. package/mcp/powers/github-automation/POWER.md +0 -230
  81. package/mcp/powers/github-automation/SKILL.md +0 -227
  82. package/mcp/powers/mcp-builder/LICENSE.txt +0 -202
  83. package/mcp/powers/mcp-builder/POWER.md +0 -179
  84. package/mcp/powers/mcp-builder/SKILL.md +0 -176
  85. package/mcp/powers/mcp-builder/reference/evaluation.md +0 -602
  86. package/mcp/powers/mcp-builder/reference/mcp_best_practices.md +0 -915
  87. package/mcp/powers/mcp-builder/reference/node_mcp_server.md +0 -916
  88. package/mcp/powers/mcp-builder/reference/python_mcp_server.md +0 -752
  89. package/mcp/powers/mcp-builder/scripts/connections.py +0 -151
  90. package/mcp/powers/mcp-builder/scripts/evaluation.py +0 -373
  91. package/mcp/powers/mcp-builder/scripts/example_evaluation.xml +0 -22
  92. package/mcp/powers/mcp-builder/scripts/requirements.txt +0 -2
  93. package/mcp/powers/mcp-developer/POWER.md +0 -88
  94. package/mcp/powers/mcp-developer/SKILL.md +0 -85
  95. package/mcp/powers/mcp-developer/steering/protocol.md +0 -244
  96. package/mcp/powers/mcp-developer/steering/python-sdk.md +0 -367
  97. package/mcp/powers/mcp-developer/steering/resources.md +0 -554
  98. package/mcp/powers/mcp-developer/steering/tools.md +0 -480
  99. package/mcp/powers/mcp-developer/steering/typescript-sdk.md +0 -350
  100. package/mcp/powers/postman/POWER.md +0 -243
  101. package/mcp/powers/postman/SKILL.md +0 -240
  102. package/mcp/powers/postman/flutter-expert/POWER.md +0 -89
  103. package/mcp/powers/postman/flutter-expert/SKILL.md +0 -77
  104. package/mcp/powers/postman/flutter-expert/steering/bloc-state.md +0 -259
  105. package/mcp/powers/postman/flutter-expert/steering/engineering-principles.md +0 -82
  106. package/mcp/powers/postman/flutter-expert/steering/gorouter-navigation.md +0 -157
  107. package/mcp/powers/postman/flutter-expert/steering/performance.md +0 -99
  108. package/mcp/powers/postman/flutter-expert/steering/project-structure.md +0 -77
  109. package/mcp/powers/postman/flutter-expert/steering/riverpod-state.md +0 -404
  110. package/mcp/powers/postman/flutter-expert/steering/widget-patterns.md +0 -123
  111. package/mcp/powers/postman/flutter-security-reviewer/POWER.md +0 -204
  112. package/mcp/powers/postman/flutter-security-reviewer/SKILL.md +0 -180
  113. package/mcp/powers/postman/flutter-security-reviewer/steering/log_redaction.md +0 -17
  114. package/mcp/powers/postman/flutter-security-reviewer/steering/network_hardening.md +0 -13
  115. package/mcp/powers/postman/flutter-security-reviewer/steering/secret-scanning.md +0 -123
  116. package/mcp/powers/postman/flutter-security-reviewer/steering/secure_storage_policy.md +0 -16
  117. package/mcp/powers/postman/flutter-security-reviewer/steering/vulnerability-patterns.md +0 -189
  118. package/mcp/powers/postman/flutter-security-reviewer/templates/security_review_response.md +0 -31
  119. package/mcp/powers/postman/flutter-test-master/POWER.md +0 -527
  120. package/mcp/powers/postman/flutter-test-master/SKILL.md +0 -513
  121. package/mcp/powers/postman/flutter-test-master/steering/golden-testing.md +0 -444
  122. package/mcp/powers/postman/flutter-test-master/steering/integration-testing.md +0 -688
  123. package/mcp/powers/postman/flutter-test-master/steering/property-testing.md +0 -408
  124. package/mcp/powers/postman/flutter-test-master/steering/riverpod-testing.md +0 -606
  125. package/mcp/powers/postman/flutter-test-master/steering/test-utilities.md +0 -566
  126. package/mcp/powers/postman/flutter-test-master/steering/unit-testing.md +0 -511
  127. package/mcp/powers/postman/flutter-test-master/steering/widget-testing.md +0 -601
  128. package/mcp/powers/postman/git-commit/POWER.md +0 -47
  129. package/mcp/powers/postman/git-commit/SKILL.md +0 -46
  130. package/mcp/powers/postman/gorouter-restoration/POWER.md +0 -227
  131. package/mcp/powers/postman/gorouter-restoration/SKILL.md +0 -217
  132. package/mcp/powers/postman/gorouter-restoration/steering/guard_patterns.md +0 -14
  133. package/mcp/powers/postman/gorouter-restoration/steering/tab_preservation.md +0 -12
  134. package/mcp/powers/postman/gorouter-restoration/templates/guard_redirect.md +0 -30
  135. package/mcp/powers/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -40
  136. package/mcp/powers/postman/mcp.json +0 -11
  137. package/mcp/powers/postman/microservices-architect/POWER.md +0 -109
  138. package/mcp/powers/postman/microservices-architect/SKILL.md +0 -93
  139. package/mcp/powers/postman/microservices-architect/steering/communication.md +0 -499
  140. package/mcp/powers/postman/microservices-architect/steering/data.md +0 -721
  141. package/mcp/powers/postman/microservices-architect/steering/decomposition.md +0 -344
  142. package/mcp/powers/postman/microservices-architect/steering/observability.md +0 -805
  143. package/mcp/powers/postman/microservices-architect/steering/patterns.md +0 -603
  144. package/mcp/powers/postman/nestjs-expert/POWER.md +0 -130
  145. package/mcp/powers/postman/nestjs-expert/SKILL.md +0 -114
  146. package/mcp/powers/postman/nestjs-expert/steering/authentication.md +0 -461
  147. package/mcp/powers/postman/nestjs-expert/steering/controllers-routing.md +0 -114
  148. package/mcp/powers/postman/nestjs-expert/steering/dtos-validation.md +0 -156
  149. package/mcp/powers/postman/nestjs-expert/steering/migration-from-express.md +0 -1240
  150. package/mcp/powers/postman/nestjs-expert/steering/secure-sessions.md +0 -56
  151. package/mcp/powers/postman/nestjs-expert/steering/services-di.md +0 -143
  152. package/mcp/powers/postman/nestjs-expert/steering/strangler-fig-pattern.md +0 -47
  153. package/mcp/powers/postman/nestjs-expert/steering/testing-patterns.md +0 -189
  154. package/mcp/powers/postman/oneup-design/POWER.md +0 -72
  155. package/mcp/powers/postman/oneup-design/SKILL.md +0 -71
  156. package/mcp/powers/postman/oneup-design/steering/colors.md +0 -41
  157. package/mcp/powers/postman/oneup-design/steering/components.md +0 -53
  158. package/mcp/powers/postman/oneup-design/steering/spacing.md +0 -84
  159. package/mcp/powers/postman/openapi-docs/POWER.md +0 -78
  160. package/mcp/powers/postman/openapi-docs/SKILL.md +0 -68
  161. package/mcp/powers/postman/openapi-docs/steering/crud-templates.md +0 -43
  162. package/mcp/powers/postman/openapi-docs/steering/framework-express.md +0 -19
  163. package/mcp/powers/postman/openapi-docs/steering/framework-fastapi.md +0 -20
  164. package/mcp/powers/postman/openapi-docs/steering/framework-nestjs.md +0 -20
  165. package/mcp/powers/postman/openapi-docs/steering/framework-raw-openapi.md +0 -14
  166. package/mcp/powers/postman/openapi-docs/steering/openapi-checklist.md +0 -33
  167. package/mcp/powers/postman/openapi-docs/steering/stoplight-ui.md +0 -21
  168. package/mcp/powers/postman/steering/steering.md +0 -26
  169. package/mcp/powers/sentry-automation/POWER.md +0 -235
  170. package/mcp/powers/sentry-automation/SKILL.md +0 -232
  171. package/mcp/skills/atlassian-mcp/SKILL.md +0 -88
  172. package/mcp/skills/atlassian-mcp/references/authentication-patterns.md +0 -520
  173. package/mcp/skills/atlassian-mcp/references/common-workflows.md +0 -660
  174. package/mcp/skills/atlassian-mcp/references/confluence-operations.md +0 -528
  175. package/mcp/skills/atlassian-mcp/references/jira-queries.md +0 -421
  176. package/mcp/skills/atlassian-mcp/references/mcp-server-setup.md +0 -292
  177. package/mcp/skills/building-mcp-server-on-cloudflare/SKILL.md +0 -258
  178. package/mcp/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -115
  179. package/mcp/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -338
  180. package/mcp/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -29
  181. package/mcp/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -317
  182. package/mcp/skills/datadog-automation/SKILL.md +0 -235
  183. package/mcp/skills/github-automation/SKILL.md +0 -227
  184. package/mcp/skills/mcp-builder/LICENSE.txt +0 -202
  185. package/mcp/skills/mcp-builder/SKILL.md +0 -176
  186. package/mcp/skills/mcp-builder/reference/evaluation.md +0 -602
  187. package/mcp/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  188. package/mcp/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  189. package/mcp/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  190. package/mcp/skills/mcp-builder/scripts/connections.py +0 -151
  191. package/mcp/skills/mcp-builder/scripts/evaluation.py +0 -373
  192. package/mcp/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  193. package/mcp/skills/mcp-builder/scripts/requirements.txt +0 -2
  194. package/mcp/skills/mcp-developer/SKILL.md +0 -85
  195. package/mcp/skills/mcp-developer/references/protocol.md +0 -244
  196. package/mcp/skills/mcp-developer/references/python-sdk.md +0 -367
  197. package/mcp/skills/mcp-developer/references/resources.md +0 -554
  198. package/mcp/skills/mcp-developer/references/tools.md +0 -480
  199. package/mcp/skills/mcp-developer/references/typescript-sdk.md +0 -350
  200. package/mcp/skills/postman/POWER.md +0 -242
  201. package/mcp/skills/postman/SKILL.md +0 -240
  202. package/mcp/skills/postman/flutter-expert/POWER.md +0 -89
  203. package/mcp/skills/postman/flutter-expert/SKILL.md +0 -77
  204. package/mcp/skills/postman/flutter-expert/references/bloc-state.md +0 -259
  205. package/mcp/skills/postman/flutter-expert/references/engineering-principles.md +0 -82
  206. package/mcp/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -157
  207. package/mcp/skills/postman/flutter-expert/references/performance.md +0 -99
  208. package/mcp/skills/postman/flutter-expert/references/project-structure.md +0 -77
  209. package/mcp/skills/postman/flutter-expert/references/riverpod-state.md +0 -404
  210. package/mcp/skills/postman/flutter-expert/references/widget-patterns.md +0 -123
  211. package/mcp/skills/postman/flutter-security-reviewer/POWER.md +0 -204
  212. package/mcp/skills/postman/flutter-security-reviewer/SKILL.md +0 -180
  213. package/mcp/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -17
  214. package/mcp/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -13
  215. package/mcp/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -123
  216. package/mcp/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -16
  217. package/mcp/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -189
  218. package/mcp/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -31
  219. package/mcp/skills/postman/flutter-test-master/POWER.md +0 -527
  220. package/mcp/skills/postman/flutter-test-master/SKILL.md +0 -513
  221. package/mcp/skills/postman/flutter-test-master/references/golden-testing.md +0 -444
  222. package/mcp/skills/postman/flutter-test-master/references/integration-testing.md +0 -688
  223. package/mcp/skills/postman/flutter-test-master/references/property-testing.md +0 -408
  224. package/mcp/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -606
  225. package/mcp/skills/postman/flutter-test-master/references/test-utilities.md +0 -566
  226. package/mcp/skills/postman/flutter-test-master/references/unit-testing.md +0 -511
  227. package/mcp/skills/postman/flutter-test-master/references/widget-testing.md +0 -601
  228. package/mcp/skills/postman/git-commit/POWER.md +0 -47
  229. package/mcp/skills/postman/git-commit/SKILL.md +0 -46
  230. package/mcp/skills/postman/gorouter-restoration/POWER.md +0 -227
  231. package/mcp/skills/postman/gorouter-restoration/SKILL.md +0 -217
  232. package/mcp/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -14
  233. package/mcp/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -12
  234. package/mcp/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -30
  235. package/mcp/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -40
  236. package/mcp/skills/postman/mcp.json +0 -11
  237. package/mcp/skills/postman/microservices-architect/POWER.md +0 -109
  238. package/mcp/skills/postman/microservices-architect/SKILL.md +0 -93
  239. package/mcp/skills/postman/microservices-architect/references/communication.md +0 -499
  240. package/mcp/skills/postman/microservices-architect/references/data.md +0 -721
  241. package/mcp/skills/postman/microservices-architect/references/decomposition.md +0 -344
  242. package/mcp/skills/postman/microservices-architect/references/observability.md +0 -805
  243. package/mcp/skills/postman/microservices-architect/references/patterns.md +0 -603
  244. package/mcp/skills/postman/nestjs-expert/POWER.md +0 -130
  245. package/mcp/skills/postman/nestjs-expert/SKILL.md +0 -114
  246. package/mcp/skills/postman/nestjs-expert/references/authentication.md +0 -461
  247. package/mcp/skills/postman/nestjs-expert/references/controllers-routing.md +0 -114
  248. package/mcp/skills/postman/nestjs-expert/references/dtos-validation.md +0 -156
  249. package/mcp/skills/postman/nestjs-expert/references/migration-from-express.md +0 -1240
  250. package/mcp/skills/postman/nestjs-expert/references/secure-sessions.md +0 -56
  251. package/mcp/skills/postman/nestjs-expert/references/services-di.md +0 -143
  252. package/mcp/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -47
  253. package/mcp/skills/postman/nestjs-expert/references/testing-patterns.md +0 -189
  254. package/mcp/skills/postman/oneup-design/POWER.md +0 -72
  255. package/mcp/skills/postman/oneup-design/SKILL.md +0 -71
  256. package/mcp/skills/postman/oneup-design/references/colors.md +0 -41
  257. package/mcp/skills/postman/oneup-design/references/components.md +0 -53
  258. package/mcp/skills/postman/oneup-design/references/spacing.md +0 -84
  259. package/mcp/skills/postman/openapi-docs/POWER.md +0 -78
  260. package/mcp/skills/postman/openapi-docs/SKILL.md +0 -68
  261. package/mcp/skills/postman/openapi-docs/references/crud-templates.md +0 -43
  262. package/mcp/skills/postman/openapi-docs/references/framework-express.md +0 -19
  263. package/mcp/skills/postman/openapi-docs/references/framework-fastapi.md +0 -20
  264. package/mcp/skills/postman/openapi-docs/references/framework-nestjs.md +0 -20
  265. package/mcp/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -14
  266. package/mcp/skills/postman/openapi-docs/references/openapi-checklist.md +0 -33
  267. package/mcp/skills/postman/openapi-docs/references/stoplight-ui.md +0 -21
  268. package/mcp/skills/postman/references/steering.md +0 -26
  269. package/mcp/skills/sentry-automation/SKILL.md +0 -232
  270. package/workflows/powers/atlassian-mcp/POWER.md +0 -21
  271. package/workflows/powers/atlassian-mcp/SKILL.md +0 -18
  272. package/workflows/powers/building-mcp-server-on-cloudflare/POWER.md +0 -21
  273. package/workflows/powers/building-mcp-server-on-cloudflare/SKILL.md +0 -18
  274. package/workflows/powers/datadog-automation/POWER.md +0 -21
  275. package/workflows/powers/datadog-automation/SKILL.md +0 -18
  276. package/workflows/powers/github-automation/POWER.md +0 -21
  277. package/workflows/powers/github-automation/SKILL.md +0 -18
  278. package/workflows/powers/mcp-builder/POWER.md +0 -21
  279. package/workflows/powers/mcp-builder/SKILL.md +0 -18
  280. package/workflows/powers/mcp-developer/POWER.md +0 -21
  281. package/workflows/powers/mcp-developer/SKILL.md +0 -18
  282. package/workflows/powers/postman/POWER.md +0 -21
  283. package/workflows/powers/postman/SKILL.md +0 -18
  284. package/workflows/powers/sentry-automation/POWER.md +0 -21
  285. package/workflows/powers/sentry-automation/SKILL.md +0 -18
  286. package/workflows/skills/atlassian-mcp/SKILL.md +0 -18
  287. package/workflows/skills/building-mcp-server-on-cloudflare/SKILL.md +0 -18
  288. package/workflows/skills/datadog-automation/SKILL.md +0 -18
  289. package/workflows/skills/github-automation/SKILL.md +0 -18
  290. package/workflows/skills/mcp-builder/SKILL.md +0 -18
  291. package/workflows/skills/mcp-developer/SKILL.md +0 -18
  292. package/workflows/skills/postman/SKILL.md +0 -18
  293. package/workflows/skills/sentry-automation/SKILL.md +0 -18
  294. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/SKILL.md +0 -88
  295. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/references/authentication-patterns.md +0 -520
  296. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/references/common-workflows.md +0 -660
  297. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/references/confluence-operations.md +0 -528
  298. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/references/jira-queries.md +0 -421
  299. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/atlassian-mcp/references/mcp-server-setup.md +0 -292
  300. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/building-mcp-server-on-cloudflare/SKILL.md +0 -258
  301. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -115
  302. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -338
  303. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -29
  304. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -317
  305. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/datadog-automation/SKILL.md +0 -235
  306. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/github-automation/SKILL.md +0 -227
  307. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/LICENSE.txt +0 -202
  308. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/SKILL.md +0 -176
  309. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/reference/evaluation.md +0 -602
  310. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  311. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  312. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  313. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/scripts/connections.py +0 -151
  314. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/scripts/evaluation.py +0 -373
  315. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  316. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-builder/scripts/requirements.txt +0 -2
  317. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/SKILL.md +0 -85
  318. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/references/protocol.md +0 -244
  319. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/references/python-sdk.md +0 -367
  320. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/references/resources.md +0 -554
  321. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/references/tools.md +0 -480
  322. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/mcp-developer/references/typescript-sdk.md +0 -350
  323. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/POWER.md +0 -242
  324. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/SKILL.md +0 -240
  325. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/POWER.md +0 -89
  326. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/SKILL.md +0 -77
  327. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/bloc-state.md +0 -259
  328. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/engineering-principles.md +0 -82
  329. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -157
  330. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/performance.md +0 -99
  331. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/project-structure.md +0 -77
  332. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/riverpod-state.md +0 -404
  333. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-expert/references/widget-patterns.md +0 -123
  334. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/POWER.md +0 -204
  335. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/SKILL.md +0 -180
  336. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -17
  337. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -13
  338. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -123
  339. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -16
  340. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -189
  341. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -31
  342. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/POWER.md +0 -527
  343. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/SKILL.md +0 -513
  344. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/golden-testing.md +0 -444
  345. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/integration-testing.md +0 -688
  346. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/property-testing.md +0 -408
  347. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -606
  348. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/test-utilities.md +0 -566
  349. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/unit-testing.md +0 -511
  350. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/flutter-test-master/references/widget-testing.md +0 -601
  351. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/git-commit/POWER.md +0 -47
  352. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/git-commit/SKILL.md +0 -46
  353. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/POWER.md +0 -227
  354. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/SKILL.md +0 -217
  355. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -14
  356. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -12
  357. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -30
  358. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -40
  359. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/mcp.json +0 -11
  360. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/POWER.md +0 -109
  361. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/SKILL.md +0 -93
  362. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/references/communication.md +0 -499
  363. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/references/data.md +0 -721
  364. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/references/decomposition.md +0 -344
  365. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/references/observability.md +0 -805
  366. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/microservices-architect/references/patterns.md +0 -603
  367. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/POWER.md +0 -130
  368. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/SKILL.md +0 -114
  369. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/authentication.md +0 -461
  370. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/controllers-routing.md +0 -114
  371. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/dtos-validation.md +0 -156
  372. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/migration-from-express.md +0 -1240
  373. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/secure-sessions.md +0 -56
  374. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/services-di.md +0 -143
  375. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -47
  376. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/nestjs-expert/references/testing-patterns.md +0 -189
  377. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/oneup-design/POWER.md +0 -72
  378. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/oneup-design/SKILL.md +0 -71
  379. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/oneup-design/references/colors.md +0 -41
  380. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/oneup-design/references/components.md +0 -53
  381. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/oneup-design/references/spacing.md +0 -84
  382. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/POWER.md +0 -78
  383. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/SKILL.md +0 -68
  384. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/crud-templates.md +0 -43
  385. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/framework-express.md +0 -19
  386. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/framework-fastapi.md +0 -20
  387. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/framework-nestjs.md +0 -20
  388. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -14
  389. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/openapi-checklist.md +0 -33
  390. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/openapi-docs/references/stoplight-ui.md +0 -21
  391. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/postman/references/steering.md +0 -26
  392. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/sentry-automation/SKILL.md +0 -232
  393. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/SKILL.md +0 -88
  394. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/references/authentication-patterns.md +0 -520
  395. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/references/common-workflows.md +0 -660
  396. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/references/confluence-operations.md +0 -528
  397. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/references/jira-queries.md +0 -421
  398. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/atlassian-mcp/references/mcp-server-setup.md +0 -292
  399. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/building-mcp-server-on-cloudflare/SKILL.md +0 -258
  400. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -115
  401. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -338
  402. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -29
  403. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -317
  404. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/datadog-automation/SKILL.md +0 -235
  405. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/github-automation/SKILL.md +0 -227
  406. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/LICENSE.txt +0 -202
  407. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/SKILL.md +0 -176
  408. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/reference/evaluation.md +0 -602
  409. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  410. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  411. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  412. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/scripts/connections.py +0 -151
  413. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/scripts/evaluation.py +0 -373
  414. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  415. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-builder/scripts/requirements.txt +0 -2
  416. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/SKILL.md +0 -85
  417. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/references/protocol.md +0 -244
  418. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/references/python-sdk.md +0 -367
  419. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/references/resources.md +0 -554
  420. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/references/tools.md +0 -480
  421. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/mcp-developer/references/typescript-sdk.md +0 -350
  422. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/POWER.md +0 -242
  423. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/SKILL.md +0 -240
  424. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/POWER.md +0 -89
  425. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/SKILL.md +0 -77
  426. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/bloc-state.md +0 -259
  427. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/engineering-principles.md +0 -82
  428. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -157
  429. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/performance.md +0 -99
  430. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/project-structure.md +0 -77
  431. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/riverpod-state.md +0 -404
  432. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-expert/references/widget-patterns.md +0 -123
  433. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/POWER.md +0 -204
  434. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/SKILL.md +0 -180
  435. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -17
  436. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -13
  437. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -123
  438. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -16
  439. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -189
  440. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -31
  441. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/POWER.md +0 -527
  442. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/SKILL.md +0 -513
  443. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/golden-testing.md +0 -444
  444. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/integration-testing.md +0 -688
  445. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/property-testing.md +0 -408
  446. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -606
  447. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/test-utilities.md +0 -566
  448. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/unit-testing.md +0 -511
  449. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/flutter-test-master/references/widget-testing.md +0 -601
  450. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/git-commit/POWER.md +0 -47
  451. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/git-commit/SKILL.md +0 -46
  452. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/POWER.md +0 -227
  453. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/SKILL.md +0 -217
  454. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -14
  455. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -12
  456. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -30
  457. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -40
  458. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/mcp.json +0 -11
  459. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/POWER.md +0 -109
  460. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/SKILL.md +0 -93
  461. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/references/communication.md +0 -499
  462. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/references/data.md +0 -721
  463. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/references/decomposition.md +0 -344
  464. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/references/observability.md +0 -805
  465. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/microservices-architect/references/patterns.md +0 -603
  466. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/POWER.md +0 -130
  467. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/SKILL.md +0 -114
  468. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/authentication.md +0 -461
  469. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/controllers-routing.md +0 -114
  470. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/dtos-validation.md +0 -156
  471. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/migration-from-express.md +0 -1240
  472. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/secure-sessions.md +0 -56
  473. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/services-di.md +0 -143
  474. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -47
  475. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/nestjs-expert/references/testing-patterns.md +0 -189
  476. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/oneup-design/POWER.md +0 -72
  477. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/oneup-design/SKILL.md +0 -71
  478. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/oneup-design/references/colors.md +0 -41
  479. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/oneup-design/references/components.md +0 -53
  480. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/oneup-design/references/spacing.md +0 -84
  481. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/POWER.md +0 -78
  482. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/SKILL.md +0 -68
  483. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/crud-templates.md +0 -43
  484. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/framework-express.md +0 -19
  485. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/framework-fastapi.md +0 -20
  486. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/framework-nestjs.md +0 -20
  487. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -14
  488. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/openapi-checklist.md +0 -33
  489. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/openapi-docs/references/stoplight-ui.md +0 -21
  490. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/postman/references/steering.md +0 -26
  491. package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/sentry-automation/SKILL.md +0 -232
  492. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/SKILL.md +0 -88
  493. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/references/authentication-patterns.md +0 -520
  494. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/references/common-workflows.md +0 -660
  495. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/references/confluence-operations.md +0 -528
  496. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/references/jira-queries.md +0 -421
  497. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/atlassian-mcp/references/mcp-server-setup.md +0 -292
  498. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/building-mcp-server-on-cloudflare/SKILL.md +0 -258
  499. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -115
  500. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -338
  501. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -29
  502. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -317
  503. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/datadog-automation/SKILL.md +0 -235
  504. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/github-automation/SKILL.md +0 -227
  505. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/LICENSE.txt +0 -202
  506. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/SKILL.md +0 -176
  507. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/reference/evaluation.md +0 -602
  508. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/reference/mcp_best_practices.md +0 -915
  509. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/reference/node_mcp_server.md +0 -916
  510. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/reference/python_mcp_server.md +0 -752
  511. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/scripts/connections.py +0 -151
  512. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/scripts/evaluation.py +0 -373
  513. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  514. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-builder/scripts/requirements.txt +0 -2
  515. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/SKILL.md +0 -85
  516. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/references/protocol.md +0 -244
  517. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/references/python-sdk.md +0 -367
  518. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/references/resources.md +0 -554
  519. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/references/tools.md +0 -480
  520. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/mcp-developer/references/typescript-sdk.md +0 -350
  521. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/POWER.md +0 -242
  522. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/SKILL.md +0 -240
  523. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/POWER.md +0 -89
  524. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/SKILL.md +0 -77
  525. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/bloc-state.md +0 -259
  526. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/engineering-principles.md +0 -82
  527. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -157
  528. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/performance.md +0 -99
  529. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/project-structure.md +0 -77
  530. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/riverpod-state.md +0 -404
  531. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-expert/references/widget-patterns.md +0 -123
  532. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/POWER.md +0 -204
  533. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/SKILL.md +0 -180
  534. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -17
  535. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -13
  536. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -123
  537. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -16
  538. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -189
  539. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -31
  540. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/POWER.md +0 -527
  541. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/SKILL.md +0 -513
  542. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/golden-testing.md +0 -444
  543. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/integration-testing.md +0 -688
  544. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/property-testing.md +0 -408
  545. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -606
  546. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/test-utilities.md +0 -566
  547. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/unit-testing.md +0 -511
  548. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/flutter-test-master/references/widget-testing.md +0 -601
  549. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/git-commit/POWER.md +0 -47
  550. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/git-commit/SKILL.md +0 -46
  551. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/POWER.md +0 -227
  552. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/SKILL.md +0 -217
  553. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -14
  554. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -12
  555. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -30
  556. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -40
  557. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/mcp.json +0 -11
  558. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/POWER.md +0 -109
  559. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/SKILL.md +0 -93
  560. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/references/communication.md +0 -499
  561. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/references/data.md +0 -721
  562. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/references/decomposition.md +0 -344
  563. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/references/observability.md +0 -805
  564. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/microservices-architect/references/patterns.md +0 -603
  565. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/POWER.md +0 -130
  566. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/SKILL.md +0 -114
  567. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/authentication.md +0 -461
  568. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/controllers-routing.md +0 -114
  569. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/dtos-validation.md +0 -156
  570. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/migration-from-express.md +0 -1240
  571. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/secure-sessions.md +0 -56
  572. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/services-di.md +0 -143
  573. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -47
  574. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/nestjs-expert/references/testing-patterns.md +0 -189
  575. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/oneup-design/POWER.md +0 -72
  576. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/oneup-design/SKILL.md +0 -71
  577. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/oneup-design/references/colors.md +0 -41
  578. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/oneup-design/references/components.md +0 -53
  579. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/oneup-design/references/spacing.md +0 -84
  580. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/POWER.md +0 -78
  581. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/SKILL.md +0 -68
  582. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/crud-templates.md +0 -43
  583. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/framework-express.md +0 -19
  584. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/framework-fastapi.md +0 -20
  585. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/framework-nestjs.md +0 -20
  586. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -14
  587. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/openapi-checklist.md +0 -33
  588. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/openapi-docs/references/stoplight-ui.md +0 -21
  589. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/postman/references/steering.md +0 -26
  590. package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/sentry-automation/SKILL.md +0 -232
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – Postman mode mapping.
3
+ *
4
+ * Maps friendly mode names to Postman MCP URLs and back.
5
+ */
6
+
7
+ export const POSTMAN_MODES = {
8
+ minimal: "https://mcp.postman.com/minimal",
9
+ code: "https://mcp.postman.com/code",
10
+ full: "https://mcp.postman.com/mcp",
11
+ } as const;
12
+
13
+ export type PostmanMode = keyof typeof POSTMAN_MODES;
14
+
15
+ const URL_TO_MODE = new Map<string, PostmanMode>(
16
+ Object.entries(POSTMAN_MODES).map(([mode, url]) => [
17
+ url,
18
+ mode as PostmanMode,
19
+ ]),
20
+ );
21
+
22
+ export function urlToMode(url: string): PostmanMode | undefined {
23
+ return URL_TO_MODE.get(url);
24
+ }
25
+
26
+ export function isValidMode(mode: string): mode is PostmanMode {
27
+ return mode in POSTMAN_MODES;
28
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – postman_set_mode tool.
3
+ *
4
+ * Sets the Postman MCP mode in cbx_config.json.
5
+ */
6
+
7
+ import { z } from "zod";
8
+ import { writeConfigField } from "../cbxConfig/index.js";
9
+ import type { ConfigScope } from "../cbxConfig/types.js";
10
+ import { invalidInput } from "../utils/errors.js";
11
+ import {
12
+ isValidMode,
13
+ POSTMAN_MODES,
14
+ type PostmanMode,
15
+ } from "./postmanModes.js";
16
+
17
+ export const postmanSetModeName = "postman_set_mode";
18
+
19
+ export const postmanSetModeDescription =
20
+ "Set the Postman MCP mode in cbx_config.json. Modes: minimal, code, full.";
21
+
22
+ export const postmanSetModeSchema = z.object({
23
+ mode: z
24
+ .enum(["minimal", "code", "full"])
25
+ .describe("Postman MCP mode to set: minimal, code, or full"),
26
+ scope: z
27
+ .enum(["global", "project", "auto"])
28
+ .optional()
29
+ .describe(
30
+ "Config scope to write. Default: auto (project if exists, else global)",
31
+ ),
32
+ });
33
+
34
+ export function handlePostmanSetMode(
35
+ args: z.infer<typeof postmanSetModeSchema>,
36
+ ) {
37
+ const { mode } = args;
38
+ const scope = args.scope ?? "auto";
39
+
40
+ if (!isValidMode(mode)) {
41
+ invalidInput(
42
+ `Invalid Postman mode: "${mode}". Valid modes: minimal, code, full`,
43
+ );
44
+ }
45
+
46
+ const url = POSTMAN_MODES[mode as PostmanMode];
47
+ const result = writeConfigField(
48
+ "postman.mcpUrl",
49
+ url,
50
+ scope as ConfigScope | "auto",
51
+ );
52
+
53
+ return {
54
+ content: [
55
+ {
56
+ type: "text" as const,
57
+ text: JSON.stringify(
58
+ {
59
+ mode,
60
+ url,
61
+ scope: result.scope,
62
+ writtenPath: result.writtenPath,
63
+ note: "Postman MCP mode updated. Restart your MCP client to pick up the change.",
64
+ },
65
+ null,
66
+ 2,
67
+ ),
68
+ },
69
+ ],
70
+ };
71
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – skill_browse_category tool.
3
+ *
4
+ * Returns all skills in a given category with truncated descriptions.
5
+ */
6
+
7
+ import { z } from "zod";
8
+ import type { VaultManifest } from "../vault/types.js";
9
+ import { enrichWithDescriptions } from "../vault/manifest.js";
10
+ import { notFound } from "../utils/errors.js";
11
+
12
+ export const skillBrowseCategoryName = "skill_browse_category";
13
+
14
+ export const skillBrowseCategoryDescription =
15
+ "Browse skills within a specific category. Returns skill IDs and short descriptions.";
16
+
17
+ export const skillBrowseCategorySchema = z.object({
18
+ category: z
19
+ .string()
20
+ .describe("The category name to browse (from skill_list_categories)"),
21
+ });
22
+
23
+ export async function handleSkillBrowseCategory(
24
+ args: z.infer<typeof skillBrowseCategorySchema>,
25
+ manifest: VaultManifest,
26
+ summaryMaxLength: number,
27
+ ) {
28
+ const { category } = args;
29
+
30
+ if (!manifest.categories.includes(category)) {
31
+ notFound("Category", category);
32
+ }
33
+
34
+ const matching = manifest.skills.filter((s) => s.category === category);
35
+ const enriched = await enrichWithDescriptions(matching, summaryMaxLength);
36
+
37
+ const skills = enriched.map((s) => ({
38
+ id: s.id,
39
+ description: s.description ?? "(no description)",
40
+ }));
41
+
42
+ return {
43
+ content: [
44
+ {
45
+ type: "text" as const,
46
+ text: JSON.stringify(
47
+ { category, skills, count: skills.length },
48
+ null,
49
+ 2,
50
+ ),
51
+ },
52
+ ],
53
+ };
54
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – skill_get tool.
3
+ *
4
+ * Returns the FULL content of a specific skill's SKILL.md file.
5
+ * This is the ONLY tool that reads full file content (lazy model).
6
+ */
7
+
8
+ import { z } from "zod";
9
+ import type { VaultManifest } from "../vault/types.js";
10
+ import { readFullSkillContent } from "../vault/manifest.js";
11
+ import { notFound } from "../utils/errors.js";
12
+
13
+ export const skillGetName = "skill_get";
14
+
15
+ export const skillGetDescription =
16
+ "Get the full content of a specific skill by ID. Returns the complete SKILL.md file content.";
17
+
18
+ export const skillGetSchema = z.object({
19
+ id: z.string().describe("The skill ID (directory name) to retrieve"),
20
+ });
21
+
22
+ export async function handleSkillGet(
23
+ args: z.infer<typeof skillGetSchema>,
24
+ manifest: VaultManifest,
25
+ ) {
26
+ const { id } = args;
27
+
28
+ const skill = manifest.skills.find((s) => s.id === id);
29
+ if (!skill) {
30
+ notFound("Skill", id);
31
+ }
32
+
33
+ const content = await readFullSkillContent(skill.path);
34
+
35
+ return {
36
+ content: [
37
+ {
38
+ type: "text" as const,
39
+ text: content,
40
+ },
41
+ ],
42
+ };
43
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – skill_list_categories tool.
3
+ *
4
+ * Returns all discovered skill categories from the vault manifest.
5
+ */
6
+
7
+ import { z } from "zod";
8
+ import type { VaultManifest } from "../vault/types.js";
9
+
10
+ export const skillListCategoriesName = "skill_list_categories";
11
+
12
+ export const skillListCategoriesDescription =
13
+ "List all skill categories available in the vault. Returns category names and skill counts.";
14
+
15
+ export const skillListCategoriesSchema = z.object({});
16
+
17
+ export function handleSkillListCategories(manifest: VaultManifest) {
18
+ const categoryCounts: Record<string, number> = {};
19
+ for (const skill of manifest.skills) {
20
+ categoryCounts[skill.category] = (categoryCounts[skill.category] ?? 0) + 1;
21
+ }
22
+
23
+ const categories = manifest.categories.map((cat) => ({
24
+ category: cat,
25
+ skillCount: categoryCounts[cat] ?? 0,
26
+ }));
27
+
28
+ return {
29
+ content: [
30
+ {
31
+ type: "text" as const,
32
+ text: JSON.stringify(
33
+ { categories, totalSkills: manifest.skills.length },
34
+ null,
35
+ 2,
36
+ ),
37
+ },
38
+ ],
39
+ };
40
+ }
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – skill_search tool.
3
+ *
4
+ * Full-text search across skill IDs and descriptions.
5
+ * Returns matching skills with truncated descriptions.
6
+ */
7
+
8
+ import { z } from "zod";
9
+ import type { VaultManifest } from "../vault/types.js";
10
+ import { enrichWithDescriptions } from "../vault/manifest.js";
11
+
12
+ export const skillSearchName = "skill_search";
13
+
14
+ export const skillSearchDescription =
15
+ "Search skills by keyword. Matches against skill IDs and descriptions. Returns matching skills with short descriptions.";
16
+
17
+ export const skillSearchSchema = z.object({
18
+ query: z
19
+ .string()
20
+ .min(1)
21
+ .describe(
22
+ "Search keyword or phrase to match against skill IDs and descriptions",
23
+ ),
24
+ });
25
+
26
+ export async function handleSkillSearch(
27
+ args: z.infer<typeof skillSearchSchema>,
28
+ manifest: VaultManifest,
29
+ summaryMaxLength: number,
30
+ ) {
31
+ const { query } = args;
32
+ const lower = query.toLowerCase();
33
+
34
+ // First pass: match by ID
35
+ let matches = manifest.skills.filter((s) =>
36
+ s.id.toLowerCase().includes(lower),
37
+ );
38
+
39
+ // Second pass: also search descriptions if needed (enrich all, then filter)
40
+ if (matches.length === 0) {
41
+ const enriched = await enrichWithDescriptions(
42
+ manifest.skills,
43
+ summaryMaxLength,
44
+ );
45
+ matches = enriched.filter(
46
+ (s) =>
47
+ s.id.toLowerCase().includes(lower) ||
48
+ (s.description && s.description.toLowerCase().includes(lower)),
49
+ );
50
+ } else {
51
+ matches = await enrichWithDescriptions(matches, summaryMaxLength);
52
+ }
53
+
54
+ const results = matches.map((s) => ({
55
+ id: s.id,
56
+ category: s.category,
57
+ description: s.description ?? "(no description)",
58
+ }));
59
+
60
+ return {
61
+ content: [
62
+ {
63
+ type: "text" as const,
64
+ text: JSON.stringify(
65
+ { query, results, count: results.length },
66
+ null,
67
+ 2,
68
+ ),
69
+ },
70
+ ],
71
+ };
72
+ }
@@ -0,0 +1,126 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { mkdtempSync, writeFileSync } from "node:fs";
3
+ import os from "node:os";
4
+ import path from "node:path";
5
+ import type { VaultManifest } from "../vault/types.js";
6
+ import { handleSkillBrowseCategory } from "./skillBrowseCategory.js";
7
+ import { handleSkillGet } from "./skillGet.js";
8
+ import { handleSkillListCategories } from "./skillListCategories.js";
9
+ import { handleSkillSearch } from "./skillSearch.js";
10
+
11
+ function payload(result: { content: Array<{ text: string }> }): Record<string, unknown> {
12
+ return JSON.parse(result.content[0].text) as Record<string, unknown>;
13
+ }
14
+
15
+ function createSkillFile(id: string, description: string, body = "# Content"): string {
16
+ const dir = mkdtempSync(path.join(os.tmpdir(), `mcp-skill-${id}-`));
17
+ const file = path.join(dir, "SKILL.md");
18
+ writeFileSync(
19
+ file,
20
+ `---\nname: ${id}\ndescription: ${description}\n---\n${body}\n`,
21
+ "utf8",
22
+ );
23
+ return file;
24
+ }
25
+
26
+ function createManifest(): VaultManifest {
27
+ const reactFile = createSkillFile(
28
+ "react-expert",
29
+ "React performance and architecture guidance",
30
+ );
31
+ const fastapiFile = createSkillFile(
32
+ "fastapi-expert",
33
+ "FastAPI async backend patterns",
34
+ );
35
+
36
+ return {
37
+ categories: ["backend", "frontend"],
38
+ skills: [
39
+ { id: "react-expert", category: "frontend", path: reactFile },
40
+ { id: "fastapi-expert", category: "backend", path: fastapiFile },
41
+ ],
42
+ };
43
+ }
44
+
45
+ describe("skill tools", () => {
46
+ it("lists categories with skill counts", () => {
47
+ const manifest = createManifest();
48
+ const result = handleSkillListCategories(manifest);
49
+ const data = payload(result);
50
+
51
+ expect(data.totalSkills).toBe(2);
52
+ expect(data.categories).toEqual([
53
+ { category: "backend", skillCount: 1 },
54
+ { category: "frontend", skillCount: 1 },
55
+ ]);
56
+ });
57
+
58
+ it("browses a category with enriched descriptions", async () => {
59
+ const manifest = createManifest();
60
+ const result = await handleSkillBrowseCategory(
61
+ { category: "frontend" },
62
+ manifest,
63
+ 200,
64
+ );
65
+ const data = payload(result);
66
+
67
+ expect(data.category).toBe("frontend");
68
+ expect(data.count).toBe(1);
69
+ expect(data.skills).toEqual([
70
+ {
71
+ id: "react-expert",
72
+ description: "React performance and architecture guidance",
73
+ },
74
+ ]);
75
+ });
76
+
77
+ it("throws when browsing an unknown category", async () => {
78
+ const manifest = createManifest();
79
+ await expect(
80
+ handleSkillBrowseCategory({ category: "mobile" }, manifest, 200),
81
+ ).rejects.toThrow('Category not found: "mobile"');
82
+ });
83
+
84
+ it("searches by skill id and by description fallback", async () => {
85
+ const manifest = createManifest();
86
+
87
+ const byId = payload(
88
+ await handleSkillSearch({ query: "react" }, manifest, 200),
89
+ );
90
+ expect(byId.count).toBe(1);
91
+ expect(byId.results).toEqual([
92
+ {
93
+ id: "react-expert",
94
+ category: "frontend",
95
+ description: "React performance and architecture guidance",
96
+ },
97
+ ]);
98
+
99
+ const byDescription = payload(
100
+ await handleSkillSearch({ query: "async backend" }, manifest, 200),
101
+ );
102
+ expect(byDescription.count).toBe(1);
103
+ expect(byDescription.results).toEqual([
104
+ {
105
+ id: "fastapi-expert",
106
+ category: "backend",
107
+ description: "FastAPI async backend patterns",
108
+ },
109
+ ]);
110
+ });
111
+
112
+ it("returns full skill content for skill_get", async () => {
113
+ const manifest = createManifest();
114
+ const result = await handleSkillGet({ id: "react-expert" }, manifest);
115
+
116
+ expect(result.content[0].text).toContain("# Content");
117
+ expect(result.content[0].text).toContain("description: React performance");
118
+ });
119
+
120
+ it("throws when skill_get cannot find the requested skill", async () => {
121
+ const manifest = createManifest();
122
+ await expect(handleSkillGet({ id: "missing" }, manifest)).rejects.toThrow(
123
+ 'Skill not found: "missing"',
124
+ );
125
+ });
126
+ });
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – stitch_get_mode tool.
3
+ *
4
+ * Reads the active Stitch profile and its URL from cbx_config.json.
5
+ * Never exposes apiKey.
6
+ */
7
+
8
+ import { z } from "zod";
9
+ import { parseStitchState, readEffectiveConfig } from "../cbxConfig/index.js";
10
+ import type { ConfigScope } from "../cbxConfig/types.js";
11
+ import { configNotFound } from "../utils/errors.js";
12
+
13
+ export const stitchGetModeName = "stitch_get_mode";
14
+
15
+ export const stitchGetModeDescription =
16
+ "Get the active Stitch profile name and URL from cbx_config.json. Never exposes API keys.";
17
+
18
+ export const stitchGetModeSchema = z.object({
19
+ scope: z
20
+ .enum(["global", "project", "auto"])
21
+ .optional()
22
+ .describe(
23
+ "Config scope to read. Default: auto (project if exists, else global)",
24
+ ),
25
+ });
26
+
27
+ export function handleStitchGetMode(args: z.infer<typeof stitchGetModeSchema>) {
28
+ const scope = args.scope ?? "auto";
29
+ const effective = readEffectiveConfig(scope as ConfigScope | "auto");
30
+
31
+ if (!effective) {
32
+ configNotFound();
33
+ }
34
+
35
+ const stitch = parseStitchState(effective.config);
36
+ const activeProfileName = stitch.activeProfileName;
37
+ const profileNames = stitch.profiles.map((profile) => profile.name);
38
+ const activeUrl = stitch.activeProfile?.url ?? null;
39
+
40
+ return {
41
+ content: [
42
+ {
43
+ type: "text" as const,
44
+ text: JSON.stringify(
45
+ {
46
+ activeProfileName,
47
+ activeUrl,
48
+ availableProfiles: profileNames,
49
+ scope: effective.scope,
50
+ note: "API keys are never exposed through this tool.",
51
+ },
52
+ null,
53
+ 2,
54
+ ),
55
+ },
56
+ ],
57
+ };
58
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – stitch_get_status tool.
3
+ *
4
+ * Returns full Stitch configuration status.
5
+ * Never exposes apiKey values.
6
+ */
7
+
8
+ import { z } from "zod";
9
+ import { parseStitchState, readEffectiveConfig } from "../cbxConfig/index.js";
10
+ import type { ConfigScope } from "../cbxConfig/types.js";
11
+ import { configNotFound } from "../utils/errors.js";
12
+
13
+ export const stitchGetStatusName = "stitch_get_status";
14
+
15
+ export const stitchGetStatusDescription =
16
+ "Get full Stitch configuration status including active profile, all profile names, and URLs. Never exposes API keys.";
17
+
18
+ export const stitchGetStatusSchema = z.object({
19
+ scope: z
20
+ .enum(["global", "project", "auto"])
21
+ .optional()
22
+ .describe(
23
+ "Config scope to read. Default: auto (project if exists, else global)",
24
+ ),
25
+ });
26
+
27
+ export function handleStitchGetStatus(
28
+ args: z.infer<typeof stitchGetStatusSchema>,
29
+ ) {
30
+ const scope = args.scope ?? "auto";
31
+ const effective = readEffectiveConfig(scope as ConfigScope | "auto");
32
+
33
+ if (!effective) {
34
+ configNotFound();
35
+ }
36
+
37
+ const stitch = parseStitchState(effective.config);
38
+ const activeProfileName = stitch.activeProfileName;
39
+ const profileSummaries = stitch.profiles.map((profile) => ({
40
+ name: profile.name,
41
+ url: profile.url ?? null,
42
+ apiKeyEnvVar: profile.apiKeyEnvVar,
43
+ hasApiKey: profile.hasInlineApiKey,
44
+ hasInlineApiKey: profile.hasInlineApiKey,
45
+ isActive: profile.name === activeProfileName,
46
+ }));
47
+
48
+ return {
49
+ content: [
50
+ {
51
+ type: "text" as const,
52
+ text: JSON.stringify(
53
+ {
54
+ configured: profileSummaries.length > 0,
55
+ activeProfileName,
56
+ profiles: profileSummaries,
57
+ totalProfiles: profileSummaries.length,
58
+ mcpUrl: stitch.mcpUrl,
59
+ useSystemGcloud: Boolean(stitch.useSystemGcloud),
60
+ scope: effective.scope,
61
+ configPath: effective.path,
62
+ note: "API keys are never exposed. Env-var aliases are reported for runtime configuration.",
63
+ },
64
+ null,
65
+ 2,
66
+ ),
67
+ },
68
+ ],
69
+ };
70
+ }
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – stitch_set_profile tool.
3
+ *
4
+ * Sets the active Stitch profile in cbx_config.json.
5
+ * Only mutates `stitch.activeProfileName`, never touches apiKey.
6
+ */
7
+
8
+ import { z } from "zod";
9
+ import {
10
+ parseStitchState,
11
+ readEffectiveConfig,
12
+ writeConfigField,
13
+ } from "../cbxConfig/index.js";
14
+ import type { ConfigScope } from "../cbxConfig/types.js";
15
+ import { configNotFound, invalidInput } from "../utils/errors.js";
16
+
17
+ export const stitchSetProfileName = "stitch_set_profile";
18
+
19
+ export const stitchSetProfileDescription =
20
+ "Set the active Stitch profile in cbx_config.json. The profile must already exist in the config.";
21
+
22
+ export const stitchSetProfileSchema = z.object({
23
+ profileName: z
24
+ .string()
25
+ .min(1)
26
+ .describe("Name of the Stitch profile to activate"),
27
+ scope: z
28
+ .enum(["global", "project", "auto"])
29
+ .optional()
30
+ .describe(
31
+ "Config scope to write. Default: auto (project if exists, else global)",
32
+ ),
33
+ });
34
+
35
+ export function handleStitchSetProfile(
36
+ args: z.infer<typeof stitchSetProfileSchema>,
37
+ ) {
38
+ const { profileName } = args;
39
+ const scope = args.scope ?? "auto";
40
+
41
+ // Verify profile exists in config
42
+ const effective = readEffectiveConfig(scope as ConfigScope | "auto");
43
+ if (!effective) {
44
+ configNotFound();
45
+ }
46
+
47
+ const stitch = parseStitchState(effective.config);
48
+ const profileNames = stitch.profiles.map((profile) => profile.name);
49
+ const targetProfile =
50
+ stitch.profiles.find((profile) => profile.name === profileName) ?? null;
51
+
52
+ if (!targetProfile) {
53
+ invalidInput(
54
+ `Stitch profile "${profileName}" not found. Available profiles: ${profileNames.join(", ") || "(none)"}`,
55
+ );
56
+ }
57
+
58
+ const result = writeConfigField(
59
+ "stitch.activeProfileName",
60
+ profileName,
61
+ scope as ConfigScope | "auto",
62
+ );
63
+
64
+ return {
65
+ content: [
66
+ {
67
+ type: "text" as const,
68
+ text: JSON.stringify(
69
+ {
70
+ activeProfileName: profileName,
71
+ url: targetProfile.url ?? null,
72
+ scope: result.scope,
73
+ writtenPath: result.writtenPath,
74
+ note: "Stitch active profile updated. Restart your MCP client to pick up the change.",
75
+ },
76
+ null,
77
+ 2,
78
+ ),
79
+ },
80
+ ],
81
+ };
82
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Cubis Foundry MCP Server – stdio transport adapter.
3
+ */
4
+
5
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
6
+
7
+ export function createStdioTransport(): StdioServerTransport {
8
+ return new StdioServerTransport();
9
+ }