@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,5 +1,5 @@
1
1
  ---
2
- description: Create, update, or manage activities with Kenji and Dmitri
2
+ description: Create, update, or manage activities with schema discovery and CRUD operations
3
3
  argument-hint: "what to create/update and in which workflow"
4
4
  allowed-tools: Task, Bash, Read
5
5
  ---
@@ -7,43 +7,43 @@ allowed-tools: Task, Bash, Read
7
7
 
8
8
  Sequential pipeline: Discover schema, execute CRUD operations, verify results.
9
9
 
10
- **Agents:**
11
- 1. **Kenji** - Schema discovery + pre-read existing data
12
- 2. **Dmitri** - Create/update activities
13
- 3. **Kenji** - Verify results (count/list after changes)
10
+ **Roles:**
11
+ 1. **Data Reader** - Schema discovery + pre-read existing data
12
+ 2. **Activity Writer** - Create/update activities
13
+ 3. **Data Reader** - Verify results (count/list after changes)
14
14
 
15
15
  **Goal:** $ARGUMENTS
16
16
 
17
17
  ## Protocol
18
18
 
19
- ### Step 1: Kenji (Schema Discovery + Pre-Read)
19
+ ### Step 1: Schema Discovery
20
20
 
21
21
  Discover workflow schema and existing data relevant to the task:
22
22
 
23
23
  ```
24
- Task(subagent_type="agent-kenji-data-reader", prompt="For this task: $ARGUMENTS\n\n1. List the relevant workflow(s) with field IDs, types, and dropdown/enum options\n2. List phases and their IDs\n3. If updating existing activities: list the activities that match (include their IDs)\n4. If creating new activities: show a sample existing activity so we know the expected field format")
24
+ Task(prompt="Load sdk-ws-config-skill and sdk-activity-patterns skills for data operations.\n\nFor this task: $ARGUMENTS\n\n1. List the relevant workflow(s) with field IDs, types, and dropdown/enum options\n2. List phases and their IDs\n3. If updating existing activities: list the activities that match (include their IDs)\n4. If creating new activities: show a sample existing activity so we know the expected field format")
25
25
  ```
26
26
 
27
- Wait for result. This gives Dmitri the real IDs and field formats.
27
+ Wait for result. This gives the activity writer the real IDs and field formats.
28
28
 
29
- ### Step 2: Dmitri (Create/Update Activities)
29
+ ### Step 2: CRUD Operations
30
30
 
31
- Spawn Dmitri with full schema context from Kenji:
31
+ Spawn an activity writer with full schema context:
32
32
 
33
33
  ```
34
- Task(subagent_type="agent-dmitri-activity-crud", prompt="Task: $ARGUMENTS\n\nWorkflow schema from Kenji:\n[PASTE KENJI'S OUTPUT - workflow ID, field IDs, types, phase IDs, enum options]\n\n[IF UPDATING: Target activities:\nPASTE ACTIVITY IDs AND CURRENT VALUES]\n\nExecute the CRUD operations using the correct field IDs and value formats.")
34
+ Task(prompt="Load sdk-activity-patterns skill for activity creation and updates.\n\nTask: $ARGUMENTS\n\nWorkflow schema from data reader:\n[PASTE DATA READER OUTPUT - workflow ID, field IDs, types, phase IDs, enum options]\n\n[IF UPDATING: Target activities:\nPASTE ACTIVITY IDs AND CURRENT VALUES]\n\nExecute the CRUD operations using the correct field IDs and value formats.")
35
35
  ```
36
36
 
37
- Wait for result. Check for errors - if Dmitri reports validation failures, review field formats and retry once.
37
+ Wait for result. Check for errors - if the activity writer reports validation failures, review field formats and retry once.
38
38
 
39
- ### Step 3: Kenji (Verify Results)
39
+ ### Step 3: Verify Results
40
40
 
41
41
  Skip if `--skip-verify` flag is set.
42
42
 
43
43
  Verify the operations succeeded:
44
44
 
45
45
  ```
46
- Task(subagent_type="agent-kenji-data-reader", prompt="Verify CRUD operations for: $ARGUMENTS\n\nExpected changes:\n[PASTE DMITRI'S OUTPUT - created/updated activity IDs]\n\nCount activities in the workflow and list the recently created/modified ones to confirm they exist with correct values.")
46
+ Task(prompt="Load sdk-ws-config-skill for data verification.\n\nVerify CRUD operations for: $ARGUMENTS\n\nExpected changes:\n[PASTE ACTIVITY WRITER OUTPUT - created/updated activity IDs]\n\nCount activities in the workflow and list the recently created/modified ones to confirm they exist with correct values.")
47
47
  ```
48
48
 
49
49
  ### Step 4: Report
@@ -51,17 +51,17 @@ Task(subagent_type="agent-kenji-data-reader", prompt="Verify CRUD operations for
51
51
  ```markdown
52
52
  ## CRUD Squad Complete
53
53
 
54
- ### Kenji (Schema Discovery)
54
+ ### Data Reader (Schema Discovery)
55
55
  - Workflow: [name] ([id])
56
56
  - Fields mapped: [count]
57
57
  - Existing activities found: [count or "N/A"]
58
58
 
59
- ### Dmitri (CRUD Operations)
59
+ ### Activity Writer (CRUD Operations)
60
60
  - Created: [count] activities
61
61
  - Updated: [count] activities
62
62
  - Errors: [count or "none"]
63
63
 
64
- ### Kenji (Verification)
64
+ ### Data Reader (Verification)
65
65
  - Activities confirmed: [count]
66
66
  - Discrepancies: [list or "none"]
67
67
 
@@ -73,15 +73,15 @@ Task(subagent_type="agent-kenji-data-reader", prompt="Verify CRUD operations for
73
73
 
74
74
  | Flag | Effect |
75
75
  |------|--------|
76
- | `--skip-verify` | Skip verification Kenji (trust Dmitri's response) |
76
+ | `--skip-verify` | Skip verification (trust Activity Writer's response) |
77
77
  | `--skip-discovery` | Skip schema discovery (when you already know the workflow schema) |
78
- | `--dry-run` | Run Kenji discovery only, show what Dmitri would do, but don't execute |
78
+ | `--dry-run` | Run Data Reader discovery only, show what Activity Writer would do, but don't execute |
79
79
 
80
- ## Difference from Direct Dmitri
80
+ ## Difference from Direct Activity Writer
81
81
 
82
- | | Direct Dmitri | CRUD Squad |
82
+ | | Direct Activity Writer | CRUD Squad |
83
83
  |---|---|---|
84
- | **Schema context** | You must provide IDs manually | Kenji discovers IDs automatically |
85
- | **Verification** | Trust Dmitri's response | Kenji independently verifies |
84
+ | **Schema context** | You must provide IDs manually | Data Reader discovers IDs automatically |
85
+ | **Verification** | Trust Activity Writer's response | Data Reader independently verifies |
86
86
  | **Bulk ops** | Single prompt | Discovery → execute → verify pipeline |
87
87
  | **Use when** | You already know exact IDs and format | "Create 5 customers" or "Update all overdue tasks" |
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Build reports with Kenji, Alejandro, and Viktor
2
+ description: Build reports with schema discovery, function fields, and insights
3
3
  argument-hint: "report/dashboard description"
4
4
  allowed-tools: Task, Bash, Read
5
5
  ---
@@ -7,50 +7,50 @@ allowed-tools: Task, Bash, Read
7
7
 
8
8
  Sequential pipeline: Discover schema, create calculated fields if needed, then build insights.
9
9
 
10
- **Agents:**
11
- 1. **Kenji** - Schema discovery (workflow fields, types, IDs)
12
- 2. **Alejandro** - Function fields (if calculated values needed)
13
- 3. **Viktor** - SQL insights (queries, aggregations, reports)
10
+ **Roles:**
11
+ 1. **Data Reader** - Schema discovery (workflow fields, types, IDs)
12
+ 2. **Function Fields** - Calculated fields (if needed)
13
+ 3. **SQL Insights** - SQL insights (queries, aggregations, reports)
14
14
 
15
15
  **Goal:** $ARGUMENTS
16
16
 
17
17
  ## Protocol
18
18
 
19
- ### Step 1: Kenji (Schema Discovery)
19
+ ### Step 1: Schema Discovery
20
20
 
21
- Always start with Kenji to get real IDs and field types:
21
+ Always start with schema discovery to get real IDs and field types:
22
22
 
23
23
  ```
24
- Task(subagent_type="agent-kenji-data-reader", prompt="List all workflows and their fields relevant to: $ARGUMENTS. Include field IDs, types, and dropdown options. Also list existing insights if any.")
24
+ Task(prompt="Load sdk-ws-config-skill for understanding workspace structure.\n\nList all workflows and their fields relevant to: $ARGUMENTS. Include field IDs, types, and dropdown options. Also list existing insights if any.")
25
25
  ```
26
26
 
27
- Wait for result. This gives Viktor and Alejandro the real IDs they need.
27
+ Wait for result. This gives the function fields and SQL insights agents the real IDs they need.
28
28
 
29
29
  ### Step 2: Check if Function Fields Needed
30
30
 
31
- Review Kenji's output. Alejandro is needed when:
31
+ Review the schema discovery output. Function fields are needed when:
32
32
  - The report needs **calculated values** not already in the schema (totals, percentages, date diffs)
33
33
  - An existing function field needs modification
34
34
  - A **nameFunction** is missing or needs updating
35
35
 
36
36
  If no calculated fields needed, skip to Step 3.
37
37
 
38
- If needed, spawn Alejandro:
38
+ If needed, spawn a function fields agent:
39
39
 
40
40
  ```
41
- Task(subagent_type="agent-alejandro-function-fields", prompt="Create function fields for: $ARGUMENTS.\n\nWorkflow schema from Kenji:\n[PASTE KENJI'S OUTPUT - workflow IDs, field IDs, types]\n\nCreate the calculated fields needed for this report.")
41
+ Task(prompt="Load sdk-function-fields and sdk-ws-config-skill skills for creating calculated fields.\n\nCreate function fields for: $ARGUMENTS.\n\nWorkflow schema from data reader:\n[PASTE SCHEMA DISCOVERY OUTPUT - workflow IDs, field IDs, types]\n\nCreate the calculated fields needed for this report.")
42
42
  ```
43
43
 
44
44
  Wait for result. If `"status": "ready_to_push"`:
45
45
  - Run the push commands
46
46
  - Run `npm run pull` to get new field IDs
47
47
 
48
- ### Step 3: Viktor (SQL Insights)
48
+ ### Step 3: SQL Insights
49
49
 
50
- Spawn Viktor with full schema context:
50
+ Spawn an SQL insights agent with full schema context:
51
51
 
52
52
  ```
53
- Task(subagent_type="agent-viktor-sql-insights", prompt="Create insights for: $ARGUMENTS.\n\nWorkflow schema:\n[Kenji found these workflows and fields: SUMMARIZE KENJI'S RESULT.]\n\n[IF ALEJANDRO RAN: Alejandro created these function fields: SUMMARIZE ALEJANDRO'S RESULT.]\n\nBuild SQL queries with correct field IDs. Never guess IDs.")
53
+ Task(prompt="Load sdk-insight-queries and sdk-ws-config-skill skills for building insights.\n\nCreate insights for: $ARGUMENTS.\n\nWorkflow schema:\n[Data reader found these workflows and fields: SUMMARIZE SCHEMA DISCOVERY RESULT.]\n\n[IF FUNCTION FIELDS AGENT RAN: It created these function fields: SUMMARIZE FUNCTION FIELDS RESULT.]\n\nBuild SQL queries with correct field IDs. Never guess IDs.")
54
54
  ```
55
55
 
56
56
  Wait for result. If `"status": "ready_to_push"`:
@@ -61,16 +61,16 @@ Wait for result. If `"status": "ready_to_push"`:
61
61
  ```markdown
62
62
  ## Data Squad Complete
63
63
 
64
- ### Kenji (Schema Discovery)
64
+ ### Data Reader (Schema Discovery)
65
65
  - Workflows found: [list]
66
66
  - Fields mapped: [count]
67
67
  - Existing insights: [list or "none"]
68
68
 
69
- ### Alejandro (Function Fields)
69
+ ### Function Fields
70
70
  - Created: [list with formulas]
71
71
  - Skipped: [reason if not needed]
72
72
 
73
- ### Viktor (Insights)
73
+ ### SQL Insights
74
74
  - Insights created: [list]
75
75
  - Query summary: [brief description of each]
76
76
  - Public: [yes/no for each]
@@ -84,14 +84,14 @@ Wait for result. If `"status": "ready_to_push"`:
84
84
 
85
85
  | Flag | Effect |
86
86
  |------|--------|
87
- | `--skip-functions` | Skip Alejandro (when function fields not needed) |
88
- | `--skip-insights` | Skip Viktor (when insights not needed) |
87
+ | `--skip-functions` | Skip Function Fields step (when not needed) |
88
+ | `--skip-insights` | Skip SQL Insights step (when not needed) |
89
89
 
90
90
  ## Difference from Config Squad
91
91
 
92
92
  | | Config Squad | Data Squad |
93
93
  |---|---|---|
94
94
  | **Starting point** | New workflow needed | Workflow already exists |
95
- | **First agent** | Helga (create workflow) | Kenji (read existing schema) |
95
+ | **First agent** | Workflow Config (create workflow) | Data Reader (read existing schema) |
96
96
  | **Focus** | Infrastructure setup | Reporting and analytics |
97
97
  | **Use when** | "Create a Tasks workflow with..." | "Build a report showing..." |
@@ -8,11 +8,11 @@ allowed-tools: Task, Bash, Read
8
8
 
9
9
  Parallel investigation squad: diagnose bugs by examining data state, query patterns, code logic, and test reproduction simultaneously.
10
10
 
11
- **Agents:**
12
- - **Kenji** - Data state (check relevant activities, field values, phases, linked records)
13
- - **Viktor** - Query patterns (is this isolated or widespread? run insights to find anomalies)
14
- - **Svetlana** - Code review (logic errors, missing validations, race conditions)
15
- - **Tanya** - Test reproduction (create failing test to isolate the bug)
11
+ **Roles:**
12
+ - **Data Reader** - Data state (check relevant activities, field values, phases, linked records)
13
+ - **SQL Insights** - Query patterns (is this isolated or widespread? run insights to find anomalies)
14
+ - **Code Reviewer** - Code review (logic errors, missing validations, race conditions)
15
+ - **Test Runner** - Test reproduction (create failing test to isolate the bug)
16
16
 
17
17
  **Goal:** $ARGUMENTS
18
18
 
@@ -32,42 +32,42 @@ Set `iteration = 1` and `max_iterations = 2`.
32
32
 
33
33
  Spawn all agents simultaneously using multiple Task tool calls in a single message:
34
34
 
35
- **Kenji (Data State):**
35
+ **Data Reader:**
36
36
  ```
37
- Task(subagent_type="agent-kenji-data-reader", prompt="Investigate the data state for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the affected workflow(s) and activities\n2. Look up the relevant activity records, field values, phases\n3. Check linked activities and relationships\n4. Compare expected vs actual data state\n5. Report any anomalies, missing data, or unexpected values\n\nReturn:\n- What the data SHOULD look like\n- What it ACTUALLY looks like\n- Which fields/relationships are affected")
37
+ Task(prompt="Load sdk-ws-config-skill for understanding workflow and data structures.\n\nInvestigate the data state for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the affected workflow(s) and activities\n2. Look up the relevant activity records, field values, phases\n3. Check linked activities and relationships\n4. Compare expected vs actual data state\n5. Report any anomalies, missing data, or unexpected values\n\nReturn:\n- What the data SHOULD look like\n- What it ACTUALLY looks like\n- Which fields/relationships are affected")
38
38
  ```
39
39
 
40
- **Viktor (Query Patterns):**
40
+ **SQL Insights:**
41
41
  ```
42
- Task(subagent_type="agent-viktor-sql-insights", prompt="Find patterns for this bug: $ARGUMENTS.\n\nYour job:\n1. Run insight queries to determine: is this isolated to one activity or widespread?\n2. Query for similar data anomalies across the workflow\n3. Look for patterns: does it affect specific phases, teams, date ranges, field values?\n4. Check for recent changes that could correlate with the bug\n\nReturn:\n- Is this isolated or widespread? (scope)\n- Pattern: what data characteristics trigger it?\n- How many records/activities affected?\n- Timeline: when did anomalies start appearing?")
42
+ Task(prompt="Load sdk-insight-queries skill for data pattern analysis.\n\nFind patterns for this bug: $ARGUMENTS.\n\nYour job:\n1. Run insight queries to determine: is this isolated to one activity or widespread?\n2. Query for similar data anomalies across the workflow\n3. Look for patterns: does it affect specific phases, teams, date ranges, field values?\n4. Check for recent changes that could correlate with the bug\n\nReturn:\n- Is this isolated or widespread? (scope)\n- Pattern: what data characteristics trigger it?\n- How many records/activities affected?\n- Timeline: when did anomalies start appearing?")
43
43
  ```
44
44
 
45
- **Svetlana (Code Review):**
45
+ **Code Reviewer:**
46
46
  ```
47
- Task(subagent_type="agent-svetlana-code-review", prompt="Review the code for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the relevant code sections (workflow logic, activity creation, field updates, phase transitions)\n2. Inspect for logic errors, missing validations, race conditions, null checks\n3. Look for assumptions that might break in edge cases\n4. Check for recent changes that could have introduced the bug\n\nReturn:\n- Suspected code sections with issues\n- Specific logic problems (race conditions, wrong field access, missing validation)\n- Edge cases not handled\n- Security implications if any")
47
+ Task(prompt="Review the code for this bug: $ARGUMENTS.\n\nYour job:\n1. Identify the relevant code sections (workflow logic, activity creation, field updates, phase transitions)\n2. Inspect for logic errors, missing validations, race conditions, null checks\n3. Look for assumptions that might break in edge cases\n4. Check for recent changes that could have introduced the bug\n\nReturn:\n- Suspected code sections with issues\n- Specific logic problems (race conditions, wrong field access, missing validation)\n- Edge cases not handled\n- Security implications if any")
48
48
  ```
49
49
 
50
- **Tanya (Test Reproduction):**
50
+ **Test Runner:**
51
51
  ```
52
- Task(subagent_type="agent-tanya-test-runner", prompt="Create a failing test for this bug: $ARGUMENTS.\n\nYour job:\n1. Write a minimal test that reproduces the bug\n2. Set up the preconditions (data state, workflow, etc)\n3. Execute the action that triggers the bug\n4. Assert the bug is present (test FAILS with current code)\n5. Do NOT fix the bug - just demonstrate it\n\nReturn:\n- The failing test code\n- What the test proves about the bug\n- Failure output showing the bug is real")
52
+ Task(prompt="Load testing-patterns skill for writing focused tests.\n\nCreate a failing test for this bug: $ARGUMENTS.\n\nYour job:\n1. Write a minimal test that reproduces the bug\n2. Set up the preconditions (data state, workflow, etc)\n3. Execute the action that triggers the bug\n4. Assert the bug is present (test FAILS with current code)\n5. Do NOT fix the bug - just demonstrate it\n\nReturn:\n- The failing test code\n- What the test proves about the bug\n- Failure output showing the bug is real")
53
53
  ```
54
54
 
55
- If `$ARGUMENTS` contains `--skip-data`, skip Kenji.
56
- If `$ARGUMENTS` contains `--skip-queries`, skip Viktor.
55
+ If `$ARGUMENTS` contains `--skip-data`, skip Data Reader.
56
+ If `$ARGUMENTS` contains `--skip-queries`, skip SQL Insights.
57
57
 
58
58
  ### Step 3: Collect Results and Synthesize Root Cause
59
59
 
60
60
  Wait for all agents to complete. Aggregate findings:
61
61
 
62
- **From Kenji:** What data is wrong?
63
- **From Viktor:** How widespread is it? What pattern triggers it?
64
- **From Svetlana:** What code is broken?
65
- **From Tanya:** Can we reproduce it consistently?
62
+ **From Data Reader:** What data is wrong?
63
+ **From SQL Insights:** How widespread is it? What pattern triggers it?
64
+ **From Code Reviewer:** What code is broken?
65
+ **From Test Runner:** Can we reproduce it consistently?
66
66
 
67
67
  Look for convergence:
68
68
  - Does data anomaly match code logic error?
69
- - Does Svetlana's suspected code section align with Viktor's pattern?
70
- - Does Tanya's test reproduce the exact issue Kenji found?
69
+ - Does Code Reviewer's suspected code section align with SQL Insights' pattern?
70
+ - Does Test Runner's test reproduce the exact issue Data Reader found?
71
71
 
72
72
  If **clear root cause** emerges → proceed to Step 4 (report).
73
73
 
@@ -80,10 +80,10 @@ If **inconclusive** (no agent found clear cause OR agents disagree):
80
80
  If first iteration was inconclusive, re-run agents with narrowed focus:
81
81
 
82
82
  ```
83
- Task(subagent_type="agent-kenji-data-reader", prompt="Re-investigate (iteration [iteration]): $ARGUMENTS\n\nBased on initial findings:\n[SUMMARIZE WHAT FIRST PASS FOUND]\n\nNarrow your focus to: [MOST LIKELY AFFECTED AREA]\n\nDig deeper into the data state. Look for subtle issues.")
83
+ Task(prompt="Load sdk-ws-config-skill for deep data investigation.\n\nRe-investigate (iteration [iteration]): $ARGUMENTS\n\nBased on initial findings:\n[SUMMARIZE WHAT FIRST PASS FOUND]\n\nNarrow your focus to: [MOST LIKELY AFFECTED AREA]\n\nDig deeper into the data state. Look for subtle issues.")
84
84
  ```
85
85
 
86
- Similar narrowed prompts for Viktor, Svetlana, Tanya.
86
+ Similar narrowed prompts for SQL Insights, Code Reviewer, Test Runner agents.
87
87
 
88
88
  ### Step 4: Report
89
89
 
@@ -97,26 +97,26 @@ Similar narrowed prompts for Viktor, Svetlana, Tanya.
97
97
 
98
98
  ---
99
99
 
100
- ### Kenji (Data State)
100
+ ### Data Reader
101
101
  **Affected Records:** [count/scope]
102
102
  - Expected state: [description]
103
103
  - Actual state: [description]
104
104
  - Anomalies found: [list]
105
105
 
106
- ### Viktor (Query Patterns)
106
+ ### SQL Insights
107
107
  **Scope:** Isolated / Widespread (X records affected)
108
108
  **Pattern:** [What triggers the bug]
109
109
  **Timeline:** [When did it start]
110
110
  - Similar anomalies detected: [yes/no, details]
111
111
 
112
- ### Svetlana (Code Review)
112
+ ### Code Reviewer
113
113
  **Suspected Code:** [files and line numbers]
114
114
  **Issues Found:**
115
115
  - [Issue 1]: [file:line] - [description]
116
116
  - [Issue 2]: [file:line] - [description]
117
117
  **Risk Level:** [LOW/MEDIUM/HIGH]
118
118
 
119
- ### Tanya (Reproduction)
119
+ ### Test Runner
120
120
  **Test Status:** CREATED / FAILED TO REPRODUCE
121
121
  **Reproducibility:** Consistent / Intermittent / Cannot reproduce
122
122
  - Test file: [path]
@@ -138,7 +138,7 @@ Similar narrowed prompts for Viktor, Svetlana, Tanya.
138
138
  - Rationale: [why this fixes it]
139
139
 
140
140
  ### Next Steps
141
- 1. [Fix applied by Svetlana/Simple Writer]
141
+ 1. [Fix applied by code reviewer/code editor]
142
142
  2. [Test to verify fix]
143
143
  3. [Deploy and monitor]
144
144
  ```
@@ -149,8 +149,8 @@ If any agent fails or times out, report partial results, note which failed, and
149
149
 
150
150
  | Flag | Effect |
151
151
  |------|--------|
152
- | `--skip-data` | Skip Kenji (when data investigation not needed) |
153
- | `--skip-queries` | Skip Viktor (when pattern analysis not needed) |
152
+ | `--skip-data` | Skip Data Reader (when data investigation not needed) |
153
+ | `--skip-queries` | Skip SQL Insights (when pattern analysis not needed) |
154
154
  | `--bg` | Run all agents in background mode |
155
155
  | `--debate` | Debate mode: competing hypotheses instead of domain-split investigation |
156
156
 
@@ -193,15 +193,15 @@ If user provided their own hypotheses in `$ARGUMENTS`, use those instead of gene
193
193
 
194
194
  Pick the best-fit agent for each hypothesis:
195
195
 
196
- | Hypothesis Type | Best Agent |
196
+ | Hypothesis Type | Best Agent Role |
197
197
  |----------------|-----------|
198
- | Data integrity / missing values | **Kenji** |
199
- | Query / pattern / scope issue | **Viktor** |
200
- | Code logic / validation / race condition | **Svetlana** |
201
- | Reproducibility / environment | **Tanya** |
202
- | External integration / API | **Ivan** (monolith) or **Web Search** (research) |
203
- | Activity mover / phase cascade | **Igor** |
204
- | Zapier integration / external sync | **Zara** |
198
+ | Data integrity / missing values | **Data Reader** (load sdk-ws-config-skill) |
199
+ | Query / pattern / scope issue | **SQL Insights** (load sdk-insight-queries) |
200
+ | Code logic / validation / race condition | **Code Reviewer** |
201
+ | Reproducibility / environment | **Test Runner** (load testing-patterns) |
202
+ | External integration / API | **Automation Inspector** (load hailer-monolith-automations) |
203
+ | Activity mover / phase cascade | **Automation Inspector** (load hailer-monolith-automations) |
204
+ | Zapier integration / external sync | **Integration Inspector** (load zapier-hailer-patterns) |
205
205
 
206
206
  Each agent gets:
207
207
  - The full problem description
@@ -209,7 +209,7 @@ Each agent gets:
209
209
  - Instruction: "Find evidence that supports OR refutes this hypothesis. Be honest - if evidence points away from your hypothesis, report that."
210
210
 
211
211
  ```
212
- Task(subagent_type="[best-fit-agent]", prompt="DEBATE MODE investigation for: $ARGUMENTS
212
+ Task(prompt="Load relevant skill for deep investigation.\n\nDEBATE MODE investigation for: $ARGUMENTS
213
213
 
214
214
  YOUR HYPOTHESIS: [H1 description]
215
215
 
@@ -229,11 +229,11 @@ Launch all hypothesis agents in parallel.
229
229
 
230
230
  Collect results. For each hypothesis, assess:
231
231
 
232
- | Hypothesis | Supporting Evidence | Refuting Evidence | Confidence | Agent |
232
+ | Hypothesis | Supporting Evidence | Refuting Evidence | Confidence | Role |
233
233
  |-----------|-------------------|-------------------|------------|-------|
234
- | H1 | [list] | [list] | STRONG/MODERATE/WEAK | [agent] |
235
- | H2 | [list] | [list] | STRONG/MODERATE/WEAK | [agent] |
236
- | H3 | [list] | [list] | STRONG/MODERATE/WEAK | [agent] |
234
+ | H1 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
235
+ | H2 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
236
+ | H3 | [list] | [list] | STRONG/MODERATE/WEAK | [role] |
237
237
 
238
238
  **Verdict rules:**
239
239
  - If one hypothesis has STRONG confidence and others are WEAK → **clear winner**
@@ -251,7 +251,7 @@ Collect results. For each hypothesis, assess:
251
251
  ### Hypotheses Tested
252
252
 
253
253
  #### H1: [Hypothesis description]
254
- **Assigned to:** [Agent name]
254
+ **Assigned to:** [Agent role]
255
255
  **Confidence:** STRONG / MODERATE / WEAK
256
256
  **Supporting evidence:**
257
257
  - [Evidence 1]
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Document API endpoints with Lars and Marcus
2
+ description: Document API endpoints with code analysis and documentation generation
3
3
  argument-hint: "endpoint or module to document"
4
4
  allowed-tools: Task, Bash
5
5
  ---
@@ -7,47 +7,47 @@ allowed-tools: Task, Bash
7
7
 
8
8
  Sequential pipeline: Code analysis, then generate documentation.
9
9
 
10
- **Agents:**
11
- 1. **Lars** - LSP code analysis (inspect types, schemas, function signatures)
12
- 2. **Marcus** - API documentation (generate endpoint docs from analysis)
10
+ **Roles:**
11
+ 1. **Code Inspector** - LSP code analysis (inspect types, schemas, function signatures)
12
+ 2. **Documentation Generator** - API documentation (generate endpoint docs from analysis)
13
13
 
14
14
  **Goal:** $ARGUMENTS
15
15
 
16
16
  ## Protocol
17
17
 
18
- ### Step 1: Lars (LSP Analysis)
18
+ ### Step 1: Code Analysis
19
19
 
20
- Spawn Lars to analyze code and extract types/schemas:
20
+ Spawn a code inspector to analyze code and extract types/schemas:
21
21
 
22
22
  ```
23
- Task(subagent_type="agent-lars-code-inspector", prompt="Inspect code for: $ARGUMENTS. Extract:\n- Function signatures\n- Type definitions\n- Return types\n- Parameter schemas\n- Joi/Zod validation rules\n\nUse LSP if available. Return structured analysis with types and schemas.")
23
+ Task(prompt="Load lsp-setup skill for code inspection.\n\nInspect code for: $ARGUMENTS. Extract:\n- Function signatures\n- Type definitions\n- Return types\n- Parameter schemas\n- Joi/Zod validation rules\n\nUse LSP if available. Return structured analysis with types and schemas.")
24
24
  ```
25
25
 
26
- Wait for result. Save the analysis output - Marcus needs these type definitions.
26
+ Wait for result. Save the analysis output - the documentation generator needs these type definitions.
27
27
 
28
- ### Step 2: Marcus (API Documentation)
28
+ ### Step 2: Generate Documentation
29
29
 
30
- Spawn Marcus with the code analysis from Lars:
30
+ Spawn a documentation generator with the code analysis:
31
31
 
32
32
  ```
33
- Task(subagent_type="agent-marcus-api-documenter", prompt="Generate API documentation for: $ARGUMENTS.\n\nCode analysis from Lars:\n[PASTE LARS'S OUTPUT - types, schemas, function signatures]\n\nCreate comprehensive endpoint documentation including:\n- Endpoint path and method\n- Description\n- Parameters and types\n- Request/response examples\n- Error codes and handling\n- Usage examples with @hailer/cli")
33
+ Task(prompt="Load api-documentation-patterns skill for creating API documentation.\n\nGenerate API documentation for: $ARGUMENTS.\n\nCode analysis from code inspector:\n[PASTE CODE INSPECTOR OUTPUT - types, schemas, function signatures]\n\nCreate comprehensive endpoint documentation including:\n- Endpoint path and method\n- Description\n- Parameters and types\n- Request/response examples\n- Error codes and handling\n- Usage examples with @hailer/cli")
34
34
  ```
35
35
 
36
36
  Wait for result. If `"status": "ready_to_push"`:
37
- - Run the push commands Marcus provides
37
+ - Run the push commands provided
38
38
 
39
39
  ### Step 3: Report
40
40
 
41
41
  ```markdown
42
42
  ## Doc Squad Complete
43
43
 
44
- ### Lars (Code Analysis)
44
+ ### Code Inspector
45
45
  - Files analyzed: [count]
46
46
  - Functions found: [count]
47
47
  - Types extracted: [count]
48
48
  - Schemas identified: [list]
49
49
 
50
- ### Marcus (Documentation)
50
+ ### Documentation Generator
51
51
  - Endpoints documented: [count]
52
52
  - Examples created: [count]
53
53
  - Files generated: [list]
@@ -60,6 +60,6 @@ Wait for result. If `"status": "ready_to_push"`:
60
60
 
61
61
  ## Notes
62
62
 
63
- - Lars runs first to extract accurate types - never guess schemas
64
- - Marcus creates human-friendly docs from the type analysis
63
+ - Code Inspector runs first to extract accurate types - never guess schemas
64
+ - Documentation Generator creates human-friendly docs from the type analysis
65
65
  - Documentation stays in sync with actual code signatures