@cubis/foundry 0.3.75 → 0.3.77

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 (263) hide show
  1. package/README.md +98 -76
  2. package/dist/cli/commands/register.js +1 -1
  3. package/dist/cli/commands/register.js.map +1 -1
  4. package/dist/cli/core.js +405 -216
  5. package/dist/cli/core.js.map +1 -1
  6. package/dist/cli/init/execute.js +5 -7
  7. package/dist/cli/init/execute.js.map +1 -1
  8. package/dist/cli/workflows/commands.js +2 -2
  9. package/dist/cli/workflows/commands.js.map +1 -1
  10. package/mcp/src/tools/skillTools.test.ts +34 -1
  11. package/package.json +4 -3
  12. package/src/cli/commands/register.ts +1 -1
  13. package/src/cli/core.ts +495 -267
  14. package/src/cli/init/execute.ts +5 -9
  15. package/src/cli/workflows/commands.ts +2 -2
  16. package/workflows/skills/_schema/skill-platform-attributes.json +14 -0
  17. package/workflows/skills/deep-research/SKILL.md +81 -0
  18. package/workflows/skills/deep-research/evals/assertions.md +17 -0
  19. package/workflows/skills/deep-research/evals/evals.json +56 -0
  20. package/workflows/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  21. package/workflows/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  22. package/workflows/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  23. package/workflows/skills/deep-research/references/comparison-checklist.md +57 -0
  24. package/workflows/skills/deep-research/references/research-output.md +69 -0
  25. package/workflows/skills/deep-research/references/source-ladder.md +81 -0
  26. package/workflows/skills/generated/skill-audit.json +20 -2
  27. package/workflows/skills/generated/skill-catalog.json +62 -4
  28. package/workflows/skills/skills_index.json +58 -0
  29. package/workflows/skills/stitch/SKILL.md +79 -0
  30. package/workflows/skills/stitch/evals/assertions.md +45 -0
  31. package/workflows/skills/stitch/evals/evals.json +68 -0
  32. package/workflows/skills/stitch/examples/01-new-screen.md +13 -0
  33. package/workflows/skills/stitch/examples/02-update-existing-screen.md +13 -0
  34. package/workflows/skills/stitch/examples/03-mobile-handoff.md +13 -0
  35. package/workflows/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  36. package/workflows/skills/stitch/examples/05-design-sync-loop.md +16 -0
  37. package/workflows/skills/stitch/references/implementation-patterns.md +20 -0
  38. package/workflows/skills/stitch/references/platform-setup.md +46 -0
  39. package/workflows/skills/stitch/references/update-diff-workflow.md +23 -0
  40. package/workflows/workflows/agent-environment-setup/generated/route-manifest.json +21 -13
  41. package/workflows/workflows/agent-environment-setup/manifest.json +32 -1
  42. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/frontend-specialist.md +10 -2
  43. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/mobile-developer.md +6 -2
  44. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +6 -5
  45. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +4 -3
  46. package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/researcher.md +8 -4
  47. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/accessibility.toml +2 -0
  48. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/backend.toml +2 -0
  49. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/create.toml +2 -0
  50. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/database.toml +2 -0
  51. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/debug.toml +2 -0
  52. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/devops.toml +2 -0
  53. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/implement-track.toml +2 -0
  54. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/migrate.toml +2 -0
  55. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/mobile.toml +2 -0
  56. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/onboard.toml +2 -0
  57. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/orchestrate.toml +2 -0
  58. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/plan.toml +2 -0
  59. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/refactor.toml +2 -0
  60. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/release.toml +2 -0
  61. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/review.toml +2 -0
  62. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/security.toml +2 -0
  63. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/test.toml +2 -0
  64. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/vercel.toml +2 -0
  65. package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +14 -8
  66. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/SKILL.md +89 -0
  67. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/evals/assertions.md +17 -0
  68. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/evals/evals.json +56 -0
  69. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  70. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  71. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  72. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/comparison-checklist.md +57 -0
  73. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/research-output.md +69 -0
  74. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/deep-research/references/source-ladder.md +81 -0
  75. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/SKILL.md +87 -0
  76. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/evals/assertions.md +45 -0
  77. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/evals/evals.json +68 -0
  78. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/examples/01-new-screen.md +13 -0
  79. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/examples/02-update-existing-screen.md +13 -0
  80. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/examples/03-mobile-handoff.md +13 -0
  81. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  82. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/examples/05-design-sync-loop.md +16 -0
  83. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/references/implementation-patterns.md +20 -0
  84. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/references/platform-setup.md +46 -0
  85. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/stitch/references/update-diff-workflow.md +23 -0
  86. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/create.md +3 -2
  87. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/mobile.md +4 -3
  88. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/onboard.md +3 -3
  89. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/orchestrate.md +2 -2
  90. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/plan.md +4 -4
  91. package/workflows/workflows/agent-environment-setup/platforms/claude/agents/frontend-specialist.md +10 -2
  92. package/workflows/workflows/agent-environment-setup/platforms/claude/agents/mobile-developer.md +6 -2
  93. package/workflows/workflows/agent-environment-setup/platforms/claude/agents/orchestrator.md +6 -5
  94. package/workflows/workflows/agent-environment-setup/platforms/claude/agents/project-planner.md +4 -3
  95. package/workflows/workflows/agent-environment-setup/platforms/claude/agents/researcher.md +8 -4
  96. package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/README.md +15 -0
  97. package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/route-research-guard.mjs +39 -0
  98. package/workflows/workflows/agent-environment-setup/platforms/claude/hooks/settings.snippet.json +15 -0
  99. package/workflows/workflows/agent-environment-setup/platforms/claude/rules/CLAUDE.md +16 -8
  100. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/SKILL.md +95 -0
  101. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/evals/assertions.md +17 -0
  102. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/evals/evals.json +56 -0
  103. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  104. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  105. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  106. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/comparison-checklist.md +57 -0
  107. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/research-output.md +69 -0
  108. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/deep-research/references/source-ladder.md +81 -0
  109. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json +58 -0
  110. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/SKILL.md +93 -0
  111. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/evals/assertions.md +45 -0
  112. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/evals/evals.json +68 -0
  113. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/examples/01-new-screen.md +13 -0
  114. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/examples/02-update-existing-screen.md +13 -0
  115. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/examples/03-mobile-handoff.md +13 -0
  116. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  117. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/examples/05-design-sync-loop.md +16 -0
  118. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/references/implementation-patterns.md +20 -0
  119. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/references/platform-setup.md +46 -0
  120. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/stitch/references/update-diff-workflow.md +23 -0
  121. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/create.md +3 -2
  122. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/mobile.md +4 -3
  123. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/onboard.md +3 -3
  124. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/orchestrate.md +2 -2
  125. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/plan.md +4 -4
  126. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +10 -2
  127. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +6 -2
  128. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +6 -5
  129. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +4 -3
  130. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/researcher.md +8 -4
  131. package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +14 -8
  132. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/SKILL.md +89 -0
  133. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/evals/assertions.md +17 -0
  134. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/evals/evals.json +56 -0
  135. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  136. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  137. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  138. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/comparison-checklist.md +57 -0
  139. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/research-output.md +69 -0
  140. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/deep-research/references/source-ladder.md +81 -0
  141. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/SKILL.md +87 -0
  142. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/evals/assertions.md +45 -0
  143. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/evals/evals.json +68 -0
  144. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/examples/01-new-screen.md +13 -0
  145. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/examples/02-update-existing-screen.md +13 -0
  146. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/examples/03-mobile-handoff.md +13 -0
  147. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  148. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/examples/05-design-sync-loop.md +16 -0
  149. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/references/implementation-patterns.md +20 -0
  150. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/references/platform-setup.md +46 -0
  151. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/stitch/references/update-diff-workflow.md +23 -0
  152. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/create.md +3 -2
  153. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/mobile.md +4 -3
  154. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/onboard.md +3 -3
  155. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/orchestrate.md +2 -2
  156. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/plan.md +4 -4
  157. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/frontend-specialist.md +6 -2
  158. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/mobile-developer.md +6 -2
  159. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +6 -5
  160. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +4 -3
  161. package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/researcher.md +8 -4
  162. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-accessibility.prompt.md +2 -1
  163. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-backend.prompt.md +2 -1
  164. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-create.prompt.md +2 -1
  165. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-database.prompt.md +2 -1
  166. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-debug.prompt.md +2 -1
  167. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-devops.prompt.md +2 -1
  168. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-implement-track.prompt.md +2 -1
  169. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-migrate.prompt.md +2 -1
  170. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-mobile.prompt.md +2 -1
  171. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-onboard.prompt.md +2 -1
  172. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-orchestrate.prompt.md +2 -1
  173. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-plan.prompt.md +2 -1
  174. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-refactor.prompt.md +2 -1
  175. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-release.prompt.md +2 -1
  176. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-review.prompt.md +2 -1
  177. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-security.prompt.md +2 -1
  178. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-test.prompt.md +2 -1
  179. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-vercel.prompt.md +2 -1
  180. package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/copilot-instructions.md +14 -8
  181. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/SKILL.md +94 -0
  182. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/evals/assertions.md +17 -0
  183. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/evals/evals.json +56 -0
  184. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  185. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  186. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  187. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/comparison-checklist.md +57 -0
  188. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/research-output.md +69 -0
  189. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/deep-research/references/source-ladder.md +81 -0
  190. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +58 -0
  191. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/SKILL.md +92 -0
  192. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/evals/assertions.md +45 -0
  193. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/evals/evals.json +68 -0
  194. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/examples/01-new-screen.md +13 -0
  195. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/examples/02-update-existing-screen.md +13 -0
  196. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/examples/03-mobile-handoff.md +13 -0
  197. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  198. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/examples/05-design-sync-loop.md +16 -0
  199. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/references/implementation-patterns.md +20 -0
  200. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/references/platform-setup.md +46 -0
  201. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/stitch/references/update-diff-workflow.md +23 -0
  202. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/create.md +3 -2
  203. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/mobile.md +4 -3
  204. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/onboard.md +3 -3
  205. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/orchestrate.md +2 -2
  206. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/plan.md +4 -4
  207. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/accessibility.toml +2 -0
  208. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/backend.toml +2 -0
  209. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/create.toml +2 -0
  210. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/database.toml +2 -0
  211. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/debug.toml +2 -0
  212. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/devops.toml +2 -0
  213. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/implement-track.toml +2 -0
  214. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/migrate.toml +2 -0
  215. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/mobile.toml +2 -0
  216. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/onboard.toml +2 -0
  217. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/orchestrate.toml +2 -0
  218. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/plan.toml +2 -0
  219. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/refactor.toml +2 -0
  220. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/release.toml +2 -0
  221. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/review.toml +2 -0
  222. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/security.toml +2 -0
  223. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/test.toml +2 -0
  224. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/vercel.toml +2 -0
  225. package/workflows/workflows/agent-environment-setup/platforms/gemini/rules/GEMINI.md +14 -8
  226. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/SKILL.md +89 -0
  227. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/evals/assertions.md +17 -0
  228. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/evals/evals.json +56 -0
  229. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/01-latest-docs-check.md +12 -0
  230. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/02-ecosystem-comparison.md +12 -0
  231. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/examples/03-research-to-implementation-handoff.md +12 -0
  232. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/comparison-checklist.md +57 -0
  233. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/research-output.md +69 -0
  234. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/deep-research/references/source-ladder.md +81 -0
  235. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/SKILL.md +87 -0
  236. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/evals/assertions.md +45 -0
  237. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/evals/evals.json +68 -0
  238. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/examples/01-new-screen.md +13 -0
  239. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/examples/02-update-existing-screen.md +13 -0
  240. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/examples/03-mobile-handoff.md +13 -0
  241. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/examples/04-prompt-enhancement.md +21 -0
  242. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/examples/05-design-sync-loop.md +16 -0
  243. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/references/implementation-patterns.md +20 -0
  244. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/references/platform-setup.md +46 -0
  245. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/stitch/references/update-diff-workflow.md +23 -0
  246. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/create.md +3 -2
  247. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/mobile.md +4 -3
  248. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/onboard.md +3 -3
  249. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/orchestrate.md +2 -2
  250. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/plan.md +4 -4
  251. package/workflows/workflows/agent-environment-setup/shared/agents/frontend-specialist.md +10 -2
  252. package/workflows/workflows/agent-environment-setup/shared/agents/mobile-developer.md +6 -2
  253. package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +2 -1
  254. package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +2 -1
  255. package/workflows/workflows/agent-environment-setup/shared/agents/researcher.md +5 -1
  256. package/workflows/workflows/agent-environment-setup/shared/rules/STEERING.md +44 -13
  257. package/workflows/workflows/agent-environment-setup/shared/rules/overrides/claude.md +2 -0
  258. package/workflows/workflows/agent-environment-setup/shared/rules/overrides/gemini.md +20 -0
  259. package/workflows/workflows/agent-environment-setup/shared/workflows/create.md +3 -2
  260. package/workflows/workflows/agent-environment-setup/shared/workflows/mobile.md +4 -3
  261. package/workflows/workflows/agent-environment-setup/shared/workflows/onboard.md +1 -1
  262. package/workflows/workflows/agent-environment-setup/shared/workflows/orchestrate.md +1 -1
  263. package/workflows/workflows/agent-environment-setup/shared/workflows/plan.md +2 -2
@@ -8,13 +8,9 @@ export function buildInitExecutionPlan({ selections, dryRun, overwrite, target,
8
8
  const wantsFoundry = hasMcpSelection(selections.selectedMcps, "cubis-foundry");
9
9
  const wantsPlaywright = hasMcpSelection(selections.selectedMcps, "playwright");
10
10
  for (const platform of selections.platforms) {
11
- const stitchSupported = platform === "antigravity";
12
- const stitchEnabled = wantsStitch && stitchSupported;
11
+ const stitchEnabled = wantsStitch;
13
12
  const hasAnyMcp = wantsPostman || stitchEnabled || wantsFoundry || wantsPlaywright;
14
13
  const warnings = [];
15
- if (wantsStitch && !stitchSupported) {
16
- warnings.push(`Stitch is not supported on '${platform}'. It will be skipped for this platform.`);
17
- }
18
14
  const installOptions = {
19
15
  platform,
20
16
  scope: selections.skillsScope,
@@ -30,8 +26,7 @@ export function buildInitExecutionPlan({ selections, dryRun, overwrite, target,
30
26
  playwright: wantsPlaywright,
31
27
  stitchDefaultForAntigravity: false,
32
28
  mcpScope: selections.mcpScope,
33
- foundryMcp: wantsFoundry,
34
- mcpToolSync: wantsPostman || stitchEnabled || wantsPlaywright,
29
+ mcpToolSync: wantsPostman || stitchEnabled,
35
30
  mcpRuntime: hasAnyMcp ? selections.mcpRuntime : "local",
36
31
  mcpFallback: "local",
37
32
  mcpBuildLocal: hasAnyMcp ? selections.mcpBuildLocal : false,
@@ -41,6 +36,9 @@ export function buildInitExecutionPlan({ selections, dryRun, overwrite, target,
41
36
  : undefined,
42
37
  initWizardMode: true,
43
38
  };
39
+ if (wantsFoundry) {
40
+ installOptions.foundryMcp = true;
41
+ }
44
42
  planItems.push({
45
43
  platform,
46
44
  installOptions,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../src/cli/init/execute.ts"],"names":[],"mappings":"AAOA,SAAS,eAAe,CAAC,YAAyB,EAAE,KAAgB;IAClE,OAAO,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,EACrC,UAAU,EACV,MAAM,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AgB,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QACjD,oBAAoB,UAAU,CAAC,YAAY,EAAE;QAC7C,mBAAmB,UAAU,CAAC,WAAW,EAAE;QAC3C,gBAAgB,UAAU,CAAC,QAAQ,EAAE;QACrC,kBAAkB,UAAU,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;QAC3J,qBAAqB,UAAU,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACzG,mBAAmB,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,gBAAgB,EAAE;QAChF,wBAAwB,eAAe,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE;KACjJ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export function registerWorkflowCommands(program, deps) {
2
2
  const workflowsCommand = program
3
3
  .command("workflows")
4
- .description("Install and manage workflow bundles for Antigravity, Codex, Copilot, and Claude");
4
+ .description("Install and manage workflow bundles for Antigravity, Codex, Copilot, Claude, and Gemini CLI");
5
5
  workflowsCommand
6
6
  .command("platforms")
7
7
  .description("List workflow platform ids and defaults")
@@ -33,7 +33,7 @@ export function registerWorkflowCommands(program, deps) {
33
33
  .command("prune-skills")
34
34
  .description("Prune nested duplicates and out-of-profile installed skills")
35
35
  .option("-b, --bundle <bundle>", "bundle id (default: agent-environment-setup)")
36
- .option("--skill-profile <profile>", "skill prune profile: core|web-backend|full (default: core)", deps.defaultSkillProfile)
36
+ .option("--skill-profile <profile>", "skill prune profile: core|web-backend|full", deps.defaultSkillProfile)
37
37
  .option("--all-skills", "alias for --skill-profile full")
38
38
  .option("--dry-run", "preview prune operations without deleting files")
39
39
  .option("-y, --yes", "skip interactive confirmation"))
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/cli/workflows/commands.ts"],"names":[],"mappings":"AAuBA,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,IAAyB;IAEzB,MAAM,gBAAgB,GAAG,OAAO;SAC7B,OAAO,CAAC,WAAW,CAAC;SACpB,WAAW,CACV,iFAAiF,CAClF,CAAC;IAEJ,gBAAgB;SACb,OAAO,CAAC,WAAW,CAAC;SACpB,WAAW,CAAC,yCAAyC,CAAC;SACtD,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAE/B,IAAI;SACD,kBAAkB,CACjB,gBAAgB;SACb,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,sDAAsD,CAAC,CACvE;SACA,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAEnC,IAAI;SACD,uBAAuB,CACtB,gBAAgB;SACb,OAAO,CAAC,6BAA6B,CAAC;SACtC,WAAW,CAAC,uDAAuD,CAAC;SACpE,MAAM,CAAC,WAAW,EAAE,+CAA+C,CAAC;SACpE,MAAM,CAAC,WAAW,EAAE,+BAA+B,CAAC,CACxD;SACA,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAElC,gBAAgB;SACb,OAAO,CAAC,YAAY,CAAC;SACrB,WAAW,CACV,uFAAuF,CACxF;SACA,MAAM,CACL,2BAA2B,EAC3B,4CAA4C,EAC5C,KAAK,CACN;SACA,MAAM,CACL,iBAAiB,EACjB,iDAAiD,EACjD,KAAK,CACN;SACA,MAAM,CACL,iBAAiB,EACjB,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AC,oBAAoB,CAAC,CAAC;IAErC,IAAI;SACD,uBAAuB,CACtB,gBAAgB;SACb,OAAO,CAAC,mBAAmB,CAAC;SAC5B,WAAW,CACV,qEAAqE,CACtE;SACA,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,CACnC;SACA,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAElC,MAAM,sBAAsB,GAAG,gBAAgB;SAC5C,OAAO,CAAC,QAAQ,CAAC;SACjB,WAAW,CAAC,4CAA4C,CAAC;SACzD,MAAM,CACL,2BAA2B,EAC3B,yCAAyC,CAC1C;SACA,MAAM,CACL,iBAAiB,EACjB,6CAA6C,EAC7C,QAAQ,CACT;SACA,MAAM,CAAC,QAAQ,EAAE,kDAAkD,CAAC;SACpE,MAAM,CAAC,QAAQ,EAAE,iDAAiD,CAAC;SACnE,MAAM,CAAC,0BAA0B,EAAE,gCAAgC,CAAC;SACpE,MAAM,CAAC,sBAAsB,EAAE,wCAAwC,CAAC;SACxE,MAAM,CACL,uBAAuB,EACvB,gDAAgD,CACjD;SACA,MAAM,CAAC,yBAAyB,EAAE,+BAA+B,CAAC;SAClE,MAAM,CAAC,2BAA2B,EAAE,mCAAmC,CAAC;SACxE,MAAM,CAAC,cAAc,EAAE,yBAAyB,CAAC;SACjD,MAAM,CAAC,WAAW,EAAE,uCAAuC,CAAC;SAC5D,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAElC,IAAI,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,CAAC;IAE3D,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE;QAC3B,gBAAgB,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -85,7 +85,7 @@ function createRouteManifest(): RouteManifest {
85
85
  $schema: "cubis-foundry-route-manifest-v1",
86
86
  generatedAt: new Date(0).toISOString(),
87
87
  contentHash: "test",
88
- summary: { totalRoutes: 6, workflows: 5, agents: 1 },
88
+ summary: { totalRoutes: 7, workflows: 5, agents: 2 },
89
89
  routes: [
90
90
  {
91
91
  kind: "workflow",
@@ -207,6 +207,23 @@ function createRouteManifest(): RouteManifest {
207
207
  antigravity: { agentFile: "test-engineer.md" },
208
208
  },
209
209
  },
210
+ {
211
+ kind: "agent",
212
+ id: "researcher",
213
+ command: null,
214
+ displayName: "researcher",
215
+ description: "Expert in codebase research and external verification",
216
+ triggers: ["research", "latest", "compare", "investigate", "survey"],
217
+ primaryAgent: "researcher",
218
+ supportingAgents: [],
219
+ primarySkills: ["deep-research", "architecture-designer"],
220
+ supportingSkills: ["prompt-engineer"],
221
+ artifacts: {
222
+ codex: { compatibilityAlias: "$agent-researcher", agentFile: "researcher.md" },
223
+ copilot: { agentFile: "researcher.md" },
224
+ antigravity: { agentFile: "researcher.md" },
225
+ },
226
+ },
210
227
  ],
211
228
  };
212
229
  }
@@ -612,6 +629,22 @@ describe("skill tools", () => {
612
629
  });
613
630
  });
614
631
 
632
+ it("routes research intent to researcher with deep-research as the primary skill hint", async () => {
633
+ const result = payload(
634
+ await handleRouteResolve(
635
+ { intent: "research latest Claude Code hooks behavior" },
636
+ createRouteManifest(),
637
+ ),
638
+ );
639
+ expect(result).toMatchObject({
640
+ resolved: true,
641
+ kind: "agent",
642
+ id: "researcher",
643
+ primarySkillHint: "deep-research",
644
+ });
645
+ expect(["trigger-match", "intent-match"]).toContain(result.matchedBy);
646
+ });
647
+
615
648
  it("falls back cleanly when no route matches the intent", async () => {
616
649
  const result = payload(
617
650
  await handleRouteResolve(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubis/foundry",
3
- "version": "0.3.75",
3
+ "version": "0.3.77",
4
4
  "description": "Cubis Foundry CLI for workflow-first AI agent environments",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,12 +31,13 @@
31
31
  "check": "npm run build:cli && node bin/cubis.js --help",
32
32
  "test:attributes": "node scripts/validate-platform-attributes.mjs && node scripts/validate-shared-routing.mjs && node scripts/validate-skill-packaging.mjs && node scripts/validate-runtime-wiring.mjs && node scripts/generate-skills-index.mjs --check && node scripts/generate-skill-catalog.mjs --check",
33
33
  "test:attributes:strict": "node scripts/validate-platform-attributes.mjs --strict && node scripts/validate-shared-routing.mjs && node scripts/validate-skill-packaging.mjs && node scripts/validate-runtime-wiring.mjs && node scripts/generate-skills-index.mjs --check && node scripts/generate-skill-catalog.mjs --check",
34
+ "test:cli-help": "npm run build:cli && node scripts/validate-cli-help.mjs",
34
35
  "test:tech-md": "node scripts/test-tech-md-scanner.mjs",
35
36
  "test:smoke": "npm run build:cli && node scripts/run-bash-script.mjs scripts/smoke-workflows.sh",
36
37
  "test:init:tty": "npm run build:cli && node scripts/run-init-tty-test.mjs bin/cubis.js",
37
38
  "test:mcp:docker": "node scripts/run-bash-script.mjs scripts/test-mcp-docker.sh",
38
- "test:all": "npm run test:attributes && npm run test:smoke",
39
- "test:all:strict": "npm run test:attributes:strict && npm run test:smoke",
39
+ "test:all": "npm run test:attributes && npm run test:cli-help && npm run test:smoke",
40
+ "test:all:strict": "npm run test:attributes:strict && npm run test:cli-help && npm run test:smoke",
40
41
  "test:ci": "npm run check:generated-assets && npm run test:all",
41
42
  "generate:platform-assets": "node scripts/generate-platform-assets.mjs",
42
43
  "sync:skill-mirrors": "node scripts/sync-skill-mirrors.mjs",
@@ -68,7 +68,7 @@ export function registerCommands(deps: CliRegistrationDeps) {
68
68
  )
69
69
  .option(
70
70
  "--mcps <items>",
71
- "comma-separated MCP selections: cubis-foundry,postman,stitch",
71
+ "comma-separated MCP selections: cubis-foundry,postman,stitch,playwright",
72
72
  )
73
73
  .option("--postman-mode <mode>", "Postman mode: full|minimal")
74
74
  .option(