@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "agent-environment-setup",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Workflow-first AI agent environment setup for Antigravity, Codex, Copilot, Claude Code, and Gemini CLI.",
5
5
  "platforms": {
6
6
  "antigravity": {
@@ -55,6 +55,7 @@
55
55
  "code-review",
56
56
  "csharp-best-practices",
57
57
  "database-design",
58
+ "deep-research",
58
59
  "django-drf",
59
60
  "docker-compose-dev",
60
61
  "drizzle-orm",
@@ -105,6 +106,7 @@
105
106
  "skill-creator",
106
107
  "spring-boot",
107
108
  "sqlalchemy",
109
+ "stitch",
108
110
  "stripe-integration",
109
111
  "svelte-sveltekit",
110
112
  "swift-best-practices",
@@ -198,6 +200,7 @@
198
200
  "code-review",
199
201
  "csharp-best-practices",
200
202
  "database-design",
203
+ "deep-research",
201
204
  "django-drf",
202
205
  "docker-compose-dev",
203
206
  "drizzle-orm",
@@ -248,6 +251,7 @@
248
251
  "skill-creator",
249
252
  "spring-boot",
250
253
  "sqlalchemy",
254
+ "stitch",
251
255
  "stripe-integration",
252
256
  "svelte-sveltekit",
253
257
  "swift-best-practices",
@@ -321,6 +325,7 @@
321
325
  "code-review",
322
326
  "csharp-best-practices",
323
327
  "database-design",
328
+ "deep-research",
324
329
  "django-drf",
325
330
  "docker-compose-dev",
326
331
  "drizzle-orm",
@@ -371,6 +376,7 @@
371
376
  "skill-creator",
372
377
  "spring-boot",
373
378
  "sqlalchemy",
379
+ "stitch",
374
380
  "stripe-integration",
375
381
  "svelte-sveltekit",
376
382
  "swift-best-practices",
@@ -464,6 +470,7 @@
464
470
  "code-review",
465
471
  "csharp-best-practices",
466
472
  "database-design",
473
+ "deep-research",
467
474
  "django-drf",
468
475
  "docker-compose-dev",
469
476
  "drizzle-orm",
@@ -514,6 +521,7 @@
514
521
  "skill-creator",
515
522
  "spring-boot",
516
523
  "sqlalchemy",
524
+ "stitch",
517
525
  "stripe-integration",
518
526
  "svelte-sveltekit",
519
527
  "swift-best-practices",
@@ -532,6 +540,27 @@
532
540
  "type": "conductor-reference",
533
541
  "optional": true,
534
542
  "description": "If Conductor artifacts exist, workflows can reference them as supporting context."
543
+ },
544
+ {
545
+ "type": "template",
546
+ "event": "UserPromptSubmit",
547
+ "file": "README.md",
548
+ "optional": true,
549
+ "description": "Usage guide for the Claude route/research hook templates."
550
+ },
551
+ {
552
+ "type": "template",
553
+ "event": "UserPromptSubmit",
554
+ "file": "settings.snippet.json",
555
+ "optional": true,
556
+ "description": "Settings snippet that wires the route/research reminder hook into Claude Code."
557
+ },
558
+ {
559
+ "type": "template",
560
+ "event": "UserPromptSubmit",
561
+ "file": "route-research-guard.mjs",
562
+ "optional": true,
563
+ "description": "Hook script template that reinforces explicit-route honoring and research escalation."
535
564
  }
536
565
  ]
537
566
  },
@@ -564,6 +593,7 @@
564
593
  "code-review",
565
594
  "csharp-best-practices",
566
595
  "database-design",
596
+ "deep-research",
567
597
  "django-drf",
568
598
  "docker-compose-dev",
569
599
  "drizzle-orm",
@@ -614,6 +644,7 @@
614
644
  "skill-creator",
615
645
  "spring-boot",
616
646
  "sqlalchemy",
647
+ "stitch",
617
648
  "stripe-integration",
618
649
  "svelte-sveltekit",
619
650
  "swift-best-practices",
@@ -1,11 +1,15 @@
1
1
  ---
2
2
  name: frontend-specialist
3
- description: Senior frontend specialist for React, Next.js, UI architecture, interaction quality, accessibility, rendering performance, design-system consistency, and internationalization.
3
+ description: Senior frontend specialist for React, Next.js, Stitch-driven design-to-code delivery, UI architecture, interaction quality, accessibility, rendering performance, design-system consistency, and internationalization.
4
4
  triggers:
5
5
  [
6
6
  "component",
7
7
  "react",
8
8
  "next",
9
+ "stitch",
10
+ "design-to-code",
11
+ "screen-to-code",
12
+ "ui diff",
9
13
  "ui",
10
14
  "ux",
11
15
  "css",
@@ -18,7 +22,7 @@ triggers:
18
22
  tools: Read, Grep, Glob, Bash, Edit, Write
19
23
  model: inherit
20
24
  maxTurns: 25
21
- skills: react, nextjs, frontend-design, performance-testing, code-review, observability, typescript-best-practices, javascript-best-practices
25
+ skills: stitch, react, nextjs, frontend-design, performance-testing, code-review, observability, typescript-best-practices, javascript-best-practices
22
26
  handoffs:
23
27
  - agent: "test-engineer"
24
28
  title: "Test UI Components"
@@ -34,6 +38,7 @@ Build and review frontend systems that stay maintainable under real product pres
34
38
 
35
39
  - Do not call `skill_search` for any skill in the pre-declared list when the task clearly falls into that domain.
36
40
  - Load one primary skill first:
41
+ - `stitch` for Stitch artifacts, design-to-code diffs, screen sync work, and implementation grounded in real Stitch output
37
42
  - `react` for component boundaries, state, and runtime behavior
38
43
  - `react` for React performance optimization, patterns, and anti-patterns
39
44
  - `nextjs` for App Router, server/client boundaries, caching, and route behavior
@@ -45,6 +50,7 @@ Build and review frontend systems that stay maintainable under real product pres
45
50
  - `frontend-design` for RTL support, locale switching, pluralization, and date/number formatting
46
51
  - `observability` for error boundary design, user-facing error states, and frontend observability
47
52
  - Add one supporting skill only when the task genuinely crosses concerns.
53
+ - If the request explicitly references Stitch screens, artifacts, UI diffs, or design sync, load `stitch` first and then add the narrowest implementation skill for the actual stack.
48
54
  - Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed by the current step.
49
55
 
50
56
  ## Skill References
@@ -53,6 +59,7 @@ Load on demand. Do not preload all references.
53
59
 
54
60
  | File | Load when |
55
61
  | ------------------------ | --------------------------------------------------------------------------------------------- |
62
+ | `stitch` | The task starts from Stitch artifacts, design-to-code requests, screen sync, or UI diffs. |
56
63
  | `react` | React runtime behavior, component boundaries, hooks, or client-state design are primary. |
57
64
  | `react` | React performance optimization, memoization patterns, or React anti-patterns are the focus. |
58
65
  | `nextjs` | Next.js route behavior, server/client boundaries, caching, or deployment posture are primary. |
@@ -67,6 +74,7 @@ Load on demand. Do not preload all references.
67
74
  ## Operating Stance
68
75
 
69
76
  - Prefer clear state ownership and small client boundaries.
77
+ - When Stitch is the source of truth, fetch and map the real artifact before editing local UI.
70
78
  - Treat accessibility and loading or error states as product correctness, not polish.
71
79
  - Measure performance before optimizing.
72
80
  - Keep one-off product logic out of shared primitives.
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: mobile-developer
3
- description: Expert in Flutter delivery and mobile product design for cross-platform apps. Use for Flutter architecture, native integrations, mobile UX, platform behavior, and release readiness. Triggers on mobile, flutter, ios, android, app store, play store, touch UX.
3
+ description: Expert in Flutter delivery and mobile product design for cross-platform apps. Use for Flutter architecture, Stitch-driven mobile handoff, native integrations, mobile UX, platform behavior, and release readiness. Triggers on mobile, flutter, ios, android, app store, play store, touch UX.
4
4
  tools: Read, Grep, Glob, Bash, Edit, Write
5
5
  model: inherit
6
6
  maxTurns: 25
7
- skills: react-native, frontend-design, expo-app, swift-best-practices, kotlin-best-practices, react, systematic-debugging, integration-testing, typescript-best-practices, javascript-best-practices
7
+ skills: stitch, react-native, frontend-design, expo-app, swift-best-practices, kotlin-best-practices, react, systematic-debugging, integration-testing, typescript-best-practices, javascript-best-practices
8
8
  handoffs:
9
9
  - agent: "test-engineer"
10
10
  title: "Test Mobile"
@@ -20,6 +20,7 @@ Build and ship cross-platform mobile apps that feel native and perform reliably.
20
20
 
21
21
  - Do not call `skill_search` for any skill in the pre-declared list when the task clearly falls into those domains.
22
22
  - Load one primary skill first:
23
+ - `stitch` for Stitch-driven mobile screen handoff, design sync, and artifact-grounded UI updates
23
24
  - `react-native` for touch psychology, platform-native patterns, iOS/Android design guidelines
24
25
  - `expo-app` for feature implementation in Flutter
25
26
  - `expo-app` for state management with Riverpod
@@ -31,12 +32,14 @@ Build and ship cross-platform mobile apps that feel native and perform reliably.
31
32
  - `expo-app` for complex state flows
32
33
  - `expo-app` for repository pattern and data layer
33
34
  - `frontend-design` for internationalization, RTL support, and locale handling
35
+ - If the request starts from Stitch artifacts or a design sync, load `stitch` first and then pair it with the narrowest mobile implementation skill for the target stack.
34
36
  - Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed.
35
37
 
36
38
  ## Skill References
37
39
 
38
40
  | File | Load when |
39
41
  | ----------------------- | -------------------------------------------------------------------- |
42
+ | `stitch` | The task starts from Stitch artifacts, design sync, or screen-to-code handoff. |
40
43
  | `react-native` | Touch UX, platform conventions, iOS/Android design guidelines. |
41
44
  | `expo-app` | Implementing features, widgets, or screens in Flutter. |
42
45
  | `expo-app` | State management architecture with Riverpod. |
@@ -52,6 +55,7 @@ Build and ship cross-platform mobile apps that feel native and perform reliably.
52
55
  ## Operating Stance
53
56
 
54
57
  - Respect platform conventions — iOS and Android users expect different behaviors.
58
+ - When work starts from Stitch, translate the artifact into native/mobile patterns instead of copying raw layout output.
55
59
  - Treat touch targets and gesture feedback as correctness, not polish.
56
60
  - Test on real devices for performance-sensitive features.
57
61
  - Design for offline-first when the app may lose connectivity.
@@ -5,7 +5,7 @@ tools: Read, Grep, Glob, Bash, Write, Edit
5
5
  model: inherit
6
6
  maxTurns: 30
7
7
  memory: project
8
- skills: system-design, api-design, database-design, architecture-doc, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
8
+ skills: system-design, api-design, database-design, deep-research, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
9
9
  handoffs:
10
10
  - agent: "validator"
11
11
  title: "Validate Results"
@@ -31,8 +31,8 @@ Your only permitted actions:
31
31
 
32
32
  ## Skill Loading Contract
33
33
 
34
- - Do not call `skill_search` for `system-design`, `api-design`, `database-design`, `architecture-doc`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, or `skill-creator` when the task is clearly multi-stream coordination, planning, architecture design, contract design, research, or skill package work.
35
- - Use `system-design` when the coordination problem is really a design tradeoff problem, `api-design` when integration contracts are the coordination bottleneck, `database-design` when the shared dependency is a data-model or migration concern, `architecture-doc` when the coordination risk is stale or conflicting external information, `mcp-server-builder` for MCP-specific streams, `tech-doc` for OpenAI-doc verification streams, `prompt-engineering` for instruction-quality streams, and `skill-creator` when the coordinated changes are in skills, mirrors, routing, or packaging.
34
+ - Do not call `skill_search` for `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, or `skill-creator` when the task is clearly multi-stream coordination, planning, architecture design, contract design, research, or skill package work.
35
+ - Use `system-design` when the coordination problem is really a design tradeoff problem, `api-design` when integration contracts are the coordination bottleneck, `database-design` when the shared dependency is a data-model or migration concern, `deep-research` when the coordination risk is stale or conflicting external information, `mcp-server-builder` for MCP-specific streams, `tech-doc` for OpenAI-doc verification streams, `prompt-engineering` for instruction-quality streams, and `skill-creator` when the coordinated changes are in skills, mirrors, routing, or packaging.
36
36
  - Prefer platform-native delegation features when available, but keep the orchestration contract stable even when execution stays in a single track.
37
37
  - Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed by the current coordination step.
38
38
 
@@ -45,7 +45,7 @@ Load on demand. Do not preload all references.
45
45
  | `system-design` | Coordination depends on resolving system design or interface tradeoffs first. |
46
46
  | `api-design` | The critical shared dependency is an API contract or integration boundary. |
47
47
  | `database-design` | The coordination risk centers on schema, migration, data ownership, or engine choice. |
48
- | `architecture-doc` | External sources, latest information, or public-repo comparisons are blocking confident execution. |
48
+ | `deep-research` | External sources, latest information, or public-repo comparisons are blocking confident execution. |
49
49
  | `mcp-server-builder` | One stream is MCP server design, tool shape, or transport selection. |
50
50
  | `tech-doc` | One stream needs current OpenAI docs or version-specific behavior verification. |
51
51
  | `prompt-engineering` | One stream is repairing prompts, agent rules, or instruction quality. |
@@ -158,7 +158,8 @@ ANTI-LAZINESS:
158
158
  5. **Iterate, don't accept mediocrity** — if output is incomplete or wrong, re-delegate with feedback.
159
159
  6. **Track progress visibly** — maintain a task list showing status of each work item.
160
160
  7. **Fail fast on blockers** — if a dependency is missing or a task is stuck after 3 iterations, escalate.
161
- 8. **Synthesize at the end** — combine outputs with concrete actions, risks, and verification evidence.
161
+ 8. **Route research explicitly** — when freshness or public comparison matters, delegate to `@researcher` or load `deep-research` before implementation.
162
+ 9. **Synthesize at the end** — combine outputs with concrete actions, risks, and verification evidence.
162
163
 
163
164
  ## Anti-Patterns to Prevent
164
165
 
@@ -5,7 +5,7 @@ tools: Read, Grep, Glob, Bash, Edit, Write
5
5
  model: inherit
6
6
  maxTurns: 30
7
7
  memory: project
8
- skills: system-design, api-design, database-design, architecture-doc, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
8
+ skills: system-design, api-design, database-design, deep-research, mcp-server-builder, tech-doc, prompt-engineering, skill-creator, typescript-best-practices, javascript-best-practices, python-best-practices
9
9
  handoffs:
10
10
  - agent: "orchestrator"
11
11
  title: "Start Implementation"
@@ -24,7 +24,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
24
24
  - Load `system-design` for system design tradeoffs in the plan.
25
25
  - Load `api-design` when the plan involves API contract decisions.
26
26
  - Load `database-design` when the plan involves data modeling or migration.
27
- - Load `architecture-doc` when planning requires external information or comparison.
27
+ - Load `deep-research` when planning requires fresh external information, public comparison, or evidence beyond the repo.
28
28
  - Use `skill_validate` before `skill_get`, and use `skill_get_reference` only for the specific sidecar file needed.
29
29
 
30
30
  ## Skill References
@@ -34,7 +34,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
34
34
  | `system-design` | Plan involves system design tradeoffs or component boundaries. |
35
35
  | `api-design` | Plan involves API contract decisions or integration points. |
36
36
  | `database-design` | Plan involves data modeling, schema design, or migration strategy. |
37
- | `architecture-doc` | Planning requires external research or approach comparison. |
37
+ | `deep-research` | Planning requires external research or approach comparison. |
38
38
  | `mcp-server-builder` | Plan involves MCP server or tool implementation. |
39
39
  | `skill-creator` | Plan involves skill package creation or modification. |
40
40
 
@@ -45,6 +45,7 @@ Decompose complex requests into implementable plans with clear ownership, depend
45
45
  - Every task needs an owner (agent), acceptance criteria, and verification approach.
46
46
  - Plan for rollback — every change should be reversible.
47
47
  - Front-load risk — tackle the hardest technical uncertainty first.
48
+ - When outside evidence is needed, send research through `deep-research` first instead of mixing web browsing into every implementation stream.
48
49
 
49
50
  ## Planning Methodology
50
51
 
@@ -18,7 +18,7 @@ tools: Read, Grep, Glob, Bash
18
18
  model: inherit
19
19
  maxTurns: 30
20
20
  memory: project
21
- skills: architecture-doc, system-design, database-design, tech-doc, prompt-engineering
21
+ skills: deep-research, system-design, database-design, tech-doc, prompt-engineering
22
22
  handoffs:
23
23
  - agent: "project-planner"
24
24
  title: "Plan Implementation"
@@ -30,8 +30,8 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
30
30
 
31
31
  ## Skill Loading Contract
32
32
 
33
- - Do not call `skill_search` for `architecture-doc`, `system-design`, `database-design`, `tech-doc`, or `prompt-engineering` when the task is clearly research work.
34
- - Load `architecture-doc` first for all research tasks — it defines the research methodology.
33
+ - Do not call `skill_search` for `deep-research`, `system-design`, `database-design`, `tech-doc`, or `prompt-engineering` when the task is clearly research work.
34
+ - Load `deep-research` first for all research tasks — it defines the source ladder, evidence labeling, and research output contract.
35
35
  - Add `system-design` when research involves system design patterns or tradeoffs.
36
36
  - Add `database-design` when research involves data storage options or migration approaches.
37
37
  - Add `tech-doc` when research involves OpenAI API or model behavior verification.
@@ -42,7 +42,7 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
42
42
 
43
43
  | File | Load when |
44
44
  | ----------------------- | --------------------------------------------------------------------- |
45
- | `architecture-doc` | All research tasks — defines the core research methodology. |
45
+ | `deep-research` | All research tasks — defines the core research methodology. |
46
46
  | `system-design` | Research involves system design patterns or architectural tradeoffs. |
47
47
  | `database-design` | Research involves data storage, database comparison, or migration. |
48
48
  | `tech-doc` | Research involves OpenAI API, model behavior, or version differences. |
@@ -51,6 +51,9 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
51
51
  ## Operating Stance
52
52
 
53
53
  - Breadth first, then depth — survey the landscape before drilling into specifics.
54
+ - Repo first, then web — inspect local code, configs, and docs before using external sources.
55
+ - Official docs first — use vendor or maintainer documentation as primary evidence.
56
+ - Community evidence is secondary — Reddit, blog posts, and forum threads can inform implementation, but label them as lower-trust support.
54
57
  - Cite sources — every finding should be traceable to evidence.
55
58
  - Distinguish fact from inference — clearly label assumptions.
56
59
  - Produce actionable findings — research without recommendations is incomplete.
@@ -72,5 +75,6 @@ Investigate thoroughly, synthesize findings, and deliver structured knowledge be
72
75
  - Clear distinction between verified facts and educated guesses.
73
76
  - Actionable recommendations with tradeoff analysis.
74
77
  - Remaining knowledge gaps identified.
78
+ - Output order: verified facts, secondary/community evidence, gaps, recommended next route.
75
79
 
76
80
  > **Antigravity note:** Use Agent Manager for parallel agent coordination. Agent files are stored under `.agent/agents/`.
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -7,6 +7,8 @@ Execution contract:
7
7
  2. Confirm the request fits the workflow's "When to use" section.
8
8
  3. Execute according to "Workflow steps" and apply "Context notes".
9
9
  4. Complete "Verification" checks and report concrete evidence.
10
+ 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
+ 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
10
12
 
11
13
  If command arguments are provided, treat them as additional user context.
12
14
  '''
@@ -46,7 +46,7 @@ Execute this tree top-to-bottom. Stop at the **first match**. Never skip levels.
46
46
  ├─ [TRIVIAL] Single-step, obvious, reversible?
47
47
  │ → Execute directly. No routing. Stop.
48
48
 
49
- ├─ [EXPLICIT] User named a Gemini command, workflow, or @agent?
49
+ ├─ [EXPLICIT] User named a Gemini command, workflow, @agent, or exact skill?
50
50
  │ → Honor that route exactly. Stop.
51
51
 
52
52
  ├─ [SINGLE-DOMAIN] Multi-step but contained in one specialty?
@@ -66,6 +66,7 @@ Execute this tree top-to-bottom. Stop at the **first match**. Never skip levels.
66
66
  **Hard rules:**
67
67
 
68
68
  - Never pre-load skills before route resolution.
69
+ - If the user names an exact skill ID, run `skill_validate` on that ID before `route_resolve`.
69
70
  - Never invoke an agent when direct execution suffices.
70
71
  - Never chain more than one `skill_search` per request.
71
72
  - Treat this file as **durable project memory** — not a per-task playbook.
@@ -337,6 +338,7 @@ Use this matrix to match incoming tasks to the correct skill and primary agent.
337
338
  | sqlalchemy | Framework | SQLAlchemy ORM, sessions, alembic | @database-architect |
338
339
  | drizzle-orm | Framework | Drizzle ORM, schema, migrations | @database-architect |
339
340
  | frontend-design | Design | UI/UX, component architecture | @frontend-specialist |
341
+ | stitch | Design | Stitch screens, design-to-code, UI diffing | @frontend-specialist |
340
342
  | system-design | Design | Distributed systems, scalability | @backend-specialist |
341
343
  | microservices-design | Design | Service decomposition, communication | @backend-specialist |
342
344
  | api-design | Design | REST/GraphQL API design, versioning | @backend-specialist |
@@ -359,6 +361,7 @@ Use this matrix to match incoming tasks to the correct skill and primary agent.
359
361
  | docker-compose-dev | DevOps | Docker Compose local dev environments | @devops-engineer |
360
362
  | kubernetes-deploy | DevOps | K8s manifests, Helm charts, deployment | @devops-engineer |
361
363
  | observability | DevOps | Logging, metrics, tracing, alerting | @devops-engineer |
364
+ | deep-research | Research | Latest docs, public comparisons, external verification | @researcher |
362
365
  | llm-eval | AI/ML | LLM evaluation, benchmarking, evals | @researcher |
363
366
  | rag-patterns | AI/ML | RAG architecture, embeddings, retrieval | @researcher |
364
367
  | prompt-engineering | AI/ML | Prompt design, few-shot, chain-of-thought | @researcher |
@@ -406,12 +409,15 @@ Selection policy:
406
409
  Keep MCP context lazy and exact. Skills are supporting context, not the route layer.
407
410
 
408
411
  1. Never begin with `skill_search`. Inspect the repo/task locally first.
409
- 2. Resolve workflows, agents, or free-text route intent with `route_resolve` before loading any skills.
410
- 3. If the route is still unresolved and local grounding leaves the domain unclear, use one narrow `skill_search`.
411
- 4. Always run `skill_validate` on the exact selected ID before `skill_get`.
412
- 5. Call `skill_get` with `includeReferences:false` by default.
413
- 6. Load at most one sidecar markdown file at a time with `skill_get_reference`.
414
- 7. Do not auto-prime every specialist with a skill. Load only what the task clearly needs.
415
- 8. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
412
+ 2. If the user already named `/workflow`, `@agent`, or an exact skill ID, honor it directly. For exact skills, run `skill_validate` first and skip `route_resolve` when valid.
413
+ 3. Resolve only free-text workflow/agent intent with `route_resolve` before loading non-explicit skills.
414
+ 4. If the route is still unresolved and local grounding leaves the domain unclear, use one narrow `skill_search`.
415
+ 5. Always run `skill_validate` on the exact selected ID before `skill_get`.
416
+ 6. Call `skill_get` with `includeReferences:false` by default.
417
+ 7. Load at most one sidecar markdown file at a time with `skill_get_reference`.
418
+ 8. Do not auto-prime every specialist with a skill. Load only what the task clearly needs.
419
+ 9. For research: repo/local evidence first, official docs next, Reddit/community only as labeled secondary evidence.
420
+ 10. Escalate to research only when freshness matters, public comparison matters, or the user explicitly asks to research/verify.
421
+ 11. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
416
422
 
417
423
  <!-- cbx:mcp:auto:end -->