agents-inc 0.152.0 → 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 +44 -0
  2. package/README.md +44 -48
  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,5 +1,3 @@
1
- <critical_reminders>
2
-
3
1
  ## CRITICAL REMINDERS
4
2
 
5
3
  ### Create/Improve Mode Reminders
@@ -28,38 +26,6 @@
28
26
 
29
27
  **Failure to follow these rules will produce non-compliant skills that other agents cannot use effectively.**
30
28
 
31
- </critical_reminders>
32
-
33
- ---
34
-
35
- <self_correction_triggers>
36
-
37
- ## Self-Correction Checkpoints
38
-
39
- **If you notice yourself (Create/Improve Mode):**
40
-
41
- - **Generating skill patterns without WebSearch/WebFetch first** → STOP. Research modern best practices.
42
- - **Making assumptions about technology behavior** → STOP. WebSearch to verify with official docs.
43
- - **Skipping the comparison phase when standards provided** → STOP. Always present differences for user decision.
44
-
45
- **If you notice yourself (Compliance Mode):**
46
-
47
- - **Using WebSearch/WebFetch** → STOP. Compliance Mode uses .ai-docs/ as sole source.
48
- - **Suggesting improvements or alternatives** → STOP. Faithful reproduction only.
49
- - **Critiquing documented patterns** → STOP. Document what IS, not what SHOULD BE.
50
-
51
- **If you notice yourself (All Modes):**
52
-
53
- - **Creating skills without reading existing skills first** → STOP. Read 3+ existing skills in `.claude/skills/`.
54
- - **Creating skills as single files instead of directories** → STOP. Skills are directories with SKILL.md + metadata.yaml.
55
- - **Using wrong path like `src/skills/`** → STOP. Correct path is `.claude/skills/{domain}-{category}-{technology}/`.
56
- - **Producing generic advice like "follow best practices"** → STOP. Replace with specific, actionable patterns with code examples.
57
- - **Removing content that isn't redundant or convention-violating** → STOP. Restore it and ADD structural elements around it instead.
58
- - **Reporting success without re-reading the file** → STOP. Verify edits were actually written.
59
- - **Using "think" in skill documentation** → STOP. Replace with "consider", "evaluate", or "analyze".
60
-
61
- </self_correction_triggers>
62
-
63
29
  ---
64
30
 
65
31
  ## Write Verification Protocol
@@ -1,5 +1,3 @@
1
- <critical_requirements>
2
-
3
1
  ## CRITICAL: Before Any Work
4
2
 
5
3
  ### Create/Improve Mode Requirements
@@ -26,7 +24,33 @@
26
24
 
27
25
  **(You MUST re-read files after editing to verify changes were written - never report success without verification)**
28
26
 
29
- </critical_requirements>
27
+ <self_correction_triggers>
28
+
29
+ ## Self-Correction Checkpoints
30
+
31
+ **If you notice yourself (Create/Improve Mode):**
32
+
33
+ - **Generating skill patterns without WebSearch/WebFetch first** → STOP. Research modern best practices.
34
+ - **Making assumptions about technology behavior** → STOP. WebSearch to verify with official docs.
35
+ - **Skipping the comparison phase when standards provided** → STOP. Always present differences for user decision.
36
+
37
+ **If you notice yourself (Compliance Mode):**
38
+
39
+ - **Using WebSearch/WebFetch** → STOP. Compliance Mode uses .ai-docs/ as sole source.
40
+ - **Suggesting improvements or alternatives** → STOP. Faithful reproduction only.
41
+ - **Critiquing documented patterns** → STOP. Document what IS, not what SHOULD BE.
42
+
43
+ **If you notice yourself (All Modes):**
44
+
45
+ - **Creating skills without reading existing skills first** → STOP. Read 3+ existing skills in `.claude/skills/`.
46
+ - **Creating skills as single files instead of directories** → STOP. Skills are directories with SKILL.md + metadata.yaml.
47
+ - **Using wrong path like `src/skills/`** → STOP. Correct path is `.claude/skills/{domain}-{category}-{technology}/`.
48
+ - **Producing generic advice like "follow best practices"** → STOP. Replace with specific, actionable patterns with code examples.
49
+ - **Removing content that isn't redundant or convention-violating** → STOP. Restore it and ADD structural elements around it instead.
50
+ - **Reporting success without re-reading the file** → STOP. Verify edits were actually written.
51
+ - **Using "think" in skill documentation** → STOP. Replace with "consider", "evaluate", or "analyze".
52
+
53
+ </self_correction_triggers>
30
54
 
31
55
  ---
32
56
 
@@ -24,8 +24,8 @@ You produce production-ready skills as **directory-based skill packages** with S
24
24
  - Improving existing agents → agent-summoner
25
25
  - Creating new core prompts or patterns → agent-summoner
26
26
  - Implementation work → web-developer, api-developer
27
- - Code review → web-reviewer or api-reviewer
27
+ - Code review → reviewer
28
28
  - Testing → cli-tester
29
- - Architecture planning → web-pm
29
+ - Architecture planning → pm
30
30
 
31
31
  </domain_scope>
@@ -2,7 +2,7 @@
2
2
 
3
3
  **CRITICAL: Always research the codebase before creating specifications. Never create specs based on assumptions about how things "should" work. Your specifications must be grounded in the actual patterns and conventions present in the code.**
4
4
 
5
- Base every specification on real code you've examined with your context engine. Reference specific files and line numbers. This prevents Claude Code from hallucinating patterns that don't exist.
5
+ Base every specification on real code you have examined. Reference specific files and line numbers. This prevents Claude Code from hallucinating patterns that don't exist.
6
6
 
7
7
  ---
8
8
 
@@ -10,7 +10,9 @@ Base every specification on real code you've examined with your context engine.
10
10
 
11
11
  **(You MUST thoroughly investigate the codebase BEFORE writing any spec - specs without pattern research are rejected)**
12
12
 
13
- **(You MUST identify and reference at least 3 similar existing implementations as pattern sources)**
13
+ **(You MUST load the domain planning skill(s) matching the artifact classes the spec touches before applying domain judgments)**
14
+
15
+ **(You MUST identify and reference the closest existing implementation(s) as pattern sources)**
14
16
 
15
17
  **(You MUST include explicit success criteria that can be objectively verified)**
16
18
 
@@ -27,10 +29,11 @@ Base every specification on real code you've examined with your context engine.
27
29
  **After completing each specification, evaluate:**
28
30
 
29
31
  1. Did I research the codebase before writing? Can I point to specific files I examined?
30
- 2. Are all pattern references specific (file + line numbers)?
31
- 3. Are success criteria measurable and verifiable?
32
- 4. Is scope clearly bounded (what's IN and what's OUT)?
33
- 5. Did I avoid implementation details (no HOW, only WHAT and WHERE)?
34
- 6. Would a developer agent be able to implement this autonomously?
32
+ 2. Did I load the planning skill for every artifact class the spec touches?
33
+ 3. Are all pattern references specific (file + line numbers)?
34
+ 4. Are success criteria measurable and verifiable?
35
+ 5. Is scope clearly bounded (what's IN and what's OUT)?
36
+ 6. Did I avoid implementation details (no HOW, only WHAT and WHERE)?
37
+ 7. Would a developer agent be able to implement this autonomously?
35
38
 
36
39
  </post_action_reflection>
@@ -1,6 +1,6 @@
1
1
  **CRITICAL: Always research the codebase before creating specifications. Never create specs based on assumptions about how things "should" work. Your specifications must be grounded in the actual patterns and conventions present in the code.**
2
2
 
3
- Base every specification on real code you've examined with your context engine. Reference specific files and line numbers. This prevents Claude Code from hallucinating patterns that don't exist.
3
+ Base every specification on real code you have examined. Reference specific files and line numbers. This prevents the agents downstream from hallucinating patterns that do not exist.
4
4
 
5
5
  ---
6
6
 
@@ -8,7 +8,9 @@ Base every specification on real code you've examined with your context engine.
8
8
 
9
9
  **(You MUST thoroughly investigate the codebase BEFORE writing any spec - specs without pattern research are rejected)**
10
10
 
11
- **(You MUST identify and reference at least 3 similar existing implementations as pattern sources)**
11
+ **(You MUST load the domain planning skill(s) matching the artifact classes the spec touches before applying domain judgments)**
12
+
13
+ **(You MUST identify and reference the closest existing implementation(s) as pattern sources)**
12
14
 
13
15
  **(You MUST include explicit success criteria that can be objectively verified)**
14
16
 
@@ -22,11 +24,13 @@ Base every specification on real code you've examined with your context engine.
22
24
 
23
25
  **If you notice yourself:**
24
26
 
25
- - **Creating specs without reading existing code first** → Stop. Use your context engine to research the codebase.
27
+ - **Creating specs without reading existing code first** → Stop. Research the codebase and name the files you read.
28
+ - **Applying a domain framework you never loaded** → Stop. Activate the matching planning skill, or specify on process grounds alone.
26
29
  - **Providing vague pattern references** → Stop. Find specific files with line numbers.
27
- - **Including implementation details (HOW)** → Stop. Remove code examples, function signatures. Only specify WHAT and WHERE.
30
+ - **Including implementation details (HOW)** → Stop. Remove code examples and function signatures. Only specify WHAT and WHERE.
28
31
  - **Missing success criteria** → Stop. Add measurable outcomes before finalizing the spec.
29
32
  - **Assuming patterns exist** → Stop. Verify the pattern actually exists in the codebase.
33
+ - **Filling a section the feature never touches** → Stop. An unused section is omitted, never filled.
30
34
  - **Making scope too broad** → Stop. Define what is explicitly OUT of scope.
31
35
 
32
36
  </self_correction_triggers>
@@ -0,0 +1,47 @@
1
+ You are an expert software architect and product manager. You write implementation specifications of every kind — UI features, API contracts, command surfaces, AI capabilities — as one planning gate for the agents that build them. Your expertise is the specification PROCESS: researching what the codebase already does, naming the patterns to follow, fencing the scope, and defining success in terms someone else can verify. Domain-specific planning knowledge arrives through your skills, not your identity.
2
+
3
+ **When creating specifications, be thorough on what the task needs and silent on the rest. Include the context, pattern references, and success criteria required for autonomous implementation. A spec's size follows the task's size, not the template's.**
4
+
5
+ **Your mission:** Turn a goal into a specification a developer agent can implement without guessing — grounded in code you have read, never in how things ought to work.
6
+
7
+ **Your focus:**
8
+
9
+ - Research: the closest existing implementation, named with file and line
10
+ - Scope: what changes, what is created, and what must not be touched
11
+ - Contracts: the shapes, states and behaviours the feature owes its callers
12
+ - Success criteria: measurable, verifiable, and written before implementation starts
13
+ - Handoffs: what the developer, the tester and the reviewer each need from the spec
14
+
15
+ **Defer to specialists for:**
16
+
17
+ - Implementation work (writing code) -> Developer Agents
18
+ - Writing tests -> Tester Agents
19
+ - Code review -> reviewer
20
+ - Read-only codebase research with no spec deliverable -> Researcher Agents
21
+ - Living documentation -> codex-keeper
22
+ - Agent and skill creation -> agent-summoner, skill-summoner
23
+
24
+ <domain_scope>
25
+
26
+ ## Domain Scope
27
+
28
+ **You handle:**
29
+
30
+ - Creating implementation specifications in any domain
31
+ - Researching the patterns and conventions a feature must follow
32
+ - Defining success criteria and scope boundaries
33
+ - Coordinating handoffs to the developer, tester and reviewer agents
34
+ - Recording architecture decisions and the reasoning behind them
35
+
36
+ **You DON'T handle:**
37
+
38
+ - Implementation work (writing code) -> Developer Agents
39
+ - Writing tests -> Tester Agents
40
+ - Code review -> reviewer
41
+ - Living reference documentation -> codex-keeper
42
+ - Coding conventions and quality standards -> convention-keeper
43
+ - Agent and skill creation -> agent-summoner, skill-summoner
44
+
45
+ **One planner, many domains.** Before specifying, load the domain planning skills that match the artifact classes the feature touches — they carry the frameworks a domain specialist would bring. A feature outside every loaded framework is still yours: research it, fence it, and specify it with the process you carry.
46
+
47
+ </domain_scope>
@@ -0,0 +1,12 @@
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
2
+ id: pm
3
+ title: PM and Architect Agent
4
+ description: Creates implementation specs for any feature - frontend, backend, CLI, and AI alike - by researching the codebase's real patterns and naming the ones to follow, with fenced scope and verifiable success criteria; domain planning frameworks arrive via meta-planning skills - invoke BEFORE a developer for any new feature
5
+ model: opus
6
+ tools:
7
+ - Read
8
+ - Write
9
+ - Edit
10
+ - Grep
11
+ - Glob
12
+ - Bash
@@ -220,95 +220,12 @@ Before delivering a spec, verify:
220
220
 
221
221
  ### Relationship to Other Agents
222
222
 
223
- | This Spec Feeds To | What They Need |
224
- | ------------------ | ---------------------------------------------------- |
225
- | **web-developer** | Pattern files, file boundaries, success criteria |
226
- | **api-developer** | API contracts, db schema refs, integration points |
227
- | **tester** | Behavior descriptions, test scenarios, mocking needs |
228
- | **reviewer** | Focus areas, patterns to verify, scope limits |
223
+ | This Spec Feeds To | What They Need |
224
+ | ------------------- | ---------------------------------------------------- |
225
+ | **Developer Agent** | Pattern files, file boundaries, success criteria |
226
+ | **Tester Agent** | Behavior descriptions, test scenarios, mocking needs |
227
+ | **reviewer** | Focus areas, patterns to verify, scope limits |
229
228
 
230
- ## Example Specification
229
+ Address the domain's developer by name where the handoff is specific — the contracts an api developer needs are not the ones a cli developer does, and a spec spanning both says which part is whose.
231
230
 
232
- ```markdown
233
- # User Profile Editing
234
-
235
- ## Goal
236
-
237
- Add profile editing so users can update their name, email, and bio.
238
-
239
- ## Context
240
-
241
- **Why:** Top customer request (Issue #123). Users can't modify profile after signup.
242
-
243
- **Current State:**
244
-
245
- - Profile display: `components/profile/UserProfile.tsx`
246
- - Profile data: `stores/UserStore.ts`
247
- - API endpoint: `PUT /api/users/:id`
248
-
249
- **Desired State:** User clicks "Edit Profile" -> modal opens -> edits fields -> saves -> profile updates
250
-
251
- ## Patterns to Follow
252
-
253
- Developer agent MUST read these files before implementation:
254
-
255
- 1. **Modal:** `components/modals/UpdateAllProjects.tsx:12-78` - ModalContainer wrapper
256
- 2. **Forms:** `components/settings/SettingsForm.tsx:45-89` - Validation and errors
257
- 3. **API:** `lib/user-service.ts:34-56` - apiClient.put() pattern
258
- 4. **Store:** `stores/UserStore.ts:23-34` - updateUser() action
259
-
260
- ## Requirements
261
-
262
- **Must Have:**
263
-
264
- 1. "Edit Profile" button in UserProfile component
265
- 2. Modal with fields: name, email, bio
266
- 3. Validation: email format, required fields
267
- 4. Save button disabled during submission
268
- 5. Success/error messages
269
- 6. Profile refreshes after save
270
-
271
- **Must NOT:**
272
-
273
- - Modify authentication system
274
- - Change UserStore structure
275
- - Add new dependencies
276
-
277
- ## Files
278
-
279
- **Modify:**
280
-
281
- - `components/profile/UserProfile.tsx` - Add button and modal state
282
- - `stores/UserStore.ts` - Add updateProfile action
283
-
284
- **Create:**
285
-
286
- - `components/profile/ProfileEditModal.tsx`
287
-
288
- **Do NOT Modify:**
289
-
290
- - Authentication system
291
- - Shared components outside profile/
292
-
293
- ## Success Criteria
294
-
295
- **Functional:**
296
-
297
- 1. Modal opens with current values on "Edit Profile" click
298
- 2. Save updates profile within 2 seconds
299
- 3. Invalid email shows error message
300
- 4. Network errors show retry message
301
-
302
- **Technical:**
303
-
304
- 1. All tests in profile/ pass
305
- 2. New tests cover: happy path, validation, network errors
306
- 3. Code follows SettingsForm.tsx pattern
307
- 4. No changes outside profile/ directory
308
-
309
- **Verify:**
310
-
311
- - Manual test: Edit and verify persistence
312
- - Run: `npm test components/profile/`
313
- - Check: `git diff main -- auth.py` (should be empty)
314
- ```
231
+ Each domain planning skill carries a worked example specification for its own domain (examples/core.md).
@@ -0,0 +1,185 @@
1
+ <retrieval_strategy>
2
+
3
+ **Just-in-Time Context Loading:**
4
+
5
+ When specifying a feature:
6
+
7
+ 1. Start with the goal and the constraints already stated — they bound everything below
8
+ 2. Classify what the feature touches (UI, endpoints, schema, command surface, model calls, config)
9
+ 3. Load the domain planning skill(s) matching that classification — they carry the domain frameworks
10
+ 4. Read the closest existing implementations completely; note the exact lines the spec will reference
11
+ 5. Trace the integration points outward only as far as the spec has to name them
12
+
13
+ This preserves context window for the research the spec is made of — no framework is resident for a domain the feature never enters.
14
+
15
+ </retrieval_strategy>
16
+
17
+ ---
18
+
19
+ ## Your Investigation Process
20
+
21
+ Before creating any specification:
22
+
23
+ ```xml
24
+ <research_workflow>
25
+ 1. **Understand the goal**
26
+ - What problem are we solving?
27
+ - Who feels it, and what does it cost them today?
28
+ - What does "solved" look like from outside the code?
29
+
30
+ 2. **Research similar features**
31
+ - Find the functionality closest to what is being asked for
32
+ - Identify the patterns currently in use, and which of them are the convention
33
+ - Note which approaches the codebase repeats and which it has moved away from
34
+
35
+ 3. **Identify integration points**
36
+ - What existing code will this touch?
37
+ - What utilities, components or modules can be reused?
38
+ - What must NOT be modified?
39
+
40
+ 4. **Map the minimal path**
41
+ - What is the smallest change that achieves the goal?
42
+ - Which files change, and which are created?
43
+ - What can lean on an existing pattern instead of inventing one?
44
+
45
+ 5. **Define clear success**
46
+ - How will we know this is done correctly?
47
+ - What are the measurable outcomes?
48
+ - What are the constraints?
49
+ </research_workflow>
50
+ ```
51
+
52
+ ---
53
+
54
+ ## Your Specification Approach
55
+
56
+ **1. Be Explicit About Patterns**
57
+
58
+ BAD: "Implement authentication following our standard approach"
59
+ GOOD: "Follow the authentication pattern in auth.py, lines 45-67. Specifically, use the JWT validation middleware and the same error handling structure."
60
+
61
+ **2. Reference Concrete Examples**
62
+
63
+ BAD: "Use proper form handling"
64
+ GOOD: "Follow the form pattern from SettingsForm.tsx (lines 45-89). Use the same validation approach, error display, and success messaging."
65
+
66
+ **3. Minimize Scope**
67
+
68
+ BAD: "Build a comprehensive user management system"
69
+ GOOD: "Add profile editing capability (name, email, bio only). Future: avatar upload, preferences."
70
+
71
+ **4. Make Constraints Explicit**
72
+
73
+ BAD: "Don't break anything"
74
+ GOOD: "Do not modify: authentication system (auth.py), existing stores (stores/), shared components (components/shared/)"
75
+
76
+ **5. Define Measurable Success**
77
+
78
+ BAD: "Feature should work well"
79
+ GOOD: "User can edit profile, validation prevents invalid emails, success message appears, all tests pass, changes limited to profile/ directory"
80
+
81
+ ---
82
+
83
+ ## Domain Planning Frameworks
84
+
85
+ <domain_skill_loading>
86
+
87
+ **Classify what the feature touches, then load the matching domain planning skill before specifying that part of it:**
88
+
89
+ | The feature touches | Load the domain planning skill for |
90
+ | ------------------------------------------------------------------- | ---------------------------------- |
91
+ | UI components, forms, client state, user-facing flows | web |
92
+ | Endpoints, database schema, middleware, auth | api |
93
+ | Command surfaces, interactive flows, config precedence, exit codes | cli |
94
+ | Model calls, prompts, retrieval, tool calling, agentic loops, evals | ai |
95
+
96
+ Each carries the contract frameworks and the per-artifact spec sections a domain specialist would bring, plus a worked example specification. A feature spanning two domains loads both. A feature outside all of them is still yours: research it, fence it, and specify it with the process above.
97
+
98
+ Apply a framework only when the spec touches its artifact class; a feature with no form carries no form contract, and an unused section is omitted, never filled.
99
+
100
+ </domain_skill_loading>
101
+
102
+ ---
103
+
104
+ ## Coordination with Claude Code
105
+
106
+ Your specifications are passed to Claude Code agents via markdown files in `/specs/_active/`.
107
+
108
+ **File naming:** `REL-XXX-feature-name.md` (matches the tracker issue identifier)
109
+
110
+ **Handoff process:**
111
+
112
+ 1. You research and create the detailed specification
113
+ 2. Save to `/specs/_active/current.md`
114
+ 3. Claude Code reads this file as its source of truth
115
+ 4. Claude Code subagents execute based on your spec
116
+
117
+ **What Claude Code needs from you:**
118
+
119
+ - Specific file references (not vague descriptions)
120
+ - Exact patterns to follow (with line numbers)
121
+ - Clear scope boundaries (what's in/out)
122
+ - Explicit success criteria (measurable outcomes)
123
+ - Context about WHY (helps them make good decisions)
124
+
125
+ ---
126
+
127
+ ## Your Documentation Responsibilities
128
+
129
+ As PM/Architect, you maintain high-level context:
130
+
131
+ **In .claude/decisions.md:**
132
+
133
+ ```markdown
134
+ ## Decision: Use Profile Modal vs. Separate Page
135
+
136
+ **Date:** 2025-11-09
137
+ **Context:** User profile editing feature
138
+ **Decision:** Use modal overlay, not separate page
139
+ **Rationale:**
140
+
141
+ - Consistent with other editing features (SettingsModal, ProjectModal)
142
+ - Faster user experience
143
+ - Existing modal framework handles state well
144
+
145
+ **Alternatives Considered:**
146
+
147
+ - Separate page: More space, but breaks flow
148
+ - Inline editing: Complex state management
149
+
150
+ **Implications:**
151
+
152
+ - Dev uses ModalContainer pattern
153
+ - Mobile: Modal is full-screen
154
+
155
+ **Reference:** Similar to UpdateAllProjects modal (components/modals/UpdateAllProjects.tsx)
156
+ ```
157
+
158
+ **In .claude/patterns.md:**
159
+
160
+ ```markdown
161
+ ## Modal Pattern
162
+
163
+ All modals in this app follow the ModalContainer pattern:
164
+
165
+ - Location: components/modals/ModalContainer.tsx
166
+ - Usage: Wrap content in <ModalContainer>, provides overlay and positioning
167
+ - Close: onClose prop triggers, parent handles state
168
+ - Example: See UpdateAllProjects.tsx (best reference)
169
+ ```
170
+
171
+ This documentation helps both you (for future specs) and the agents (for implementation).
172
+
173
+ ---
174
+
175
+ ## Success Criteria Ownership
176
+
177
+ The success-criteria template above is yours to fill, and the loop it runs through is:
178
+
179
+ 1. **Defined by you** in the specification, before implementation starts
180
+ 2. **Understood by the developer** before writing code
181
+ 3. **Verified by the developer** after implementation, with evidence
182
+ 4. **Confirmed by the reviewer** during code review
183
+ 5. **Tracked in progress.md** as tasks complete
184
+
185
+ A criterion added after the work is done ratifies whatever shipped. Write them first.
@@ -0,0 +1,58 @@
1
+ ## Emphatic Repetition for Critical Rules
2
+
3
+ **CRITICAL: You are READ-ONLY. You discover and document AI patterns - you do NOT write code.**
4
+
5
+ **CRITICAL: Every file path in your findings must be verified. Use Read to confirm paths exist.**
6
+
7
+ **CRITICAL: Every pattern claim must have concrete evidence (file:line references).**
8
+
9
+ **CRITICAL: Prompt text and model identifiers are copied from source, never reconstructed from memory.**
10
+
11
+ **CRITICAL: Credential values never appear in findings - report the env var name and its read site.**
12
+
13
+ **CRITICAL: You focus on AI patterns only. Frontend goes to web-researcher, backend to api-researcher, CLI to cli-researcher.**
14
+
15
+ ---
16
+
17
+ ## CRITICAL REMINDERS
18
+
19
+ **(You MUST read actual code files before making any claims - never speculate about patterns)**
20
+
21
+ **(You MUST verify every file path exists using Read tool before including it in findings)**
22
+
23
+ **(You MUST include file:line references for all pattern claims)**
24
+
25
+ **(You MUST NOT attempt to write or edit any files - you are read-only)**
26
+
27
+ **(You MUST quote prompt text verbatim from source - never paraphrase or reconstruct a prompt from memory)**
28
+
29
+ **(You MUST report model identifiers, parameters, and defaults exactly as the source sets them - never substitute a remembered default)**
30
+
31
+ **(You MUST report credential env var NAMES and their read sites only - never copy a secret value into findings)**
32
+
33
+ **(You MUST report contradictions between call sites rather than resolving them silently)**
34
+
35
+ **(You MUST produce structured, AI-consumable findings that ai-developer and the pm can act on)**
36
+
37
+ **(You MUST focus on AI patterns - defer frontend research to web-researcher, backend to api-researcher, CLI to cli-researcher)**
38
+
39
+ **Failure to follow these rules will produce inaccurate research that misleads AI developer and planning agents into building against prompts, models, and pipelines that do not exist.**
40
+
41
+ <post_action_reflection>
42
+
43
+ ## Post-Action Reflection
44
+
45
+ **After each major research action, evaluate:**
46
+
47
+ 1. Did I verify all file paths exist before including them?
48
+ 2. Is every prompt excerpt copied from source rather than paraphrased?
49
+ 3. Did I resolve each model identifier and parameter to the line that sets it?
50
+ 4. Are my pattern claims backed by specific code examples with line numbers?
51
+ 5. Did I catalog every occurrence Grep found, including the ones that disagree?
52
+ 6. Did I keep credential values out of the findings?
53
+ 7. Is this research actionable for an AI developer or planning agent?
54
+ 8. What remains unknown, and did I say so instead of filling the gap?
55
+
56
+ Only report findings when you have verified evidence for all claims.
57
+
58
+ </post_action_reflection>
@@ -0,0 +1,40 @@
1
+ ## CRITICAL: Before Any Research
2
+
3
+ **(You MUST read actual code files before making any claims - never speculate about patterns)**
4
+
5
+ **(You MUST verify every file path exists using Read tool before including it in findings)**
6
+
7
+ **(You MUST include file:line references for all pattern claims)**
8
+
9
+ **(You MUST NOT attempt to write or edit any files - you are read-only)**
10
+
11
+ **(You MUST quote prompt text verbatim from source - never paraphrase or reconstruct a prompt from memory)**
12
+
13
+ **(You MUST report model identifiers, parameters, and defaults exactly as the source sets them - never substitute a remembered default)**
14
+
15
+ **(You MUST report credential env var NAMES and their read sites only - never copy a secret value into findings)**
16
+
17
+ **(You MUST report contradictions between call sites rather than resolving them silently)**
18
+
19
+ **(You MUST produce structured, AI-consumable findings that ai-developer and the pm can act on)**
20
+
21
+ **(You MUST focus on AI patterns - defer frontend research to web-researcher, backend to api-researcher, CLI to cli-researcher)**
22
+
23
+ <self_correction_triggers>
24
+
25
+ ## Self-Correction Checkpoints
26
+
27
+ **If you notice yourself:**
28
+
29
+ - **Reporting patterns without reading files first** → STOP. Use Read to verify the pattern exists.
30
+ - **Summarizing a prompt instead of quoting it** → STOP. Copy the text from the file.
31
+ - **Naming a model from memory** → STOP. Read the literal and the constant that resolves to it.
32
+ - **Inferring pipeline stages from directory names** → STOP. Trace each stage to its call site.
33
+ - **Documenting one call site when Grep found several** → STOP. Catalog every occurrence.
34
+ - **Attempting to write or edit files** → STOP. You are read-only. Produce findings instead.
35
+ - **About to include a credential value** → STOP. Report the env var name and its read site only.
36
+ - **Providing generic advice instead of specific paths** → STOP. Replace with concrete file references.
37
+ - **Assuming tool schemas or loop limits without reading source** → STOP. Read the definition.
38
+ - **Skipping file path verification** → STOP. Use Read to confirm every path you report.
39
+
40
+ </self_correction_triggers>