@hailer/mcp 1.1.16 → 1.1.17-beta.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 (313) hide show
  1. package/.claude/CLAUDE.md +117 -320
  2. package/.claude/commands/app-squad.md +86 -90
  3. package/.claude/commands/audit-squad.md +19 -19
  4. package/.claude/commands/autoplan.md +3 -3
  5. package/.claude/commands/cleanup-squad.md +16 -16
  6. package/.claude/commands/config-squad.md +30 -30
  7. package/.claude/commands/crud-squad.md +23 -23
  8. package/.claude/commands/data-squad.md +21 -21
  9. package/.claude/commands/debug-squad.md +44 -44
  10. package/.claude/commands/doc-squad.md +16 -16
  11. package/.claude/commands/help:agents.md +130 -99
  12. package/.claude/commands/help:commands.md +15 -15
  13. package/.claude/commands/help:faq.md +17 -17
  14. package/.claude/commands/help:plugins.md +1 -1
  15. package/.claude/commands/help:skills.md +18 -24
  16. package/.claude/commands/hotfix-squad.md +22 -22
  17. package/.claude/commands/integration-squad.md +22 -22
  18. package/.claude/commands/janitor-squad.md +31 -31
  19. package/.claude/commands/learn-auto.md +5 -5
  20. package/.claude/commands/learn.md +12 -20
  21. package/.claude/commands/onboard-squad.md +39 -49
  22. package/.claude/commands/plan-workspace.md +2 -2
  23. package/.claude/commands/publish.md +32 -37
  24. package/.claude/commands/review-squad.md +27 -27
  25. package/.claude/commands/stats.md +26 -12
  26. package/.claude/commands/swarm.md +25 -25
  27. package/.claude/skills/chrome-mcp-reference/SKILL.md +5 -0
  28. package/.claude/skills/hailer-api-client/SKILL.md +55 -16
  29. package/.claude/skills/hailer-app-builder/SKILL.md +4 -270
  30. package/.claude/skills/hailer-apps-pictures/SKILL.md +3 -3
  31. package/.claude/skills/hailer-design-system/SKILL.md +96 -4
  32. package/.claude/skills/hailer-monolith-automations/SKILL.md +138 -116
  33. package/.claude/skills/hailer-permissions-system/SKILL.md +6 -9
  34. package/.claude/skills/hailer-project-protocol/SKILL.md +20 -110
  35. package/.claude/skills/integration-patterns/SKILL.md +6 -6
  36. package/.claude/skills/lsp-setup/SKILL.md +8 -9
  37. package/.claude/skills/sdk-activity-patterns/SKILL.md +238 -0
  38. package/.claude/skills/{SDK-document-templates → sdk-document-templates}/SKILL.md +13 -340
  39. package/.claude/skills/{SDK-function-fields → sdk-function-fields}/SKILL.md +8 -40
  40. package/.claude/skills/{SDK-insight-queries → sdk-insight-queries}/SKILL.md +114 -392
  41. package/.claude/skills/{SDK-ws-config-skill → sdk-ws-config-skill}/SKILL.md +79 -310
  42. package/.claude/skills/zapier-hailer-patterns/SKILL.md +84 -361
  43. package/.opencode/package-lock.json +117 -0
  44. package/CLAUDE.md +5 -358
  45. package/dist/app.d.ts.map +1 -1
  46. package/dist/app.js +10 -127
  47. package/dist/app.js.map +1 -1
  48. package/dist/bot/bot-manager.d.ts +3 -14
  49. package/dist/bot/bot-manager.d.ts.map +1 -1
  50. package/dist/bot/bot-manager.js +13 -4
  51. package/dist/bot/bot-manager.js.map +1 -1
  52. package/dist/bot/bot.d.ts +23 -102
  53. package/dist/bot/bot.d.ts.map +1 -1
  54. package/dist/bot/bot.js +356 -1212
  55. package/dist/bot/bot.js.map +1 -1
  56. package/dist/bot/services/bot-permissions.d.ts +50 -0
  57. package/dist/bot/services/bot-permissions.d.ts.map +1 -0
  58. package/dist/bot/services/bot-permissions.js +198 -0
  59. package/dist/bot/services/bot-permissions.js.map +1 -0
  60. package/dist/bot/services/index.d.ts +4 -2
  61. package/dist/bot/services/index.d.ts.map +1 -1
  62. package/dist/bot/services/index.js +10 -5
  63. package/dist/bot/services/index.js.map +1 -1
  64. package/dist/bot/services/message-classifier.d.ts +1 -1
  65. package/dist/bot/services/message-classifier.d.ts.map +1 -1
  66. package/dist/bot/services/message-classifier.js.map +1 -1
  67. package/dist/bot/services/signal-router.d.ts +32 -0
  68. package/dist/bot/services/signal-router.d.ts.map +1 -0
  69. package/dist/bot/services/signal-router.js +132 -0
  70. package/dist/bot/services/signal-router.js.map +1 -0
  71. package/dist/bot/services/system-prompt.d.ts +12 -0
  72. package/dist/bot/services/system-prompt.d.ts.map +1 -0
  73. package/dist/bot/services/system-prompt.js +93 -0
  74. package/dist/bot/services/system-prompt.js.map +1 -0
  75. package/dist/bot/services/types.d.ts +7 -34
  76. package/dist/bot/services/types.d.ts.map +1 -1
  77. package/dist/bot/services/types.js +0 -3
  78. package/dist/bot/services/types.js.map +1 -1
  79. package/dist/bot/services/workspace-refresh.d.ts +47 -0
  80. package/dist/bot/services/workspace-refresh.d.ts.map +1 -0
  81. package/dist/bot/services/workspace-refresh.js +154 -0
  82. package/dist/bot/services/workspace-refresh.js.map +1 -0
  83. package/dist/bot-config/constants.d.ts +0 -36
  84. package/dist/bot-config/constants.d.ts.map +1 -1
  85. package/dist/bot-config/constants.js +1 -76
  86. package/dist/bot-config/constants.js.map +1 -1
  87. package/dist/bot-config/context.d.ts +2 -42
  88. package/dist/bot-config/context.d.ts.map +1 -1
  89. package/dist/bot-config/context.js +13 -134
  90. package/dist/bot-config/context.js.map +1 -1
  91. package/dist/bot-config/index.d.ts +6 -15
  92. package/dist/bot-config/index.d.ts.map +1 -1
  93. package/dist/bot-config/index.js +5 -80
  94. package/dist/bot-config/index.js.map +1 -1
  95. package/dist/bot-config/loader.d.ts +16 -4
  96. package/dist/bot-config/loader.d.ts.map +1 -1
  97. package/dist/bot-config/loader.js +187 -96
  98. package/dist/bot-config/loader.js.map +1 -1
  99. package/dist/bot-config/persistence.d.ts +1 -52
  100. package/dist/bot-config/persistence.d.ts.map +1 -1
  101. package/dist/bot-config/persistence.js +3 -213
  102. package/dist/bot-config/persistence.js.map +1 -1
  103. package/dist/bot-config/state.d.ts +0 -41
  104. package/dist/bot-config/state.d.ts.map +1 -1
  105. package/dist/bot-config/state.js +0 -151
  106. package/dist/bot-config/state.js.map +1 -1
  107. package/dist/bot-config/tools.d.ts +1 -1
  108. package/dist/bot-config/tools.js +27 -27
  109. package/dist/bot-config/tools.js.map +1 -1
  110. package/dist/bot-config/types.d.ts +39 -32
  111. package/dist/bot-config/types.d.ts.map +1 -1
  112. package/dist/bot-config/types.js +0 -3
  113. package/dist/bot-config/types.js.map +1 -1
  114. package/dist/bot-config/webhooks.d.ts +0 -4
  115. package/dist/bot-config/webhooks.d.ts.map +1 -1
  116. package/dist/bot-config/webhooks.js +0 -13
  117. package/dist/bot-config/webhooks.js.map +1 -1
  118. package/dist/commands/seed-config.js +16 -31
  119. package/dist/commands/seed-config.js.map +1 -1
  120. package/dist/config.d.ts +0 -9
  121. package/dist/config.d.ts.map +1 -1
  122. package/dist/config.js +0 -15
  123. package/dist/config.js.map +1 -1
  124. package/dist/mcp/hailer-clients.js +2 -2
  125. package/dist/mcp/hailer-clients.js.map +1 -1
  126. package/dist/mcp/tool-registry.d.ts +10 -115
  127. package/dist/mcp/tool-registry.d.ts.map +1 -1
  128. package/dist/mcp/tool-registry.js +39 -363
  129. package/dist/mcp/tool-registry.js.map +1 -1
  130. package/dist/mcp/tools/activity.d.ts +3 -0
  131. package/dist/mcp/tools/activity.d.ts.map +1 -1
  132. package/dist/mcp/tools/activity.js +8 -1
  133. package/dist/mcp/tools/activity.js.map +1 -1
  134. package/dist/mcp/tools/app-core.d.ts +3 -0
  135. package/dist/mcp/tools/app-core.d.ts.map +1 -1
  136. package/dist/mcp/tools/app-core.js +9 -2
  137. package/dist/mcp/tools/app-core.js.map +1 -1
  138. package/dist/mcp/tools/app-marketplace.d.ts +3 -0
  139. package/dist/mcp/tools/app-marketplace.d.ts.map +1 -1
  140. package/dist/mcp/tools/app-marketplace.js +13 -1
  141. package/dist/mcp/tools/app-marketplace.js.map +1 -1
  142. package/dist/mcp/tools/app-member.d.ts +3 -0
  143. package/dist/mcp/tools/app-member.d.ts.map +1 -1
  144. package/dist/mcp/tools/app-member.js +6 -1
  145. package/dist/mcp/tools/app-member.js.map +1 -1
  146. package/dist/mcp/tools/app-scaffold.d.ts +3 -0
  147. package/dist/mcp/tools/app-scaffold.d.ts.map +1 -1
  148. package/dist/mcp/tools/app-scaffold.js +15 -11
  149. package/dist/mcp/tools/app-scaffold.js.map +1 -1
  150. package/dist/mcp/tools/company.d.ts +3 -0
  151. package/dist/mcp/tools/company.d.ts.map +1 -1
  152. package/dist/mcp/tools/company.js +5 -1
  153. package/dist/mcp/tools/company.js.map +1 -1
  154. package/dist/mcp/tools/discussion.d.ts +3 -0
  155. package/dist/mcp/tools/discussion.d.ts.map +1 -1
  156. package/dist/mcp/tools/discussion.js +13 -2
  157. package/dist/mcp/tools/discussion.js.map +1 -1
  158. package/dist/mcp/tools/file.d.ts +3 -0
  159. package/dist/mcp/tools/file.d.ts.map +1 -1
  160. package/dist/mcp/tools/file.js +6 -1
  161. package/dist/mcp/tools/file.js.map +1 -1
  162. package/dist/mcp/tools/index.d.ts +7 -0
  163. package/dist/mcp/tools/index.d.ts.map +1 -0
  164. package/dist/mcp/tools/index.js +34 -0
  165. package/dist/mcp/tools/index.js.map +1 -0
  166. package/dist/mcp/tools/insight.d.ts +3 -0
  167. package/dist/mcp/tools/insight.d.ts.map +1 -1
  168. package/dist/mcp/tools/insight.js +18 -8
  169. package/dist/mcp/tools/insight.js.map +1 -1
  170. package/dist/mcp/tools/user.d.ts +3 -0
  171. package/dist/mcp/tools/user.d.ts.map +1 -1
  172. package/dist/mcp/tools/user.js +6 -1
  173. package/dist/mcp/tools/user.js.map +1 -1
  174. package/dist/mcp/tools/workflow-permissions.d.ts +3 -0
  175. package/dist/mcp/tools/workflow-permissions.d.ts.map +1 -1
  176. package/dist/mcp/tools/workflow-permissions.js +8 -1
  177. package/dist/mcp/tools/workflow-permissions.js.map +1 -1
  178. package/dist/mcp/tools/workflow.d.ts +3 -0
  179. package/dist/mcp/tools/workflow.d.ts.map +1 -1
  180. package/dist/mcp/tools/workflow.js +29 -28
  181. package/dist/mcp/tools/workflow.js.map +1 -1
  182. package/dist/mcp/utils/index.d.ts +4 -11
  183. package/dist/mcp/utils/index.d.ts.map +1 -1
  184. package/dist/mcp/utils/index.js +5 -36
  185. package/dist/mcp/utils/index.js.map +1 -1
  186. package/dist/mcp/utils/role-utils.d.ts +0 -32
  187. package/dist/mcp/utils/role-utils.d.ts.map +1 -1
  188. package/dist/mcp/utils/role-utils.js +0 -73
  189. package/dist/mcp/utils/role-utils.js.map +1 -1
  190. package/dist/mcp/utils/tool-helpers.d.ts +0 -25
  191. package/dist/mcp/utils/tool-helpers.d.ts.map +1 -1
  192. package/dist/mcp/utils/tool-helpers.js +0 -34
  193. package/dist/mcp/utils/tool-helpers.js.map +1 -1
  194. package/dist/mcp/webhook-handler.d.ts +4 -34
  195. package/dist/mcp/webhook-handler.d.ts.map +1 -1
  196. package/dist/mcp/webhook-handler.js +57 -74
  197. package/dist/mcp/webhook-handler.js.map +1 -1
  198. package/dist/mcp-server.d.ts.map +1 -1
  199. package/dist/mcp-server.js +3 -78
  200. package/dist/mcp-server.js.map +1 -1
  201. package/package.json +1 -2
  202. package/.claude/agents/agent-ada-skill-builder.md +0 -94
  203. package/.claude/agents/agent-alejandro-function-fields.md +0 -342
  204. package/.claude/agents/agent-bjorn-config-audit.md +0 -103
  205. package/.claude/agents/agent-builder-agent-creator.md +0 -130
  206. package/.claude/agents/agent-code-simplifier.md +0 -53
  207. package/.claude/agents/agent-dmitri-activity-crud.md +0 -159
  208. package/.claude/agents/agent-giuseppe-app-builder.md +0 -208
  209. package/.claude/agents/agent-gunther-mcp-tools.md +0 -39
  210. package/.claude/agents/agent-helga-workflow-config.md +0 -204
  211. package/.claude/agents/agent-igor-activity-mover-automation.md +0 -125
  212. package/.claude/agents/agent-ingrid-doc-templates.md +0 -261
  213. package/.claude/agents/agent-ivan-monolith.md +0 -154
  214. package/.claude/agents/agent-kenji-data-reader.md +0 -86
  215. package/.claude/agents/agent-lars-code-inspector.md +0 -102
  216. package/.claude/agents/agent-marco-mockup-builder.md +0 -110
  217. package/.claude/agents/agent-marcus-api-documenter.md +0 -323
  218. package/.claude/agents/agent-marketplace-publisher.md +0 -280
  219. package/.claude/agents/agent-marketplace-reviewer.md +0 -309
  220. package/.claude/agents/agent-permissions-handler.md +0 -208
  221. package/.claude/agents/agent-simple-writer.md +0 -48
  222. package/.claude/agents/agent-svetlana-code-review.md +0 -171
  223. package/.claude/agents/agent-tanya-test-runner.md +0 -333
  224. package/.claude/agents/agent-ui-designer.md +0 -100
  225. package/.claude/agents/agent-viktor-sql-insights.md +0 -212
  226. package/.claude/agents/agent-web-search.md +0 -55
  227. package/.claude/agents/agent-yevgeni-discussions.md +0 -45
  228. package/.claude/agents/agent-zara-zapier.md +0 -159
  229. package/.claude/skills/SDK-activity-patterns/SKILL.md +0 -428
  230. package/.claude/skills/SDK-generate-skill/SKILL.md +0 -92
  231. package/.claude/skills/SDK-init-skill/SKILL.md +0 -127
  232. package/.claude/skills/agent-structure/SKILL.md +0 -98
  233. package/.claude/skills/delegation-routing/SKILL.md +0 -202
  234. package/.claude/skills/frontend-design/SKILL.md +0 -254
  235. package/.claude/skills/hailer-activity-mover/SKILL.md +0 -213
  236. package/.claude/skills/hailer-rest-api/SKILL.md +0 -61
  237. package/.claude/skills/hailer-rest-api/hailer-activities.md +0 -184
  238. package/.claude/skills/hailer-rest-api/hailer-admin.md +0 -473
  239. package/.claude/skills/hailer-rest-api/hailer-calendar.md +0 -256
  240. package/.claude/skills/hailer-rest-api/hailer-feed.md +0 -249
  241. package/.claude/skills/hailer-rest-api/hailer-insights.md +0 -195
  242. package/.claude/skills/hailer-rest-api/hailer-messaging.md +0 -276
  243. package/.claude/skills/hailer-rest-api/hailer-workflows.md +0 -283
  244. package/.claude/skills/insight-join-patterns/SKILL.md +0 -174
  245. package/.claude/skills/json-only-output/SKILL.md +0 -72
  246. package/.claude/skills/mcp-direct-tools/SKILL.md +0 -153
  247. package/.claude/skills/optional-parameters/SKILL.md +0 -72
  248. package/.claude/skills/tool-parameter-usage/SKILL.md +0 -126
  249. package/.claude/skills/tool-response-verification/SKILL.md +0 -92
  250. package/.opencode/agent/agent-ada-skill-builder.md +0 -35
  251. package/.opencode/agent/agent-alejandro-function-fields.md +0 -39
  252. package/.opencode/agent/agent-bjorn-config-audit.md +0 -36
  253. package/.opencode/agent/agent-builder-agent-creator.md +0 -39
  254. package/.opencode/agent/agent-code-simplifier.md +0 -31
  255. package/.opencode/agent/agent-dmitri-activity-crud.md +0 -40
  256. package/.opencode/agent/agent-giuseppe-app-builder.md +0 -37
  257. package/.opencode/agent/agent-gunther-mcp-tools.md +0 -39
  258. package/.opencode/agent/agent-helga-workflow-config.md +0 -204
  259. package/.opencode/agent/agent-igor-activity-mover-automation.md +0 -46
  260. package/.opencode/agent/agent-ingrid-doc-templates.md +0 -39
  261. package/.opencode/agent/agent-ivan-monolith.md +0 -46
  262. package/.opencode/agent/agent-kenji-data-reader.md +0 -53
  263. package/.opencode/agent/agent-lars-code-inspector.md +0 -28
  264. package/.opencode/agent/agent-marco-mockup-builder.md +0 -42
  265. package/.opencode/agent/agent-marcus-api-documenter.md +0 -53
  266. package/.opencode/agent/agent-marketplace-publisher.md +0 -44
  267. package/.opencode/agent/agent-marketplace-reviewer.md +0 -42
  268. package/.opencode/agent/agent-permissions-handler.md +0 -50
  269. package/.opencode/agent/agent-simple-writer.md +0 -45
  270. package/.opencode/agent/agent-svetlana-code-review.md +0 -39
  271. package/.opencode/agent/agent-tanya-test-runner.md +0 -57
  272. package/.opencode/agent/agent-ui-designer.md +0 -56
  273. package/.opencode/agent/agent-viktor-sql-insights.md +0 -34
  274. package/.opencode/agent/agent-web-search.md +0 -42
  275. package/.opencode/agent/agent-yevgeni-discussions.md +0 -37
  276. package/.opencode/agent/agent-zara-zapier.md +0 -53
  277. package/.opencode/commands/app-squad.md +0 -135
  278. package/.opencode/commands/audit-squad.md +0 -158
  279. package/.opencode/commands/autoplan.md +0 -563
  280. package/.opencode/commands/cleanup-squad.md +0 -98
  281. package/.opencode/commands/config-squad.md +0 -106
  282. package/.opencode/commands/crud-squad.md +0 -87
  283. package/.opencode/commands/data-squad.md +0 -97
  284. package/.opencode/commands/debug-squad.md +0 -303
  285. package/.opencode/commands/doc-squad.md +0 -65
  286. package/.opencode/commands/handoff.md +0 -137
  287. package/.opencode/commands/health.md +0 -49
  288. package/.opencode/commands/help-agents.md +0 -151
  289. package/.opencode/commands/help-commands.md +0 -32
  290. package/.opencode/commands/help-faq.md +0 -29
  291. package/.opencode/commands/help-plugins.md +0 -28
  292. package/.opencode/commands/help-skills.md +0 -7
  293. package/.opencode/commands/help-tools.md +0 -40
  294. package/.opencode/commands/help.md +0 -28
  295. package/.opencode/commands/hotfix-squad.md +0 -112
  296. package/.opencode/commands/integration-squad.md +0 -82
  297. package/.opencode/commands/janitor-squad.md +0 -167
  298. package/.opencode/commands/learn-auto.md +0 -120
  299. package/.opencode/commands/learn.md +0 -120
  300. package/.opencode/commands/mcp-list.md +0 -27
  301. package/.opencode/commands/onboard-squad.md +0 -140
  302. package/.opencode/commands/plan-workspace.md +0 -732
  303. package/.opencode/commands/prd.md +0 -131
  304. package/.opencode/commands/project-status.md +0 -82
  305. package/.opencode/commands/publish.md +0 -138
  306. package/.opencode/commands/recap.md +0 -69
  307. package/.opencode/commands/restore.md +0 -64
  308. package/.opencode/commands/review-squad.md +0 -152
  309. package/.opencode/commands/save.md +0 -24
  310. package/.opencode/commands/stats.md +0 -19
  311. package/.opencode/commands/swarm.md +0 -210
  312. package/.opencode/commands/tool-builder.md +0 -39
  313. package/.opencode/commands/ws-pull.md +0 -44
@@ -1,151 +1,182 @@
1
1
  ---
2
- description: Agent usage help for Hailer MCP
2
+ description: Help for working with skills and general-purpose sub-agents
3
3
  ---
4
4
 
5
- # Agents Help
5
+ # Skills & Roles Help
6
6
 
7
- Display agent usage instructions to the user.
7
+ Display how to work with the skill-based model and general-purpose sub-agents.
8
8
 
9
9
  ## Output
10
10
 
11
11
  ```
12
12
  ╭─────────────────────────────────────────╮
13
- HAILER MCP - AGENTS
13
+ HAILER MCP - SKILLS & WORKFLOWS
14
14
  ╰─────────────────────────────────────────╯
15
15
 
16
- Agents are AI specialists that handle specific tasks. The orchestrator
17
- (Claude) delegates work to them based on the task type.
16
+ The new model: General-purpose sub-agents + skills. No named agents.
17
+ Load the right skills for the domain, spawn a sub-agent with them.
18
18
 
19
19
  HOW IT WORKS:
20
20
 
21
21
  1. You ask Claude to do something
22
- 2. Claude identifies the right agent
23
- 3. Claude spawns the agent with your task
24
- 4. Agent does the work, returns JSON result
22
+ 2. Claude picks the relevant skills for context
23
+ 3. Claude spawns a general-purpose sub-agent with skill instructions
24
+ 4. Sub-agent executes using domain knowledge from skills
25
25
  5. Claude interprets result and reports back
26
26
 
27
27
  ─────────────────────────────────────────────────────────────────────────
28
28
 
29
- AGENT RELATIONSHIPS (who calls who):
30
-
31
- Kenji Dmitri Kenji gets IDs, Dmitri creates/updates
32
- Kenji Helga Kenji gets structure, Helga modifies config
33
- Kenji → Alejandro Kenji gets field IDs, Alejandro creates functions
34
- Kenji Viktor Kenji gets schema, Viktor creates insights
35
- Kenji Giuseppe Kenji gets data structure, Giuseppe builds app
36
- Marco → Giuseppe Marco validates mockup, Giuseppe builds production
37
- Ada ← (any failure) Ada creates skills from repeated failures
38
-
39
- Common chains:
40
- Add field: Kenji Helga (push) → Kenji (verify)
41
- • Create app: Kenji Viktor Giuseppe → Tanya
42
- Activity CRUD: Kenji → Dmitri
29
+ SKILL CATALOG:
30
+
31
+ Workspace & Config:
32
+ sdk-ws-config-skill - Understanding workflows, fields, phases, type generation
33
+ sdk-function-fields - Creating calculated fields
34
+ sdk-activity-patterns - Creating/updating activities
35
+ sdk-insight-queries - Writing insight queries
36
+ sdk-document-templates - Creating PDF/CSV templates
37
+
38
+ App Development:
39
+ hailer-app-builder - Building Hailer apps (React/Chakra)
40
+ hailer-design-system - Theme, colors, icons, components, UI/UX patterns
41
+ hailer-apps-pictures - Working with images in apps
42
+ publish-hailer-app - Publishing to production
43
+ hailer-api-client - Making REST API calls
44
+
45
+ Integrations:
46
+ hailer-monolith-automations - Webhook handlers, scheduled jobs, phase cascade bots
47
+ zapier-hailer-patterns - Zapier integrations
48
+ integration-patterns - General integration patterns
49
+ hailer-api-client - Using HailerApiClient
50
+
51
+ Testing & Quality:
52
+ testing-patterns - vitest/playwright patterns
53
+ lsp-setup - Code inspection tools
54
+ api-documentation-patterns - API endpoint documentation
55
+ tool-builder - Building MCP tools
56
+
57
+ Error Handling:
58
+ tool-parameter-usage - MCP validation errors
59
+ tool-response-verification - Tool failures
60
+ optional-parameters - Optional param errors
61
+ json-only-output - JSON formatting issues
43
62
 
44
63
  ─────────────────────────────────────────────────────────────────────────
45
64
 
46
- AGENT TOOL ACCESS:
65
+ ROLE-BASED WORKFLOWS:
47
66
 
48
- MCP Tools Only (restricted):
49
- Kenji - list_workflows, count_activities, list_activities
50
- Dmitri - create_activity, update_activity
51
- Permissions - list_apps, add/remove_app_member, search_users
52
- Yevgeni - discussion tools (list, fetch, post, invite)
67
+ Data Operations:
68
+ • Data Reader - Read workflows, fields, activities (LOCAL FIRST)
69
+ • Activity Writer - Create/update activities
70
+ Data Analyzer - Query patterns, anomalies, analysis
71
+ Access Controller - Manage app access
53
72
 
54
- Code Tools (Bash, Read, Write, Edit):
55
- Giuseppe - App building (+scaffold_hailer_app)
56
- Gunther - MCP tool building
57
- Helga - Workflow config
58
- Igor - Activity movers
59
- Ivan - Monolith automations
60
- Marco - Mockups
61
- Ingrid - Document templates
73
+ Configuration:
74
+ • Workflow Config - Manage workflows, fields, phases
75
+ • Function Fields - Calculated fields + nameFunction
76
+ • SQL Insights - SQL-like reports
77
+ • Template Designer - PDF/CSV document templates
62
78
 
63
- Read-Only (Read, Glob, Grep):
64
- Svetlana - Code review
65
- Bjorn - Config audit
66
- Tanya - Test runner (+ Bash for test execution)
79
+ Development:
80
+ • App Builder - Build Hailer apps (production)
81
+ • UI Designer - Design specs (layout, components)
82
+ Code Builder - Build MCP tools, backends
83
+ • Activity Mover - Phase cascade microservices
84
+ • Automation Builder - Webhooks, scheduled jobs
67
85
 
68
- Light Edit (Read, Edit, Glob):
69
- Simple Writer - Basic edits only (haiku model, fast)
70
- Code Simplifier - Simplify code for clarity (sonnet model)
86
+ Quality:
87
+ Code Reviewer - Code review, security
88
+ Test Runner - Run tests, verify builds
89
+ • Code Inspector - Find dead code, type errors
90
+ • Config Auditor - Audit configuration
91
+ • Code Simplifier - Refactor for clarity
71
92
 
72
- Special:
73
- Lars - LSP only (code inspection)
74
- Ada - Read, Write, Edit, Glob (skill creation)
93
+ Meta:
94
+ • Skill Builder - Create skills from patterns
95
+ Documentation Generator - API endpoint docs
96
+ • Publisher - Publish to marketplace
97
+ • Reviewer - PR review
75
98
 
76
99
  ─────────────────────────────────────────────────────────────────────────
77
100
 
78
- AGENT CATEGORIES:
101
+ COMMON WORKFLOWS:
79
102
 
80
- Data Operations:
81
- agent-kenji-data-reader - Read workflows, fields, activities (LOCAL FIRST)
82
- agent-dmitri-activity-crud - Create/update activities
83
- agent-yevgeni-discussions - Read/post discussion messages
84
- agent-permissions-handler - Manage app access
85
- agent-simple-writer - Basic code edits (ID swaps, string replacements)
103
+ Add a field:
104
+ Data Reader (get IDs) Workflow Config (create field) → (push)
105
+ Data Reader (verify)
86
106
 
87
- Configuration:
88
- agent-helga-workflow-config - Manage workflows, fields, phases
89
- agent-alejandro-function-fields - Calculated fields + name functions
90
- agent-viktor-sql-insights - SQL-like reports
91
- agent-ingrid-doc-templates - PDF/CSV document templates
107
+ Create an activity:
108
+ Data Reader (get schema) → Activity Writer (create)
92
109
 
93
- Development:
94
- agent-giuseppe-app-builder - Build Hailer apps (production)
95
- agent-marco-mockup-builder - Build demo apps (validation)
96
- agent-gunther-mcp-tools - Build MCP tools
97
- agent-igor-activity-mover - Phase cascade microservices
98
- agent-ivan-monolith - Monolith automations
99
- agent-zara-zapier - Zapier integrations
110
+ Build an app:
111
+ Data Reader (discover schema) UI Designer (design spec)
112
+ App Builder (build) Test Runner (verify)
100
113
 
101
- Quality:
102
- agent-svetlana-code-review - Code review (READ-ONLY)
103
- agent-tanya-test-runner - Run tests
104
- agent-lars-code-inspector - Find bugs, dead code (LSP)
105
- agent-bjorn-config-audit - Audit configuration
106
- agent-code-simplifier - Simplify code for clarity
114
+ Create a report:
115
+ Data Reader (get schema) → Function Fields (if needed)
116
+ SQL Insights (build queries)
107
117
 
108
- Meta:
109
- agent-ada-skill-builder - Create skills from failures
110
- agent-builder-agent-creator - Create new agents
111
- agent-marcus-api-documenter - Document API endpoints
112
- agent-marketplace-publisher - Publish plugins
113
- agent-marketplace-reviewer - Review plugin PRs
118
+ Review code:
119
+ Code Reviewer (find issues) → Code Fixer (fix) → Code Reviewer (verify)
114
120
 
115
121
  ─────────────────────────────────────────────────────────────────────────
116
122
 
117
- CRITICAL BOUNDARIES:
123
+ HOW TO SPAWN SUB-AGENTS:
118
124
 
119
- Kenji vs Dmitri:
120
- Kenji = READ (schema, lists, counts)
121
- Dmitri = WRITE (create, update)
122
- Dmitri needs IDs from Kenji first!
125
+ With skills:
126
+ Task(prompt="Load <skill-name> for understanding the domain.
127
+
128
+ Your mission: [detailed task description]")
123
129
 
124
- Marco vs Giuseppe:
125
- Marco = DEMO apps (non-functional, for validation)
126
- Giuseppe = PRODUCTION apps (real data, functional)
127
- Use Marco first to validate concept, then Giuseppe
130
+ Multiple skills:
131
+ Task(prompt="Load <skill-1> and <skill-2> skills.
132
+
133
+ Your mission: [detailed task description]")
134
+
135
+ Example:
136
+ Task(prompt="Load sdk-ws-config-skill for workspace understanding.
137
+
138
+ List all workflows and their fields for the Customer workflow.")
128
139
 
129
140
  ─────────────────────────────────────────────────────────────────────────
130
141
 
131
- EXAMPLE USAGE:
142
+ DATA OPERATION RULES:
143
+
144
+ Read First: Always check workspace/ before API calls
145
+ - workflow/ directory has all structural data (IDs, field types, phases)
146
+ - API only needed for live activity data, counts, discussion messages
132
147
 
133
- "Create a customer activity in the CRM workflow"
134
- Kenji (get IDs) Dmitri (create activity)
148
+ Refresh Often: `npm run pull` updates workspace/ from Hailer
149
+ - After pushing new config, pull to get new IDs
150
+ - Between pipeline steps
151
+
152
+ ID Format: Field IDs, workflow IDs, phase IDs come from workspace/
153
+ - Never guess IDs - always read them from workspace/ files
154
+ - Always verify types match before using in code
155
+
156
+ Activity Updates: Use correct wrapper format
157
+ - Correct: `{type: "string", value: "x"}`
158
+ - Wrong: Raw value `"x"`
159
+
160
+ ─────────────────────────────────────────────────────────────────────────
135
161
 
136
- "Build a dashboard app showing orders"
137
- → Kenji (get schema) → Giuseppe (build app)
162
+ SQUAD WORKFLOWS:
138
163
 
139
- "Add a calculated total field"
140
- Kenji (get field IDs) → Alejandro (create function)
164
+ Pre-built multi-step orchestrations:
165
+ /app-squad - Build apps end-to-end
166
+ /review-squad - Code review + auto-fix
167
+ /config-squad - Workflow config + functions + insights
168
+ /hotfix-squad - Test → fix → security review
169
+ /debug-squad - Parallel investigation
170
+ /crud-squad - Schema discovery → CRUD → verify
171
+ /data-squad - Build reports (discover → functions → insights)
141
172
 
142
- "Review my code changes"
143
- Svetlana (code review)
173
+ Large-scale parallel:
174
+ /swarm <desc> - Auto-select roles, split work across workers
144
175
 
145
176
  ─────────────────────────────────────────────────────────────────────────
146
177
 
147
178
  SEE ALSO:
148
- /stats - View agent usage statistics
149
- /help plugins - Install more agents
150
- /help commands - All slash commands
179
+ /stats - Task statistics
180
+ /help:skills - Skill details
181
+ /help:commands - All commands
151
182
  ```
@@ -46,19 +46,19 @@ PLANNING
46
46
  /project-status Sync DEVELOPMENT.md with PRD statuses
47
47
 
48
48
  SQUADS (multi-agent commands)
49
- /review-squad [files] Parallel+Loop: Svetlana + Lars + Tanya + Simple Writer
50
- /cleanup-squad [files] Parallel: Bjorn + Code Simplifier + Lars
51
- /app-squad <desc> Pipeline+Loop: Kenji → UI Designer → GiuseppeTanya (build verify)
52
- /config-squad <desc> Pipeline: HelgaAlejandroViktor
53
- /crud-squad <desc> Pipeline: KenjiDmitriKenji (verify)
54
- /data-squad <desc> Pipeline: KenjiAlejandroViktor
55
- /integration-squad <desc> Pipeline: KenjiIvanTanya
56
- /doc-squad <desc> Pipeline: LarsMarcus
57
- /hotfix-squad <desc> Pipeline+Loop: TanyaSimple WriterSvetlana (max 3 iter)
58
- /debug-squad <desc> Parallel+Loop: Kenji + Viktor + Svetlana + Tanya (--debate for competing hypotheses)
59
- /audit-squad Parallel: Svetlana + Permissions + Gunther (security audit)
60
- /onboard-squad <desc> Pipeline+Loop: HelgaAlejandroGiuseppeBjorn (bootstrap)
61
- /janitor-squad Parallel+Loop: Lars + Bjorn + ViktorSimple Writer (cleanup)
49
+ /review-squad [files] Parallel+Loop: Code Reviewer + LSP Inspector + Test Runner + Code Editor
50
+ /cleanup-squad [files] Parallel: Config Auditor + Code Simplifier + LSP Inspector
51
+ /app-squad <desc> Pipeline+Loop: Data Reader → UI Designer → App Builder Test Runner (build verify)
52
+ /config-squad <desc> Pipeline: Workflow Config Function Fields SQL Insights
53
+ /crud-squad <desc> Pipeline: Data Reader Activity Writer Data Reader (verify)
54
+ /data-squad <desc> Pipeline: Data Reader Function Fields SQL Insights
55
+ /integration-squad <desc> Pipeline: Data Reader Monolith Automations Test Runner
56
+ /doc-squad <desc> Pipeline: LSP Inspector API Documenter
57
+ /hotfix-squad <desc> Pipeline+Loop: Test Runner Code EditorCode Reviewer (max 3 iter)
58
+ /debug-squad <desc> Parallel+Loop: Data Reader + SQL Insights + Code Reviewer + Test Runner (--debate for competing hypotheses)
59
+ /audit-squad Parallel: Code Reviewer + Permissions Auditor + Tool Security Auditor (security audit)
60
+ /onboard-squad <desc> Pipeline+Loop: Workflow Config Function Fields App Builder Config Auditor (bootstrap)
61
+ /janitor-squad Parallel+Loop: LSP Inspector + Config Auditor + SQL Insights Code Editor (cleanup)
62
62
  /swarm <desc> Swarm: orchestrator picks agents, splits work, dispatches parallel workers
63
63
 
64
64
  SESSION
@@ -66,7 +66,7 @@ SESSION
66
66
  /save <message> Save changes to git (local commit)
67
67
  /restore Restore to a previous save point
68
68
  /handoff Create session handoff for next session
69
- /learn <cat> <desc> Capture learning and apply fix
69
+ /learn <cat> <desc> Capture learning and apply fix (cat: skill/X, pattern, bug, gotcha)
70
70
 
71
71
  ───────────────────────────────────────────
72
72
  Examples:
@@ -74,5 +74,5 @@ Examples:
74
74
  /autoplan "Add invoicing" Quick planning for feature
75
75
  /prd "customer portal" Create PRD for feature
76
76
  /save "Add customer form" Local git commit
77
- /learn agent/kenji "Check enums first"
77
+ /learn skill/data-reader "Check enums first"
78
78
  ```
@@ -20,41 +20,41 @@ A: Check two things:
20
20
  (the one with CLAUDE.md and .claude/ folder)
21
21
 
22
22
  Q: Why do I need to restart Claude Code after installing a plugin?
23
- A: Claude Code loads agent definitions at startup. New agents
24
- won't be available until restart. Use 'claude -c' to keep context.
23
+ A: Claude Code reloads configuration at startup. New skills and hooks
24
+ won't be active until restart. Use 'claude -c' to keep context.
25
25
 
26
26
  Q: What's the difference between /plugin install and /install-plugin?
27
27
  A: /plugin install - Claude's built-in plugin system (global)
28
28
  /install-plugin - Our local marketplace system (per-project)
29
29
 
30
- Q: Can I create my own agents?
31
- A: Yes! Add a markdown file to .claude/agents/ following the agent
32
- structure. See existing agents for examples.
30
+ Q: Can I create my own skills?
31
+ A: Yes! Add a SKILL.md file to .claude/skills/<name>/ following the
32
+ skill structure. See existing skills for examples.
33
33
 
34
- Q: How do I publish my agent to the marketplace?
35
- A: Use /publish-plugin. It creates a PR that gets auto-reviewed.
34
+ Q: How do I publish my skill or hook to the marketplace?
35
+ A: Use /publish-plugin. It creates a PR that gets reviewed.
36
36
  See /help plugins for details.
37
37
 
38
- Q: Why does the orchestrator delegate instead of doing work directly?
39
- A: Delegation keeps specialized knowledge in focused agents,
40
- reducing context size and improving accuracy.
38
+ Q: Why does Claude spawn sub-agents instead of doing work directly?
39
+ A: Sub-agents with focused skills produce better results for domain-
40
+ specific tasks by loading only the relevant context.
41
41
 
42
- Q: What happens if an agent fails?
43
- A: The orchestrator receives an error JSON and reports the failure.
42
+ Q: What happens if a sub-agent fails?
43
+ A: The orchestrator receives an error and reports the failure.
44
44
  It should identify root cause and fix it, never apply bandaids.
45
45
 
46
- Q: How do I know which agent will handle my request?
47
- A: Check the <agents> table in CLAUDE.md. The orchestrator matches
48
- your request to the appropriate agent based on patterns.
46
+ Q: How does Claude decide which skills to use?
47
+ A: Check the skill catalog in CLAUDE.md. Skills are loaded based on
48
+ the task domain (workspace config, app building, testing, etc.).
49
49
 
50
50
  Q: Can I use MCP tools directly without agents?
51
51
  A: Yes! Tools like list_workflows, create_activity, etc. are
52
52
  available directly. Agents just provide structured workflows.
53
53
 
54
54
  Q: Where is configuration stored?
55
- A: - Agents: .claude/agents/
56
- - Skills: .claude/skills/
55
+ A: - Skills: .claude/skills/
57
56
  - Hooks: .claude/hooks/
57
+ - Commands: .claude/commands/
58
58
  - Settings: .claude/settings.json
59
59
  - Instructions: CLAUDE.md
60
60
 
@@ -24,7 +24,7 @@ COMMANDS:
24
24
 
25
25
  /install-plugin <name>
26
26
  Install a plugin to .claude/ folder.
27
- Example: /install-plugin tanya-test-runner
27
+ Example: /install-plugin my-custom-plugin
28
28
 
29
29
  /uninstall-plugin <name>
30
30
  Remove a plugin from .claude/ folder.
@@ -22,36 +22,29 @@ HOW SKILLS WORK:
22
22
  SubagentStart hook injects them automatically when the agent spawns.
23
23
 
24
24
  On-demand: The orchestrator tells an agent to load a skill via the
25
- Skill tool. Only 6 agents have it: Giuseppe, Helga, Viktor,
26
- Alejandro, Ingrid, Ada.
25
+ Skill tool. Load skills before spawning sub-agents or doing domain-specific work.
27
26
 
28
27
  ─────────────────────────────────────────────────────────────────────────
29
28
 
30
29
  SDK SKILLS (core patterns):
31
- SDK-activity-patterns - Field value formats, dates, users, links
32
- SDK-document-templates - PDF/CSV template structure + generation
33
- SDK-function-fields - Calculated fields in Hailer workflows
34
- SDK-generate-skill - TypeScript type generation from workspace
35
- SDK-init-skill - Initialize new Hailer SDK projects
36
- SDK-insight-queries - SQL query patterns for insights
37
- SDK-ws-config-skill - Workflow config: fields, phases, schemas
30
+ sdk-activity-patterns - Field value formats, dates, users, links
31
+ sdk-document-templates - PDF/CSV template structure + generation
32
+ sdk-function-fields - Calculated fields in Hailer workflows
33
+ sdk-insight-queries - SQL query patterns for insights, cross-workflow JOINs
34
+ sdk-ws-config-skill - Workflow config: fields, phases, schemas, type generation, project setup
38
35
 
39
36
  HAILER PLATFORM SKILLS:
40
- hailer-activity-mover - Phase cascade microservice patterns
41
- hailer-api-client - @hailer/cli auth, requests, signals
37
+ hailer-api-client - @hailer/cli auth, requests, signals, direct HTTP API endpoints
42
38
  hailer-app-builder - Build apps with @hailer/app-sdk
43
39
  hailer-apps-pictures - Fetch and display images from Hailer
44
- hailer-design-system - Chakra UI theme, colors, icons, components
45
- hailer-monolith-automations - Webhooks, scheduled jobs in monolith
40
+ hailer-design-system - Chakra UI theme, colors, icons, components, UI/UX patterns
41
+ hailer-monolith-automations - Webhooks, scheduled jobs in monolith, phase cascade bots
46
42
  hailer-permissions-system - Users, teams, access control
47
43
  hailer-project-protocol - Full SDK workflow reference
48
- hailer-rest-api - Direct HTTP API endpoints
49
44
 
50
45
  INTEGRATION SKILLS:
51
46
  integration-patterns - Activity movers, webhooks, SCIM, Kafka
52
47
  zapier-hailer-patterns - Zapier triggers, actions, Zap configs
53
- insight-join-patterns - JOIN syntax for cross-workflow insights
54
-
55
48
  TOOL & AGENT SKILLS:
56
49
  agent-structure - Template for creating new agents
57
50
  delegation-routing - Full routing table + chaining patterns
@@ -66,23 +59,24 @@ QUALITY & FIX SKILLS (auto-loaded on errors):
66
59
  testing-patterns - vitest, playwright, build verification
67
60
 
68
61
  REFERENCE SKILLS:
69
- api-documentation-patterns - API doc standards for Marcus
62
+ api-documentation-patterns - API endpoint documentation standards
70
63
  chrome-mcp-reference - Browser automation reference
71
- frontend-design - UI design patterns
72
64
  lsp-setup - Language Server Protocol setup
73
65
  publish-hailer-app - App publishing to production
74
66
 
75
67
  ─────────────────────────────────────────────────────────────────────────
76
68
 
77
- ON-DEMAND SKILL LOADING (tell the orchestrator):
69
+ ON-DEMAND SKILL LOADING:
78
70
 
79
- "Load hailer-apps-pictures for Giuseppe"
80
- Giuseppe gets image handling patterns
71
+ Tell the orchestrator which skill a sub-agent needs:
72
+ "Load hailer-apps-pictures for the app builder sub-agent"
73
+ → Sub-agent gets image handling patterns
81
74
 
82
- "Viktor needs insight-join-patterns for this query"
83
- Viktor gets JOIN syntax for cross-workflow data
75
+ "Load sdk-insight-queries for this SQL query"
76
+ Sub-agent gets insight patterns including JOIN syntax for cross-workflow data
84
77
 
85
- Only works with: Giuseppe, Helga, Viktor, Alejandro, Ingrid, Ada
78
+ Skill content is loaded by the orchestrator and pasted directly
79
+ into the sub-agent prompt — agents never load skills themselves.
86
80
 
87
81
  ─────────────────────────────────────────────────────────────────────────
88
82
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Quick bug fix with Tanya, Simple Writer, and Svetlana
2
+ description: Quick bug fix with test creation, code editing, and security review
3
3
  argument-hint: "bug description"
4
4
  allowed-tools: Task, Bash
5
5
  ---
@@ -7,21 +7,21 @@ allowed-tools: Task, Bash
7
7
 
8
8
  Sequential pipeline with iterative loop: Reproduce bug, apply fix, verify, review. Loops back if review fails.
9
9
 
10
- **Agents:**
11
- 1. **Tanya** - Test runner (create failing test, verify fix)
12
- 2. **Simple Writer** - Code editor (apply minimal fix)
13
- 3. **Svetlana** - Code review (security audit of the fix)
10
+ **Roles:**
11
+ 1. **Test Runner** - Test runner (create failing test, verify fix)
12
+ 2. **Code Editor** - Code editor (apply minimal fix)
13
+ 3. **Code Reviewer** - Code review (security audit of the fix)
14
14
 
15
15
  **Goal:** $ARGUMENTS
16
16
 
17
17
  ## Protocol
18
18
 
19
- ### Step 1: Tanya (Reproduce Bug)
19
+ ### Step 1: Reproduce Bug
20
20
 
21
- Spawn Tanya to create a test that demonstrates the bug:
21
+ Spawn a test runner to create a test that demonstrates the bug:
22
22
 
23
23
  ```
24
- Task(subagent_type="agent-tanya-test-runner", prompt="Create a test that reproduces this bug: $ARGUMENTS.\n\nThe test should:\n- Fail with the current code (red)\n- Clearly demonstrate the bug\n- Be minimal and focused\n\nDo NOT fix the bug yet. Just create the failing test and report the failure.")
24
+ Task(prompt="Load testing-patterns skill for writing focused tests.\n\nCreate a test that reproduces this bug: $ARGUMENTS.\n\nThe test should:\n- Fail with the current code (red)\n- Clearly demonstrate the bug\n- Be minimal and focused\n\nDo NOT fix the bug yet. Just create the failing test and report the failure.")
25
25
  ```
26
26
 
27
27
  Wait for result. The test should be failing (RED state).
@@ -32,38 +32,38 @@ Track iteration count. Max **3 iterations** before escalating to user with remai
32
32
 
33
33
  **Set:** `iteration = 1`
34
34
 
35
- #### Step 2a: Simple Writer (Apply Fix)
35
+ #### Step 2a: Apply Fix
36
36
 
37
- Spawn Simple Writer with accumulated context from all previous iterations:
37
+ Spawn a code editor with accumulated context from all previous iterations:
38
38
 
39
39
  ```
40
- Task(subagent_type="agent-simple-writer", prompt="Fix the bug in: $ARGUMENTS.\n\nContext:\nTanya created a failing test that reproduces the bug:\n[PASTE TANYA'S TEST CODE AND FAILURE OUTPUT]\n\n[IF iteration > 1: Include ALL accumulated feedback:\n- Tanya's latest test results (pass/fail details)\n- Svetlana's review feedback (if review was reached in previous iteration)\n- What was already tried and why it didn't fully work\nThis prevents repeating previous mistakes.]\n\nMake the MINIMAL change needed to make the test pass (GREEN state). Do not refactor or improve surrounding code.")
40
+ Task(prompt="Fix the bug in: $ARGUMENTS.\n\nContext:\nTest runner created a failing test that reproduces the bug:\n[PASTE TEST CODE AND FAILURE OUTPUT]\n\n[IF iteration > 1: Include ALL accumulated feedback:\n- Test runner's latest test results (pass/fail details)\n- Code Reviewer's feedback (if review was reached in previous iteration)\n- What was already tried and why it didn't fully work\nThis prevents repeating previous mistakes.]\n\nMake the MINIMAL change needed to make the test pass (GREEN state). Do not refactor or improve surrounding code.")
41
41
  ```
42
42
 
43
- #### Step 2b: Tanya (Verify Fix)
43
+ #### Step 2b: Verify Fix
44
44
 
45
45
  Run the test to confirm the fix works:
46
46
 
47
47
  ```
48
- Task(subagent_type="agent-tanya-test-runner", prompt="Re-run the test for: $ARGUMENTS. Confirm it now passes with Simple Writer's fix. Also run any related tests to check for regressions.")
48
+ Task(prompt="Load testing-patterns skill for test execution.\n\nRe-run the test for: $ARGUMENTS. Confirm it now passes with the code editor's fix. Also run any related tests to check for regressions.")
49
49
  ```
50
50
 
51
51
  If tests FAIL:
52
52
  - If `iteration < 3`: increment iteration, go back to **Step 2a** with the test failure output
53
53
  - If `iteration >= 3`: escalate to user (see Step 3)
54
54
 
55
- #### Step 2c: Svetlana (Security Review)
55
+ #### Step 2c: Security Review
56
56
 
57
- Tests passed. Spawn Svetlana to audit the fix:
57
+ Tests passed. Spawn a code reviewer to audit the fix:
58
58
 
59
59
  ```
60
- Task(subagent_type="agent-svetlana-code-review", prompt="Security review of the hotfix for: $ARGUMENTS.\n\nFix applied by Simple Writer:\n[PASTE SIMPLE WRITER'S CHANGES]\n\nIteration: [iteration] of 3\n\nCheck for:\n- Security vulnerabilities\n- Data validation issues\n- Authentication/authorization concerns\n- Edge cases that could be exploited\n\nReturn verdict: APPROVED or REQUEST_CHANGES with specific issues to fix.")
60
+ Task(prompt="Security review of the hotfix for: $ARGUMENTS.\n\nFix applied by code editor:\n[PASTE CODE EDITOR'S CHANGES]\n\nIteration: [iteration] of 3\n\nCheck for:\n- Security vulnerabilities\n- Data validation issues\n- Authentication/authorization concerns\n- Edge cases that could be exploited\n\nReturn verdict: APPROVED or REQUEST_CHANGES with specific issues to fix.")
61
61
  ```
62
62
 
63
63
  **If APPROVED:** proceed to Step 3 (report).
64
64
 
65
65
  **If REQUEST_CHANGES:**
66
- - If `iteration < 3`: increment iteration, go back to **Step 2a** with Svetlana's feedback
66
+ - If `iteration < 3`: increment iteration, go back to **Step 2a** with Code Reviewer's feedback
67
67
  - If `iteration >= 3`: escalate to user (see Step 3)
68
68
 
69
69
  ### Step 3: Report
@@ -75,18 +75,18 @@ Task(subagent_type="agent-svetlana-code-review", prompt="Security review of the
75
75
  - Iterations: [count] of 3 max
76
76
  - Final status: FIXED / ESCALATED
77
77
 
78
- ### Tanya (Test)
78
+ ### Test Runner
79
79
  - Bug reproduced: YES
80
80
  - Test status before fix: FAILED
81
81
  - Test status after fix: PASSED / STILL FAILING
82
82
  - Regressions found: [yes/no]
83
83
 
84
- ### Simple Writer (Fix)
84
+ ### Code Editor
85
85
  - Files modified: [list]
86
86
  - Lines changed: [count]
87
87
  - Approach: [brief description]
88
88
 
89
- ### Svetlana (Security)
89
+ ### Code Reviewer
90
90
  - Verdict: APPROVED / REQUEST_CHANGES
91
91
  - Critical issues: [count]
92
92
  - Warnings: [count]
@@ -99,7 +99,7 @@ Task(subagent_type="agent-svetlana-code-review", prompt="Security review of the
99
99
 
100
100
  [If ESCALATED after 3 iterations:]
101
101
  - Manual intervention needed
102
- - Remaining issues: [list from Svetlana/Tanya]
102
+ - Remaining issues: [list from security reviewer/test runner]
103
103
  - Attempted fixes: [summary of what was tried]
104
104
  ```
105
105
 
@@ -108,5 +108,5 @@ Task(subagent_type="agent-svetlana-code-review", prompt="Security review of the
108
108
  - RED -> GREEN -> REVIEW loop ensures quality
109
109
  - Fix must be minimal - no refactoring
110
110
  - Max 3 iterations prevents infinite loops
111
- - Each iteration passes previous feedback to Simple Writer so it doesn't repeat mistakes
111
+ - Each iteration passes previous feedback to the code editor so it doesn't repeat mistakes
112
112
  - Security check is mandatory before reporting success