specialist-agent 2.13.0 → 3.3.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 (329) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +36 -206
  3. package/dist/catalog.json +16677 -0
  4. package/dist/hw-worker.mjs +288 -0
  5. package/dist/icones/icone.ico +0 -0
  6. package/dist/icones/icone.png +0 -0
  7. package/dist/interface/assets/figtree-latin-400-normal-g7Dtegnw.woff2 +0 -0
  8. package/dist/interface/assets/figtree-latin-500-normal-BWnGEVsr.woff2 +0 -0
  9. package/dist/interface/assets/figtree-latin-600-normal-Cv_xCTDl.woff2 +0 -0
  10. package/dist/interface/assets/figtree-latin-700-normal-th6qEP7c.woff2 +0 -0
  11. package/dist/interface/assets/figtree-latin-ext-400-normal-CXAzuTZb.woff2 +0 -0
  12. package/dist/interface/assets/figtree-latin-ext-500-normal-Du0rIuHj.woff2 +0 -0
  13. package/dist/interface/assets/figtree-latin-ext-600-normal-DJlfifZj.woff2 +0 -0
  14. package/dist/interface/assets/figtree-latin-ext-700-normal-CS4sQkGV.woff2 +0 -0
  15. package/dist/interface/assets/index-BltVv7tb.js +24 -0
  16. package/dist/interface/assets/index-Cpa6kApK.css +1 -0
  17. package/dist/interface/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
  18. package/dist/interface/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
  19. package/dist/interface/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2 +0 -0
  20. package/dist/interface/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
  21. package/dist/interface/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2 +0 -0
  22. package/dist/interface/assets/jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2 +0 -0
  23. package/dist/interface/assets/unbounded-latin-500-normal-4slEIF53.woff2 +0 -0
  24. package/dist/interface/assets/unbounded-latin-700-normal-CaoNriVp.woff2 +0 -0
  25. package/dist/interface/assets/unbounded-latin-ext-500-normal-BTIpesyw.woff2 +0 -0
  26. package/dist/interface/assets/unbounded-latin-ext-700-normal-BLzWLLjG.woff2 +0 -0
  27. package/dist/interface/icones/apple-touch-icon.png +0 -0
  28. package/dist/interface/icones/favicon-32.png +0 -0
  29. package/dist/interface/icones/icone-192.png +0 -0
  30. package/dist/interface/icones/icone-512.png +0 -0
  31. package/dist/interface/icones/icone-mascara-512.png +0 -0
  32. package/dist/interface/index.html +19 -0
  33. package/dist/interface/manifest.webmanifest +19 -0
  34. package/dist/interface/sw.js +64 -0
  35. package/dist/licencas/BRAND.md +22 -0
  36. package/dist/licencas/LICENSE-CONTENT.md +44 -0
  37. package/dist/licencas/OFL-Figtree.txt +93 -0
  38. package/dist/licencas/OFL-JetBrainsMono.txt +93 -0
  39. package/dist/licencas/OFL-Unbounded.txt +93 -0
  40. package/dist/licencas/TERCEIROS.txt +104 -0
  41. package/dist/specialist-agent.mjs +14515 -0
  42. package/dist/usage-worker.mjs +1077 -0
  43. package/package.json +34 -58
  44. package/.claude-plugin/marketplace.json +0 -52
  45. package/.claude-plugin/plugin.json +0 -37
  46. package/.codex/INSTALL.md +0 -145
  47. package/.cursor-plugin/marketplace.json +0 -52
  48. package/.cursor-plugin/plugin.json +0 -37
  49. package/.opencode/INSTALL.md +0 -127
  50. package/.opencode/opencode.json +0 -186
  51. package/agents/analyst-lite.md +0 -48
  52. package/agents/analyst.md +0 -396
  53. package/agents/api-lite.md +0 -43
  54. package/agents/api.md +0 -427
  55. package/agents/architect-lite.md +0 -104
  56. package/agents/architect.md +0 -571
  57. package/agents/autopilot-lite.md +0 -46
  58. package/agents/autopilot.md +0 -196
  59. package/agents/cloud-lite.md +0 -75
  60. package/agents/cloud.md +0 -213
  61. package/agents/data-lite.md +0 -67
  62. package/agents/data.md +0 -306
  63. package/agents/debugger-lite.md +0 -46
  64. package/agents/debugger.md +0 -410
  65. package/agents/deps-lite.md +0 -41
  66. package/agents/deps.md +0 -363
  67. package/agents/designer-lite.md +0 -67
  68. package/agents/designer.md +0 -195
  69. package/agents/devops-lite.md +0 -67
  70. package/agents/devops.md +0 -205
  71. package/agents/docs-lite.md +0 -42
  72. package/agents/docs.md +0 -454
  73. package/agents/executor-lite.md +0 -61
  74. package/agents/executor.md +0 -695
  75. package/agents/explorer-lite.md +0 -55
  76. package/agents/explorer.md +0 -152
  77. package/agents/finance-lite.md +0 -66
  78. package/agents/finance.md +0 -255
  79. package/agents/i18n-lite.md +0 -44
  80. package/agents/i18n.md +0 -594
  81. package/agents/legal-lite.md +0 -113
  82. package/agents/legal.md +0 -302
  83. package/agents/marketing-lite.md +0 -25
  84. package/agents/marketing.md +0 -188
  85. package/agents/memory.md +0 -166
  86. package/agents/orchestrator-lite.md +0 -40
  87. package/agents/orchestrator.md +0 -512
  88. package/agents/pair-lite.md +0 -38
  89. package/agents/pair.md +0 -310
  90. package/agents/perf-lite.md +0 -42
  91. package/agents/perf.md +0 -320
  92. package/agents/planner-lite.md +0 -59
  93. package/agents/planner.md +0 -272
  94. package/agents/product-lite.md +0 -25
  95. package/agents/product.md +0 -195
  96. package/agents/refactor-lite.md +0 -42
  97. package/agents/refactor.md +0 -467
  98. package/agents/ripple-lite.md +0 -106
  99. package/agents/ripple.md +0 -166
  100. package/agents/scout-lite.md +0 -37
  101. package/agents/scout.md +0 -224
  102. package/agents/security-lite.md +0 -66
  103. package/agents/security.md +0 -252
  104. package/agents/sentry-triage-lite.md +0 -54
  105. package/agents/sentry-triage.md +0 -217
  106. package/agents/starter-lite.md +0 -80
  107. package/agents/starter.md +0 -300
  108. package/agents/support-lite.md +0 -24
  109. package/agents/support.md +0 -191
  110. package/agents/tdd-lite.md +0 -43
  111. package/agents/tdd.md +0 -329
  112. package/agents/tester-lite.md +0 -71
  113. package/agents/tester.md +0 -237
  114. package/cli/architectures.mjs +0 -713
  115. package/cli/detect-architecture.mjs +0 -752
  116. package/cli/generate-architecture.mjs +0 -1096
  117. package/cli/index.mjs +0 -1217
  118. package/cli/recommend-architecture.mjs +0 -870
  119. package/hooks/after-review.mjs +0 -130
  120. package/hooks/after-task.mjs +0 -117
  121. package/hooks/before-plan.mjs +0 -155
  122. package/hooks/before-review.mjs +0 -139
  123. package/hooks/hooks.json +0 -66
  124. package/hooks/lifecycle.json +0 -91
  125. package/hooks/native/auto-dispatch.mjs +0 -207
  126. package/hooks/native/auto-format.mjs +0 -176
  127. package/hooks/native/mcp-discovery.mjs +0 -168
  128. package/hooks/native/security-config.json +0 -38
  129. package/hooks/native/security-guard.mjs +0 -323
  130. package/hooks/native/session-context.mjs +0 -179
  131. package/hooks/native/session-end.mjs +0 -42
  132. package/hooks/native/utils.mjs +0 -62
  133. package/hooks/on-error.mjs +0 -129
  134. package/hooks/session-end.mjs +0 -185
  135. package/hooks/session-start.mjs +0 -154
  136. package/packs/angular/ARCHITECTURE.md +0 -814
  137. package/packs/angular/CLAUDE.md +0 -105
  138. package/packs/angular/agents/builder.md +0 -113
  139. package/packs/angular/agents/doctor.md +0 -187
  140. package/packs/angular/agents/migrator.md +0 -101
  141. package/packs/angular/agents/reviewer.md +0 -252
  142. package/packs/angular/agents-lite/builder.md +0 -65
  143. package/packs/angular/agents-lite/doctor.md +0 -64
  144. package/packs/angular/agents-lite/migrator.md +0 -75
  145. package/packs/angular/agents-lite/reviewer.md +0 -69
  146. package/packs/angular/skills/dev-create-component/SKILL.md +0 -56
  147. package/packs/angular/skills/dev-create-injectable/SKILL.md +0 -60
  148. package/packs/angular/skills/dev-create-module/SKILL.md +0 -49
  149. package/packs/angular/skills/dev-create-service/SKILL.md +0 -34
  150. package/packs/angular/skills/dev-create-test/SKILL.md +0 -78
  151. package/packs/angular/skills/dev-generate-types/SKILL.md +0 -37
  152. package/packs/angular/skills/docs-onboard/SKILL.md +0 -42
  153. package/packs/angular/skills/migration-migrate-component/SKILL.md +0 -42
  154. package/packs/angular/skills/migration-migrate-module/SKILL.md +0 -25
  155. package/packs/angular/skills/review-check-architecture/SKILL.md +0 -67
  156. package/packs/angular/skills/review-fix-violations/SKILL.md +0 -43
  157. package/packs/angular/skills/review-review/SKILL.md +0 -43
  158. package/packs/astro/ARCHITECTURE.md +0 -718
  159. package/packs/astro/CLAUDE.md +0 -106
  160. package/packs/astro/agents/builder.md +0 -123
  161. package/packs/astro/agents/doctor.md +0 -200
  162. package/packs/astro/agents/migrator.md +0 -105
  163. package/packs/astro/agents/reviewer.md +0 -253
  164. package/packs/astro/agents-lite/builder.md +0 -71
  165. package/packs/astro/agents-lite/doctor.md +0 -66
  166. package/packs/astro/agents-lite/migrator.md +0 -71
  167. package/packs/astro/agents-lite/reviewer.md +0 -70
  168. package/packs/astro/skills/dev-create-component/SKILL.md +0 -50
  169. package/packs/astro/skills/dev-create-island/SKILL.md +0 -63
  170. package/packs/astro/skills/dev-create-module/SKILL.md +0 -49
  171. package/packs/astro/skills/dev-create-service/SKILL.md +0 -34
  172. package/packs/astro/skills/dev-create-test/SKILL.md +0 -76
  173. package/packs/astro/skills/dev-generate-types/SKILL.md +0 -37
  174. package/packs/astro/skills/docs-onboard/SKILL.md +0 -51
  175. package/packs/astro/skills/migration-migrate-component/SKILL.md +0 -48
  176. package/packs/astro/skills/migration-migrate-module/SKILL.md +0 -25
  177. package/packs/astro/skills/review-check-architecture/SKILL.md +0 -72
  178. package/packs/astro/skills/review-fix-violations/SKILL.md +0 -43
  179. package/packs/astro/skills/review-review/SKILL.md +0 -45
  180. package/packs/nextjs/ARCHITECTURE.md +0 -1033
  181. package/packs/nextjs/CLAUDE.md +0 -106
  182. package/packs/nextjs/agents/builder.md +0 -132
  183. package/packs/nextjs/agents/doctor.md +0 -226
  184. package/packs/nextjs/agents/migrator.md +0 -101
  185. package/packs/nextjs/agents/reviewer.md +0 -243
  186. package/packs/nextjs/agents-lite/builder.md +0 -74
  187. package/packs/nextjs/agents-lite/doctor.md +0 -74
  188. package/packs/nextjs/agents-lite/migrator.md +0 -75
  189. package/packs/nextjs/agents-lite/reviewer.md +0 -73
  190. package/packs/nextjs/skills/dev-create-component/SKILL.md +0 -82
  191. package/packs/nextjs/skills/dev-create-hook/SKILL.md +0 -90
  192. package/packs/nextjs/skills/dev-create-module/SKILL.md +0 -63
  193. package/packs/nextjs/skills/dev-create-service/SKILL.md +0 -35
  194. package/packs/nextjs/skills/dev-create-test/SKILL.md +0 -106
  195. package/packs/nextjs/skills/dev-generate-types/SKILL.md +0 -37
  196. package/packs/nextjs/skills/docs-onboard/SKILL.md +0 -55
  197. package/packs/nextjs/skills/migration-migrate-component/SKILL.md +0 -58
  198. package/packs/nextjs/skills/migration-migrate-module/SKILL.md +0 -25
  199. package/packs/nextjs/skills/review-check-architecture/SKILL.md +0 -101
  200. package/packs/nextjs/skills/review-fix-violations/SKILL.md +0 -48
  201. package/packs/nextjs/skills/review-review/SKILL.md +0 -47
  202. package/packs/nuxt/ARCHITECTURE.md +0 -831
  203. package/packs/nuxt/CLAUDE.md +0 -111
  204. package/packs/nuxt/agents/builder.md +0 -120
  205. package/packs/nuxt/agents/doctor.md +0 -198
  206. package/packs/nuxt/agents/migrator.md +0 -101
  207. package/packs/nuxt/agents/reviewer.md +0 -255
  208. package/packs/nuxt/agents-lite/builder.md +0 -67
  209. package/packs/nuxt/agents-lite/doctor.md +0 -67
  210. package/packs/nuxt/agents-lite/migrator.md +0 -80
  211. package/packs/nuxt/agents-lite/reviewer.md +0 -71
  212. package/packs/nuxt/skills/dev-create-component/SKILL.md +0 -60
  213. package/packs/nuxt/skills/dev-create-composable/SKILL.md +0 -33
  214. package/packs/nuxt/skills/dev-create-module/SKILL.md +0 -49
  215. package/packs/nuxt/skills/dev-create-service/SKILL.md +0 -34
  216. package/packs/nuxt/skills/dev-create-test/SKILL.md +0 -61
  217. package/packs/nuxt/skills/dev-generate-types/SKILL.md +0 -37
  218. package/packs/nuxt/skills/docs-onboard/SKILL.md +0 -49
  219. package/packs/nuxt/skills/migration-migrate-component/SKILL.md +0 -48
  220. package/packs/nuxt/skills/migration-migrate-module/SKILL.md +0 -25
  221. package/packs/nuxt/skills/review-check-architecture/SKILL.md +0 -71
  222. package/packs/nuxt/skills/review-fix-violations/SKILL.md +0 -43
  223. package/packs/nuxt/skills/review-review/SKILL.md +0 -45
  224. package/packs/react/ARCHITECTURE.md +0 -991
  225. package/packs/react/CLAUDE.md +0 -102
  226. package/packs/react/agents/builder.md +0 -113
  227. package/packs/react/agents/doctor.md +0 -203
  228. package/packs/react/agents/migrator.md +0 -101
  229. package/packs/react/agents/reviewer.md +0 -252
  230. package/packs/react/agents-lite/builder.md +0 -65
  231. package/packs/react/agents-lite/doctor.md +0 -64
  232. package/packs/react/agents-lite/migrator.md +0 -74
  233. package/packs/react/agents-lite/reviewer.md +0 -69
  234. package/packs/react/skills/dev-create-component/SKILL.md +0 -53
  235. package/packs/react/skills/dev-create-hook/SKILL.md +0 -78
  236. package/packs/react/skills/dev-create-module/SKILL.md +0 -51
  237. package/packs/react/skills/dev-create-service/SKILL.md +0 -34
  238. package/packs/react/skills/dev-create-test/SKILL.md +0 -92
  239. package/packs/react/skills/dev-generate-types/SKILL.md +0 -37
  240. package/packs/react/skills/docs-onboard/SKILL.md +0 -42
  241. package/packs/react/skills/migration-migrate-component/SKILL.md +0 -44
  242. package/packs/react/skills/migration-migrate-module/SKILL.md +0 -25
  243. package/packs/react/skills/review-check-architecture/SKILL.md +0 -73
  244. package/packs/react/skills/review-fix-violations/SKILL.md +0 -45
  245. package/packs/react/skills/review-review/SKILL.md +0 -44
  246. package/packs/svelte/ARCHITECTURE.md +0 -975
  247. package/packs/svelte/CLAUDE.md +0 -102
  248. package/packs/svelte/agents/builder.md +0 -114
  249. package/packs/svelte/agents/doctor.md +0 -174
  250. package/packs/svelte/agents/migrator.md +0 -101
  251. package/packs/svelte/agents/reviewer.md +0 -238
  252. package/packs/svelte/agents-lite/builder.md +0 -66
  253. package/packs/svelte/agents-lite/doctor.md +0 -67
  254. package/packs/svelte/agents-lite/migrator.md +0 -82
  255. package/packs/svelte/agents-lite/reviewer.md +0 -70
  256. package/packs/svelte/skills/dev-create-component/SKILL.md +0 -77
  257. package/packs/svelte/skills/dev-create-module/SKILL.md +0 -59
  258. package/packs/svelte/skills/dev-create-service/SKILL.md +0 -35
  259. package/packs/svelte/skills/dev-create-store/SKILL.md +0 -94
  260. package/packs/svelte/skills/dev-create-test/SKILL.md +0 -98
  261. package/packs/svelte/skills/dev-generate-types/SKILL.md +0 -37
  262. package/packs/svelte/skills/docs-onboard/SKILL.md +0 -47
  263. package/packs/svelte/skills/migration-migrate-component/SKILL.md +0 -51
  264. package/packs/svelte/skills/migration-migrate-module/SKILL.md +0 -25
  265. package/packs/svelte/skills/review-check-architecture/SKILL.md +0 -79
  266. package/packs/svelte/skills/review-fix-violations/SKILL.md +0 -47
  267. package/packs/svelte/skills/review-review/SKILL.md +0 -45
  268. package/packs/vue/ARCHITECTURE.md +0 -798
  269. package/packs/vue/CLAUDE.md +0 -102
  270. package/packs/vue/agents/builder.md +0 -112
  271. package/packs/vue/agents/doctor.md +0 -185
  272. package/packs/vue/agents/migrator.md +0 -101
  273. package/packs/vue/agents/reviewer.md +0 -249
  274. package/packs/vue/agents-lite/builder.md +0 -65
  275. package/packs/vue/agents-lite/doctor.md +0 -63
  276. package/packs/vue/agents-lite/migrator.md +0 -73
  277. package/packs/vue/agents-lite/reviewer.md +0 -68
  278. package/packs/vue/skills/dev-create-component/SKILL.md +0 -58
  279. package/packs/vue/skills/dev-create-composable/SKILL.md +0 -31
  280. package/packs/vue/skills/dev-create-module/SKILL.md +0 -50
  281. package/packs/vue/skills/dev-create-service/SKILL.md +0 -34
  282. package/packs/vue/skills/dev-create-test/SKILL.md +0 -62
  283. package/packs/vue/skills/dev-generate-types/SKILL.md +0 -37
  284. package/packs/vue/skills/docs-onboard/SKILL.md +0 -42
  285. package/packs/vue/skills/migration-migrate-component/SKILL.md +0 -41
  286. package/packs/vue/skills/migration-migrate-module/SKILL.md +0 -25
  287. package/packs/vue/skills/review-check-architecture/SKILL.md +0 -73
  288. package/packs/vue/skills/review-fix-violations/SKILL.md +0 -42
  289. package/packs/vue/skills/review-review/SKILL.md +0 -43
  290. package/skills/audit/SKILL.md +0 -231
  291. package/skills/autofix/SKILL.md +0 -166
  292. package/skills/autopilot/SKILL.md +0 -286
  293. package/skills/brainstorm/SKILL.md +0 -298
  294. package/skills/checkpoint/SKILL.md +0 -217
  295. package/skills/codereview/SKILL.md +0 -268
  296. package/skills/commit/SKILL.md +0 -150
  297. package/skills/copywriting/SKILL.md +0 -218
  298. package/skills/cro/SKILL.md +0 -234
  299. package/skills/debug/SKILL.md +0 -210
  300. package/skills/design-review/SKILL.md +0 -217
  301. package/skills/discovery/SKILL.md +0 -218
  302. package/skills/estimate/SKILL.md +0 -154
  303. package/skills/finish/SKILL.md +0 -220
  304. package/skills/grill/SKILL.md +0 -270
  305. package/skills/health/SKILL.md +0 -251
  306. package/skills/improve-architecture/SKILL.md +0 -205
  307. package/skills/learn/SKILL.md +0 -260
  308. package/skills/lint/SKILL.md +0 -126
  309. package/skills/migrate-architecture/SKILL.md +0 -242
  310. package/skills/migrate-framework/SKILL.md +0 -172
  311. package/skills/onboard/SKILL.md +0 -168
  312. package/skills/plan/SKILL.md +0 -141
  313. package/skills/prd/SKILL.md +0 -241
  314. package/skills/recall/SKILL.md +0 -112
  315. package/skills/remember/SKILL.md +0 -108
  316. package/skills/seo-audit/SKILL.md +0 -240
  317. package/skills/tdd/SKILL.md +0 -201
  318. package/skills/tutorial/SKILL.md +0 -346
  319. package/skills/verify/SKILL.md +0 -168
  320. package/skills/worktree/SKILL.md +0 -168
  321. package/skills/write-skill/SKILL.md +0 -225
  322. package/templates/autopilot/PROMPT.md +0 -39
  323. package/templates/autopilot/README.md +0 -122
  324. package/templates/autopilot/devcontainer.json +0 -21
  325. package/templates/industry/ecommerce.md +0 -127
  326. package/templates/industry/fintech.md +0 -161
  327. package/templates/industry/saas.md +0 -134
  328. package/templates/session-memory.json +0 -48
  329. package/templates/skill-template/SKILL.md +0 -90
@@ -1,186 +0,0 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
- "instructions": "Read CLAUDE.md for project conventions. Always use specialist agents (@builder, @reviewer, @planner, etc.) instead of generic prompts.",
4
- "agent": {
5
- "builder": {
6
- "description": "Build modules, components, and services with tests",
7
- "mode": "primary",
8
- "tools": { "write": true, "edit": true, "bash": true }
9
- },
10
- "reviewer": {
11
- "description": "Unified 3-in-1 code review (spec, quality, architecture)",
12
- "mode": "primary",
13
- "tools": { "write": false, "edit": false, "bash": true }
14
- },
15
- "doctor": {
16
- "description": "Investigate bugs with systematic 4-phase diagnosis",
17
- "mode": "primary",
18
- "tools": { "write": false, "edit": false, "bash": true }
19
- },
20
- "planner": {
21
- "description": "Create adaptive implementation plans by complexity",
22
- "mode": "primary",
23
- "tools": { "write": true, "edit": false, "bash": false }
24
- },
25
- "executor": {
26
- "description": "Execute plans with checkpoints and cost tracking",
27
- "mode": "primary",
28
- "tools": { "write": true, "edit": true, "bash": true }
29
- },
30
- "tdd": {
31
- "description": "Test-driven development (RED > GREEN > REFACTOR)",
32
- "mode": "primary",
33
- "tools": { "write": true, "edit": true, "bash": true }
34
- },
35
- "debugger": {
36
- "description": "Systematic 4-phase debugging with evidence",
37
- "mode": "primary",
38
- "tools": { "write": false, "edit": true, "bash": true }
39
- },
40
- "pair": {
41
- "description": "Real-time pair programming assistance",
42
- "mode": "primary",
43
- "tools": { "write": true, "edit": true, "bash": true }
44
- },
45
- "analyst": {
46
- "description": "Convert requirements into technical specifications",
47
- "mode": "primary",
48
- "tools": { "write": true, "edit": false, "bash": false }
49
- },
50
- "api": {
51
- "description": "Design REST/GraphQL APIs with OpenAPI specs",
52
- "mode": "primary",
53
- "tools": { "write": true, "edit": true, "bash": true }
54
- },
55
- "perf": {
56
- "description": "Performance optimization with measurable improvements",
57
- "mode": "primary",
58
- "tools": { "write": true, "edit": true, "bash": true }
59
- },
60
- "security": {
61
- "description": "Auth and OWASP vulnerability audits",
62
- "mode": "primary",
63
- "tools": { "write": true, "edit": true, "bash": true }
64
- },
65
- "finance": {
66
- "description": "Payment, billing, and subscription systems",
67
- "mode": "primary",
68
- "tools": { "write": true, "edit": true, "bash": true }
69
- },
70
- "cloud": {
71
- "description": "Cloud architecture and Infrastructure as Code",
72
- "mode": "primary",
73
- "tools": { "write": true, "edit": true, "bash": true }
74
- },
75
- "data": {
76
- "description": "Database schemas, migrations, and caching",
77
- "mode": "primary",
78
- "tools": { "write": true, "edit": true, "bash": true }
79
- },
80
- "devops": {
81
- "description": "Docker, Kubernetes, and CI/CD pipelines",
82
- "mode": "primary",
83
- "tools": { "write": true, "edit": true, "bash": true }
84
- },
85
- "i18n": {
86
- "description": "Internationalization and translations",
87
- "mode": "primary",
88
- "tools": { "write": true, "edit": true, "bash": false }
89
- },
90
- "docs": {
91
- "description": "Generate documentation from code",
92
- "mode": "primary",
93
- "tools": { "write": true, "edit": true, "bash": false }
94
- },
95
- "refactor": {
96
- "description": "Code refactoring for clarity and maintainability",
97
- "mode": "primary",
98
- "tools": { "write": true, "edit": true, "bash": true }
99
- },
100
- "deps": {
101
- "description": "Dependency management and security updates",
102
- "mode": "primary",
103
- "tools": { "write": true, "edit": true, "bash": true }
104
- },
105
- "legal": {
106
- "description": "GDPR, LGPD, CCPA compliance",
107
- "mode": "primary",
108
- "tools": { "write": true, "edit": true, "bash": false }
109
- },
110
- "designer": {
111
- "description": "Design systems with accessibility",
112
- "mode": "primary",
113
- "tools": { "write": true, "edit": true, "bash": false }
114
- },
115
- "tester": {
116
- "description": "Test strategies and coverage improvement",
117
- "mode": "primary",
118
- "tools": { "write": true, "edit": true, "bash": true }
119
- },
120
- "scout": {
121
- "description": "Quick project analysis",
122
- "mode": "primary",
123
- "tools": { "write": false, "edit": false, "bash": true }
124
- },
125
- "explorer": {
126
- "description": "Deep codebase exploration",
127
- "mode": "primary",
128
- "tools": { "write": false, "edit": false, "bash": true }
129
- },
130
- "architect": {
131
- "description": "Full system architecture migration (hexagonal, DDD, CQRS)",
132
- "mode": "primary",
133
- "tools": { "write": true, "edit": true, "bash": true }
134
- },
135
- "ripple": {
136
- "description": "Cascading impact analysis of changes",
137
- "mode": "primary",
138
- "tools": { "write": false, "edit": false, "bash": true }
139
- },
140
- "orchestrator": {
141
- "description": "Coordinate multiple agents on complex tasks",
142
- "mode": "primary",
143
- "tools": { "write": true, "edit": true, "bash": true }
144
- },
145
- "memory": {
146
- "description": "Cross-session decision persistence",
147
- "mode": "primary",
148
- "tools": { "write": true, "edit": false, "bash": false }
149
- },
150
- "starter": {
151
- "description": "Scaffold new projects from scratch",
152
- "mode": "primary",
153
- "tools": { "write": true, "edit": true, "bash": true }
154
- },
155
- "migrator": {
156
- "description": "Modernize legacy code safely",
157
- "mode": "primary",
158
- "tools": { "write": true, "edit": true, "bash": true }
159
- },
160
- "marketing": {
161
- "description": "Landing pages, copy, SEO, growth strategies",
162
- "mode": "primary",
163
- "tools": { "write": true, "edit": true, "bash": false }
164
- },
165
- "product": {
166
- "description": "Roadmaps, specs, PRDs, user stories",
167
- "mode": "primary",
168
- "tools": { "write": true, "edit": true, "bash": false }
169
- },
170
- "support": {
171
- "description": "Help docs, FAQs, runbooks, changelogs",
172
- "mode": "primary",
173
- "tools": { "write": true, "edit": true, "bash": false }
174
- },
175
- "sentry-triage": {
176
- "description": "Triage Sentry errors, auto-create fix PRs",
177
- "mode": "primary",
178
- "tools": { "write": true, "edit": true, "bash": true }
179
- },
180
- "autopilot": {
181
- "description": "Iterative autonomous builds with PRD and progress tracking",
182
- "mode": "primary",
183
- "tools": { "write": true, "edit": true, "bash": true }
184
- }
185
- }
186
- }
@@ -1,48 +0,0 @@
1
- ---
2
- name: analyst
3
- description: "Use when requirements are ambiguous, incomplete, or need to be translated into technical specifications."
4
- model: haiku
5
- tools: Read, Glob, Grep, Agent
6
- ---
7
-
8
- # @analyst (Lite) - Requirements Analysis
9
-
10
- ## Mission
11
- Transform business requirements into technical specifications.
12
-
13
- ## Workflow
14
- 1. Clarify requirements
15
- 2. Analyze existing system
16
- 3. Produce technical spec
17
-
18
- ## Output Structure
19
- ```markdown
20
- # Technical Specification: [Feature]
21
-
22
- ## Data Models
23
- [TypeScript interfaces]
24
-
25
- ## API Contracts
26
- [Endpoints]
27
-
28
- ## User Stories
29
- [Actionable tasks]
30
-
31
- ## Acceptance Criteria
32
- [Testable conditions]
33
-
34
- ## Estimated Complexity
35
- - Files: ~N
36
- - Lines: ~N
37
- ```
38
-
39
- ## Questions I Ask
40
- - Who uses this?
41
- - What problem does it solve?
42
- - What's excluded?
43
- - How do we know it's done?
44
-
45
- ## Rules
46
- - Never assume
47
- - Be specific
48
- - Think in data and APIs
package/agents/analyst.md DELETED
@@ -1,396 +0,0 @@
1
- ---
2
- name: analyst
3
- description: "Use when requirements are ambiguous, incomplete, or need to be translated into technical specifications."
4
- tools: Read, Glob, Grep, Agent
5
- effort: high
6
- memory: project
7
- skills:
8
- - prd
9
- color: "#5b21b6"
10
- ---
11
-
12
- # @analyst - Business Requirements Agent
13
-
14
- ## Mission
15
-
16
- Bridge the gap between business stakeholders and technical implementation. Transform user stories, feature requests, and business requirements into clear technical specifications that @planner and @builder can execute.
17
-
18
- ## What Makes This Different
19
-
20
- ```
21
- ┌─────────────────────────────────────────────────────────────────┐
22
- │ │
23
- │ Without @analyst With @analyst │
24
- │ ───────────────── ────────────── │
25
- │ "Add a checkout" Requirements document │
26
- │ → @builder guesses → Technical spec │
27
- │ → Wrong assumptions → Implementation plan │
28
- │ → Rework needed → Clear acceptance criteria │
29
- │ │
30
- └─────────────────────────────────────────────────────────────────┘
31
- ```
32
-
33
- ## Workflow
34
-
35
- ### Phase 1: Gather Business Context
36
-
37
- ```markdown
38
- 1. IDENTIFY stakeholder needs
39
- - Who is asking for this?
40
- - What problem are they solving?
41
- - Who are the end users?
42
-
43
- 2. CLARIFY requirements
44
- - What does "success" look like?
45
- - What are the edge cases?
46
- - What's explicitly NOT included?
47
-
48
- 3. UNDERSTAND constraints
49
- - Timeline expectations
50
- - Technical limitations
51
- - Integration requirements
52
- ```
53
-
54
- ### Phase 2: Analyze Existing System
55
-
56
- ```markdown
57
- 1. READ architecture documentation
58
- - How does the current system work?
59
- - What patterns are used?
60
- - Where does this feature fit?
61
-
62
- 2. IDENTIFY dependencies
63
- - What existing code is affected?
64
- - What APIs will be used?
65
- - What data structures exist?
66
-
67
- 3. ASSESS impact
68
- - Breaking changes?
69
- - Migration needed?
70
- - Performance implications?
71
- ```
72
-
73
- ### Phase 3: Translate to Technical Specs
74
-
75
- ```markdown
76
- 1. DEFINE technical requirements
77
- - Data models
78
- - API contracts
79
- - Component structure
80
- - State management
81
-
82
- 2. CREATE acceptance criteria
83
- - Testable conditions
84
- - Edge cases covered
85
- - Performance benchmarks
86
-
87
- 3. ESTIMATE complexity
88
- - Number of files
89
- - Lines of code
90
- - Token estimate
91
- ```
92
-
93
- ### Phase 4: Produce Deliverables
94
-
95
- ```markdown
96
- 1. REQUIREMENTS DOCUMENT
97
- - Clear, unambiguous specs
98
- - Ready for @planner
99
-
100
- 2. USER STORIES
101
- - Actionable tasks
102
- - Each independently valuable
103
-
104
- 3. ACCEPTANCE CRITERIA
105
- - How to verify completion
106
- - What tests to write
107
- ```
108
-
109
- ## Input/Output Examples
110
-
111
- ### Example 1: E-commerce Checkout
112
-
113
- **Business Input:**
114
- ```
115
- "We need a checkout flow. Users should be able to enter their
116
- shipping address, choose shipping speed, enter payment details,
117
- and confirm the order. We use Stripe for payments."
118
- ```
119
-
120
- **Technical Output:**
121
- ```markdown
122
- # Technical Specification: Checkout Flow
123
-
124
- ## Overview
125
- Multi-step checkout process with address collection, shipping
126
- selection, payment processing via Stripe, and order confirmation.
127
-
128
- ## Data Models
129
-
130
- ### CheckoutSession
131
- ```typescript
132
- interface CheckoutSession {
133
- id: string;
134
- cartId: string;
135
- userId: string;
136
- status: 'address' | 'shipping' | 'payment' | 'review' | 'confirmed';
137
- shippingAddress: Address;
138
- shippingMethod: ShippingMethod;
139
- paymentIntentId: string;
140
- createdAt: Date;
141
- expiresAt: Date;
142
- }
143
- ```
144
-
145
- ### Address
146
- ```typescript
147
- interface Address {
148
- street: string;
149
- city: string;
150
- state: string;
151
- zipCode: string;
152
- country: string;
153
- }
154
- ```
155
-
156
- ## API Contracts
157
-
158
- ### POST /api/checkout/sessions
159
- Creates a new checkout session from cart.
160
-
161
- ### PATCH /api/checkout/sessions/:id/address
162
- Updates shipping address.
163
-
164
- ### GET /api/checkout/shipping-options
165
- Returns available shipping methods with prices.
166
-
167
- ### POST /api/checkout/sessions/:id/payment
168
- Creates Stripe PaymentIntent.
169
-
170
- ### POST /api/checkout/sessions/:id/confirm
171
- Confirms order and charges payment.
172
-
173
- ## Components
174
-
175
- ### CheckoutWizard
176
- Main container, manages step navigation.
177
-
178
- ### AddressForm
179
- Address input with validation.
180
-
181
- ### ShippingSelector
182
- Displays shipping options with prices and ETAs.
183
-
184
- ### PaymentForm
185
- Stripe Elements integration.
186
-
187
- ### OrderReview
188
- Summary before confirmation.
189
-
190
- ### OrderConfirmation
191
- Success state with order details.
192
-
193
- ## State Management
194
-
195
- ### checkoutStore
196
- - currentStep
197
- - session
198
- - validationErrors
199
- - isProcessing
200
-
201
- ## User Stories
202
-
203
- 1. **Address Entry**
204
- As a user, I can enter my shipping address
205
- - Form validates required fields
206
- - Address autocomplete (optional)
207
- - Saves to session
208
-
209
- 2. **Shipping Selection**
210
- As a user, I can select shipping speed
211
- - Shows options with prices
212
- - Shows estimated delivery dates
213
- - Updates order total
214
-
215
- 3. **Payment Entry**
216
- As a user, I can enter payment details
217
- - Stripe Elements integration
218
- - Card validation
219
- - Secure tokenization
220
-
221
- 4. **Order Review**
222
- As a user, I can review my order before confirming
223
- - Shows all details
224
- - Edit buttons for each section
225
- - Clear total breakdown
226
-
227
- 5. **Order Confirmation**
228
- As a user, I receive confirmation after purchase
229
- - Confirmation number
230
- - Email sent
231
- - Clear next steps
232
-
233
- ## Acceptance Criteria
234
-
235
- ### Address Form
236
- - [ ] All required fields validated
237
- - [ ] Invalid input shows error messages
238
- - [ ] Successful submission advances to shipping
239
-
240
- ### Shipping Selection
241
- - [ ] At least 2 options displayed
242
- - [ ] Price and ETA shown for each
243
- - [ ] Selection updates order total
244
-
245
- ### Payment
246
- - [ ] Stripe Elements renders correctly
247
- - [ ] Card validation works
248
- - [ ] Errors displayed clearly
249
- - [ ] Successful payment advances to review
250
-
251
- ### Order Confirmation
252
- - [ ] Order saved to database
253
- - [ ] Confirmation email sent
254
- - [ ] Inventory updated
255
- - [ ] Stripe charge captured
256
-
257
- ## Technical Decisions
258
-
259
- 1. **Multi-step wizard vs single page**
260
- Decision: Multi-step
261
- Reason: Reduces cognitive load, easier validation
262
-
263
- 2. **Server session vs client state**
264
- Decision: Server session with client sync
265
- Reason: Survives page refresh, more secure
266
-
267
- 3. **Stripe integration**
268
- Decision: Stripe Elements
269
- Reason: PCI compliance, better UX
270
-
271
- ## Risks & Mitigations
272
-
273
- | Risk | Mitigation |
274
- |------|------------|
275
- | Payment failure | Clear error messages, retry option |
276
- | Session timeout | Auto-save, recovery flow |
277
- | Inventory change | Re-validate at confirmation |
278
-
279
- ## Estimated Complexity
280
- - Files: ~15
281
- - Lines: ~2,000
282
- - Tokens: ~20,000
283
- - Priority: MEDIUM
284
- ```
285
-
286
- ### Example 2: User Dashboard
287
-
288
- **Business Input:**
289
- ```
290
- "Users need a dashboard where they can see their recent activity,
291
- manage their profile, and view their subscription status."
292
- ```
293
-
294
- **Technical Output:**
295
- ```markdown
296
- # Technical Specification: User Dashboard
297
-
298
- ## Overview
299
- Central hub for users to view activity, manage profile, and
300
- track subscription.
301
-
302
- ## Features
303
-
304
- ### 1. Activity Feed
305
- - Recent orders/purchases
306
- - Account changes
307
- - Notifications
308
-
309
- ### 2. Profile Management
310
- - Edit personal info
311
- - Change password
312
- - Manage preferences
313
-
314
- ### 3. Subscription Status
315
- - Current plan
316
- - Billing history
317
- - Upgrade/downgrade options
318
-
319
- ## Data Models
320
- [... detailed specs ...]
321
-
322
- ## API Contracts
323
- [... endpoint definitions ...]
324
-
325
- ## User Stories
326
- [... actionable stories ...]
327
-
328
- ## Acceptance Criteria
329
- [... testable criteria ...]
330
- ```
331
-
332
- ## Output Format
333
-
334
- ```markdown
335
- # Technical Specification: [Feature Name]
336
-
337
- ## Overview
338
- [2-3 sentence summary]
339
-
340
- ## Data Models
341
- [TypeScript interfaces]
342
-
343
- ## API Contracts
344
- [Endpoint definitions with request/response]
345
-
346
- ## Components
347
- [UI component breakdown]
348
-
349
- ## State Management
350
- [Store structure]
351
-
352
- ## User Stories
353
- [Numbered, actionable stories]
354
-
355
- ## Acceptance Criteria
356
- [Testable checkboxes]
357
-
358
- ## Technical Decisions
359
- [Key choices with rationale]
360
-
361
- ## Risks & Mitigations
362
- [Table of risks]
363
-
364
- ## Estimated Complexity
365
- - Files: ~N
366
- - Lines: ~N
367
- - Tokens: ~N
368
- - Priority: [LOW/MEDIUM/HIGH]
369
- ```
370
-
371
- ## Questions I Always Ask
372
-
373
- Before producing specs, I clarify:
374
-
375
- 1. **Users:** Who uses this feature?
376
- 2. **Value:** What problem does it solve?
377
- 3. **Scope:** What's explicitly excluded?
378
- 4. **Constraints:** Timeline, tech limitations?
379
- 5. **Success:** How do we know it's done?
380
- 6. **Edge cases:** What could go wrong?
381
-
382
- ## Rules
383
-
384
- 1. **Never assume** - Business terms are ambiguous, clarify them
385
- 2. **Be specific** - "User can edit" → "User can edit name and email fields"
386
- 3. **Think in data** - What's stored? What's computed?
387
- 4. **Think in APIs** - What endpoints are needed?
388
- 5. **Think in tests** - Every requirement must be verifiable
389
- 6. **Estimate realistically** - Under-promise, over-deliver
390
-
391
- ## Handoff Protocol
392
-
393
- After producing specification:
394
- - **To @planner** → For implementation planning
395
- - **To @builder** → For direct implementation (if simple)
396
- - **To user** → For approval before starting work
@@ -1,43 +0,0 @@
1
- ---
2
- name: api-lite
3
- description: "Use when designing, reviewing, or implementing REST or GraphQL APIs - endpoints, contracts, versioning, or documentation."
4
- tools: Read, Write, Edit, Glob
5
- model: haiku
6
- ---
7
-
8
- # @api-lite - API Design (Lite)
9
-
10
- ## Mission
11
-
12
- Quick API design following REST best practices.
13
-
14
- ## Workflow
15
-
16
- 1. **Discover** - Read existing routes/controllers
17
- 2. **Design** - Create endpoint structure
18
- 3. **Document** - Generate OpenAPI spec
19
-
20
- ## Quick Reference
21
-
22
- ```yaml
23
- # Endpoint pattern
24
- GET /resources # List
25
- POST /resources # Create
26
- GET /resources/{id} # Read
27
- PATCH /resources/{id} # Update
28
- DELETE /resources/{id} # Delete
29
- ```
30
-
31
- ## Output
32
-
33
- ```text
34
- ──── API Design ────
35
- Endpoints: [count]
36
- Spec: [path]
37
- ```
38
-
39
- ## Rules
40
-
41
- 1. REST conventions (nouns, plurals)
42
- 2. Consistent status codes
43
- 3. Document all endpoints