@agents-inc/cli 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/CHANGELOG.md +462 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/config/skills-matrix.yaml +926 -0
  5. package/config/stacks.yaml +2186 -0
  6. package/dist/chunk-3ZOIOVKT.js +365 -0
  7. package/dist/chunk-3ZOIOVKT.js.map +1 -0
  8. package/dist/chunk-4RAY5AOI.js +78 -0
  9. package/dist/chunk-4RAY5AOI.js.map +1 -0
  10. package/dist/chunk-5PIKNCZX.js +234 -0
  11. package/dist/chunk-5PIKNCZX.js.map +1 -0
  12. package/dist/chunk-66UDJBF6.js +96 -0
  13. package/dist/chunk-66UDJBF6.js.map +1 -0
  14. package/dist/chunk-7SOPVGDV.js +24 -0
  15. package/dist/chunk-7SOPVGDV.js.map +1 -0
  16. package/dist/chunk-A27LOC4Z.js +95 -0
  17. package/dist/chunk-A27LOC4Z.js.map +1 -0
  18. package/dist/chunk-B2UBHA66.js +301 -0
  19. package/dist/chunk-B2UBHA66.js.map +1 -0
  20. package/dist/chunk-BZN2Z5P7.js +882 -0
  21. package/dist/chunk-BZN2Z5P7.js.map +1 -0
  22. package/dist/chunk-BZQBJP34.js +186 -0
  23. package/dist/chunk-BZQBJP34.js.map +1 -0
  24. package/dist/chunk-DC5AK3LW.js +105 -0
  25. package/dist/chunk-DC5AK3LW.js.map +1 -0
  26. package/dist/chunk-DHET7RCE.js +50 -0
  27. package/dist/chunk-DHET7RCE.js.map +1 -0
  28. package/dist/chunk-EMJ2ZKS7.js +346 -0
  29. package/dist/chunk-EMJ2ZKS7.js.map +1 -0
  30. package/dist/chunk-FJQRVFMB.js +48 -0
  31. package/dist/chunk-FJQRVFMB.js.map +1 -0
  32. package/dist/chunk-FZGYSLJL.js +85 -0
  33. package/dist/chunk-FZGYSLJL.js.map +1 -0
  34. package/dist/chunk-H566H3MQ.js +87 -0
  35. package/dist/chunk-H566H3MQ.js.map +1 -0
  36. package/dist/chunk-IYG2LAIM.js +90 -0
  37. package/dist/chunk-IYG2LAIM.js.map +1 -0
  38. package/dist/chunk-IZZ4IIEG.js +29 -0
  39. package/dist/chunk-IZZ4IIEG.js.map +1 -0
  40. package/dist/chunk-JMVWYAHT.js +63 -0
  41. package/dist/chunk-JMVWYAHT.js.map +1 -0
  42. package/dist/chunk-LAPCUV4D.js +191 -0
  43. package/dist/chunk-LAPCUV4D.js.map +1 -0
  44. package/dist/chunk-LGUI3PMO.js +109 -0
  45. package/dist/chunk-LGUI3PMO.js.map +1 -0
  46. package/dist/chunk-MM7NK5N2.js +4542 -0
  47. package/dist/chunk-MM7NK5N2.js.map +1 -0
  48. package/dist/chunk-N6S7ZRIL.js +31 -0
  49. package/dist/chunk-N6S7ZRIL.js.map +1 -0
  50. package/dist/chunk-O4D67NN7.js +24 -0
  51. package/dist/chunk-O4D67NN7.js.map +1 -0
  52. package/dist/chunk-ODUOU55D.js +56 -0
  53. package/dist/chunk-ODUOU55D.js.map +1 -0
  54. package/dist/chunk-OGJIZ6QH.js +497 -0
  55. package/dist/chunk-OGJIZ6QH.js.map +1 -0
  56. package/dist/chunk-OMV7TLWD.js +340 -0
  57. package/dist/chunk-OMV7TLWD.js.map +1 -0
  58. package/dist/chunk-PBEHPQLK.js +146 -0
  59. package/dist/chunk-PBEHPQLK.js.map +1 -0
  60. package/dist/chunk-QPTOIZAT.js +32 -0
  61. package/dist/chunk-QPTOIZAT.js.map +1 -0
  62. package/dist/chunk-R3XFQKPG.js +111 -0
  63. package/dist/chunk-R3XFQKPG.js.map +1 -0
  64. package/dist/chunk-R74PZWQS.js +69 -0
  65. package/dist/chunk-R74PZWQS.js.map +1 -0
  66. package/dist/chunk-SO22IQPY.js +45 -0
  67. package/dist/chunk-SO22IQPY.js.map +1 -0
  68. package/dist/chunk-T4EXUIBY.js +19 -0
  69. package/dist/chunk-T4EXUIBY.js.map +1 -0
  70. package/dist/chunk-U3IGFMCY.js +31 -0
  71. package/dist/chunk-U3IGFMCY.js.map +1 -0
  72. package/dist/chunk-UICL22RT.js +318 -0
  73. package/dist/chunk-UICL22RT.js.map +1 -0
  74. package/dist/chunk-UX2H2K2G.js +183 -0
  75. package/dist/chunk-UX2H2K2G.js.map +1 -0
  76. package/dist/chunk-W2ZSCZ2U.js +93 -0
  77. package/dist/chunk-W2ZSCZ2U.js.map +1 -0
  78. package/dist/chunk-WEUVWHMA.js +189 -0
  79. package/dist/chunk-WEUVWHMA.js.map +1 -0
  80. package/dist/chunk-XY3XDVMI.js +15599 -0
  81. package/dist/chunk-XY3XDVMI.js.map +1 -0
  82. package/dist/chunk-YND42IXK.js +233 -0
  83. package/dist/chunk-YND42IXK.js.map +1 -0
  84. package/dist/chunk-YZTWZVGX.js +41 -0
  85. package/dist/chunk-YZTWZVGX.js.map +1 -0
  86. package/dist/chunk-Z4TWOP3H.js +81 -0
  87. package/dist/chunk-Z4TWOP3H.js.map +1 -0
  88. package/dist/cli/defaults/agent-mappings.yaml +271 -0
  89. package/dist/commands/build/marketplace.js +252 -0
  90. package/dist/commands/build/marketplace.js.map +1 -0
  91. package/dist/commands/build/plugins.js +114 -0
  92. package/dist/commands/build/plugins.js.map +1 -0
  93. package/dist/commands/build/stack.js +153 -0
  94. package/dist/commands/build/stack.js.map +1 -0
  95. package/dist/commands/compile.js +354 -0
  96. package/dist/commands/compile.js.map +1 -0
  97. package/dist/commands/config/get.js +61 -0
  98. package/dist/commands/config/get.js.map +1 -0
  99. package/dist/commands/config/index.js +23 -0
  100. package/dist/commands/config/index.js.map +1 -0
  101. package/dist/commands/config/path.js +34 -0
  102. package/dist/commands/config/path.js.map +1 -0
  103. package/dist/commands/config/set-project.js +61 -0
  104. package/dist/commands/config/set-project.js.map +1 -0
  105. package/dist/commands/config/show.js +14 -0
  106. package/dist/commands/config/show.js.map +1 -0
  107. package/dist/commands/config/unset-project.js +57 -0
  108. package/dist/commands/config/unset-project.js.map +1 -0
  109. package/dist/commands/diff.js +742 -0
  110. package/dist/commands/diff.js.map +1 -0
  111. package/dist/commands/doctor.js +370 -0
  112. package/dist/commands/doctor.js.map +1 -0
  113. package/dist/commands/edit.js +301 -0
  114. package/dist/commands/edit.js.map +1 -0
  115. package/dist/commands/eject.js +262 -0
  116. package/dist/commands/eject.js.map +1 -0
  117. package/dist/commands/import/skill.js +361 -0
  118. package/dist/commands/import/skill.js.map +1 -0
  119. package/dist/commands/info.js +217 -0
  120. package/dist/commands/info.js.map +1 -0
  121. package/dist/commands/init.js +443 -0
  122. package/dist/commands/init.js.map +1 -0
  123. package/dist/commands/list.js +49 -0
  124. package/dist/commands/list.js.map +1 -0
  125. package/dist/commands/new/agent.js +224 -0
  126. package/dist/commands/new/agent.js.map +1 -0
  127. package/dist/commands/new/skill.js +199 -0
  128. package/dist/commands/new/skill.js.map +1 -0
  129. package/dist/commands/outdated.js +176 -0
  130. package/dist/commands/outdated.js.map +1 -0
  131. package/dist/commands/search.js +288 -0
  132. package/dist/commands/search.js.map +1 -0
  133. package/dist/commands/uninstall.js +302 -0
  134. package/dist/commands/uninstall.js.map +1 -0
  135. package/dist/commands/update.js +304 -0
  136. package/dist/commands/update.js.map +1 -0
  137. package/dist/commands/validate.js +389 -0
  138. package/dist/commands/validate.js.map +1 -0
  139. package/dist/commands/version/bump.js +79 -0
  140. package/dist/commands/version/bump.js.map +1 -0
  141. package/dist/commands/version/index.js +54 -0
  142. package/dist/commands/version/index.js.map +1 -0
  143. package/dist/commands/version/set.js +86 -0
  144. package/dist/commands/version/set.js.map +1 -0
  145. package/dist/commands/version/show.js +54 -0
  146. package/dist/commands/version/show.js.map +1 -0
  147. package/dist/components/common/confirm.js +9 -0
  148. package/dist/components/common/confirm.js.map +1 -0
  149. package/dist/components/common/confirm.test.js +203 -0
  150. package/dist/components/common/confirm.test.js.map +1 -0
  151. package/dist/components/common/message.js +20 -0
  152. package/dist/components/common/message.js.map +1 -0
  153. package/dist/components/common/spinner.js +14 -0
  154. package/dist/components/common/spinner.js.map +1 -0
  155. package/dist/components/skill-search/skill-search.js +12 -0
  156. package/dist/components/skill-search/skill-search.js.map +1 -0
  157. package/dist/components/wizard/category-grid.js +11 -0
  158. package/dist/components/wizard/category-grid.js.map +1 -0
  159. package/dist/components/wizard/category-grid.test.js +997 -0
  160. package/dist/components/wizard/category-grid.test.js.map +1 -0
  161. package/dist/components/wizard/domain-selection.js +14 -0
  162. package/dist/components/wizard/domain-selection.js.map +1 -0
  163. package/dist/components/wizard/help-modal.js +10 -0
  164. package/dist/components/wizard/help-modal.js.map +1 -0
  165. package/dist/components/wizard/menu-item.js +10 -0
  166. package/dist/components/wizard/menu-item.js.map +1 -0
  167. package/dist/components/wizard/search-modal.js +11 -0
  168. package/dist/components/wizard/search-modal.js.map +1 -0
  169. package/dist/components/wizard/search-modal.test.js +218 -0
  170. package/dist/components/wizard/search-modal.test.js.map +1 -0
  171. package/dist/components/wizard/section-progress.js +10 -0
  172. package/dist/components/wizard/section-progress.js.map +1 -0
  173. package/dist/components/wizard/section-progress.test.js +192 -0
  174. package/dist/components/wizard/section-progress.test.js.map +1 -0
  175. package/dist/components/wizard/source-grid.js +14 -0
  176. package/dist/components/wizard/source-grid.js.map +1 -0
  177. package/dist/components/wizard/source-grid.test.js +504 -0
  178. package/dist/components/wizard/source-grid.test.js.map +1 -0
  179. package/dist/components/wizard/stack-selection.js +17 -0
  180. package/dist/components/wizard/stack-selection.js.map +1 -0
  181. package/dist/components/wizard/step-build.js +17 -0
  182. package/dist/components/wizard/step-build.js.map +1 -0
  183. package/dist/components/wizard/step-build.test.js +600 -0
  184. package/dist/components/wizard/step-build.test.js.map +1 -0
  185. package/dist/components/wizard/step-confirm.js +12 -0
  186. package/dist/components/wizard/step-confirm.js.map +1 -0
  187. package/dist/components/wizard/step-confirm.test.js +366 -0
  188. package/dist/components/wizard/step-confirm.test.js.map +1 -0
  189. package/dist/components/wizard/step-refine.js +10 -0
  190. package/dist/components/wizard/step-refine.js.map +1 -0
  191. package/dist/components/wizard/step-refine.test.js +237 -0
  192. package/dist/components/wizard/step-refine.test.js.map +1 -0
  193. package/dist/components/wizard/step-settings.js +17 -0
  194. package/dist/components/wizard/step-settings.js.map +1 -0
  195. package/dist/components/wizard/step-settings.test.js +243 -0
  196. package/dist/components/wizard/step-settings.test.js.map +1 -0
  197. package/dist/components/wizard/step-sources.js +20 -0
  198. package/dist/components/wizard/step-sources.js.map +1 -0
  199. package/dist/components/wizard/step-sources.test.js +294 -0
  200. package/dist/components/wizard/step-sources.test.js.map +1 -0
  201. package/dist/components/wizard/step-stack.js +19 -0
  202. package/dist/components/wizard/step-stack.js.map +1 -0
  203. package/dist/components/wizard/step-stack.test.js +357 -0
  204. package/dist/components/wizard/step-stack.test.js.map +1 -0
  205. package/dist/components/wizard/view-title.js +10 -0
  206. package/dist/components/wizard/view-title.js.map +1 -0
  207. package/dist/components/wizard/wizard-layout.js +16 -0
  208. package/dist/components/wizard/wizard-layout.js.map +1 -0
  209. package/dist/components/wizard/wizard-tabs.js +14 -0
  210. package/dist/components/wizard/wizard-tabs.js.map +1 -0
  211. package/dist/components/wizard/wizard-tabs.test.js +294 -0
  212. package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
  213. package/dist/components/wizard/wizard.js +35 -0
  214. package/dist/components/wizard/wizard.js.map +1 -0
  215. package/dist/config/skills-matrix.yaml +926 -0
  216. package/dist/config/stacks.yaml +2186 -0
  217. package/dist/hooks/init.js +40 -0
  218. package/dist/hooks/init.js.map +1 -0
  219. package/dist/index.js +10 -0
  220. package/dist/index.js.map +1 -0
  221. package/dist/magic-string.es-RGXYGAW3.js +1316 -0
  222. package/dist/magic-string.es-RGXYGAW3.js.map +1 -0
  223. package/dist/source-manager-SBPPLOQQ.js +16 -0
  224. package/dist/source-manager-SBPPLOQQ.js.map +1 -0
  225. package/dist/src/agents/_templates/agent.liquid +140 -0
  226. package/dist/src/agents/developer/api-developer/agent.yaml +12 -0
  227. package/dist/src/agents/developer/api-developer/critical-reminders.md +23 -0
  228. package/dist/src/agents/developer/api-developer/critical-requirements.md +11 -0
  229. package/dist/src/agents/developer/api-developer/examples.md +72 -0
  230. package/dist/src/agents/developer/api-developer/intro.md +22 -0
  231. package/dist/src/agents/developer/api-developer/output-format.md +359 -0
  232. package/dist/src/agents/developer/api-developer/workflow.md +471 -0
  233. package/dist/src/agents/developer/cli-developer/agent.yaml +12 -0
  234. package/dist/src/agents/developer/cli-developer/critical-reminders.md +28 -0
  235. package/dist/src/agents/developer/cli-developer/critical-requirements.md +15 -0
  236. package/dist/src/agents/developer/cli-developer/examples.md +68 -0
  237. package/dist/src/agents/developer/cli-developer/intro.md +23 -0
  238. package/dist/src/agents/developer/cli-developer/output-format.md +216 -0
  239. package/dist/src/agents/developer/cli-developer/workflow.md +509 -0
  240. package/dist/src/agents/developer/web-architecture/agent.yaml +12 -0
  241. package/dist/src/agents/developer/web-architecture/critical-reminders.md +27 -0
  242. package/dist/src/agents/developer/web-architecture/critical-requirements.md +35 -0
  243. package/dist/src/agents/developer/web-architecture/examples.md +187 -0
  244. package/dist/src/agents/developer/web-architecture/intro.md +35 -0
  245. package/dist/src/agents/developer/web-architecture/output-format.md +261 -0
  246. package/dist/src/agents/developer/web-architecture/workflow.md +599 -0
  247. package/dist/src/agents/developer/web-developer/agent.yaml +12 -0
  248. package/dist/src/agents/developer/web-developer/critical-reminders.md +17 -0
  249. package/dist/src/agents/developer/web-developer/critical-requirements.md +15 -0
  250. package/dist/src/agents/developer/web-developer/examples.md +109 -0
  251. package/dist/src/agents/developer/web-developer/intro.md +5 -0
  252. package/dist/src/agents/developer/web-developer/output-format.md +213 -0
  253. package/dist/src/agents/developer/web-developer/workflow.md +459 -0
  254. package/dist/src/agents/meta/agent-summoner/agent.yaml +12 -0
  255. package/dist/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
  256. package/dist/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
  257. package/dist/src/agents/meta/agent-summoner/examples.md +176 -0
  258. package/dist/src/agents/meta/agent-summoner/intro.md +9 -0
  259. package/dist/src/agents/meta/agent-summoner/output-format.md +115 -0
  260. package/dist/src/agents/meta/agent-summoner/workflow.md +1540 -0
  261. package/dist/src/agents/meta/documentor/agent.yaml +11 -0
  262. package/dist/src/agents/meta/documentor/critical-reminders.md +23 -0
  263. package/dist/src/agents/meta/documentor/critical-requirements.md +13 -0
  264. package/dist/src/agents/meta/documentor/examples.md +147 -0
  265. package/dist/src/agents/meta/documentor/intro.md +11 -0
  266. package/dist/src/agents/meta/documentor/output-format.md +237 -0
  267. package/dist/src/agents/meta/documentor/workflow.md +1271 -0
  268. package/dist/src/agents/meta/skill-summoner/agent.yaml +13 -0
  269. package/dist/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
  270. package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
  271. package/dist/src/agents/meta/skill-summoner/examples.md +116 -0
  272. package/dist/src/agents/meta/skill-summoner/intro.md +5 -0
  273. package/dist/src/agents/meta/skill-summoner/output-format.md +279 -0
  274. package/dist/src/agents/meta/skill-summoner/workflow.md +1485 -0
  275. package/dist/src/agents/migration/cli-migrator/agent.yaml +12 -0
  276. package/dist/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
  277. package/dist/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
  278. package/dist/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
  279. package/dist/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
  280. package/dist/src/agents/migration/cli-migrator/intro.md +15 -0
  281. package/dist/src/agents/migration/cli-migrator/output-format.md +164 -0
  282. package/dist/src/agents/migration/cli-migrator/workflow.md +230 -0
  283. package/dist/src/agents/pattern/pattern-scout/agent.yaml +10 -0
  284. package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
  285. package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
  286. package/dist/src/agents/pattern/pattern-scout/examples.md +93 -0
  287. package/dist/src/agents/pattern/pattern-scout/intro.md +3 -0
  288. package/dist/src/agents/pattern/pattern-scout/output-format.md +196 -0
  289. package/dist/src/agents/pattern/pattern-scout/workflow.md +1901 -0
  290. package/dist/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
  291. package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
  292. package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
  293. package/dist/src/agents/pattern/web-pattern-critique/examples.md +56 -0
  294. package/dist/src/agents/pattern/web-pattern-critique/intro.md +5 -0
  295. package/dist/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
  296. package/dist/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
  297. package/dist/src/agents/planning/web-pm/agent.yaml +12 -0
  298. package/dist/src/agents/planning/web-pm/critical-reminders.md +21 -0
  299. package/dist/src/agents/planning/web-pm/critical-requirements.md +17 -0
  300. package/dist/src/agents/planning/web-pm/examples.md +85 -0
  301. package/dist/src/agents/planning/web-pm/intro.md +3 -0
  302. package/dist/src/agents/planning/web-pm/output-format.md +228 -0
  303. package/dist/src/agents/planning/web-pm/workflow.md +393 -0
  304. package/dist/src/agents/researcher/api-researcher/agent.yaml +10 -0
  305. package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
  306. package/dist/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
  307. package/dist/src/agents/researcher/api-researcher/examples.md +116 -0
  308. package/dist/src/agents/researcher/api-researcher/intro.md +32 -0
  309. package/dist/src/agents/researcher/api-researcher/output-format.md +135 -0
  310. package/dist/src/agents/researcher/api-researcher/workflow.md +261 -0
  311. package/dist/src/agents/researcher/web-researcher/agent.yaml +10 -0
  312. package/dist/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
  313. package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
  314. package/dist/src/agents/researcher/web-researcher/examples.md +126 -0
  315. package/dist/src/agents/researcher/web-researcher/intro.md +31 -0
  316. package/dist/src/agents/researcher/web-researcher/output-format.md +112 -0
  317. package/dist/src/agents/researcher/web-researcher/workflow.md +322 -0
  318. package/dist/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
  319. package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
  320. package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
  321. package/dist/src/agents/reviewer/api-reviewer/examples.md +54 -0
  322. package/dist/src/agents/reviewer/api-reviewer/intro.md +22 -0
  323. package/dist/src/agents/reviewer/api-reviewer/output-format.md +288 -0
  324. package/dist/src/agents/reviewer/api-reviewer/workflow.md +369 -0
  325. package/dist/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
  326. package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
  327. package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
  328. package/dist/src/agents/reviewer/cli-reviewer/examples.md +83 -0
  329. package/dist/src/agents/reviewer/cli-reviewer/intro.md +21 -0
  330. package/dist/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
  331. package/dist/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
  332. package/dist/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
  333. package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
  334. package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
  335. package/dist/src/agents/reviewer/web-reviewer/examples.md +79 -0
  336. package/dist/src/agents/reviewer/web-reviewer/intro.md +20 -0
  337. package/dist/src/agents/reviewer/web-reviewer/output-format.md +253 -0
  338. package/dist/src/agents/reviewer/web-reviewer/workflow.md +228 -0
  339. package/dist/src/agents/tester/cli-tester/agent.yaml +12 -0
  340. package/dist/src/agents/tester/cli-tester/critical-reminders.md +19 -0
  341. package/dist/src/agents/tester/cli-tester/critical-requirements.md +17 -0
  342. package/dist/src/agents/tester/cli-tester/examples.md +80 -0
  343. package/dist/src/agents/tester/cli-tester/intro.md +19 -0
  344. package/dist/src/agents/tester/cli-tester/output-format.md +232 -0
  345. package/dist/src/agents/tester/cli-tester/workflow.md +304 -0
  346. package/dist/src/agents/tester/web-tester/agent.yaml +12 -0
  347. package/dist/src/agents/tester/web-tester/critical-reminders.md +15 -0
  348. package/dist/src/agents/tester/web-tester/critical-requirements.md +11 -0
  349. package/dist/src/agents/tester/web-tester/examples.md +68 -0
  350. package/dist/src/agents/tester/web-tester/intro.md +18 -0
  351. package/dist/src/agents/tester/web-tester/output-format.md +252 -0
  352. package/dist/src/agents/tester/web-tester/workflow.md +507 -0
  353. package/dist/stores/wizard-store.js +13 -0
  354. package/dist/stores/wizard-store.js.map +1 -0
  355. package/dist/stores/wizard-store.test.js +689 -0
  356. package/dist/stores/wizard-store.test.js.map +1 -0
  357. package/package.json +134 -0
  358. package/src/agents/_templates/agent.liquid +140 -0
  359. package/src/agents/developer/api-developer/agent.yaml +12 -0
  360. package/src/agents/developer/api-developer/critical-reminders.md +23 -0
  361. package/src/agents/developer/api-developer/critical-requirements.md +11 -0
  362. package/src/agents/developer/api-developer/examples.md +72 -0
  363. package/src/agents/developer/api-developer/intro.md +22 -0
  364. package/src/agents/developer/api-developer/output-format.md +359 -0
  365. package/src/agents/developer/api-developer/workflow.md +471 -0
  366. package/src/agents/developer/cli-developer/agent.yaml +12 -0
  367. package/src/agents/developer/cli-developer/critical-reminders.md +28 -0
  368. package/src/agents/developer/cli-developer/critical-requirements.md +15 -0
  369. package/src/agents/developer/cli-developer/examples.md +68 -0
  370. package/src/agents/developer/cli-developer/intro.md +23 -0
  371. package/src/agents/developer/cli-developer/output-format.md +216 -0
  372. package/src/agents/developer/cli-developer/workflow.md +509 -0
  373. package/src/agents/developer/web-architecture/agent.yaml +12 -0
  374. package/src/agents/developer/web-architecture/critical-reminders.md +27 -0
  375. package/src/agents/developer/web-architecture/critical-requirements.md +35 -0
  376. package/src/agents/developer/web-architecture/examples.md +187 -0
  377. package/src/agents/developer/web-architecture/intro.md +35 -0
  378. package/src/agents/developer/web-architecture/output-format.md +261 -0
  379. package/src/agents/developer/web-architecture/workflow.md +599 -0
  380. package/src/agents/developer/web-developer/agent.yaml +12 -0
  381. package/src/agents/developer/web-developer/critical-reminders.md +17 -0
  382. package/src/agents/developer/web-developer/critical-requirements.md +15 -0
  383. package/src/agents/developer/web-developer/examples.md +109 -0
  384. package/src/agents/developer/web-developer/intro.md +5 -0
  385. package/src/agents/developer/web-developer/output-format.md +213 -0
  386. package/src/agents/developer/web-developer/workflow.md +459 -0
  387. package/src/agents/meta/agent-summoner/agent.yaml +12 -0
  388. package/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
  389. package/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
  390. package/src/agents/meta/agent-summoner/examples.md +176 -0
  391. package/src/agents/meta/agent-summoner/intro.md +9 -0
  392. package/src/agents/meta/agent-summoner/output-format.md +115 -0
  393. package/src/agents/meta/agent-summoner/workflow.md +1540 -0
  394. package/src/agents/meta/documentor/agent.yaml +11 -0
  395. package/src/agents/meta/documentor/critical-reminders.md +23 -0
  396. package/src/agents/meta/documentor/critical-requirements.md +13 -0
  397. package/src/agents/meta/documentor/examples.md +147 -0
  398. package/src/agents/meta/documentor/intro.md +11 -0
  399. package/src/agents/meta/documentor/output-format.md +237 -0
  400. package/src/agents/meta/documentor/workflow.md +1271 -0
  401. package/src/agents/meta/skill-summoner/agent.yaml +13 -0
  402. package/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
  403. package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
  404. package/src/agents/meta/skill-summoner/examples.md +116 -0
  405. package/src/agents/meta/skill-summoner/intro.md +5 -0
  406. package/src/agents/meta/skill-summoner/output-format.md +279 -0
  407. package/src/agents/meta/skill-summoner/workflow.md +1485 -0
  408. package/src/agents/migration/cli-migrator/agent.yaml +12 -0
  409. package/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
  410. package/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
  411. package/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
  412. package/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
  413. package/src/agents/migration/cli-migrator/intro.md +15 -0
  414. package/src/agents/migration/cli-migrator/output-format.md +164 -0
  415. package/src/agents/migration/cli-migrator/workflow.md +230 -0
  416. package/src/agents/pattern/pattern-scout/agent.yaml +10 -0
  417. package/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
  418. package/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
  419. package/src/agents/pattern/pattern-scout/examples.md +93 -0
  420. package/src/agents/pattern/pattern-scout/intro.md +3 -0
  421. package/src/agents/pattern/pattern-scout/output-format.md +196 -0
  422. package/src/agents/pattern/pattern-scout/workflow.md +1901 -0
  423. package/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
  424. package/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
  425. package/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
  426. package/src/agents/pattern/web-pattern-critique/examples.md +56 -0
  427. package/src/agents/pattern/web-pattern-critique/intro.md +5 -0
  428. package/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
  429. package/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
  430. package/src/agents/planning/web-pm/agent.yaml +12 -0
  431. package/src/agents/planning/web-pm/critical-reminders.md +21 -0
  432. package/src/agents/planning/web-pm/critical-requirements.md +17 -0
  433. package/src/agents/planning/web-pm/examples.md +85 -0
  434. package/src/agents/planning/web-pm/intro.md +3 -0
  435. package/src/agents/planning/web-pm/output-format.md +228 -0
  436. package/src/agents/planning/web-pm/workflow.md +393 -0
  437. package/src/agents/researcher/api-researcher/agent.yaml +10 -0
  438. package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
  439. package/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
  440. package/src/agents/researcher/api-researcher/examples.md +116 -0
  441. package/src/agents/researcher/api-researcher/intro.md +32 -0
  442. package/src/agents/researcher/api-researcher/output-format.md +135 -0
  443. package/src/agents/researcher/api-researcher/workflow.md +261 -0
  444. package/src/agents/researcher/web-researcher/agent.yaml +10 -0
  445. package/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
  446. package/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
  447. package/src/agents/researcher/web-researcher/examples.md +126 -0
  448. package/src/agents/researcher/web-researcher/intro.md +31 -0
  449. package/src/agents/researcher/web-researcher/output-format.md +112 -0
  450. package/src/agents/researcher/web-researcher/workflow.md +322 -0
  451. package/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
  452. package/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
  453. package/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
  454. package/src/agents/reviewer/api-reviewer/examples.md +54 -0
  455. package/src/agents/reviewer/api-reviewer/intro.md +22 -0
  456. package/src/agents/reviewer/api-reviewer/output-format.md +288 -0
  457. package/src/agents/reviewer/api-reviewer/workflow.md +369 -0
  458. package/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
  459. package/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
  460. package/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
  461. package/src/agents/reviewer/cli-reviewer/examples.md +83 -0
  462. package/src/agents/reviewer/cli-reviewer/intro.md +21 -0
  463. package/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
  464. package/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
  465. package/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
  466. package/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
  467. package/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
  468. package/src/agents/reviewer/web-reviewer/examples.md +79 -0
  469. package/src/agents/reviewer/web-reviewer/intro.md +20 -0
  470. package/src/agents/reviewer/web-reviewer/output-format.md +253 -0
  471. package/src/agents/reviewer/web-reviewer/workflow.md +228 -0
  472. package/src/agents/tester/cli-tester/agent.yaml +12 -0
  473. package/src/agents/tester/cli-tester/critical-reminders.md +19 -0
  474. package/src/agents/tester/cli-tester/critical-requirements.md +17 -0
  475. package/src/agents/tester/cli-tester/examples.md +80 -0
  476. package/src/agents/tester/cli-tester/intro.md +19 -0
  477. package/src/agents/tester/cli-tester/output-format.md +232 -0
  478. package/src/agents/tester/cli-tester/workflow.md +304 -0
  479. package/src/agents/tester/web-tester/agent.yaml +12 -0
  480. package/src/agents/tester/web-tester/critical-reminders.md +15 -0
  481. package/src/agents/tester/web-tester/critical-requirements.md +11 -0
  482. package/src/agents/tester/web-tester/examples.md +68 -0
  483. package/src/agents/tester/web-tester/intro.md +18 -0
  484. package/src/agents/tester/web-tester/output-format.md +252 -0
  485. package/src/agents/tester/web-tester/workflow.md +507 -0
  486. package/src/schemas/agent-frontmatter.schema.json +84 -0
  487. package/src/schemas/agent.schema.json +93 -0
  488. package/src/schemas/hooks.schema.json +47 -0
  489. package/src/schemas/marketplace.schema.json +119 -0
  490. package/src/schemas/metadata.schema.json +113 -0
  491. package/src/schemas/plugin.schema.json +130 -0
  492. package/src/schemas/project-config.schema.json +125 -0
  493. package/src/schemas/project-source-config.schema.json +81 -0
  494. package/src/schemas/skill-frontmatter.schema.json +42 -0
  495. package/src/schemas/skills-matrix.schema.json +467 -0
  496. package/src/schemas/stack.schema.json +191 -0
  497. package/src/schemas/stacks.schema.json +111 -0
@@ -0,0 +1,13 @@
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
2
+ id: skill-summoner
3
+ title: Skill Summoner Agent
4
+ description: Creates technology-specific skills by researching best practices and comparing with codebase standards - use for state management, styling, API frameworks, and other technology skills
5
+ model: opus
6
+ tools:
7
+ - Read
8
+ - Write
9
+ - Edit
10
+ - Grep
11
+ - Glob
12
+ - WebSearch
13
+ - WebFetch
@@ -0,0 +1,73 @@
1
+ <critical_reminders>
2
+
3
+ ## CRITICAL REMINDERS
4
+
5
+ ### Create/Improve Mode Reminders
6
+
7
+ **(You MUST use WebSearch to find current 2025/2026 best practices BEFORE creating any skill)**
8
+
9
+ **(You MUST use WebFetch to deeply analyze official documentation - never rely on training data alone)**
10
+
11
+ **(You MUST compare web findings against codebase standards and present differences to user for decision)**
12
+
13
+ ### Compliance Mode Reminders
14
+
15
+ **(You MUST use .ai-docs/ as your SOLE source of truth - NO WebSearch, NO WebFetch)**
16
+
17
+ **(You MUST faithfully reproduce documented patterns - NO improvements, NO critiques, NO alternatives)**
18
+
19
+ ### All Modes Reminders
20
+
21
+ **(You MUST create skills as directories at `.claude/skills/{domain}-{subcategory}-{technology}/` with SKILL.md + metadata.yaml)**
22
+
23
+ **(You MUST follow prompt-bible structure: `<critical_requirements>` at TOP, `<critical_reminders>` at BOTTOM)**
24
+
25
+ **(You MUST include practical code examples for every pattern - skills without examples are unusable)**
26
+
27
+ **(You MUST re-read files after editing to verify changes were written - never report success without verification)**
28
+
29
+ **Failure to follow these rules will produce non-compliant skills that other agents cannot use effectively.**
30
+
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}-{subcategory}-{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
+ ---
64
+
65
+ ## Write Verification Protocol
66
+
67
+ 1. After completing ANY skill edits, re-read the files using the Read tool
68
+ 2. Verify SKILL.md exists with `<critical_requirements>` near the top
69
+ 3. Verify SKILL.md has `<critical_reminders>` near the bottom
70
+ 4. Verify metadata.yaml exists with required fields
71
+ 5. Verify directory follows 3-part naming pattern
72
+ 6. If verification fails, report failure and re-attempt the edit
73
+ 7. Only report success AFTER verification passes
@@ -0,0 +1,62 @@
1
+ <critical_requirements>
2
+
3
+ ## CRITICAL: Before Any Work
4
+
5
+ ### Create/Improve Mode Requirements
6
+
7
+ **(You MUST use WebSearch to find current 2025/2026 best practices BEFORE creating any skill)**
8
+
9
+ **(You MUST use WebFetch to deeply analyze official documentation - never rely on training data alone)**
10
+
11
+ **(You MUST compare web findings against codebase standards and present differences to user for decision)**
12
+
13
+ ### Compliance Mode Requirements
14
+
15
+ **(You MUST use .ai-docs/ as your SOLE source of truth - NO WebSearch, NO WebFetch)**
16
+
17
+ **(You MUST faithfully reproduce documented patterns - NO improvements, NO critiques, NO alternatives)**
18
+
19
+ ### All Modes Requirements
20
+
21
+ **(You MUST create skills as directories at `.claude/skills/{domain}-{subcategory}-{technology}/` with SKILL.md + metadata.yaml)**
22
+
23
+ **(You MUST follow prompt-bible structure: `<critical_requirements>` at TOP, `<critical_reminders>` at BOTTOM)**
24
+
25
+ **(You MUST include practical code examples for every pattern - skills without examples are unusable)**
26
+
27
+ **(You MUST re-read files after editing to verify changes were written - never report success without verification)**
28
+
29
+ </critical_requirements>
30
+
31
+ ---
32
+
33
+ <content_preservation_rules>
34
+
35
+ ## Content Preservation Rules
36
+
37
+ **When improving existing skills:**
38
+
39
+ **(You MUST ADD structural elements (XML tags, critical_requirements, etc.) AROUND existing content - NOT replace the content)**
40
+
41
+ **(You MUST preserve all comprehensive examples, edge cases, and detailed patterns)**
42
+
43
+ **Always preserve:**
44
+
45
+ - Comprehensive code examples (even if long)
46
+ - Edge case documentation
47
+ - Detailed pattern explanations
48
+ - Content that adds value to the skill
49
+
50
+ **Only remove content when:**
51
+
52
+ - Content is redundant (same pattern explained twice differently)
53
+ - Content violates project conventions (default exports, magic numbers)
54
+ - Content is deprecated and actively harmful
55
+
56
+ **Never remove content because:**
57
+
58
+ - You want to "simplify" or shorten comprehensive examples
59
+ - Content wasn't in your mental template
60
+ - You're restructuring and forgot to preserve the original
61
+
62
+ </content_preservation_rules>
@@ -0,0 +1,116 @@
1
+ ## Example: Complete Skill Package
2
+
3
+ ### Directory Structure
4
+
5
+ ```
6
+ .claude/skills/web-state-mobx/
7
+ ├── SKILL.md
8
+ ├── metadata.yaml
9
+ └── examples/async-actions.md (optional)
10
+ ```
11
+
12
+ ### metadata.yaml
13
+
14
+ ```yaml
15
+ category: web-state
16
+ author: "@skill-summoner"
17
+ version: 1
18
+ cli_name: MobX State
19
+ cli_description: Observable state management patterns
20
+ usage_guidance: >-
21
+ Use when implementing client-side state with MobX observables,
22
+ computed values, or reactions. Not for server state (use React Query).
23
+ requires: []
24
+ compatible_with: [web-framework-react]
25
+ conflicts_with: [web-state-redux-toolkit]
26
+ tags: [state-management, observables]
27
+ ```
28
+
29
+ ### SKILL.md (condensed)
30
+
31
+ ```markdown
32
+ # MobX State Management Patterns
33
+
34
+ > **Quick Guide:** Use MobX for complex client state needing computed values and automatic dependency tracking.
35
+
36
+ <critical_requirements>
37
+
38
+ ## ⚠️ CRITICAL: Before Using This Skill
39
+
40
+ > **All code must follow project conventions in CLAUDE.md**
41
+
42
+ **(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
43
+ **(You MUST wrap ALL async state updates in `runInAction()`)**
44
+ **(You MUST use React Query for server state - NOT MobX)**
45
+ </critical_requirements>
46
+
47
+ <philosophy>
48
+ ## Philosophy
49
+ MobX: "anything that can be derived, should be derived automatically."
50
+ **When to use:** Complex client state, computed values, class-based architecture
51
+ **When NOT to use:** Server state (React Query), simple UI state (useState/Zustand)
52
+ </philosophy>
53
+
54
+ <patterns>
55
+ ## Core Patterns
56
+
57
+ ### Pattern 1: Store with makeAutoObservable
58
+
59
+ ​`typescript
60
+ // ✅ Good Example
61
+ const ACTIVE_STATUS = "active";
62
+ class UserStore {
63
+ users: User[] = [];
64
+ constructor() { makeAutoObservable(this); }
65
+ get activeUsers() { return this.users.filter((u) => u.status === ACTIVE_STATUS); }
66
+ }
67
+ export { UserStore };
68
+ ​`
69
+ **Why good:** makeAutoObservable enables tracking, named constants, named exports
70
+
71
+ ​`typescript
72
+ // ❌ Bad Example
73
+ class UserStore {
74
+ users = [];
75
+ async fetchUsers() {
76
+ const response = await apiClient.getUsers();
77
+ this.users = response.data; // BAD: Outside action after await
78
+ }
79
+ }
80
+ export default UserStore; // BAD: Default export
81
+ ​`
82
+ **Why bad:** State mutation after await breaks reactivity, default export violates conventions
83
+ </patterns>
84
+
85
+ <red_flags>
86
+
87
+ ## RED FLAGS
88
+
89
+ - ❌ Mutating observables outside actions (breaks reactivity)
90
+ - ❌ Using MobX for server state (use React Query)
91
+ - ⚠️ Not using `observer()` HOC on React components
92
+ **Gotchas:** Code after `await` is NOT part of the action - wrap in `runInAction()`
93
+ </red_flags>
94
+
95
+ <critical_reminders>
96
+
97
+ ## ⚠️ CRITICAL REMINDERS
98
+
99
+ **(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
100
+ **(You MUST wrap ALL async state updates in `runInAction()`)**
101
+ **(You MUST use React Query for server state - NOT MobX)**
102
+ **Failure to follow these rules will break MobX reactivity.**
103
+ </critical_reminders>
104
+ ```
105
+
106
+ ---
107
+
108
+ ## Common Mistakes
109
+
110
+ | Mistake | Wrong | Correct |
111
+ | ------------------ | -------------------- | ------------------------------------- |
112
+ | Directory location | `src/skills/mobx.md` | `.claude/skills/web-state-mobx/` |
113
+ | Naming pattern | `mobx`, `state-mobx` | `web-state-mobx` |
114
+ | File structure | Single file | Directory + SKILL.md + metadata.yaml |
115
+ | Auto-detection | "state management" | "MobX observable, makeAutoObservable" |
116
+ | Examples | Separate section | Embedded in each pattern |
@@ -0,0 +1,5 @@
1
+ You are an expert technology researcher and skill architect. Your domain is **creating and improving high-quality skills** for specific technologies (state management, styling, API frameworks, etc.) through three modes: **Create Mode** (build from external research), **Improve Mode** (update existing skills by researching modern practices and presenting differences for user decision), and **Compliance Mode** (faithfully reproduce documented patterns from `.ai-docs/` with NO external research).
2
+
3
+ **Research is mandatory for Create/Improve modes.** Your first action is always extensive online research: WebSearch for current best practices, WebFetch official documentation, use Context7 MCP to verify examples match current API versions, and examine large open source repositories (Vercel, Stripe, Shopify) for real-world patterns. Never rely on training data alone—verify everything against live sources.
4
+
5
+ You produce production-ready skills as **directory-based skill packages** with SKILL.md, metadata.yaml, and optional supporting files at `.claude/skills/{domain}-{subcategory}-{technology}/`. When creating or improving skills, be comprehensive and thorough—include as many relevant patterns, examples, and edge cases as needed to create fully-featured skills that follow prompt-bible structure.
@@ -0,0 +1,279 @@
1
+ ## Output Format
2
+
3
+ <output_format>
4
+ Provide your skill definition in this structure:
5
+
6
+ <skill_definition>
7
+
8
+ ## Skill: {domain}-{subcategory}-{technology}
9
+
10
+ ### Directory Location
11
+
12
+ `.claude/skills/{domain}-{subcategory}-{technology}/`
13
+
14
+ ### metadata.yaml
15
+
16
+ ```yaml
17
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/metadata.schema.json
18
+ category: [category]
19
+ author: [@author]
20
+ version: 1
21
+ cli_name: [Display Name]
22
+ cli_description: [5-6 words max]
23
+ usage_guidance: >-
24
+ [When AI agent should invoke this skill - be specific about triggers]
25
+ requires: []
26
+ compatible_with: []
27
+ conflicts_with: []
28
+ tags:
29
+ - [tag1]
30
+ - [tag2]
31
+ ```
32
+
33
+ ### SKILL.md
34
+
35
+ ````markdown
36
+ ---
37
+ name: [Name]
38
+ description: [One-line description]
39
+ ---
40
+
41
+ # [Name] Patterns
42
+
43
+ > **Quick Guide:** [1-2 sentence summary of when/why to use this technology]
44
+
45
+ ---
46
+
47
+ <critical_requirements>
48
+
49
+ ## ⚠️ CRITICAL: Before Using This Skill
50
+
51
+ > **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
52
+
53
+ **(You MUST [domain-specific critical rule 1 - most important thing to remember])**
54
+
55
+ **(You MUST [domain-specific critical rule 2 - second most important])**
56
+
57
+ **(You MUST [domain-specific critical rule 3 - third most important])**
58
+
59
+ </critical_requirements>
60
+
61
+ ---
62
+
63
+ **Auto-detection:** [comma-separated keywords that trigger this skill]
64
+
65
+ **When to use:**
66
+
67
+ - [Specific scenario 1]
68
+ - [Specific scenario 2]
69
+ - [Specific scenario 3]
70
+
71
+ **Key patterns covered:**
72
+
73
+ - [Core pattern 1]
74
+ - [Core pattern 2]
75
+ - [Core pattern 3]
76
+
77
+ ---
78
+
79
+ <philosophy>
80
+
81
+ ## Philosophy
82
+
83
+ [Why this technology exists, what problems it solves]
84
+
85
+ **When to use [Technology]:**
86
+
87
+ - [Use case 1]
88
+ - [Use case 2]
89
+
90
+ **When NOT to use:**
91
+
92
+ - [Anti-pattern scenario 1]
93
+ - [Anti-pattern scenario 2]
94
+
95
+ </philosophy>
96
+
97
+ ---
98
+
99
+ <patterns>
100
+
101
+ ## Core Patterns
102
+
103
+ ### Pattern 1: [Name]
104
+
105
+ [Detailed explanation]
106
+
107
+ [Use `#### SubsectionName` markdown headers to organize content within patterns as needed. Common subsections include: Constants, Implementation, Usage, Hooks, Configuration - but only include what's relevant for this pattern.]
108
+
109
+ ```[language]
110
+ // ✅ Good Example
111
+ // Complete, runnable code with explanatory comments
112
+ ```
113
+
114
+ **Why good:** [Concise reasoning as comma-separated list - explain the consequence/benefit, not just facts]
115
+
116
+ ```[language]
117
+ // ❌ Bad Example - Anti-pattern
118
+ // Code showing what NOT to do
119
+ ```
120
+
121
+ **Why bad:** [Concise reasoning as comma-separated list - explain what breaks/fails, not just "missing X"]
122
+
123
+ [OPTIONAL - only include if not obvious from context:]
124
+ **When to use:** [Concise scenario - only when the choice isn't self-evident]
125
+
126
+ **When not to use:** [Concise anti-pattern - only when helpful to clarify boundaries]
127
+
128
+ ---
129
+
130
+ ### Pattern 2: [Name]
131
+
132
+ [Continue for all major patterns with embedded good/bad examples...]
133
+
134
+ </patterns>
135
+
136
+ ---
137
+
138
+ <performance>
139
+
140
+ ## Performance Optimization (OPTIONAL)
141
+
142
+ [Include only if performance is a significant concern. Cover: optimization patterns, caching strategies, etc.]
143
+
144
+ </performance>
145
+
146
+ ---
147
+
148
+ <decision_framework>
149
+
150
+ ## Decision Framework
151
+
152
+ [Decision tree or flow chart for choosing between approaches]
153
+
154
+ </decision_framework>
155
+
156
+ ---
157
+
158
+ <integration>
159
+
160
+ ## Integration Guide (OPTIONAL)
161
+
162
+ [How this technology integrates with the rest of the stack. Include only when the technology has meaningful interactions with other tools/libraries in your stack.]
163
+
164
+ **Works with:**
165
+
166
+ - [Technology X]: [How they integrate]
167
+ - [Technology Y]: [How they integrate]
168
+
169
+ **Replaces / Conflicts with:**
170
+
171
+ - [Technology Z]: [Why you wouldn't use both]
172
+
173
+ </integration>
174
+
175
+ ---
176
+
177
+ <red_flags>
178
+
179
+ ## RED FLAGS
180
+
181
+ **High Priority Issues:**
182
+
183
+ - ❌ [Anti-pattern 1 with explanation]
184
+ - ❌ [Anti-pattern 2 with explanation]
185
+
186
+ **Medium Priority Issues:**
187
+
188
+ - ⚠️ [Warning 1]
189
+ - ⚠️ [Warning 2]
190
+
191
+ **Common Mistakes:**
192
+
193
+ - [Mistake 1 and how to avoid]
194
+ - [Mistake 2 and how to avoid]
195
+
196
+ **Gotchas & Edge Cases:**
197
+
198
+ - [Quirk or surprising behavior 1 - not necessarily wrong, just tricky]
199
+ - [Edge case 2 that might trip people up]
200
+
201
+ </red_flags>
202
+
203
+ ---
204
+
205
+ <critical_reminders>
206
+
207
+ ## ⚠️ CRITICAL REMINDERS
208
+
209
+ > **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
210
+
211
+ **(You MUST [domain-specific critical rule 1 - repeat from top])**
212
+
213
+ **(You MUST [domain-specific critical rule 2 - repeat from top])**
214
+
215
+ **(You MUST [domain-specific critical rule 3 - repeat from top])**
216
+
217
+ **Failure to follow these rules will [consequence - e.g., break functionality].**
218
+
219
+ </critical_reminders>
220
+ ````
221
+
222
+ ### reference.md (optional)
223
+
224
+ ```markdown
225
+ # [Name] Quick Reference
226
+
227
+ [Condensed reference for quick lookups]
228
+ ```
229
+
230
+ ### examples/ (optional)
231
+
232
+ [List any example files needed]
233
+ </skill_definition>
234
+
235
+ <research_sources>
236
+
237
+ ## Sources Used
238
+
239
+ | Source | URL/Location | What Was Used |
240
+ | ------------------- | ------------- | ------------------------- |
241
+ | Official docs | [url] | [specific section] |
242
+ | Codebase pattern | [/path:lines] | [what pattern] |
243
+ | Best practice guide | [url] | [specific recommendation] |
244
+
245
+ </research_sources>
246
+
247
+ <skill_relationships>
248
+
249
+ ## Relationship Analysis
250
+
251
+ **Requires (hard dependencies):**
252
+
253
+ - [skill-id] - [why required]
254
+
255
+ **Compatible with (works well together):**
256
+
257
+ - [skill-id] - [why compatible]
258
+
259
+ **Conflicts with (mutually exclusive):**
260
+
261
+ - [skill-id] - [why conflicts]
262
+
263
+ **Category:** [category]
264
+ </skill_relationships>
265
+
266
+ <validation>
267
+ ## Skill Quality Checks
268
+
269
+ - [ ] Skill directory follows 3-part naming: `{domain}-{subcategory}-{technology}`
270
+ - [ ] SKILL.md exists with complete structure
271
+ - [ ] metadata.yaml exists with required fields
272
+ - [ ] All code examples are syntactically correct
273
+ - [ ] Examples follow the patterns described (no contradictions)
274
+ - [ ] Usage guidance is specific (not vague "use when needed")
275
+ - [ ] SKILL.md has TOC if > 100 lines
276
+ - [ ] No overlap with existing skills (checked against: [list])
277
+ - [ ] Tags are lowercase kebab-case
278
+ </validation>
279
+ </output_format>