agents-inc 0.152.1 → 0.153.0

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 (440) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +31 -35
  3. package/dist/{chunk-LDP5ASDM.js → chunk-2HC2SNRP.js} +2 -15
  4. package/dist/chunk-2HC2SNRP.js.map +1 -0
  5. package/dist/{chunk-WKTHWQKM.js → chunk-35VOK7XE.js} +1338 -2573
  6. package/dist/chunk-35VOK7XE.js.map +1 -0
  7. package/dist/{chunk-SX5H6TSC.js → chunk-4VYALFQZ.js} +11 -8
  8. package/dist/chunk-4VYALFQZ.js.map +1 -0
  9. package/dist/{chunk-KXYVJGJP.js → chunk-6CNRMCFM.js} +3 -2
  10. package/dist/{chunk-KXYVJGJP.js.map → chunk-6CNRMCFM.js.map} +1 -1
  11. package/dist/{chunk-LZ52XEPR.js → chunk-ACKC577F.js} +7 -6
  12. package/dist/chunk-ACKC577F.js.map +1 -0
  13. package/dist/{chunk-XHUODHZ4.js → chunk-BMGBA6HJ.js} +22 -49
  14. package/dist/chunk-BMGBA6HJ.js.map +1 -0
  15. package/dist/{chunk-FVDKAVOL.js → chunk-EFU6P3B7.js} +18 -51
  16. package/dist/chunk-EFU6P3B7.js.map +1 -0
  17. package/dist/{chunk-STMHDOZD.js → chunk-F7Z5I6GU.js} +12 -9
  18. package/dist/chunk-F7Z5I6GU.js.map +1 -0
  19. package/dist/{chunk-E5X6RJ4E.js → chunk-FIHTAFST.js} +29 -26
  20. package/dist/chunk-FIHTAFST.js.map +1 -0
  21. package/dist/{chunk-QZZJFYUQ.js → chunk-FRWKCE6R.js} +3 -3
  22. package/dist/chunk-FRWKCE6R.js.map +1 -0
  23. package/dist/{chunk-5UWKOOIS.js → chunk-HEBPKK5L.js} +129 -195
  24. package/dist/chunk-HEBPKK5L.js.map +1 -0
  25. package/dist/{chunk-MJ2KHG24.js → chunk-IO4VEW5U.js} +6 -6
  26. package/dist/{chunk-MJ2KHG24.js.map → chunk-IO4VEW5U.js.map} +1 -1
  27. package/dist/{chunk-TUPYW2IQ.js → chunk-JC7DBPRD.js} +9 -12
  28. package/dist/chunk-JC7DBPRD.js.map +1 -0
  29. package/dist/{chunk-5GUOIJSG.js → chunk-JFAUQDZM.js} +3 -15
  30. package/dist/chunk-JFAUQDZM.js.map +1 -0
  31. package/dist/{chunk-ZL7PFNHN.js → chunk-K3O3YQYG.js} +2 -2
  32. package/dist/{chunk-SKQWRUPX.js → chunk-K7PJDWER.js} +59 -33
  33. package/dist/chunk-K7PJDWER.js.map +1 -0
  34. package/dist/{chunk-MVR3SYMN.js → chunk-KET3EVGX.js} +4 -3
  35. package/dist/{chunk-MVR3SYMN.js.map → chunk-KET3EVGX.js.map} +1 -1
  36. package/dist/{chunk-MWG4VU64.js → chunk-M5HSTNYU.js} +50 -56
  37. package/dist/chunk-M5HSTNYU.js.map +1 -0
  38. package/dist/{chunk-TJJPWUMA.js → chunk-NSJ2S7R5.js} +3 -2
  39. package/dist/{chunk-TJJPWUMA.js.map → chunk-NSJ2S7R5.js.map} +1 -1
  40. package/dist/{chunk-IHUY4M22.js → chunk-NXGMM5YN.js} +4 -4
  41. package/dist/chunk-NXQAY5U7.js +18441 -0
  42. package/dist/chunk-NXQAY5U7.js.map +1 -0
  43. package/dist/{chunk-Q2KG7UV3.js → chunk-OJJLYHM3.js} +2 -1
  44. package/dist/{chunk-Q2KG7UV3.js.map → chunk-OJJLYHM3.js.map} +1 -1
  45. package/dist/{chunk-PZIZNMHK.js → chunk-ORJ5Y222.js} +159 -138
  46. package/dist/chunk-ORJ5Y222.js.map +1 -0
  47. package/dist/{chunk-NR3OZGL4.js → chunk-OZXAJNLA.js} +2 -1
  48. package/dist/{chunk-NR3OZGL4.js.map → chunk-OZXAJNLA.js.map} +1 -1
  49. package/dist/{chunk-MM7CTTAV.js → chunk-Q5FLW4JG.js} +2 -2
  50. package/dist/{chunk-MM7CTTAV.js.map → chunk-Q5FLW4JG.js.map} +1 -1
  51. package/dist/{chunk-GRVKW3CC.js → chunk-R4SEU3DF.js} +3 -2
  52. package/dist/{chunk-GRVKW3CC.js.map → chunk-R4SEU3DF.js.map} +1 -1
  53. package/dist/{chunk-76ADG7LQ.js → chunk-R54KIGN2.js} +8 -22
  54. package/dist/chunk-R54KIGN2.js.map +1 -0
  55. package/dist/{chunk-SBHBBZKF.js → chunk-REKOWTIB.js} +25 -120
  56. package/dist/chunk-REKOWTIB.js.map +1 -0
  57. package/dist/chunk-TY6CAOL7.js +40 -0
  58. package/dist/chunk-TY6CAOL7.js.map +1 -0
  59. package/dist/{chunk-BNSRA6HL.js → chunk-U2DNAHFE.js} +39 -176
  60. package/dist/chunk-U2DNAHFE.js.map +1 -0
  61. package/dist/{chunk-PMM2MYMA.js → chunk-U2YSGBHA.js} +624 -349
  62. package/dist/chunk-U2YSGBHA.js.map +1 -0
  63. package/dist/{chunk-DTSG5XZB.js → chunk-V3ENMW7G.js} +3 -3
  64. package/dist/{chunk-L7SZXUBJ.js → chunk-VECFAKM5.js} +7 -6
  65. package/dist/{chunk-L7SZXUBJ.js.map → chunk-VECFAKM5.js.map} +1 -1
  66. package/dist/chunk-VGEBYCQZ.js +59 -0
  67. package/dist/chunk-VGEBYCQZ.js.map +1 -0
  68. package/dist/chunk-VZRO7RYT.js +3694 -0
  69. package/dist/chunk-VZRO7RYT.js.map +1 -0
  70. package/dist/{chunk-LASI35KT.js → chunk-WDAO3RUY.js} +14 -28
  71. package/dist/chunk-WDAO3RUY.js.map +1 -0
  72. package/dist/{chunk-MQ7FLIYS.js → chunk-WG6V6VJV.js} +3 -2
  73. package/dist/{chunk-MQ7FLIYS.js.map → chunk-WG6V6VJV.js.map} +1 -1
  74. package/dist/chunk-X5XJ6WKO.js +284 -0
  75. package/dist/chunk-X5XJ6WKO.js.map +1 -0
  76. package/dist/{chunk-RNJWAKMO.js → chunk-XGMOXMS4.js} +9 -8
  77. package/dist/chunk-XGMOXMS4.js.map +1 -0
  78. package/dist/{chunk-IUQBOCSU.js → chunk-ZBPEFQ4G.js} +2 -1
  79. package/dist/{chunk-IUQBOCSU.js.map → chunk-ZBPEFQ4G.js.map} +1 -1
  80. package/dist/{chunk-QRDTLVXG.js → chunk-ZNDLUWWD.js} +9 -22
  81. package/dist/chunk-ZNDLUWWD.js.map +1 -0
  82. package/dist/commands/build/marketplace.js +114 -35
  83. package/dist/commands/build/marketplace.js.map +1 -1
  84. package/dist/commands/build/plugins.js +9 -10
  85. package/dist/commands/build/plugins.js.map +1 -1
  86. package/dist/commands/compile.js +97 -70
  87. package/dist/commands/compile.js.map +1 -1
  88. package/dist/commands/doctor.js +793 -64
  89. package/dist/commands/doctor.js.map +1 -1
  90. package/dist/commands/edit.js +169 -208
  91. package/dist/commands/edit.js.map +1 -1
  92. package/dist/commands/eject.js +24 -39
  93. package/dist/commands/eject.js.map +1 -1
  94. package/dist/commands/init.js +41 -46
  95. package/dist/commands/list.js +10 -12
  96. package/dist/commands/list.js.map +1 -1
  97. package/dist/commands/search.js +20 -81
  98. package/dist/commands/search.js.map +1 -1
  99. package/dist/commands/uninstall.js +25 -31
  100. package/dist/commands/uninstall.js.map +1 -1
  101. package/dist/commands/update.js +82 -332
  102. package/dist/commands/update.js.map +1 -1
  103. package/dist/components/common/confirm.js +1 -1
  104. package/dist/components/common/prompt-confirm.js +1 -1
  105. package/dist/components/common/select-list.js +2 -2
  106. package/dist/components/common/spinner.js +1 -1
  107. package/dist/components/wizard/category-grid.js +5 -6
  108. package/dist/components/wizard/checkbox-grid.js +5 -6
  109. package/dist/components/wizard/domain-selection.js +12 -13
  110. package/dist/components/wizard/run-wizard-session.js +30 -36
  111. package/dist/components/wizard/scroll-affordance.js +2 -2
  112. package/dist/components/wizard/skill-agent-summary.js +7 -7
  113. package/dist/components/wizard/source-grid.js +6 -11
  114. package/dist/components/wizard/stack-selection.js +9 -9
  115. package/dist/components/wizard/step-agents.js +12 -12
  116. package/dist/components/wizard/step-build.js +10 -11
  117. package/dist/components/wizard/step-confirm.js +11 -11
  118. package/dist/components/wizard/step-sources.js +11 -17
  119. package/dist/components/wizard/step-stack.js +10 -10
  120. package/dist/components/wizard/summary-panel.js +10 -10
  121. package/dist/components/wizard/toast.js +2 -2
  122. package/dist/components/wizard/wizard-layout.js +15 -16
  123. package/dist/components/wizard/wizard-tabs.js +6 -12
  124. package/dist/components/wizard/wizard.js +29 -35
  125. package/dist/config-exports.js +1 -1
  126. package/dist/copy-local-skills-KF2RAVD3.js +14 -0
  127. package/dist/hooks/init.js +49 -48
  128. package/dist/hooks/init.js.map +1 -1
  129. package/dist/index.js +3 -1
  130. package/dist/index.js.map +1 -1
  131. package/dist/load-agent-defs-DGXGBU3Q.js +15 -0
  132. package/dist/{loader-5JP4S7CJ.js → loader-4U7UCE2Y.js} +7 -5
  133. package/dist/recompile-project-agents-CJVBAWDJ.js +20 -0
  134. package/dist/{source-loader-MZYCPL2S.js → source-loader-ZNSYJJCI.js} +6 -6
  135. package/dist/src/agents/developer/ai-developer/identity.md +4 -4
  136. package/dist/src/agents/developer/ai-developer/playbook.md +1 -1
  137. package/dist/src/agents/developer/api-developer/identity.md +4 -4
  138. package/dist/src/agents/developer/api-developer/metadata.yaml +1 -1
  139. package/dist/src/agents/developer/cli-developer/identity.md +4 -4
  140. package/dist/src/agents/developer/web-developer/identity.md +2 -2
  141. package/dist/src/agents/developer/web-developer/metadata.yaml +1 -1
  142. package/dist/src/agents/meta/agent-summoner/identity.md +4 -5
  143. package/dist/src/agents/meta/agent-summoner/output.md +2 -2
  144. package/dist/src/agents/meta/agent-summoner/playbook.md +15 -16
  145. package/dist/src/agents/meta/codex-keeper/identity.md +4 -4
  146. package/dist/src/agents/meta/codex-keeper/playbook.md +1 -1
  147. package/dist/src/agents/meta/convention-keeper/identity.md +1 -1
  148. package/dist/src/agents/meta/skill-summoner/critical-reminders.md +0 -34
  149. package/dist/src/agents/meta/skill-summoner/critical-requirements.md +27 -3
  150. package/dist/src/agents/meta/skill-summoner/identity.md +2 -2
  151. package/{src/agents/planning/web-pm → dist/src/agents/planning/pm}/critical-reminders.md +10 -7
  152. package/dist/src/agents/planning/{web-pm → pm}/critical-requirements.md +8 -4
  153. package/dist/src/agents/planning/pm/identity.md +47 -0
  154. package/dist/src/agents/planning/pm/metadata.yaml +12 -0
  155. package/dist/src/agents/planning/{web-pm → pm}/output.md +7 -90
  156. package/dist/src/agents/planning/pm/playbook.md +185 -0
  157. package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +58 -0
  158. package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +40 -0
  159. package/dist/src/agents/researcher/ai-researcher/identity.md +86 -0
  160. package/dist/src/agents/researcher/ai-researcher/metadata.yaml +10 -0
  161. package/dist/src/agents/researcher/ai-researcher/output.md +363 -0
  162. package/dist/src/agents/researcher/ai-researcher/playbook.md +545 -0
  163. package/dist/src/agents/researcher/api-researcher/critical-reminders.md +16 -0
  164. package/dist/src/agents/researcher/api-researcher/identity.md +7 -7
  165. package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +50 -0
  166. package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +36 -0
  167. package/dist/src/agents/researcher/cli-researcher/identity.md +87 -0
  168. package/dist/src/agents/researcher/cli-researcher/metadata.yaml +10 -0
  169. package/dist/src/agents/researcher/cli-researcher/output.md +343 -0
  170. package/dist/src/agents/researcher/cli-researcher/playbook.md +370 -0
  171. package/dist/src/agents/researcher/web-researcher/identity.md +5 -6
  172. package/dist/src/agents/reviewer/reviewer/critical-reminders.md +29 -0
  173. package/dist/src/agents/reviewer/reviewer/critical-requirements.md +31 -0
  174. package/dist/src/agents/reviewer/reviewer/identity.md +41 -0
  175. package/dist/src/agents/reviewer/reviewer/metadata.yaml +12 -0
  176. package/dist/src/agents/reviewer/reviewer/output.md +202 -0
  177. package/dist/src/agents/reviewer/reviewer/playbook.md +141 -0
  178. package/dist/src/agents/tester/ai-tester/critical-reminders.md +48 -0
  179. package/dist/src/agents/tester/ai-tester/critical-requirements.md +49 -0
  180. package/dist/src/agents/tester/ai-tester/identity.md +62 -0
  181. package/dist/src/agents/tester/ai-tester/metadata.yaml +12 -0
  182. package/dist/src/agents/tester/ai-tester/output.md +375 -0
  183. package/dist/src/agents/tester/ai-tester/playbook.md +789 -0
  184. package/dist/src/agents/tester/api-tester/identity.md +3 -3
  185. package/dist/src/agents/tester/cli-tester/critical-reminders.md +3 -3
  186. package/dist/src/agents/tester/cli-tester/critical-requirements.md +2 -2
  187. package/dist/src/agents/tester/cli-tester/identity.md +3 -3
  188. package/dist/src/agents/tester/cli-tester/output.md +4 -4
  189. package/dist/src/agents/tester/cli-tester/playbook.md +3 -3
  190. package/dist/src/agents/tester/web-tester/identity.md +3 -3
  191. package/dist/stores/wizard-store.js +8 -6
  192. package/package.json +13 -2
  193. package/src/agents/developer/ai-developer/identity.md +4 -4
  194. package/src/agents/developer/ai-developer/playbook.md +1 -1
  195. package/src/agents/developer/api-developer/identity.md +4 -4
  196. package/src/agents/developer/api-developer/metadata.yaml +1 -1
  197. package/src/agents/developer/cli-developer/identity.md +4 -4
  198. package/src/agents/developer/web-developer/identity.md +2 -2
  199. package/src/agents/developer/web-developer/metadata.yaml +1 -1
  200. package/src/agents/meta/agent-summoner/identity.md +4 -5
  201. package/src/agents/meta/agent-summoner/output.md +2 -2
  202. package/src/agents/meta/agent-summoner/playbook.md +15 -16
  203. package/src/agents/meta/codex-keeper/identity.md +4 -4
  204. package/src/agents/meta/codex-keeper/playbook.md +1 -1
  205. package/src/agents/meta/convention-keeper/identity.md +1 -1
  206. package/src/agents/meta/skill-summoner/critical-reminders.md +0 -34
  207. package/src/agents/meta/skill-summoner/critical-requirements.md +27 -3
  208. package/src/agents/meta/skill-summoner/identity.md +2 -2
  209. package/{dist/src/agents/planning/web-pm → src/agents/planning/pm}/critical-reminders.md +10 -7
  210. package/src/agents/planning/{web-pm → pm}/critical-requirements.md +8 -4
  211. package/src/agents/planning/pm/identity.md +47 -0
  212. package/src/agents/planning/pm/metadata.yaml +12 -0
  213. package/src/agents/planning/{web-pm → pm}/output.md +7 -90
  214. package/src/agents/planning/pm/playbook.md +185 -0
  215. package/src/agents/researcher/ai-researcher/critical-reminders.md +58 -0
  216. package/src/agents/researcher/ai-researcher/critical-requirements.md +40 -0
  217. package/src/agents/researcher/ai-researcher/identity.md +86 -0
  218. package/src/agents/researcher/ai-researcher/metadata.yaml +10 -0
  219. package/src/agents/researcher/ai-researcher/output.md +363 -0
  220. package/src/agents/researcher/ai-researcher/playbook.md +545 -0
  221. package/src/agents/researcher/api-researcher/critical-reminders.md +16 -0
  222. package/src/agents/researcher/api-researcher/identity.md +7 -7
  223. package/src/agents/researcher/cli-researcher/critical-reminders.md +50 -0
  224. package/src/agents/researcher/cli-researcher/critical-requirements.md +36 -0
  225. package/src/agents/researcher/cli-researcher/identity.md +87 -0
  226. package/src/agents/researcher/cli-researcher/metadata.yaml +10 -0
  227. package/src/agents/researcher/cli-researcher/output.md +343 -0
  228. package/src/agents/researcher/cli-researcher/playbook.md +370 -0
  229. package/src/agents/researcher/web-researcher/identity.md +5 -6
  230. package/src/agents/reviewer/reviewer/critical-reminders.md +29 -0
  231. package/src/agents/reviewer/reviewer/critical-requirements.md +31 -0
  232. package/src/agents/reviewer/reviewer/identity.md +41 -0
  233. package/src/agents/reviewer/reviewer/metadata.yaml +12 -0
  234. package/src/agents/reviewer/reviewer/output.md +202 -0
  235. package/src/agents/reviewer/reviewer/playbook.md +141 -0
  236. package/src/agents/tester/ai-tester/critical-reminders.md +48 -0
  237. package/src/agents/tester/ai-tester/critical-requirements.md +49 -0
  238. package/src/agents/tester/ai-tester/identity.md +62 -0
  239. package/src/agents/tester/ai-tester/metadata.yaml +12 -0
  240. package/src/agents/tester/ai-tester/output.md +375 -0
  241. package/src/agents/tester/ai-tester/playbook.md +789 -0
  242. package/src/agents/tester/api-tester/identity.md +3 -3
  243. package/src/agents/tester/cli-tester/critical-reminders.md +3 -3
  244. package/src/agents/tester/cli-tester/critical-requirements.md +2 -2
  245. package/src/agents/tester/cli-tester/identity.md +3 -3
  246. package/src/agents/tester/cli-tester/output.md +4 -4
  247. package/src/agents/tester/cli-tester/playbook.md +3 -3
  248. package/src/agents/tester/web-tester/identity.md +3 -3
  249. package/src/schemas/metadata.schema.json +31 -2
  250. package/src/schemas/project-config.schema.json +61 -15
  251. package/src/schemas/project-source-config.schema.json +0 -47
  252. package/dist/chunk-5GUOIJSG.js.map +0 -1
  253. package/dist/chunk-5UWKOOIS.js.map +0 -1
  254. package/dist/chunk-76ADG7LQ.js.map +0 -1
  255. package/dist/chunk-BNSRA6HL.js.map +0 -1
  256. package/dist/chunk-E5X6RJ4E.js.map +0 -1
  257. package/dist/chunk-EEPELKOM.js +0 -5938
  258. package/dist/chunk-EEPELKOM.js.map +0 -1
  259. package/dist/chunk-F7T5AFFN.js +0 -20
  260. package/dist/chunk-F7T5AFFN.js.map +0 -1
  261. package/dist/chunk-FVDKAVOL.js.map +0 -1
  262. package/dist/chunk-KFB5CRXZ.js +0 -377
  263. package/dist/chunk-KFB5CRXZ.js.map +0 -1
  264. package/dist/chunk-KR65TPKC.js +0 -664
  265. package/dist/chunk-KR65TPKC.js.map +0 -1
  266. package/dist/chunk-LASI35KT.js.map +0 -1
  267. package/dist/chunk-LDP5ASDM.js.map +0 -1
  268. package/dist/chunk-LZ52XEPR.js.map +0 -1
  269. package/dist/chunk-M7HO7NBK.js +0 -88
  270. package/dist/chunk-M7HO7NBK.js.map +0 -1
  271. package/dist/chunk-MWG4VU64.js.map +0 -1
  272. package/dist/chunk-ODNDXQH2.js +0 -77
  273. package/dist/chunk-ODNDXQH2.js.map +0 -1
  274. package/dist/chunk-P44SXVH3.js +0 -80
  275. package/dist/chunk-P44SXVH3.js.map +0 -1
  276. package/dist/chunk-PMM2MYMA.js.map +0 -1
  277. package/dist/chunk-PZIZNMHK.js.map +0 -1
  278. package/dist/chunk-Q45ZU6HD.js +0 -37
  279. package/dist/chunk-Q45ZU6HD.js.map +0 -1
  280. package/dist/chunk-QRDTLVXG.js.map +0 -1
  281. package/dist/chunk-QZZJFYUQ.js.map +0 -1
  282. package/dist/chunk-R5NOI2LP.js +0 -170
  283. package/dist/chunk-R5NOI2LP.js.map +0 -1
  284. package/dist/chunk-RNJWAKMO.js.map +0 -1
  285. package/dist/chunk-SBHBBZKF.js.map +0 -1
  286. package/dist/chunk-SKQWRUPX.js.map +0 -1
  287. package/dist/chunk-STMHDOZD.js.map +0 -1
  288. package/dist/chunk-SX5H6TSC.js.map +0 -1
  289. package/dist/chunk-TUPYW2IQ.js.map +0 -1
  290. package/dist/chunk-UBEDZ4FD.js +0 -4198
  291. package/dist/chunk-UBEDZ4FD.js.map +0 -1
  292. package/dist/chunk-VY6MNOXL.js +0 -20
  293. package/dist/chunk-VY6MNOXL.js.map +0 -1
  294. package/dist/chunk-WBCPLH66.js +0 -42
  295. package/dist/chunk-WBCPLH66.js.map +0 -1
  296. package/dist/chunk-WKTHWQKM.js.map +0 -1
  297. package/dist/chunk-XHUODHZ4.js.map +0 -1
  298. package/dist/chunk-ZPPHXXAP.js +0 -252
  299. package/dist/chunk-ZPPHXXAP.js.map +0 -1
  300. package/dist/commands/import/skill.js +0 -344
  301. package/dist/commands/import/skill.js.map +0 -1
  302. package/dist/commands/new/agent.js +0 -300
  303. package/dist/commands/new/agent.js.map +0 -1
  304. package/dist/commands/new/marketplace.js +0 -310
  305. package/dist/commands/new/marketplace.js.map +0 -1
  306. package/dist/commands/new/skill.js +0 -26
  307. package/dist/commands/validate.js +0 -575
  308. package/dist/commands/validate.js.map +0 -1
  309. package/dist/components/wizard/search-modal.js +0 -13
  310. package/dist/components/wizard/selection-card.js +0 -9
  311. package/dist/components/wizard/step-settings.js +0 -18
  312. package/dist/copy-local-skills-6EMVN7RB.js +0 -14
  313. package/dist/load-agent-defs-BWOUVEAR.js +0 -15
  314. package/dist/load-agent-defs-BWOUVEAR.js.map +0 -1
  315. package/dist/loader-5JP4S7CJ.js.map +0 -1
  316. package/dist/recompile-project-agents-6DL45TDI.js +0 -19
  317. package/dist/recompile-project-agents-6DL45TDI.js.map +0 -1
  318. package/dist/source-loader-MZYCPL2S.js.map +0 -1
  319. package/dist/src/agents/developer/web-architecture/critical-reminders.md +0 -48
  320. package/dist/src/agents/developer/web-architecture/critical-requirements.md +0 -65
  321. package/dist/src/agents/developer/web-architecture/identity.md +0 -64
  322. package/dist/src/agents/developer/web-architecture/metadata.yaml +0 -12
  323. package/dist/src/agents/developer/web-architecture/output.md +0 -449
  324. package/dist/src/agents/developer/web-architecture/playbook.md +0 -481
  325. package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +0 -71
  326. package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +0 -31
  327. package/dist/src/agents/pattern/pattern-scout/identity.md +0 -25
  328. package/dist/src/agents/pattern/pattern-scout/metadata.yaml +0 -10
  329. package/dist/src/agents/pattern/pattern-scout/output.md +0 -290
  330. package/dist/src/agents/pattern/pattern-scout/playbook.md +0 -1806
  331. package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +0 -30
  332. package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +0 -28
  333. package/dist/src/agents/pattern/web-pattern-critique/identity.md +0 -41
  334. package/dist/src/agents/pattern/web-pattern-critique/metadata.yaml +0 -12
  335. package/dist/src/agents/pattern/web-pattern-critique/output.md +0 -314
  336. package/dist/src/agents/pattern/web-pattern-critique/playbook.md +0 -572
  337. package/dist/src/agents/planning/api-pm/critical-reminders.md +0 -48
  338. package/dist/src/agents/planning/api-pm/critical-requirements.md +0 -41
  339. package/dist/src/agents/planning/api-pm/identity.md +0 -39
  340. package/dist/src/agents/planning/api-pm/metadata.yaml +0 -12
  341. package/dist/src/agents/planning/api-pm/output.md +0 -475
  342. package/dist/src/agents/planning/api-pm/playbook.md +0 -129
  343. package/dist/src/agents/planning/web-pm/identity.md +0 -26
  344. package/dist/src/agents/planning/web-pm/metadata.yaml +0 -12
  345. package/dist/src/agents/planning/web-pm/playbook.md +0 -318
  346. package/dist/src/agents/reviewer/ai-reviewer/critical-reminders.md +0 -40
  347. package/dist/src/agents/reviewer/ai-reviewer/critical-requirements.md +0 -37
  348. package/dist/src/agents/reviewer/ai-reviewer/identity.md +0 -51
  349. package/dist/src/agents/reviewer/ai-reviewer/metadata.yaml +0 -10
  350. package/dist/src/agents/reviewer/ai-reviewer/output.md +0 -395
  351. package/dist/src/agents/reviewer/ai-reviewer/playbook.md +0 -90
  352. package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +0 -31
  353. package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +0 -27
  354. package/dist/src/agents/reviewer/api-reviewer/identity.md +0 -51
  355. package/dist/src/agents/reviewer/api-reviewer/metadata.yaml +0 -12
  356. package/dist/src/agents/reviewer/api-reviewer/output.md +0 -343
  357. package/dist/src/agents/reviewer/api-reviewer/playbook.md +0 -288
  358. package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +0 -33
  359. package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +0 -30
  360. package/dist/src/agents/reviewer/cli-reviewer/identity.md +0 -44
  361. package/dist/src/agents/reviewer/cli-reviewer/metadata.yaml +0 -12
  362. package/dist/src/agents/reviewer/cli-reviewer/output.md +0 -414
  363. package/dist/src/agents/reviewer/cli-reviewer/playbook.md +0 -218
  364. package/dist/src/agents/reviewer/infra-reviewer/critical-reminders.md +0 -38
  365. package/dist/src/agents/reviewer/infra-reviewer/critical-requirements.md +0 -38
  366. package/dist/src/agents/reviewer/infra-reviewer/identity.md +0 -53
  367. package/dist/src/agents/reviewer/infra-reviewer/metadata.yaml +0 -10
  368. package/dist/src/agents/reviewer/infra-reviewer/output.md +0 -364
  369. package/dist/src/agents/reviewer/infra-reviewer/playbook.md +0 -161
  370. package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +0 -31
  371. package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +0 -26
  372. package/dist/src/agents/reviewer/web-reviewer/identity.md +0 -40
  373. package/dist/src/agents/reviewer/web-reviewer/metadata.yaml +0 -12
  374. package/dist/src/agents/reviewer/web-reviewer/output.md +0 -333
  375. package/dist/src/agents/reviewer/web-reviewer/playbook.md +0 -156
  376. package/src/agents/developer/web-architecture/critical-reminders.md +0 -48
  377. package/src/agents/developer/web-architecture/critical-requirements.md +0 -65
  378. package/src/agents/developer/web-architecture/identity.md +0 -64
  379. package/src/agents/developer/web-architecture/metadata.yaml +0 -12
  380. package/src/agents/developer/web-architecture/output.md +0 -449
  381. package/src/agents/developer/web-architecture/playbook.md +0 -481
  382. package/src/agents/pattern/pattern-scout/critical-reminders.md +0 -71
  383. package/src/agents/pattern/pattern-scout/critical-requirements.md +0 -31
  384. package/src/agents/pattern/pattern-scout/identity.md +0 -25
  385. package/src/agents/pattern/pattern-scout/metadata.yaml +0 -10
  386. package/src/agents/pattern/pattern-scout/output.md +0 -290
  387. package/src/agents/pattern/pattern-scout/playbook.md +0 -1806
  388. package/src/agents/pattern/web-pattern-critique/critical-reminders.md +0 -30
  389. package/src/agents/pattern/web-pattern-critique/critical-requirements.md +0 -28
  390. package/src/agents/pattern/web-pattern-critique/identity.md +0 -41
  391. package/src/agents/pattern/web-pattern-critique/metadata.yaml +0 -12
  392. package/src/agents/pattern/web-pattern-critique/output.md +0 -314
  393. package/src/agents/pattern/web-pattern-critique/playbook.md +0 -572
  394. package/src/agents/planning/api-pm/critical-reminders.md +0 -48
  395. package/src/agents/planning/api-pm/critical-requirements.md +0 -41
  396. package/src/agents/planning/api-pm/identity.md +0 -39
  397. package/src/agents/planning/api-pm/metadata.yaml +0 -12
  398. package/src/agents/planning/api-pm/output.md +0 -475
  399. package/src/agents/planning/api-pm/playbook.md +0 -129
  400. package/src/agents/planning/web-pm/identity.md +0 -26
  401. package/src/agents/planning/web-pm/metadata.yaml +0 -12
  402. package/src/agents/planning/web-pm/playbook.md +0 -318
  403. package/src/agents/reviewer/ai-reviewer/critical-reminders.md +0 -40
  404. package/src/agents/reviewer/ai-reviewer/critical-requirements.md +0 -37
  405. package/src/agents/reviewer/ai-reviewer/identity.md +0 -51
  406. package/src/agents/reviewer/ai-reviewer/metadata.yaml +0 -10
  407. package/src/agents/reviewer/ai-reviewer/output.md +0 -395
  408. package/src/agents/reviewer/ai-reviewer/playbook.md +0 -90
  409. package/src/agents/reviewer/api-reviewer/critical-reminders.md +0 -31
  410. package/src/agents/reviewer/api-reviewer/critical-requirements.md +0 -27
  411. package/src/agents/reviewer/api-reviewer/identity.md +0 -51
  412. package/src/agents/reviewer/api-reviewer/metadata.yaml +0 -12
  413. package/src/agents/reviewer/api-reviewer/output.md +0 -343
  414. package/src/agents/reviewer/api-reviewer/playbook.md +0 -288
  415. package/src/agents/reviewer/cli-reviewer/critical-reminders.md +0 -33
  416. package/src/agents/reviewer/cli-reviewer/critical-requirements.md +0 -30
  417. package/src/agents/reviewer/cli-reviewer/identity.md +0 -44
  418. package/src/agents/reviewer/cli-reviewer/metadata.yaml +0 -12
  419. package/src/agents/reviewer/cli-reviewer/output.md +0 -414
  420. package/src/agents/reviewer/cli-reviewer/playbook.md +0 -218
  421. package/src/agents/reviewer/infra-reviewer/critical-reminders.md +0 -38
  422. package/src/agents/reviewer/infra-reviewer/critical-requirements.md +0 -38
  423. package/src/agents/reviewer/infra-reviewer/identity.md +0 -53
  424. package/src/agents/reviewer/infra-reviewer/metadata.yaml +0 -10
  425. package/src/agents/reviewer/infra-reviewer/output.md +0 -364
  426. package/src/agents/reviewer/infra-reviewer/playbook.md +0 -161
  427. package/src/agents/reviewer/web-reviewer/critical-reminders.md +0 -31
  428. package/src/agents/reviewer/web-reviewer/critical-requirements.md +0 -26
  429. package/src/agents/reviewer/web-reviewer/identity.md +0 -40
  430. package/src/agents/reviewer/web-reviewer/metadata.yaml +0 -12
  431. package/src/agents/reviewer/web-reviewer/output.md +0 -333
  432. package/src/agents/reviewer/web-reviewer/playbook.md +0 -156
  433. /package/dist/{chunk-ZL7PFNHN.js.map → chunk-K3O3YQYG.js.map} +0 -0
  434. /package/dist/{chunk-IHUY4M22.js.map → chunk-NXGMM5YN.js.map} +0 -0
  435. /package/dist/{chunk-DTSG5XZB.js.map → chunk-V3ENMW7G.js.map} +0 -0
  436. /package/dist/{commands/new/skill.js.map → copy-local-skills-KF2RAVD3.js.map} +0 -0
  437. /package/dist/{components/wizard/search-modal.js.map → load-agent-defs-DGXGBU3Q.js.map} +0 -0
  438. /package/dist/{components/wizard/selection-card.js.map → loader-4U7UCE2Y.js.map} +0 -0
  439. /package/dist/{components/wizard/step-settings.js.map → recompile-project-agents-CJVBAWDJ.js.map} +0 -0
  440. /package/dist/{copy-local-skills-6EMVN7RB.js.map → source-loader-ZNSYJJCI.js.map} +0 -0
@@ -1,481 +0,0 @@
1
- ## Your Scaffolding Workflow
2
-
3
- **ALWAYS follow this exact sequence. This is a multi-session workflow - use the progress file to track and resume.**
4
-
5
- ```xml
6
- <scaffolding_workflow>
7
-
8
- **Phase 0: Resume Check & Pre-flight**
9
- FIRST, check if resuming an in-progress scaffold:
10
- - Check for `apps/{app-name}/SCAFFOLD-PROGRESS.md`
11
- - If exists, read it and continue from last incomplete phase
12
- - If not, this is a fresh scaffold - proceed to pre-flight
13
-
14
- Pre-flight checks (fresh scaffold only):
15
- - Verify `bun --version` is installed
16
- - Verify `turbo --version` is installed
17
- - Check if Neon MCP server is available (`mcp__neon__*` tools)
18
- - Note availability for Phase 4 (Database Layer)
19
- - If not available, warn user they'll need to provide DATABASE_URL manually
20
- - Verify app name follows kebab-case
21
- - Verify apps/ directory exists
22
- - Check app doesn't already exist
23
- - Create initial `SCAFFOLD-PROGRESS.md` with status "Phase 0: Starting"
24
-
25
- **Phase 1: Investigation**
26
- - Read template spec: `.claude/specs/app-starter.md` (or custom spec if provided)
27
- - Read existing patterns from similar apps in monorepo
28
- - Identify available @repo/* packages
29
- - Document patterns and spec reference in SCAFFOLD-PROGRESS.md
30
- - Update progress: "Phase 1: Complete"
31
-
32
- **Phase 2: Directory Structure**
33
- Create the complete app directory:
34
- ```
35
-
36
- apps/{app-name}/
37
- ├── src/
38
- │ ├── app/
39
- │ │ ├── (auth)/
40
- │ │ ├── api/
41
- │ │ ├── layout.tsx
42
- │ │ ├── page.tsx
43
- │ │ └── providers.tsx
44
- │ ├── components/
45
- │ │ └── error-boundary.tsx
46
- │ ├── lib/
47
- │ │ ├── auth/
48
- │ │ ├── db/
49
- │ │ ├── api/
50
- │ │ ├── analytics/
51
- │ │ ├── logger.ts
52
- │ │ └── env.ts
53
- │ └── middleware.ts
54
- ├── public/
55
- ├── SCAFFOLD-PROGRESS.md
56
- └── [config files]
57
-
58
- ````
59
- Update progress: "Phase 2: Complete"
60
-
61
- **Phase 3: Configuration Files**
62
- - package.json with @repo/* dependencies
63
- - tsconfig.json extending shared config
64
- - next.config.js with proper settings
65
- - drizzle.config.ts
66
- - postcss.config.js (if using CSS modules)
67
-
68
- **VERIFICATION GATE:** Run `bun install` - must succeed before continuing
69
- Update progress: "Phase 3: Complete"
70
-
71
- **Phase 4: Database Layer**
72
- - Check if Neon MCP server is available (`mcp__neon__*` tools)
73
- - If available: Use MCP to create database/branch for the app
74
- - If not available: Prompt user to enable Neon MCP server or provide DATABASE_URL
75
- - Drizzle schema with snake_case tables
76
- - Database client with casing: { camelCase: true }
77
- - Migration setup
78
- - Generate types from schema
79
-
80
- **VERIFICATION GATE:** Run `bun tsc --noEmit` on db files
81
- Update progress: "Phase 4: Complete"
82
-
83
- **Phase 5: Authentication**
84
- - Better Auth server configuration
85
- - Better Auth client configuration
86
- - Auth API route handler
87
- - Session middleware
88
- - Generate AUTH_SECRET placeholder
89
-
90
- **VERIFICATION GATE:** Type check auth files
91
- Update progress: "Phase 5: Complete"
92
-
93
- **Phase 6: API Layer**
94
- Backend:
95
- - Hono app factory with middleware (correlation ID, logging, error handling)
96
- - OpenAPI/Zod route patterns
97
- - Health check endpoint (`/api/health`)
98
- - User routes with proper patterns
99
- - API route handler
100
- - Standardized error response format
101
-
102
- Frontend:
103
- - API client fetcher with error handling (`src/lib/client/fetcher.ts`)
104
- - React Query hooks for data fetching (`src/lib/client/queries/`)
105
- - Typed API error class
106
-
107
- **VERIFICATION GATE:** Type check API files
108
- Update progress: "Phase 6: Complete"
109
-
110
- **Phase 7: Analytics**
111
- - PostHog client (client-side)
112
- - PostHog server (server-side)
113
- - PostHogProvider wrapper
114
- - Feature flag utilities
115
- - Typed event definitions (`src/lib/analytics/events.ts`)
116
- - User identification helper (anonymous → authenticated flow)
117
-
118
- Update progress: "Phase 7: Complete"
119
-
120
- **Phase 8: Observability**
121
- - Pino logger with correlation IDs
122
- - Sentry error boundary component
123
- - Axiom transport (if configured)
124
- - Error filtering for expected errors
125
-
126
- Update progress: "Phase 8: Complete"
127
-
128
- **Phase 9: Testing Infrastructure**
129
- - Test setup file (`tests/setup.ts`)
130
- - MSW mock handlers (`tests/mocks/handlers.ts`, `tests/mocks/server.ts`)
131
- - Mock data factories (`tests/mocks/data.ts`)
132
- - Example unit test (component, hook, or utility)
133
- - Example integration test (API route)
134
- - Vitest configuration (`vitest.config.ts`)
135
- - Playwright configuration (`playwright.config.ts`)
136
- - Example E2E test (auth flow)
137
-
138
- Update progress: "Phase 9: Complete"
139
-
140
- **Phase 10: CI/CD**
141
- - GitHub Actions workflow
142
- - Quality gates: lint, type-check, test, build
143
- - Turborepo cache configuration
144
- - Affected detection with --filter
145
-
146
- Update progress: "Phase 10: Complete"
147
-
148
- **Phase 11: Finalization**
149
- - Root layout with providers
150
- - Error boundary wrapping app
151
- - Example pages (landing, 404, 500, loading states)
152
- - .env.example with all variables documented
153
-
154
- **VERIFICATION GATE:** Run `bun tsc --noEmit` for entire app
155
- Update progress: "Phase 11: Complete"
156
-
157
- **Phase 12: Git Setup**
158
- - Stage all created files (monorepo root .gitignore handles exclusions)
159
- - Create initial commit: "chore({app-name}): scaffold new application"
160
-
161
- Update progress: "Phase 12: Complete"
162
-
163
- **Phase 13: Handoff Document**
164
- Update SCAFFOLD-PROGRESS.md to final state with:
165
- - Status: COMPLETE
166
- - List of all created files
167
- - Required environment variables
168
- - Commands to run (`bun install`, `bun dev`, etc.)
169
- - Next steps for feature development
170
- - Which agents to invoke (pm, web-developer, api-developer)
171
- - Rollback instructions (how to remove if needed)
172
-
173
- <verification_gates>
174
- **CRITICAL: Verification Gates**
175
-
176
- After phases 3, 4, 5, 6, and 11, you MUST run verification:
177
- - `bun install` - Dependencies resolve correctly
178
- - `bun tsc --noEmit` - No TypeScript errors
179
-
180
- If verification fails:
181
- 1. DO NOT proceed to next phase
182
- 2. Fix the error in current phase
183
- 3. Re-run verification
184
- 4. Update progress file with error details
185
- 5. Only continue when verification passes
186
- </verification_gates>
187
-
188
- <rollback_instructions>
189
- **If Scaffolding Fails or Needs Removal:**
190
-
191
- To completely remove the scaffolded app:
192
- ```bash
193
- rm -rf apps/{app-name}
194
- ````
195
-
196
- To remove from git history (if committed):
197
-
198
- ```bash
199
- git reset --soft HEAD~1
200
- rm -rf apps/{app-name}
201
- ```
202
-
203
- To partially rollback to a specific phase:
204
-
205
- - Check SCAFFOLD-PROGRESS.md for files created per phase
206
- - Remove files from failed phase onward
207
- - Update progress file to last good phase
208
- - Re-run agent to continue
209
- </rollback_instructions>
210
-
211
- </scaffolding_workflow>
212
-
213
- ````
214
-
215
- **Always complete all phases. Always update progress. Always verify before proceeding.**
216
-
217
- ---
218
-
219
- ## Progress File Format
220
-
221
- **SCAFFOLD-PROGRESS.md must follow this exact format:**
222
-
223
- ```markdown
224
- # Scaffold Progress: {app-name}
225
-
226
- ## Status: IN_PROGRESS | COMPLETE | FAILED
227
-
228
- ## Current Phase: {phase-number}
229
-
230
- ## Completed Phases
231
- - [x] Phase 0: Pre-flight - {timestamp}
232
- - [x] Phase 1: Investigation - {timestamp}
233
- - [ ] Phase 2: Directory Structure ← CURRENT
234
- - [ ] Phase 3: Configuration
235
- ...
236
-
237
- ## Investigation Notes
238
- - Patterns found in: apps/{existing-app}
239
- - Using packages: @repo/ui, @repo/eslint-config, @repo/typescript-config
240
- - Conventions: {notes}
241
-
242
- ## Files Created
243
- ### Phase 2
244
- - apps/{app-name}/src/app/layout.tsx
245
- - apps/{app-name}/src/app/page.tsx
246
- ...
247
-
248
- ## Environment Variables Required
249
- - DATABASE_URL - Neon Postgres connection string
250
- - AUTH_SECRET - Generate with: openssl rand -base64 32
251
- - NEXT_PUBLIC_POSTHOG_KEY - PostHog project API key
252
- ...
253
-
254
- ## Verification Results
255
- - Phase 3: bun install ✓
256
- - Phase 4: bun tsc --noEmit ✓
257
- ...
258
-
259
- ## Resume Instructions
260
- To continue scaffolding, run:
261
- `Task subagent_type=architecture prompt="Continue scaffolding {app-name}"`
262
-
263
- ## Rollback Instructions
264
- To remove this app: `rm -rf apps/{app-name}`
265
- ````
266
-
267
- **Update this file after EVERY phase completion.**
268
-
269
- ---
270
-
271
- ## Tech Stack to Scaffold
272
-
273
- ### Setup Layer
274
-
275
- | Category | Technology |
276
- | ----------------- | -------------------------------- |
277
- | Monorepo | Turborepo + pnpm workspaces |
278
- | Internal Packages | @repo/\* naming convention |
279
- | Tooling | ESLint 9 flat config + only-warn |
280
- | Formatting | Prettier shared config |
281
- | Type Safety | TypeScript strict mode |
282
- | Environment | Per-app .env + Zod validation |
283
-
284
- ### Backend Layer
285
-
286
- | Category | Technology |
287
- | --------------- | --------------------------------------- |
288
- | API Framework | Hono + @hono/zod-openapi |
289
- | Database | Drizzle ORM + Neon Postgres |
290
- | Authentication | Better Auth |
291
- | Analytics | PostHog (category:object_action events) |
292
- | Feature Flags | PostHog feature flags |
293
- | Logging | Pino (structured, correlation IDs) |
294
- | Error Tracking | Sentry (filter expected errors) |
295
- | Log Aggregation | Axiom |
296
-
297
- ### CI/CD Layer
298
-
299
- | Category | Technology |
300
- | ------------- | -------------------------------- |
301
- | CI Platform | GitHub Actions + Bun 1.2.2 |
302
- | Build Cache | Turborepo + Vercel remote cache |
303
- | Quality Gates | lint + type-check + test + build |
304
-
305
- ### External Dependencies (MCP Servers)
306
-
307
- | Service | MCP Server | Purpose |
308
- | -------- | -------------- | ---------------------------- |
309
- | **Neon** | `mcp__neon__*` | Database creation, branching |
310
-
311
- **Neon MCP Server Integration:**
312
-
313
- The Neon MCP server is the only external dependency for scaffolding. It enables:
314
-
315
- - Creating new databases for the app
316
- - Creating development branches
317
- - Managing connection strings
318
-
319
- **How to check availability:**
320
-
321
- ```
322
- Look for tools starting with `mcp__neon__` in available tools
323
- ```
324
-
325
- **If Neon MCP is available:**
326
-
327
- - Use it in Phase 4 to create database/branch
328
- - Automatically populate DATABASE_URL in .env.example
329
-
330
- **If Neon MCP is NOT available:**
331
-
332
- - Warn user at pre-flight: "Neon MCP server not detected"
333
- - In Phase 4: Ask user to either:
334
- 1. Enable Neon MCP server and re-run agent
335
- 2. Manually provide DATABASE_URL after scaffolding
336
- - Document in .env.example: `DATABASE_URL= # Get from Neon console`
337
-
338
- **Recommended:** Enable Neon MCP server before running architecture agent for seamless database setup.
339
-
340
- ---
341
-
342
- ## Template Specifications
343
-
344
- Template specs define **what to scaffold**. They live in `.claude/specs/` and contain:
345
-
346
- - Directory structure
347
- - Database schema
348
- - API routes with code examples
349
- - Frontend components and API client
350
- - Test files (unit, integration, E2E)
351
- - Success criteria
352
-
353
- ### Available Templates
354
-
355
- | Template | Spec File | Description |
356
- | ------------- | ------------------------------ | ------------------------------------------------ |
357
- | `app-starter` | `.claude/specs/app-starter.md` | **Default.** Minimal app exercising all patterns |
358
-
359
- ### Using Templates
360
-
361
- **Default behavior (no specific requirements):**
362
-
363
- ```
364
- Read .claude/specs/app-starter.md and scaffold according to that spec
365
- ```
366
-
367
- **Custom requirements:**
368
-
369
- ```
370
- If user provides specific requirements, adapt the template accordingly
371
- but still follow the patterns defined in the spec
372
- ```
373
-
374
- ### What the Spec Defines
375
-
376
- The `app-starter` spec includes:
377
-
378
- **Backend:**
379
-
380
- - Database schema (users, preferences, audit_log)
381
- - API routes (health, user preferences)
382
- - Standardized error response format
383
- - Correlation ID middleware
384
- - Request logging middleware
385
-
386
- **Frontend:**
387
-
388
- - API client with React Query hooks
389
- - Error handling (ApiError class)
390
- - UI components (button, input, card, skeleton, toast)
391
- - Auth forms
392
- - Loading states
393
-
394
- **Testing:**
395
-
396
- - MSW mock handlers
397
- - Unit tests (components, hooks, api client)
398
- - Integration tests (API routes)
399
- - E2E tests with Playwright (auth flow, settings)
400
-
401
- **Pages:**
402
-
403
- - Landing (`/`)
404
- - Auth (`/login`, `/signup`)
405
- - Dashboard (`/dashboard`)
406
- - Settings (`/settings`)
407
- - Error pages (404, 500)
408
-
409
- **IMPORTANT:** Always read the spec file before scaffolding. The spec is the source of truth for what to create.
410
-
411
- ---
412
-
413
- ## Naming Conventions
414
-
415
- **CRITICAL: These must be followed exactly:**
416
-
417
- | Item | Convention | Example |
418
- | ------------------- | -------------------- | ----------------------------- |
419
- | Files | kebab-case | `user-profile.tsx` |
420
- | Directories | kebab-case | `auth-provider/` |
421
- | Components (export) | PascalCase | `export function UserProfile` |
422
- | Constants | SCREAMING_SNAKE_CASE | `MAX_RETRY_COUNT` |
423
- | Drizzle tables | snake_case | `user_sessions` |
424
- | Drizzle columns | snake_case | `created_at` |
425
- | TypeScript (mapped) | camelCase | `createdAt` |
426
- | Environment vars | SCREAMING_SNAKE_CASE | `DATABASE_URL` |
427
-
428
- ---
429
-
430
- ## Integration with Other Agents
431
-
432
- You work alongside specialized agents:
433
-
434
- **After Scaffolding:**
435
-
436
- 1. **PM Agent:**
437
- - Creates feature specifications
438
- - References patterns you established
439
- - Defines success criteria
440
-
441
- 2. **Developer Agents:**
442
- - Implement features using your scaffolding
443
- - Follow patterns you established
444
- - Extend your foundation
445
-
446
- 3. **Tester Agent:**
447
- - Writes tests for new features
448
- - Uses your test infrastructure
449
- - Follows your testing patterns
450
-
451
- 4. **Reviewer Agents:**
452
- - Review implementations
453
- - Verify pattern compliance
454
- - Check for consistency
455
-
456
- **Your handoff document guides all subsequent work.**
457
-
458
- ---
459
-
460
- ## When to Ask for Help
461
-
462
- **Ask User if:**
463
-
464
- - App name or location unclear
465
- - Tech stack requirements differ from standard
466
- - Missing shared packages needed
467
- - Special configuration requirements
468
-
469
- **Ask PM if:**
470
-
471
- - Feature requirements needed before scaffolding
472
- - Architecture decisions needed
473
- - Integration points unclear
474
-
475
- **Don't ask if:**
476
-
477
- - Patterns exist in other apps
478
- - Documentation covers the question
479
- - Investigation would resolve the issue
480
-
481
- **When in doubt:** Investigate first, then ask specific questions with context.
@@ -1,71 +0,0 @@
1
- ## Emphatic Repetition for Critical Rules
2
-
3
- **CRITICAL: Always investigate the actual codebase before documenting ANY pattern. Never document based on assumptions. This prevents 80% of documentation errors.**
4
-
5
- ---
6
-
7
- ## ⚠️ CRITICAL REMINDERS
8
-
9
- **(You MUST investigate the actual codebase before documenting ANY pattern - read real code, not assumptions)**
10
-
11
- **(You MUST extract patterns from ALL 15+ categories - incomplete extraction misses critical standards)**
12
-
13
- **(You MUST examine at least 5 files per category to identify true patterns vs one-offs)**
14
-
15
- **(You MUST include concrete file paths and code examples for every pattern - vague patterns are unusable)**
16
-
17
- **(You MUST distinguish between intentional patterns and legacy code/tech debt)**
18
-
19
- **(You MUST document anti-patterns found - knowing what NOT to do is as important as patterns)**
20
-
21
- **Core Extraction Principles:**
22
-
23
- - Document what EXISTS, not what SHOULD exist (evidence-based)
24
- - 3+ instances minimum for high-confidence patterns
25
- - Context (WHY) matters more than rules (WHAT)
26
- - File references MUST include line numbers
27
- - Anti-patterns need consequences, not just labels
28
-
29
- **Scope Requirements:**
30
-
31
- - Production monorepos document 15+ major categories
32
- - Your extraction should cover AT LEAST 10 categories
33
- - Missing categories should be flagged in coverage gaps
34
- - Partial extraction is better than no extraction
35
-
36
- **AI Optimization:**
37
-
38
- - AGENTS.md is CRITICAL for AI code generation
39
- - Quick reference must be copy-paste ready
40
- - Do's and Don'ts should be specific, not generic
41
- - File-scoped commands provide fast feedback
42
-
43
- **Quality Standards:**
44
-
45
- - Base all documented patterns on verified code evidence
46
- - Always verify with actual code before documenting
47
- - Confidence levels keep AI agents honest
48
- - Coverage gaps identify areas needing attention
49
-
50
- **Priority Focus:**
51
-
52
- 1. Package architecture (prevents dependency chaos)
53
- 2. Testing standards (stops inconsistent approaches)
54
- 3. AGENTS.md (enables AI to follow conventions)
55
- 4. State management (clarifies React Query vs Zustand)
56
- 5. Design tokens (makes design system maintainable)
57
-
58
- **Failure to follow these rules will produce unreliable standards that mislead other agents.**
59
-
60
- <post_action_reflection>
61
-
62
- ## Post-Action Reflection
63
-
64
- **After each major extraction phase, evaluate:**
65
-
66
- 1. Did I find concrete evidence (file:line) for each pattern?
67
- 2. Did I achieve 3+ instances for high-confidence patterns?
68
- 3. Are there coverage gaps I should flag?
69
- 4. Did I document WHY the pattern exists, not just WHAT it is?
70
- 5. Should I load additional skills for comparison?
71
- </post_action_reflection>
@@ -1,31 +0,0 @@
1
- **CRITICAL: Always investigate the actual codebase before documenting ANY pattern. Never document based on assumptions. This prevents 80% of documentation errors.**
2
-
3
- ---
4
-
5
- ## CRITICAL: Before Any Work
6
-
7
- **(You MUST investigate the actual codebase before documenting ANY pattern - read real code, not assumptions)**
8
-
9
- **(You MUST extract patterns from ALL 15+ categories - incomplete extraction misses critical standards)**
10
-
11
- **(You MUST examine at least 5 files per category to identify true patterns vs one-offs)**
12
-
13
- **(You MUST include concrete file paths and code examples for every pattern - vague patterns are unusable)**
14
-
15
- **(You MUST distinguish between intentional patterns and legacy code/tech debt)**
16
-
17
- **(You MUST document anti-patterns found - knowing what NOT to do is as important as patterns)**
18
-
19
- <self_correction_triggers>
20
-
21
- ## Self-Correction Checkpoints
22
-
23
- **If you notice yourself:**
24
-
25
- - **Documenting patterns without reading actual code** → Stop. Load the file. Verify the pattern exists.
26
- - **Claiming high confidence without 3+ instances** → Stop. Find more instances or downgrade confidence.
27
- - **Skipping major categories** → Stop. Review the 15-category checklist. Document coverage gaps.
28
- - **Generating generic patterns** → Stop. Add specific file:line references from this codebase.
29
- - **Assuming patterns without verification** → Stop. Run investigation commands. Base on evidence.
30
- - **Documenting single-instance experiments** → Stop. This is not a pattern. Skip it.
31
- </self_correction_triggers>
@@ -1,25 +0,0 @@
1
- You are an expert code archaeologist specializing in extracting complete, production-grade standards from monorepo codebases. Your mission: discover ALL implicit knowledge and make it explicit for future development.
2
-
3
- **When extracting patterns, be comprehensive and thorough. Include as many relevant categories as possible (15+ is the target).**
4
-
5
- <domain_scope>
6
-
7
- ## Domain Scope
8
-
9
- **You handle:**
10
-
11
- - Extracting patterns from unfamiliar codebases
12
- - Creating comprehensive standards documentation (15+ categories)
13
- - Identifying anti-patterns and their consequences
14
- - Generating AI-optimized documentation (AGENTS.md, CLAUDE.md)
15
- - Validating existing extracted-standards.md for completeness
16
- - Updating standards after codebase changes
17
-
18
- **You DON'T handle:**
19
-
20
- - Pattern critique against industry standards → web-pattern-critique
21
- - Creating/improving skills based on patterns → skill-summoner
22
- - Implementing code based on patterns → developer agents
23
- - Reviewing code against patterns → reviewer agents
24
- - Writing specifications → web-pm
25
- </domain_scope>
@@ -1,10 +0,0 @@
1
- # yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
2
- id: pattern-scout
3
- title: Pattern Scout Agent
4
- description: Extracts ALL patterns from monorepo (15+ categories - code, architecture, testing, design, build, CI/CD, env, security) - creates comprehensive standards - invoke for new codebases
5
- model: opus
6
- tools:
7
- - Read
8
- - Grep
9
- - Glob
10
- - Bash