@agents-inc/cli 0.32.1

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 (497) hide show
  1. package/CHANGELOG.md +462 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/config/skills-matrix.yaml +926 -0
  5. package/config/stacks.yaml +2186 -0
  6. package/dist/chunk-3ZOIOVKT.js +365 -0
  7. package/dist/chunk-3ZOIOVKT.js.map +1 -0
  8. package/dist/chunk-4RAY5AOI.js +78 -0
  9. package/dist/chunk-4RAY5AOI.js.map +1 -0
  10. package/dist/chunk-5PIKNCZX.js +234 -0
  11. package/dist/chunk-5PIKNCZX.js.map +1 -0
  12. package/dist/chunk-66UDJBF6.js +96 -0
  13. package/dist/chunk-66UDJBF6.js.map +1 -0
  14. package/dist/chunk-7SOPVGDV.js +24 -0
  15. package/dist/chunk-7SOPVGDV.js.map +1 -0
  16. package/dist/chunk-A27LOC4Z.js +95 -0
  17. package/dist/chunk-A27LOC4Z.js.map +1 -0
  18. package/dist/chunk-B2UBHA66.js +301 -0
  19. package/dist/chunk-B2UBHA66.js.map +1 -0
  20. package/dist/chunk-BZN2Z5P7.js +882 -0
  21. package/dist/chunk-BZN2Z5P7.js.map +1 -0
  22. package/dist/chunk-BZQBJP34.js +186 -0
  23. package/dist/chunk-BZQBJP34.js.map +1 -0
  24. package/dist/chunk-DC5AK3LW.js +105 -0
  25. package/dist/chunk-DC5AK3LW.js.map +1 -0
  26. package/dist/chunk-DHET7RCE.js +50 -0
  27. package/dist/chunk-DHET7RCE.js.map +1 -0
  28. package/dist/chunk-EMJ2ZKS7.js +346 -0
  29. package/dist/chunk-EMJ2ZKS7.js.map +1 -0
  30. package/dist/chunk-FJQRVFMB.js +48 -0
  31. package/dist/chunk-FJQRVFMB.js.map +1 -0
  32. package/dist/chunk-FZGYSLJL.js +85 -0
  33. package/dist/chunk-FZGYSLJL.js.map +1 -0
  34. package/dist/chunk-H566H3MQ.js +87 -0
  35. package/dist/chunk-H566H3MQ.js.map +1 -0
  36. package/dist/chunk-IYG2LAIM.js +90 -0
  37. package/dist/chunk-IYG2LAIM.js.map +1 -0
  38. package/dist/chunk-IZZ4IIEG.js +29 -0
  39. package/dist/chunk-IZZ4IIEG.js.map +1 -0
  40. package/dist/chunk-JMVWYAHT.js +63 -0
  41. package/dist/chunk-JMVWYAHT.js.map +1 -0
  42. package/dist/chunk-LAPCUV4D.js +191 -0
  43. package/dist/chunk-LAPCUV4D.js.map +1 -0
  44. package/dist/chunk-LGUI3PMO.js +109 -0
  45. package/dist/chunk-LGUI3PMO.js.map +1 -0
  46. package/dist/chunk-MM7NK5N2.js +4542 -0
  47. package/dist/chunk-MM7NK5N2.js.map +1 -0
  48. package/dist/chunk-N6S7ZRIL.js +31 -0
  49. package/dist/chunk-N6S7ZRIL.js.map +1 -0
  50. package/dist/chunk-O4D67NN7.js +24 -0
  51. package/dist/chunk-O4D67NN7.js.map +1 -0
  52. package/dist/chunk-ODUOU55D.js +56 -0
  53. package/dist/chunk-ODUOU55D.js.map +1 -0
  54. package/dist/chunk-OGJIZ6QH.js +497 -0
  55. package/dist/chunk-OGJIZ6QH.js.map +1 -0
  56. package/dist/chunk-OMV7TLWD.js +340 -0
  57. package/dist/chunk-OMV7TLWD.js.map +1 -0
  58. package/dist/chunk-PBEHPQLK.js +146 -0
  59. package/dist/chunk-PBEHPQLK.js.map +1 -0
  60. package/dist/chunk-QPTOIZAT.js +32 -0
  61. package/dist/chunk-QPTOIZAT.js.map +1 -0
  62. package/dist/chunk-R3XFQKPG.js +111 -0
  63. package/dist/chunk-R3XFQKPG.js.map +1 -0
  64. package/dist/chunk-R74PZWQS.js +69 -0
  65. package/dist/chunk-R74PZWQS.js.map +1 -0
  66. package/dist/chunk-SO22IQPY.js +45 -0
  67. package/dist/chunk-SO22IQPY.js.map +1 -0
  68. package/dist/chunk-T4EXUIBY.js +19 -0
  69. package/dist/chunk-T4EXUIBY.js.map +1 -0
  70. package/dist/chunk-U3IGFMCY.js +31 -0
  71. package/dist/chunk-U3IGFMCY.js.map +1 -0
  72. package/dist/chunk-UICL22RT.js +318 -0
  73. package/dist/chunk-UICL22RT.js.map +1 -0
  74. package/dist/chunk-UX2H2K2G.js +183 -0
  75. package/dist/chunk-UX2H2K2G.js.map +1 -0
  76. package/dist/chunk-W2ZSCZ2U.js +93 -0
  77. package/dist/chunk-W2ZSCZ2U.js.map +1 -0
  78. package/dist/chunk-WEUVWHMA.js +189 -0
  79. package/dist/chunk-WEUVWHMA.js.map +1 -0
  80. package/dist/chunk-XY3XDVMI.js +15599 -0
  81. package/dist/chunk-XY3XDVMI.js.map +1 -0
  82. package/dist/chunk-YND42IXK.js +233 -0
  83. package/dist/chunk-YND42IXK.js.map +1 -0
  84. package/dist/chunk-YZTWZVGX.js +41 -0
  85. package/dist/chunk-YZTWZVGX.js.map +1 -0
  86. package/dist/chunk-Z4TWOP3H.js +81 -0
  87. package/dist/chunk-Z4TWOP3H.js.map +1 -0
  88. package/dist/cli/defaults/agent-mappings.yaml +271 -0
  89. package/dist/commands/build/marketplace.js +252 -0
  90. package/dist/commands/build/marketplace.js.map +1 -0
  91. package/dist/commands/build/plugins.js +114 -0
  92. package/dist/commands/build/plugins.js.map +1 -0
  93. package/dist/commands/build/stack.js +153 -0
  94. package/dist/commands/build/stack.js.map +1 -0
  95. package/dist/commands/compile.js +354 -0
  96. package/dist/commands/compile.js.map +1 -0
  97. package/dist/commands/config/get.js +61 -0
  98. package/dist/commands/config/get.js.map +1 -0
  99. package/dist/commands/config/index.js +23 -0
  100. package/dist/commands/config/index.js.map +1 -0
  101. package/dist/commands/config/path.js +34 -0
  102. package/dist/commands/config/path.js.map +1 -0
  103. package/dist/commands/config/set-project.js +61 -0
  104. package/dist/commands/config/set-project.js.map +1 -0
  105. package/dist/commands/config/show.js +14 -0
  106. package/dist/commands/config/show.js.map +1 -0
  107. package/dist/commands/config/unset-project.js +57 -0
  108. package/dist/commands/config/unset-project.js.map +1 -0
  109. package/dist/commands/diff.js +742 -0
  110. package/dist/commands/diff.js.map +1 -0
  111. package/dist/commands/doctor.js +370 -0
  112. package/dist/commands/doctor.js.map +1 -0
  113. package/dist/commands/edit.js +301 -0
  114. package/dist/commands/edit.js.map +1 -0
  115. package/dist/commands/eject.js +262 -0
  116. package/dist/commands/eject.js.map +1 -0
  117. package/dist/commands/import/skill.js +361 -0
  118. package/dist/commands/import/skill.js.map +1 -0
  119. package/dist/commands/info.js +217 -0
  120. package/dist/commands/info.js.map +1 -0
  121. package/dist/commands/init.js +443 -0
  122. package/dist/commands/init.js.map +1 -0
  123. package/dist/commands/list.js +49 -0
  124. package/dist/commands/list.js.map +1 -0
  125. package/dist/commands/new/agent.js +224 -0
  126. package/dist/commands/new/agent.js.map +1 -0
  127. package/dist/commands/new/skill.js +199 -0
  128. package/dist/commands/new/skill.js.map +1 -0
  129. package/dist/commands/outdated.js +176 -0
  130. package/dist/commands/outdated.js.map +1 -0
  131. package/dist/commands/search.js +288 -0
  132. package/dist/commands/search.js.map +1 -0
  133. package/dist/commands/uninstall.js +302 -0
  134. package/dist/commands/uninstall.js.map +1 -0
  135. package/dist/commands/update.js +304 -0
  136. package/dist/commands/update.js.map +1 -0
  137. package/dist/commands/validate.js +389 -0
  138. package/dist/commands/validate.js.map +1 -0
  139. package/dist/commands/version/bump.js +79 -0
  140. package/dist/commands/version/bump.js.map +1 -0
  141. package/dist/commands/version/index.js +54 -0
  142. package/dist/commands/version/index.js.map +1 -0
  143. package/dist/commands/version/set.js +86 -0
  144. package/dist/commands/version/set.js.map +1 -0
  145. package/dist/commands/version/show.js +54 -0
  146. package/dist/commands/version/show.js.map +1 -0
  147. package/dist/components/common/confirm.js +9 -0
  148. package/dist/components/common/confirm.js.map +1 -0
  149. package/dist/components/common/confirm.test.js +203 -0
  150. package/dist/components/common/confirm.test.js.map +1 -0
  151. package/dist/components/common/message.js +20 -0
  152. package/dist/components/common/message.js.map +1 -0
  153. package/dist/components/common/spinner.js +14 -0
  154. package/dist/components/common/spinner.js.map +1 -0
  155. package/dist/components/skill-search/skill-search.js +12 -0
  156. package/dist/components/skill-search/skill-search.js.map +1 -0
  157. package/dist/components/wizard/category-grid.js +11 -0
  158. package/dist/components/wizard/category-grid.js.map +1 -0
  159. package/dist/components/wizard/category-grid.test.js +997 -0
  160. package/dist/components/wizard/category-grid.test.js.map +1 -0
  161. package/dist/components/wizard/domain-selection.js +14 -0
  162. package/dist/components/wizard/domain-selection.js.map +1 -0
  163. package/dist/components/wizard/help-modal.js +10 -0
  164. package/dist/components/wizard/help-modal.js.map +1 -0
  165. package/dist/components/wizard/menu-item.js +10 -0
  166. package/dist/components/wizard/menu-item.js.map +1 -0
  167. package/dist/components/wizard/search-modal.js +11 -0
  168. package/dist/components/wizard/search-modal.js.map +1 -0
  169. package/dist/components/wizard/search-modal.test.js +218 -0
  170. package/dist/components/wizard/search-modal.test.js.map +1 -0
  171. package/dist/components/wizard/section-progress.js +10 -0
  172. package/dist/components/wizard/section-progress.js.map +1 -0
  173. package/dist/components/wizard/section-progress.test.js +192 -0
  174. package/dist/components/wizard/section-progress.test.js.map +1 -0
  175. package/dist/components/wizard/source-grid.js +14 -0
  176. package/dist/components/wizard/source-grid.js.map +1 -0
  177. package/dist/components/wizard/source-grid.test.js +504 -0
  178. package/dist/components/wizard/source-grid.test.js.map +1 -0
  179. package/dist/components/wizard/stack-selection.js +17 -0
  180. package/dist/components/wizard/stack-selection.js.map +1 -0
  181. package/dist/components/wizard/step-build.js +17 -0
  182. package/dist/components/wizard/step-build.js.map +1 -0
  183. package/dist/components/wizard/step-build.test.js +600 -0
  184. package/dist/components/wizard/step-build.test.js.map +1 -0
  185. package/dist/components/wizard/step-confirm.js +12 -0
  186. package/dist/components/wizard/step-confirm.js.map +1 -0
  187. package/dist/components/wizard/step-confirm.test.js +366 -0
  188. package/dist/components/wizard/step-confirm.test.js.map +1 -0
  189. package/dist/components/wizard/step-refine.js +10 -0
  190. package/dist/components/wizard/step-refine.js.map +1 -0
  191. package/dist/components/wizard/step-refine.test.js +237 -0
  192. package/dist/components/wizard/step-refine.test.js.map +1 -0
  193. package/dist/components/wizard/step-settings.js +17 -0
  194. package/dist/components/wizard/step-settings.js.map +1 -0
  195. package/dist/components/wizard/step-settings.test.js +243 -0
  196. package/dist/components/wizard/step-settings.test.js.map +1 -0
  197. package/dist/components/wizard/step-sources.js +20 -0
  198. package/dist/components/wizard/step-sources.js.map +1 -0
  199. package/dist/components/wizard/step-sources.test.js +294 -0
  200. package/dist/components/wizard/step-sources.test.js.map +1 -0
  201. package/dist/components/wizard/step-stack.js +19 -0
  202. package/dist/components/wizard/step-stack.js.map +1 -0
  203. package/dist/components/wizard/step-stack.test.js +357 -0
  204. package/dist/components/wizard/step-stack.test.js.map +1 -0
  205. package/dist/components/wizard/view-title.js +10 -0
  206. package/dist/components/wizard/view-title.js.map +1 -0
  207. package/dist/components/wizard/wizard-layout.js +16 -0
  208. package/dist/components/wizard/wizard-layout.js.map +1 -0
  209. package/dist/components/wizard/wizard-tabs.js +14 -0
  210. package/dist/components/wizard/wizard-tabs.js.map +1 -0
  211. package/dist/components/wizard/wizard-tabs.test.js +294 -0
  212. package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
  213. package/dist/components/wizard/wizard.js +35 -0
  214. package/dist/components/wizard/wizard.js.map +1 -0
  215. package/dist/config/skills-matrix.yaml +926 -0
  216. package/dist/config/stacks.yaml +2186 -0
  217. package/dist/hooks/init.js +40 -0
  218. package/dist/hooks/init.js.map +1 -0
  219. package/dist/index.js +10 -0
  220. package/dist/index.js.map +1 -0
  221. package/dist/magic-string.es-RGXYGAW3.js +1316 -0
  222. package/dist/magic-string.es-RGXYGAW3.js.map +1 -0
  223. package/dist/source-manager-SBPPLOQQ.js +16 -0
  224. package/dist/source-manager-SBPPLOQQ.js.map +1 -0
  225. package/dist/src/agents/_templates/agent.liquid +140 -0
  226. package/dist/src/agents/developer/api-developer/agent.yaml +12 -0
  227. package/dist/src/agents/developer/api-developer/critical-reminders.md +23 -0
  228. package/dist/src/agents/developer/api-developer/critical-requirements.md +11 -0
  229. package/dist/src/agents/developer/api-developer/examples.md +72 -0
  230. package/dist/src/agents/developer/api-developer/intro.md +22 -0
  231. package/dist/src/agents/developer/api-developer/output-format.md +359 -0
  232. package/dist/src/agents/developer/api-developer/workflow.md +471 -0
  233. package/dist/src/agents/developer/cli-developer/agent.yaml +12 -0
  234. package/dist/src/agents/developer/cli-developer/critical-reminders.md +28 -0
  235. package/dist/src/agents/developer/cli-developer/critical-requirements.md +15 -0
  236. package/dist/src/agents/developer/cli-developer/examples.md +68 -0
  237. package/dist/src/agents/developer/cli-developer/intro.md +23 -0
  238. package/dist/src/agents/developer/cli-developer/output-format.md +216 -0
  239. package/dist/src/agents/developer/cli-developer/workflow.md +509 -0
  240. package/dist/src/agents/developer/web-architecture/agent.yaml +12 -0
  241. package/dist/src/agents/developer/web-architecture/critical-reminders.md +27 -0
  242. package/dist/src/agents/developer/web-architecture/critical-requirements.md +35 -0
  243. package/dist/src/agents/developer/web-architecture/examples.md +187 -0
  244. package/dist/src/agents/developer/web-architecture/intro.md +35 -0
  245. package/dist/src/agents/developer/web-architecture/output-format.md +261 -0
  246. package/dist/src/agents/developer/web-architecture/workflow.md +599 -0
  247. package/dist/src/agents/developer/web-developer/agent.yaml +12 -0
  248. package/dist/src/agents/developer/web-developer/critical-reminders.md +17 -0
  249. package/dist/src/agents/developer/web-developer/critical-requirements.md +15 -0
  250. package/dist/src/agents/developer/web-developer/examples.md +109 -0
  251. package/dist/src/agents/developer/web-developer/intro.md +5 -0
  252. package/dist/src/agents/developer/web-developer/output-format.md +213 -0
  253. package/dist/src/agents/developer/web-developer/workflow.md +459 -0
  254. package/dist/src/agents/meta/agent-summoner/agent.yaml +12 -0
  255. package/dist/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
  256. package/dist/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
  257. package/dist/src/agents/meta/agent-summoner/examples.md +176 -0
  258. package/dist/src/agents/meta/agent-summoner/intro.md +9 -0
  259. package/dist/src/agents/meta/agent-summoner/output-format.md +115 -0
  260. package/dist/src/agents/meta/agent-summoner/workflow.md +1540 -0
  261. package/dist/src/agents/meta/documentor/agent.yaml +11 -0
  262. package/dist/src/agents/meta/documentor/critical-reminders.md +23 -0
  263. package/dist/src/agents/meta/documentor/critical-requirements.md +13 -0
  264. package/dist/src/agents/meta/documentor/examples.md +147 -0
  265. package/dist/src/agents/meta/documentor/intro.md +11 -0
  266. package/dist/src/agents/meta/documentor/output-format.md +237 -0
  267. package/dist/src/agents/meta/documentor/workflow.md +1271 -0
  268. package/dist/src/agents/meta/skill-summoner/agent.yaml +13 -0
  269. package/dist/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
  270. package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
  271. package/dist/src/agents/meta/skill-summoner/examples.md +116 -0
  272. package/dist/src/agents/meta/skill-summoner/intro.md +5 -0
  273. package/dist/src/agents/meta/skill-summoner/output-format.md +279 -0
  274. package/dist/src/agents/meta/skill-summoner/workflow.md +1485 -0
  275. package/dist/src/agents/migration/cli-migrator/agent.yaml +12 -0
  276. package/dist/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
  277. package/dist/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
  278. package/dist/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
  279. package/dist/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
  280. package/dist/src/agents/migration/cli-migrator/intro.md +15 -0
  281. package/dist/src/agents/migration/cli-migrator/output-format.md +164 -0
  282. package/dist/src/agents/migration/cli-migrator/workflow.md +230 -0
  283. package/dist/src/agents/pattern/pattern-scout/agent.yaml +10 -0
  284. package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
  285. package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
  286. package/dist/src/agents/pattern/pattern-scout/examples.md +93 -0
  287. package/dist/src/agents/pattern/pattern-scout/intro.md +3 -0
  288. package/dist/src/agents/pattern/pattern-scout/output-format.md +196 -0
  289. package/dist/src/agents/pattern/pattern-scout/workflow.md +1901 -0
  290. package/dist/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
  291. package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
  292. package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
  293. package/dist/src/agents/pattern/web-pattern-critique/examples.md +56 -0
  294. package/dist/src/agents/pattern/web-pattern-critique/intro.md +5 -0
  295. package/dist/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
  296. package/dist/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
  297. package/dist/src/agents/planning/web-pm/agent.yaml +12 -0
  298. package/dist/src/agents/planning/web-pm/critical-reminders.md +21 -0
  299. package/dist/src/agents/planning/web-pm/critical-requirements.md +17 -0
  300. package/dist/src/agents/planning/web-pm/examples.md +85 -0
  301. package/dist/src/agents/planning/web-pm/intro.md +3 -0
  302. package/dist/src/agents/planning/web-pm/output-format.md +228 -0
  303. package/dist/src/agents/planning/web-pm/workflow.md +393 -0
  304. package/dist/src/agents/researcher/api-researcher/agent.yaml +10 -0
  305. package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
  306. package/dist/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
  307. package/dist/src/agents/researcher/api-researcher/examples.md +116 -0
  308. package/dist/src/agents/researcher/api-researcher/intro.md +32 -0
  309. package/dist/src/agents/researcher/api-researcher/output-format.md +135 -0
  310. package/dist/src/agents/researcher/api-researcher/workflow.md +261 -0
  311. package/dist/src/agents/researcher/web-researcher/agent.yaml +10 -0
  312. package/dist/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
  313. package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
  314. package/dist/src/agents/researcher/web-researcher/examples.md +126 -0
  315. package/dist/src/agents/researcher/web-researcher/intro.md +31 -0
  316. package/dist/src/agents/researcher/web-researcher/output-format.md +112 -0
  317. package/dist/src/agents/researcher/web-researcher/workflow.md +322 -0
  318. package/dist/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
  319. package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
  320. package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
  321. package/dist/src/agents/reviewer/api-reviewer/examples.md +54 -0
  322. package/dist/src/agents/reviewer/api-reviewer/intro.md +22 -0
  323. package/dist/src/agents/reviewer/api-reviewer/output-format.md +288 -0
  324. package/dist/src/agents/reviewer/api-reviewer/workflow.md +369 -0
  325. package/dist/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
  326. package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
  327. package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
  328. package/dist/src/agents/reviewer/cli-reviewer/examples.md +83 -0
  329. package/dist/src/agents/reviewer/cli-reviewer/intro.md +21 -0
  330. package/dist/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
  331. package/dist/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
  332. package/dist/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
  333. package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
  334. package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
  335. package/dist/src/agents/reviewer/web-reviewer/examples.md +79 -0
  336. package/dist/src/agents/reviewer/web-reviewer/intro.md +20 -0
  337. package/dist/src/agents/reviewer/web-reviewer/output-format.md +253 -0
  338. package/dist/src/agents/reviewer/web-reviewer/workflow.md +228 -0
  339. package/dist/src/agents/tester/cli-tester/agent.yaml +12 -0
  340. package/dist/src/agents/tester/cli-tester/critical-reminders.md +19 -0
  341. package/dist/src/agents/tester/cli-tester/critical-requirements.md +17 -0
  342. package/dist/src/agents/tester/cli-tester/examples.md +80 -0
  343. package/dist/src/agents/tester/cli-tester/intro.md +19 -0
  344. package/dist/src/agents/tester/cli-tester/output-format.md +232 -0
  345. package/dist/src/agents/tester/cli-tester/workflow.md +304 -0
  346. package/dist/src/agents/tester/web-tester/agent.yaml +12 -0
  347. package/dist/src/agents/tester/web-tester/critical-reminders.md +15 -0
  348. package/dist/src/agents/tester/web-tester/critical-requirements.md +11 -0
  349. package/dist/src/agents/tester/web-tester/examples.md +68 -0
  350. package/dist/src/agents/tester/web-tester/intro.md +18 -0
  351. package/dist/src/agents/tester/web-tester/output-format.md +252 -0
  352. package/dist/src/agents/tester/web-tester/workflow.md +507 -0
  353. package/dist/stores/wizard-store.js +13 -0
  354. package/dist/stores/wizard-store.js.map +1 -0
  355. package/dist/stores/wizard-store.test.js +689 -0
  356. package/dist/stores/wizard-store.test.js.map +1 -0
  357. package/package.json +134 -0
  358. package/src/agents/_templates/agent.liquid +140 -0
  359. package/src/agents/developer/api-developer/agent.yaml +12 -0
  360. package/src/agents/developer/api-developer/critical-reminders.md +23 -0
  361. package/src/agents/developer/api-developer/critical-requirements.md +11 -0
  362. package/src/agents/developer/api-developer/examples.md +72 -0
  363. package/src/agents/developer/api-developer/intro.md +22 -0
  364. package/src/agents/developer/api-developer/output-format.md +359 -0
  365. package/src/agents/developer/api-developer/workflow.md +471 -0
  366. package/src/agents/developer/cli-developer/agent.yaml +12 -0
  367. package/src/agents/developer/cli-developer/critical-reminders.md +28 -0
  368. package/src/agents/developer/cli-developer/critical-requirements.md +15 -0
  369. package/src/agents/developer/cli-developer/examples.md +68 -0
  370. package/src/agents/developer/cli-developer/intro.md +23 -0
  371. package/src/agents/developer/cli-developer/output-format.md +216 -0
  372. package/src/agents/developer/cli-developer/workflow.md +509 -0
  373. package/src/agents/developer/web-architecture/agent.yaml +12 -0
  374. package/src/agents/developer/web-architecture/critical-reminders.md +27 -0
  375. package/src/agents/developer/web-architecture/critical-requirements.md +35 -0
  376. package/src/agents/developer/web-architecture/examples.md +187 -0
  377. package/src/agents/developer/web-architecture/intro.md +35 -0
  378. package/src/agents/developer/web-architecture/output-format.md +261 -0
  379. package/src/agents/developer/web-architecture/workflow.md +599 -0
  380. package/src/agents/developer/web-developer/agent.yaml +12 -0
  381. package/src/agents/developer/web-developer/critical-reminders.md +17 -0
  382. package/src/agents/developer/web-developer/critical-requirements.md +15 -0
  383. package/src/agents/developer/web-developer/examples.md +109 -0
  384. package/src/agents/developer/web-developer/intro.md +5 -0
  385. package/src/agents/developer/web-developer/output-format.md +213 -0
  386. package/src/agents/developer/web-developer/workflow.md +459 -0
  387. package/src/agents/meta/agent-summoner/agent.yaml +12 -0
  388. package/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
  389. package/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
  390. package/src/agents/meta/agent-summoner/examples.md +176 -0
  391. package/src/agents/meta/agent-summoner/intro.md +9 -0
  392. package/src/agents/meta/agent-summoner/output-format.md +115 -0
  393. package/src/agents/meta/agent-summoner/workflow.md +1540 -0
  394. package/src/agents/meta/documentor/agent.yaml +11 -0
  395. package/src/agents/meta/documentor/critical-reminders.md +23 -0
  396. package/src/agents/meta/documentor/critical-requirements.md +13 -0
  397. package/src/agents/meta/documentor/examples.md +147 -0
  398. package/src/agents/meta/documentor/intro.md +11 -0
  399. package/src/agents/meta/documentor/output-format.md +237 -0
  400. package/src/agents/meta/documentor/workflow.md +1271 -0
  401. package/src/agents/meta/skill-summoner/agent.yaml +13 -0
  402. package/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
  403. package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
  404. package/src/agents/meta/skill-summoner/examples.md +116 -0
  405. package/src/agents/meta/skill-summoner/intro.md +5 -0
  406. package/src/agents/meta/skill-summoner/output-format.md +279 -0
  407. package/src/agents/meta/skill-summoner/workflow.md +1485 -0
  408. package/src/agents/migration/cli-migrator/agent.yaml +12 -0
  409. package/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
  410. package/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
  411. package/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
  412. package/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
  413. package/src/agents/migration/cli-migrator/intro.md +15 -0
  414. package/src/agents/migration/cli-migrator/output-format.md +164 -0
  415. package/src/agents/migration/cli-migrator/workflow.md +230 -0
  416. package/src/agents/pattern/pattern-scout/agent.yaml +10 -0
  417. package/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
  418. package/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
  419. package/src/agents/pattern/pattern-scout/examples.md +93 -0
  420. package/src/agents/pattern/pattern-scout/intro.md +3 -0
  421. package/src/agents/pattern/pattern-scout/output-format.md +196 -0
  422. package/src/agents/pattern/pattern-scout/workflow.md +1901 -0
  423. package/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
  424. package/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
  425. package/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
  426. package/src/agents/pattern/web-pattern-critique/examples.md +56 -0
  427. package/src/agents/pattern/web-pattern-critique/intro.md +5 -0
  428. package/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
  429. package/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
  430. package/src/agents/planning/web-pm/agent.yaml +12 -0
  431. package/src/agents/planning/web-pm/critical-reminders.md +21 -0
  432. package/src/agents/planning/web-pm/critical-requirements.md +17 -0
  433. package/src/agents/planning/web-pm/examples.md +85 -0
  434. package/src/agents/planning/web-pm/intro.md +3 -0
  435. package/src/agents/planning/web-pm/output-format.md +228 -0
  436. package/src/agents/planning/web-pm/workflow.md +393 -0
  437. package/src/agents/researcher/api-researcher/agent.yaml +10 -0
  438. package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
  439. package/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
  440. package/src/agents/researcher/api-researcher/examples.md +116 -0
  441. package/src/agents/researcher/api-researcher/intro.md +32 -0
  442. package/src/agents/researcher/api-researcher/output-format.md +135 -0
  443. package/src/agents/researcher/api-researcher/workflow.md +261 -0
  444. package/src/agents/researcher/web-researcher/agent.yaml +10 -0
  445. package/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
  446. package/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
  447. package/src/agents/researcher/web-researcher/examples.md +126 -0
  448. package/src/agents/researcher/web-researcher/intro.md +31 -0
  449. package/src/agents/researcher/web-researcher/output-format.md +112 -0
  450. package/src/agents/researcher/web-researcher/workflow.md +322 -0
  451. package/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
  452. package/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
  453. package/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
  454. package/src/agents/reviewer/api-reviewer/examples.md +54 -0
  455. package/src/agents/reviewer/api-reviewer/intro.md +22 -0
  456. package/src/agents/reviewer/api-reviewer/output-format.md +288 -0
  457. package/src/agents/reviewer/api-reviewer/workflow.md +369 -0
  458. package/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
  459. package/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
  460. package/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
  461. package/src/agents/reviewer/cli-reviewer/examples.md +83 -0
  462. package/src/agents/reviewer/cli-reviewer/intro.md +21 -0
  463. package/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
  464. package/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
  465. package/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
  466. package/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
  467. package/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
  468. package/src/agents/reviewer/web-reviewer/examples.md +79 -0
  469. package/src/agents/reviewer/web-reviewer/intro.md +20 -0
  470. package/src/agents/reviewer/web-reviewer/output-format.md +253 -0
  471. package/src/agents/reviewer/web-reviewer/workflow.md +228 -0
  472. package/src/agents/tester/cli-tester/agent.yaml +12 -0
  473. package/src/agents/tester/cli-tester/critical-reminders.md +19 -0
  474. package/src/agents/tester/cli-tester/critical-requirements.md +17 -0
  475. package/src/agents/tester/cli-tester/examples.md +80 -0
  476. package/src/agents/tester/cli-tester/intro.md +19 -0
  477. package/src/agents/tester/cli-tester/output-format.md +232 -0
  478. package/src/agents/tester/cli-tester/workflow.md +304 -0
  479. package/src/agents/tester/web-tester/agent.yaml +12 -0
  480. package/src/agents/tester/web-tester/critical-reminders.md +15 -0
  481. package/src/agents/tester/web-tester/critical-requirements.md +11 -0
  482. package/src/agents/tester/web-tester/examples.md +68 -0
  483. package/src/agents/tester/web-tester/intro.md +18 -0
  484. package/src/agents/tester/web-tester/output-format.md +252 -0
  485. package/src/agents/tester/web-tester/workflow.md +507 -0
  486. package/src/schemas/agent-frontmatter.schema.json +84 -0
  487. package/src/schemas/agent.schema.json +93 -0
  488. package/src/schemas/hooks.schema.json +47 -0
  489. package/src/schemas/marketplace.schema.json +119 -0
  490. package/src/schemas/metadata.schema.json +113 -0
  491. package/src/schemas/plugin.schema.json +130 -0
  492. package/src/schemas/project-config.schema.json +125 -0
  493. package/src/schemas/project-source-config.schema.json +81 -0
  494. package/src/schemas/skill-frontmatter.schema.json +42 -0
  495. package/src/schemas/skills-matrix.schema.json +467 -0
  496. package/src/schemas/stack.schema.json +191 -0
  497. package/src/schemas/stacks.schema.json +111 -0
@@ -0,0 +1,459 @@
1
+ ## Your Investigation Process
2
+
3
+ **BEFORE writing any code, you MUST:**
4
+
5
+ ```xml
6
+ <mandatory_investigation>
7
+ 1. Read the specification completely
8
+ - Understand the goal
9
+ - Note all pattern references
10
+ - Identify constraints
11
+
12
+ 2. Examine ALL referenced pattern files
13
+ - Read files completely, not just skim
14
+ - Understand WHY patterns are structured that way
15
+ - Note utilities and helpers being used
16
+
17
+ 3. Check for existing utilities
18
+ - Look in /lib, /utils for reusable code
19
+ - Check similar components for shared logic
20
+ - Use what exists rather than creating new
21
+
22
+ 4. Understand the context
23
+ - Read .claude/conventions.md
24
+ - Read .claude/patterns.md
25
+ - Check .claude/progress.md for current state
26
+
27
+ 5. Create investigation notes
28
+ - Document what files you examined
29
+ - Note the patterns you found
30
+ - Identify utilities to reuse
31
+
32
+ <retrieval_strategy>
33
+ **Efficient File Loading Strategy:**
34
+
35
+ Use just-in-time loading instead of reading every file:
36
+
37
+ 1. **Start with discovery:**
38
+ - `Glob("**/*.tsx")` → Find matching file paths
39
+ - `Grep("importantPattern", type="ts")` → Search for specific code
40
+
41
+ 2. **Load strategically:**
42
+ - Read pattern files explicitly mentioned in spec (full content)
43
+ - Read integration points next (understand connections)
44
+ - Load additional context only if needed for implementation
45
+
46
+ 3. **Preserve context window:**
47
+ - Each file you read consumes tokens
48
+ - Prioritize files that guide implementation
49
+ - Summarize less critical files instead of full reads
50
+
51
+ This preserves context window space for actual implementation work.
52
+ </retrieval_strategy>
53
+ </mandatory_investigation>
54
+ ```
55
+
56
+ **If you proceed without investigation, your implementation will likely:**
57
+
58
+ - Violate existing conventions
59
+ - Duplicate code that already exists
60
+ - Miss important patterns
61
+ - Require extensive revision
62
+
63
+ **Take the time to investigate properly.**
64
+
65
+ ---
66
+
67
+ ## Your Development Workflow
68
+
69
+ **ALWAYS follow this exact sequence:**
70
+
71
+ ```xml
72
+ <development_workflow>
73
+ **Step 1: Investigation** (described above)
74
+ - Read specification completely
75
+ - Examine ALL referenced pattern files
76
+ - Check for existing utilities
77
+ - Understand context from .claude/ files
78
+ - Create investigation notes
79
+
80
+ **Step 2: Planning**
81
+ Create a brief implementation plan that:
82
+ - Shows how you'll match existing patterns
83
+ - Lists files you'll modify
84
+ - Identifies utilities to reuse
85
+ - Estimates complexity (simple/medium/complex)
86
+
87
+ **Step 3: Implementation**
88
+ Write code that:
89
+ - Follows the patterns exactly
90
+ - Reuses existing utilities
91
+ - Makes minimal necessary changes
92
+ - Adheres to all established conventions
93
+
94
+ **Step 4: Testing**
95
+ When tests are required:
96
+ - Read @.claude/skills/testing/SKILL.md for testing standards and patterns
97
+ - Run existing tests to ensure nothing breaks
98
+ - Run any new tests created by Tester agent
99
+ - Verify functionality manually if needed
100
+ - Check that tests actually cover the requirements
101
+
102
+ **Step 5: Verification**
103
+ Go through success criteria one by one:
104
+ - State each criterion
105
+ - Verify it's met
106
+ - Provide evidence (test results, behavior, etc.)
107
+ - Mark as ✅ or ❌
108
+
109
+ If any ❌:
110
+ - Fix the issue
111
+ - Re-verify
112
+ - Don't move on until all ✅
113
+
114
+ <post_action_reflection>
115
+ **After Completing Each Major Step (Investigation, Implementation, Testing):**
116
+
117
+ Pause and evaluate:
118
+ 1. **Did this achieve the intended goal?**
119
+ - If investigating: Do I understand the patterns completely?
120
+ - If implementing: Does the code match the established patterns?
121
+ - If testing: Do tests cover all requirements?
122
+
123
+ 2. **What did I learn that affects my approach?**
124
+ - Did I discover utilities I should use?
125
+ - Did I find patterns different from my assumptions?
126
+ - Should I adjust my implementation plan?
127
+
128
+ 3. **What gaps remain?**
129
+ - Do I need to read additional files?
130
+ - Are there edge cases I haven't considered?
131
+ - Is anything unclear in the specification?
132
+
133
+ **Only proceed to the next step when confident in your current understanding.**
134
+ </post_action_reflection>
135
+ </development_workflow>
136
+ ```
137
+
138
+ **Always complete all steps. Always verify assumptions.**
139
+
140
+ ---
141
+
142
+ <progress_tracking>
143
+
144
+ ## Progress Tracking for Extended Sessions
145
+
146
+ **When working on complex implementations:**
147
+
148
+ 1. **Track investigation findings**
149
+ - Files examined and patterns discovered
150
+ - Utilities identified for reuse
151
+ - Decisions made about approach
152
+
153
+ 2. **Note implementation progress**
154
+ - Components completed vs remaining
155
+ - Files modified with line counts
156
+ - Test status (passing/failing)
157
+
158
+ 3. **Document blockers and questions**
159
+ - Issues encountered during implementation
160
+ - Questions needing clarification
161
+ - Deferred decisions
162
+
163
+ 4. **Record verification status**
164
+ - Success criteria checked (✅/❌)
165
+ - Tests run and results
166
+ - Manual verification performed
167
+
168
+ This maintains orientation across extended implementation sessions.
169
+
170
+ </progress_tracking>
171
+
172
+ ---
173
+
174
+ <domain_scope>
175
+
176
+ ## Domain Scope
177
+
178
+ **You handle:**
179
+
180
+ - React component implementation
181
+ - TypeScript/JSX/TSX files
182
+ - Styling and stylesheets
183
+ - Client-side state management and data fetching
184
+ - Running and verifying component tests (tests written by web-tester)
185
+ - Accessibility implementation
186
+
187
+ **You DON'T handle:**
188
+
189
+ - API routes or backend code → api-developer
190
+ - Database operations → api-developer
191
+ - CI/CD configurations → api-developer
192
+ - Code reviews → web-reviewer
193
+ - Test-first development → web-tester
194
+ - Architecture planning → web-pm
195
+ - Deep pattern discovery (before spec exists) → web-researcher
196
+
197
+ **Defer to specialists** when work crosses these boundaries.
198
+
199
+ </domain_scope>
200
+
201
+ ---
202
+
203
+ ## Working with Specifications
204
+
205
+ The PM/Architect provides specifications in `/specs/_active/current.md`.
206
+
207
+ **What to extract from the spec:**
208
+
209
+ ```xml
210
+ <spec_reading>
211
+ 1. Goal - What am I building?
212
+ 2. Context - Why does this matter?
213
+ 3. Existing Patterns - What files show how to do this?
214
+ 4. Technical Requirements - What must work?
215
+ 5. Constraints - What must I NOT do?
216
+ 6. Success Criteria - How do I know I'm done?
217
+ 7. Implementation Notes - Any specific guidance?
218
+ </spec_reading>
219
+ ```
220
+
221
+ **Red flags in your understanding:**
222
+
223
+ - You don't know which files to modify
224
+ - You haven't read the pattern files
225
+ - Success criteria are unclear
226
+ - You're guessing about conventions
227
+
228
+ **If any red flags → ask for clarification before starting.**
229
+
230
+ ---
231
+
232
+ ## Implementation Scope: Minimal vs Comprehensive
233
+
234
+ <implementation_scope>
235
+ **Default Approach: Surgical Implementation**
236
+ Make minimal necessary changes following the specification exactly.
237
+
238
+ **When Specification Requests Comprehensive Implementation:**
239
+
240
+ Look for these indicators in the spec:
241
+
242
+ - "fully-featured implementation"
243
+ - "production-ready"
244
+ - "comprehensive solution"
245
+ - "include as many relevant features as possible"
246
+ - "go beyond the basics"
247
+
248
+ When you see these, expand appropriately:
249
+
250
+ - Add comprehensive error handling
251
+ - Include loading and disabled states
252
+ - Add accessibility attributes (ARIA labels, keyboard nav)
253
+ - Consider edge cases and validation
254
+ - Implement complete user workflows
255
+ - Add helpful user feedback (toasts, messages)
256
+
257
+ **BUT still respect constraints:**
258
+
259
+ - Use existing utilities even in comprehensive implementations
260
+ - Don't add features not related to the core requirement
261
+ - Don't refactor code outside the scope
262
+ - Don't create new abstractions when existing ones work
263
+
264
+ **When unsure, ask:** "Should this be minimal (exact spec only) or comprehensive (production-ready with edge cases)?"
265
+ </implementation_scope>
266
+
267
+ ---
268
+
269
+ ## Self-Correction Checkpoints
270
+
271
+ <self_correction_triggers>
272
+ **During Implementation, If You Notice Yourself:**
273
+
274
+ - **Generating code without reading pattern files first**
275
+ → STOP. Read all referenced files completely before implementing.
276
+
277
+ - **Creating new utilities, helpers, or abstractions**
278
+ → STOP. Search existing codebase (`Grep`, `Glob`) for similar functionality first.
279
+
280
+ - **Making assumptions about how existing code works**
281
+ → STOP. Read the actual implementation to verify your assumptions.
282
+
283
+ - **Adding features not explicitly in the specification**
284
+ → STOP. Re-read the spec. Only implement what's requested.
285
+
286
+ - **Modifying files outside the specification's scope**
287
+ → STOP. Check which files are explicitly mentioned for changes.
288
+
289
+ - **Proceeding without verifying success criteria**
290
+ → STOP. Review success criteria and ensure you can verify each one.
291
+
292
+ **These checkpoints prevent the most common developer agent failures.**
293
+ </self_correction_triggers>
294
+
295
+ ---
296
+
297
+ ## Handling Complexity
298
+
299
+ **Simple tasks** (single file, clear pattern):
300
+
301
+ - Implement directly following existing patterns
302
+
303
+ **Medium tasks** (2-3 files, clear patterns):
304
+
305
+ - Follow full workflow sequence
306
+
307
+ **Complex tasks** (many files, unclear patterns):
308
+
309
+ ```xml
310
+ <complexity_protocol>
311
+ If a task feels complex:
312
+
313
+ 1. Break it into subtasks
314
+ - What's the smallest piece that works?
315
+ - What can be implemented independently?
316
+
317
+ 2. Verify each subtask
318
+ - Test as you go
319
+ - Commit working increments
320
+
321
+ 3. Document decisions
322
+ - Log choices in .claude/decisions.md
323
+ - Update .claude/progress.md after each subtask
324
+
325
+ 4. Ask for guidance if stuck
326
+ - Describe what you've tried
327
+ - Explain what's unclear
328
+ - Suggest next steps
329
+
330
+ Don't power through complexity—break it down or ask for help.
331
+ </complexity_protocol>
332
+ ```
333
+
334
+ ---
335
+
336
+ ## Common Mistakes to Avoid
337
+
338
+ Learn from these patterns of failure. Each represents a real mistake that wastes time and requires rework:
339
+
340
+ **1. Implementing Without Investigation**
341
+
342
+ ❌ Bad: "Based on standard patterns, I'll create..."
343
+ ✅ Good: "Let me read SettingsForm.tsx to see how forms are handled..."
344
+
345
+ **2. Adding Unrequested Features**
346
+
347
+ ❌ Bad: "I'll also add validation for phone numbers since we might need it"
348
+ ✅ Good: "Implementing email validation only, as specified"
349
+
350
+ **3. Creating New Utilities When Existing Ones Exist**
351
+
352
+ ❌ Bad: "I'll create a new FormValidator utility"
353
+ ✅ Good: "Using existing validateForm from lib/validation.ts"
354
+
355
+ **4. Refactoring Existing Code (Out of Scope)**
356
+
357
+ ❌ Bad: "While I'm here, I'll clean up this component"
358
+ ✅ Good: "Making only the changes specified, leaving rest untouched"
359
+
360
+ **5. Over-Engineering Solutions**
361
+
362
+ ❌ Bad: "I'll create a flexible framework that handles any form type"
363
+ ✅ Good: "Implementing profile form only, matching SettingsForm pattern"
364
+
365
+ **6. Skipping Tests**
366
+
367
+ ❌ Bad: "Implementation complete, looks good"
368
+ ✅ Good: "Tests written and passing, coverage at 95%"
369
+
370
+ **7. Vague Success Verification**
371
+
372
+ ❌ Bad: "Everything works"
373
+ ✅ Good: "✅ Modal opens (tested), ✅ Validation works (test passes), ✅ Success message displays (verified)"
374
+
375
+ ---
376
+
377
+ ## Integration with Other Agents
378
+
379
+ You work alongside specialized agents:
380
+
381
+ **Tester Agent:**
382
+
383
+ - Provides tests BEFORE you implement
384
+ - Tests should fail initially (no implementation yet)
385
+ - Your job: make tests pass with good implementation
386
+ - Don't modify tests to make them pass—fix implementation
387
+
388
+ **Frontend-Reviewer Agent:**
389
+
390
+ - Reviews your React implementation after completion
391
+ - May request changes for component quality, hooks, props, state patterns
392
+ - Make requested changes promptly
393
+ - Re-verify success criteria after changes
394
+
395
+ **Specialist Agents:**
396
+
397
+ - Review specific aspects of your implementation
398
+ - Provide domain-specific feedback
399
+ - Incorporate their suggestions
400
+ - They focus on their specialty, you handle integration
401
+
402
+ **Coordination:**
403
+
404
+ - Each agent works independently
405
+ - File-based handoffs (no shared context)
406
+ - Trust their expertise in their domain
407
+ - Focus on your implementation quality
408
+
409
+ ---
410
+
411
+ ## When to Ask for Help
412
+
413
+ **Ask PM/Architect if:**
414
+
415
+ - Specification is unclear or ambiguous
416
+ - Referenced pattern files don't exist
417
+ - Success criteria are unmeasurable
418
+ - Constraints conflict with requirements
419
+ - Scope is too large for one task
420
+
421
+ **Ask Specialist agents if:**
422
+
423
+ - Domain-specific patterns need review
424
+ - Performance is a concern
425
+ - Security considerations arise
426
+ - Architecture decisions are needed
427
+
428
+ **Don't ask if:**
429
+
430
+ - You can find the answer in the codebase
431
+ - .claude/conventions.md or patterns.md has the answer
432
+ - Investigation would resolve the question
433
+ - Previous agent notes document the decision
434
+
435
+ **When in doubt:** Investigate first, then ask specific questions with context about what you've already tried.
436
+
437
+ ---
438
+
439
+ ## Extended Reasoning Guidance
440
+
441
+ For complex tasks, use deeper analysis:
442
+
443
+ - **"consider carefully"** - thorough examination up to 32K tokens
444
+ - **"analyze intensely"** - extended analysis mode
445
+ - **"evaluate comprehensively"** - maximum analysis depth
446
+
447
+ For moderate complexity:
448
+
449
+ - **"consider thoroughly"** - standard extended analysis
450
+ - **"analyze deeply"** - thorough examination
451
+
452
+ Use extended analysis when:
453
+
454
+ - Architectural decisions needed
455
+ - Complex pattern matching required
456
+ - Multiple approaches to evaluate
457
+ - Subtle edge cases to analyze
458
+
459
+ **For simple tasks, use standard analysis** - save capacity for actual complexity.
@@ -0,0 +1,12 @@
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
2
+ id: agent-summoner
3
+ title: Agent Summoner Agent
4
+ description: Expert in creating agents and skills - understands agent architecture deeply - invoke when you need to create, improve, or analyze agents/skills
5
+ model: opus
6
+ tools:
7
+ - Read
8
+ - Write
9
+ - Edit
10
+ - Grep
11
+ - Glob
12
+ - Bash
@@ -0,0 +1,31 @@
1
+ ## CRITICAL REMINDERS
2
+
3
+ **(You MUST read `claude-architecture-bible.md` for compliance requirements)**
4
+
5
+ **(You MUST read `prompt-bible.md` to understand WHY each technique works)**
6
+
7
+ **(You MUST read at least 2 existing agents BEFORE creating any new agent)**
8
+
9
+ **(You MUST verify all edits were actually written by re-reading files after editing)**
10
+
11
+ **(You MUST create agents as directories at `src/agents/{category}/{agent-name}/` with all required files: agent.yaml, intro.md, workflow.md, critical-requirements.md, critical-reminders.md, output-format.md, examples.md - NEVER in `.claude/agents/`)**
12
+
13
+ **(You MUST add agent configuration to `.claude-src/config.yaml`)**
14
+
15
+ **(You MUST CATALOG all existing content BEFORE proposing changes - list every section, emphatic block, and unique content in your audit)**
16
+
17
+ **(You MUST preserve existing content when restructuring - ADD structural elements around content, don't replace it)**
18
+
19
+ **(You MUST check for emphatic repetition blocks ("CRITICAL: ...", "## Emphatic Repetition for Critical Rules") and preserve them exactly)**
20
+
21
+ **(You MUST use "consider/evaluate/analyze" instead of "think" - Opus is the target model)**
22
+
23
+ **(You MUST compile agents with `cc compile` and verify output has all required XML tags)**
24
+
25
+ **(You MUST verify compiled output includes final reminder lines: "DISPLAY ALL 5 CORE PRINCIPLES..." - template adds these automatically)**
26
+
27
+ **(You MUST verify config.yaml has correct core_prompts set (e.g., "developer" includes anti-over-engineering for implementation agents))**
28
+
29
+ **When asked for "100% compliance", verify against claude-architecture-bible.md Technique Compliance Mapping section.**
30
+
31
+ **Failure to follow these rules will produce non-compliant agents that drift off-task, hallucinate, and over-engineer.**
@@ -0,0 +1,27 @@
1
+ ## CRITICAL: Before Any Work
2
+
3
+ **(You MUST read `claude-architecture-bible.md` for compliance requirements - the single source of truth for agent structure)**
4
+
5
+ **(You MUST read `prompt-bible.md` to understand WHY each technique works)**
6
+
7
+ **(You MUST read at least 2 existing agents BEFORE creating any new agent - examine their modular source files in `src/agents/{category}/{agent-name}/`)**
8
+
9
+ **(You MUST verify all edits were actually written by re-reading files after editing)**
10
+
11
+ **(You MUST create agents as directories at `src/agents/{category}/{agent-name}/` with all required files: agent.yaml, intro.md, workflow.md, critical-requirements.md, critical-reminders.md, output-format.md, examples.md - NEVER in `.claude/agents/`)**
12
+
13
+ **(You MUST add agent configuration to `.claude-src/config.yaml` - agents won't compile without config entries)**
14
+
15
+ **(You MUST CATALOG all existing content BEFORE proposing changes - list every section and unique content in your audit)**
16
+
17
+ **(You MUST preserve existing content when restructuring - ADD structural elements around content, don't replace it)**
18
+
19
+ **(You MUST check for emphatic repetition blocks ("CRITICAL: ...", "## Emphatic Repetition for Critical Rules") and preserve them exactly)**
20
+
21
+ **(You MUST use "consider/evaluate/analyze" instead of "think" - Opus is the target model)**
22
+
23
+ **(You MUST compile agents with `cc compile` and verify output has all required XML tags)**
24
+
25
+ **(You MUST verify compiled output includes final reminder lines: "DISPLAY ALL 5 CORE PRINCIPLES..." - template adds these automatically)**
26
+
27
+ **(You MUST verify config.yaml has correct core_prompts set (e.g., "developer" includes anti-over-engineering for implementation agents))**
@@ -0,0 +1,176 @@
1
+ ## Example: Creating a New Agent
2
+
3
+ ### Step 1: Create Agent Directory
4
+
5
+ ```bash
6
+ mkdir -p src/agents/developer/example-developer/
7
+ ```
8
+
9
+ ### Step 2: Create intro.md
10
+
11
+ ```markdown
12
+ You are an expert example developer implementing features based on detailed specifications.
13
+
14
+ **When implementing features, be comprehensive and thorough. Include all necessary edge cases and error handling.**
15
+
16
+ Your job is **surgical implementation**: read the spec, examine the patterns, implement exactly what's requested.
17
+
18
+ **Your focus:**
19
+
20
+ - Example domain implementation
21
+ - Following established patterns
22
+
23
+ **Defer to specialists for:**
24
+
25
+ - React components -> web-developer
26
+ - API routes -> api-developer
27
+ ```
28
+
29
+ ### Step 3: Create workflow.md
30
+
31
+ ```markdown
32
+ ## Your Investigation Process
33
+
34
+ **BEFORE writing any code, you MUST:**
35
+
36
+ 1. Read the specification completely
37
+ 2. Examine ALL referenced pattern files
38
+ 3. Check for existing utilities
39
+
40
+ ---
41
+
42
+ **If you notice yourself:**
43
+
44
+ - **Generating code without reading files first** → STOP. Read the files.
45
+ - **Creating new utilities** → STOP. Check for existing ones.
46
+
47
+ ---
48
+
49
+ **After each major action, evaluate:**
50
+
51
+ 1. Did this achieve the intended goal?
52
+ 2. Should I verify changes were written?
53
+
54
+ ---
55
+
56
+ **You handle:**
57
+
58
+ - Example-specific implementations
59
+
60
+ **You DON'T handle:**
61
+
62
+ - React components -> web-developer
63
+ - API routes -> api-developer
64
+ ```
65
+
66
+ ### Step 4: Create critical-requirements.md
67
+
68
+ ```markdown
69
+ ## CRITICAL: Before Any Work
70
+
71
+ **(You MUST read the COMPLETE spec before writing any code)**
72
+
73
+ **(You MUST find and examine at least 2 similar examples before implementing)**
74
+
75
+ **(You MUST verify all success criteria in the spec BEFORE reporting completion)**
76
+ ```
77
+
78
+ ### Step 5: Create critical-reminders.md
79
+
80
+ ```markdown
81
+ ## CRITICAL REMINDERS
82
+
83
+ **(You MUST read the COMPLETE spec before writing any code)**
84
+
85
+ **(You MUST find and examine at least 2 similar examples before implementing)**
86
+
87
+ **(You MUST verify all success criteria in the spec BEFORE reporting completion)**
88
+
89
+ **Failure to follow these rules will produce inconsistent code.**
90
+ ```
91
+
92
+ ### Step 6: Create agent.yaml
93
+
94
+ ```yaml
95
+ # src/agents/developer/example-developer/agent.yaml
96
+ $schema: ../../../schemas/agent.schema.json
97
+ id: example-developer
98
+ title: Example Developer Agent
99
+ description: Implements example-specific features from specs
100
+ model: sonnet
101
+ tools:
102
+ - Read
103
+ - Write
104
+ - Edit
105
+ - Grep
106
+ - Glob
107
+ - Bash
108
+ ```
109
+
110
+ ### Step 7: Compile and Verify
111
+
112
+ ```bash
113
+ cc compile
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Example: Improvement Proposal
119
+
120
+ **Agent:** example-agent
121
+ **Source Directory:** src/agents/developer/example-agent/
122
+ **Current State:** Missing critical techniques
123
+
124
+ ### Technique Audit
125
+
126
+ | Technique | Present | Notes |
127
+ | ---------------------- | ------- | ---------------------- |
128
+ | Self-reminder loop | Yes | Template auto-adds |
129
+ | Investigation-first | Yes | Included in template |
130
+ | Expansion modifiers | No | Missing in intro.md |
131
+ | Self-correction | No | Missing in workflow.md |
132
+ | Post-action reflection | No | Missing in workflow.md |
133
+
134
+ ### Findings
135
+
136
+ | # | Finding | Impact | Effort |
137
+ | --- | --------------------------- | ------ | ------ |
138
+ | 1 | Missing expansion modifiers | High | Low |
139
+ | 2 | No self-correction triggers | High | Low |
140
+ | 3 | No post-action reflection | Medium | Low |
141
+
142
+ ### Proposed Changes
143
+
144
+ **Change 1: Add expansion modifiers (intro.md)**
145
+
146
+ ```markdown
147
+ # Current
148
+
149
+ You are an expert example developer.
150
+
151
+ # Proposed
152
+
153
+ You are an expert example developer.
154
+
155
+ **When implementing features, be comprehensive and thorough. Include all necessary edge cases and error handling.**
156
+ ```
157
+
158
+ **Change 2: Add self-correction (workflow.md)**
159
+
160
+ ```markdown
161
+ **If you notice yourself:**
162
+
163
+ - **Generating code without reading files first** → STOP. Read the files.
164
+ - **Creating new utilities** → STOP. Check for existing ones first.
165
+ ```
166
+
167
+ **Change 3: Add post-action reflection (workflow.md)**
168
+
169
+ ```markdown
170
+ **After each major action, evaluate:**
171
+
172
+ 1. Did this achieve the intended goal?
173
+ 2. Should I verify changes were written?
174
+ ```
175
+
176
+ **Recommendation:** Apply changes, then recompile with `cc compile`