@hailer/mcp 1.1.13 → 1.1.15

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 (176) hide show
  1. package/.claude/.context-watchdog.json +1 -0
  2. package/.claude/.session-checked +1 -0
  3. package/.claude/CLAUDE.md +370 -0
  4. package/.claude/agents/agent-ada-skill-builder.md +94 -0
  5. package/.claude/agents/agent-alejandro-function-fields.md +342 -0
  6. package/.claude/agents/agent-bjorn-config-audit.md +103 -0
  7. package/.claude/agents/agent-builder-agent-creator.md +130 -0
  8. package/.claude/agents/agent-code-simplifier.md +53 -0
  9. package/.claude/agents/agent-dmitri-activity-crud.md +159 -0
  10. package/.claude/agents/agent-giuseppe-app-builder.md +208 -0
  11. package/.claude/agents/agent-gunther-mcp-tools.md +39 -0
  12. package/.claude/agents/agent-helga-workflow-config.md +204 -0
  13. package/.claude/agents/agent-igor-activity-mover-automation.md +125 -0
  14. package/.claude/agents/agent-ingrid-doc-templates.md +261 -0
  15. package/.claude/agents/agent-ivan-monolith.md +154 -0
  16. package/.claude/agents/agent-kenji-data-reader.md +86 -0
  17. package/.claude/agents/agent-lars-code-inspector.md +102 -0
  18. package/.claude/agents/agent-marco-mockup-builder.md +110 -0
  19. package/.claude/agents/agent-marcus-api-documenter.md +323 -0
  20. package/.claude/agents/agent-marketplace-publisher.md +280 -0
  21. package/.claude/agents/agent-marketplace-reviewer.md +309 -0
  22. package/.claude/agents/agent-permissions-handler.md +208 -0
  23. package/.claude/agents/agent-simple-writer.md +48 -0
  24. package/.claude/agents/agent-svetlana-code-review.md +171 -0
  25. package/.claude/agents/agent-tanya-test-runner.md +333 -0
  26. package/.claude/agents/agent-ui-designer.md +100 -0
  27. package/.claude/agents/agent-viktor-sql-insights.md +212 -0
  28. package/.claude/agents/agent-web-search.md +55 -0
  29. package/.claude/agents/agent-yevgeni-discussions.md +45 -0
  30. package/.claude/agents/agent-zara-zapier.md +159 -0
  31. package/.claude/agents/ragnar.md +68 -0
  32. package/.claude/commands/app-squad.md +135 -0
  33. package/.claude/commands/audit-squad.md +158 -0
  34. package/.claude/commands/autoplan.md +563 -0
  35. package/.claude/commands/cleanup-squad.md +98 -0
  36. package/.claude/commands/config-squad.md +106 -0
  37. package/.claude/commands/crud-squad.md +87 -0
  38. package/.claude/commands/data-squad.md +97 -0
  39. package/.claude/commands/debug-squad.md +303 -0
  40. package/.claude/commands/doc-squad.md +65 -0
  41. package/.claude/commands/handoff.md +137 -0
  42. package/.claude/commands/health.md +49 -0
  43. package/.claude/commands/help.md +29 -0
  44. package/.claude/commands/help:agents.md +151 -0
  45. package/.claude/commands/help:commands.md +78 -0
  46. package/.claude/commands/help:faq.md +79 -0
  47. package/.claude/commands/help:plugins.md +50 -0
  48. package/.claude/commands/help:skills.md +93 -0
  49. package/.claude/commands/help:tools.md +75 -0
  50. package/.claude/commands/hotfix-squad.md +112 -0
  51. package/.claude/commands/integration-squad.md +82 -0
  52. package/.claude/commands/janitor-squad.md +167 -0
  53. package/.claude/commands/learn-auto.md +120 -0
  54. package/.claude/commands/learn.md +120 -0
  55. package/.claude/commands/mcp-list.md +27 -0
  56. package/.claude/commands/onboard-squad.md +140 -0
  57. package/.claude/commands/plan-workspace.md +732 -0
  58. package/.claude/commands/prd.md +130 -0
  59. package/.claude/commands/project-status.md +82 -0
  60. package/.claude/commands/publish.md +138 -0
  61. package/.claude/commands/recap.md +69 -0
  62. package/.claude/commands/restore.md +64 -0
  63. package/.claude/commands/review-squad.md +152 -0
  64. package/.claude/commands/save.md +24 -0
  65. package/.claude/commands/stats.md +19 -0
  66. package/.claude/commands/swarm.md +210 -0
  67. package/.claude/commands/tool-builder.md +39 -0
  68. package/.claude/commands/ws-pull.md +44 -0
  69. package/.claude/skills/SDK-activity-patterns/SKILL.md +428 -0
  70. package/.claude/skills/SDK-document-templates/SKILL.md +1033 -0
  71. package/.claude/skills/SDK-function-fields/SKILL.md +542 -0
  72. package/.claude/skills/SDK-generate-skill/SKILL.md +92 -0
  73. package/.claude/skills/SDK-init-skill/SKILL.md +127 -0
  74. package/.claude/skills/SDK-insight-queries/SKILL.md +787 -0
  75. package/.claude/skills/SDK-ws-config-skill/SKILL.md +1139 -0
  76. package/.claude/skills/agent-structure/SKILL.md +98 -0
  77. package/.claude/skills/api-documentation-patterns/SKILL.md +474 -0
  78. package/.claude/skills/chrome-mcp-reference/SKILL.md +370 -0
  79. package/.claude/skills/delegation-routing/SKILL.md +202 -0
  80. package/.claude/skills/frontend-design/SKILL.md +254 -0
  81. package/.claude/skills/hailer-activity-mover/SKILL.md +213 -0
  82. package/.claude/skills/hailer-api-client/SKILL.md +518 -0
  83. package/.claude/skills/hailer-app-builder/SKILL.md +1440 -0
  84. package/.claude/skills/hailer-apps-pictures/SKILL.md +269 -0
  85. package/.claude/skills/hailer-design-system/SKILL.md +231 -0
  86. package/.claude/skills/hailer-monolith-automations/SKILL.md +686 -0
  87. package/.claude/skills/hailer-permissions-system/SKILL.md +121 -0
  88. package/.claude/skills/hailer-project-protocol/SKILL.md +488 -0
  89. package/.claude/skills/hailer-rest-api/SKILL.md +61 -0
  90. package/.claude/skills/hailer-rest-api/hailer-activities.md +184 -0
  91. package/.claude/skills/hailer-rest-api/hailer-admin.md +473 -0
  92. package/.claude/skills/hailer-rest-api/hailer-calendar.md +256 -0
  93. package/.claude/skills/hailer-rest-api/hailer-feed.md +249 -0
  94. package/.claude/skills/hailer-rest-api/hailer-insights.md +195 -0
  95. package/.claude/skills/hailer-rest-api/hailer-messaging.md +276 -0
  96. package/.claude/skills/hailer-rest-api/hailer-workflows.md +283 -0
  97. package/.claude/skills/insight-join-patterns/SKILL.md +174 -0
  98. package/.claude/skills/integration-patterns/SKILL.md +421 -0
  99. package/.claude/skills/json-only-output/SKILL.md +72 -0
  100. package/.claude/skills/lsp-setup/SKILL.md +160 -0
  101. package/.claude/skills/mcp-direct-tools/SKILL.md +153 -0
  102. package/.claude/skills/optional-parameters/SKILL.md +72 -0
  103. package/.claude/skills/publish-hailer-app/SKILL.md +221 -0
  104. package/.claude/skills/testing-patterns/SKILL.md +630 -0
  105. package/.claude/skills/tool-builder/SKILL.md +250 -0
  106. package/.claude/skills/tool-parameter-usage/SKILL.md +126 -0
  107. package/.claude/skills/tool-response-verification/SKILL.md +92 -0
  108. package/.claude/skills/zapier-hailer-patterns/SKILL.md +581 -0
  109. package/.opencode/agent/agent-ada-skill-builder.md +35 -0
  110. package/.opencode/agent/agent-alejandro-function-fields.md +39 -0
  111. package/.opencode/agent/agent-bjorn-config-audit.md +36 -0
  112. package/.opencode/agent/agent-builder-agent-creator.md +39 -0
  113. package/.opencode/agent/agent-code-simplifier.md +31 -0
  114. package/.opencode/agent/agent-dmitri-activity-crud.md +40 -0
  115. package/.opencode/agent/agent-giuseppe-app-builder.md +37 -0
  116. package/.opencode/agent/agent-gunther-mcp-tools.md +39 -0
  117. package/.opencode/agent/agent-helga-workflow-config.md +204 -0
  118. package/.opencode/agent/agent-igor-activity-mover-automation.md +46 -0
  119. package/.opencode/agent/agent-ingrid-doc-templates.md +39 -0
  120. package/.opencode/agent/agent-ivan-monolith.md +46 -0
  121. package/.opencode/agent/agent-kenji-data-reader.md +53 -0
  122. package/.opencode/agent/agent-lars-code-inspector.md +28 -0
  123. package/.opencode/agent/agent-marco-mockup-builder.md +42 -0
  124. package/.opencode/agent/agent-marcus-api-documenter.md +53 -0
  125. package/.opencode/agent/agent-marketplace-publisher.md +44 -0
  126. package/.opencode/agent/agent-marketplace-reviewer.md +42 -0
  127. package/.opencode/agent/agent-permissions-handler.md +50 -0
  128. package/.opencode/agent/agent-simple-writer.md +45 -0
  129. package/.opencode/agent/agent-svetlana-code-review.md +39 -0
  130. package/.opencode/agent/agent-tanya-test-runner.md +57 -0
  131. package/.opencode/agent/agent-ui-designer.md +56 -0
  132. package/.opencode/agent/agent-viktor-sql-insights.md +34 -0
  133. package/.opencode/agent/agent-web-search.md +42 -0
  134. package/.opencode/agent/agent-yevgeni-discussions.md +37 -0
  135. package/.opencode/agent/agent-zara-zapier.md +53 -0
  136. package/.opencode/commands/app-squad.md +135 -0
  137. package/.opencode/commands/audit-squad.md +158 -0
  138. package/.opencode/commands/autoplan.md +563 -0
  139. package/.opencode/commands/cleanup-squad.md +98 -0
  140. package/.opencode/commands/config-squad.md +106 -0
  141. package/.opencode/commands/crud-squad.md +87 -0
  142. package/.opencode/commands/data-squad.md +97 -0
  143. package/.opencode/commands/debug-squad.md +303 -0
  144. package/.opencode/commands/doc-squad.md +65 -0
  145. package/.opencode/commands/handoff.md +137 -0
  146. package/.opencode/commands/health.md +49 -0
  147. package/.opencode/commands/help-agents.md +151 -0
  148. package/.opencode/commands/help-commands.md +32 -0
  149. package/.opencode/commands/help-faq.md +29 -0
  150. package/.opencode/commands/help-plugins.md +28 -0
  151. package/.opencode/commands/help-skills.md +7 -0
  152. package/.opencode/commands/help-tools.md +40 -0
  153. package/.opencode/commands/help.md +28 -0
  154. package/.opencode/commands/hotfix-squad.md +112 -0
  155. package/.opencode/commands/integration-squad.md +82 -0
  156. package/.opencode/commands/janitor-squad.md +167 -0
  157. package/.opencode/commands/learn-auto.md +120 -0
  158. package/.opencode/commands/learn.md +120 -0
  159. package/.opencode/commands/mcp-list.md +27 -0
  160. package/.opencode/commands/onboard-squad.md +140 -0
  161. package/.opencode/commands/plan-workspace.md +732 -0
  162. package/.opencode/commands/prd.md +131 -0
  163. package/.opencode/commands/project-status.md +82 -0
  164. package/.opencode/commands/publish.md +138 -0
  165. package/.opencode/commands/recap.md +69 -0
  166. package/.opencode/commands/restore.md +64 -0
  167. package/.opencode/commands/review-squad.md +152 -0
  168. package/.opencode/commands/save.md +24 -0
  169. package/.opencode/commands/stats.md +19 -0
  170. package/.opencode/commands/swarm.md +210 -0
  171. package/.opencode/commands/tool-builder.md +39 -0
  172. package/.opencode/commands/ws-pull.md +44 -0
  173. package/.opencode/opencode.json +21 -0
  174. package/package.json +1 -1
  175. package/scripts/postinstall.cjs +64 -0
  176. package/scripts/test-hal-tools.ts +154 -0
@@ -0,0 +1,27 @@
1
+ ---
2
+ description: List available and enabled MCP servers
3
+ ---
4
+
5
+ # List MCP Servers
6
+
7
+ Show available MCP servers and their status.
8
+
9
+ ## Instructions
10
+
11
+ 1. Read `~/.mcp.json` (global servers) - look for `mcpServers` keys
12
+ 2. Read `./.mcp.json` (project servers) if it exists - look for `mcpServers` keys
13
+ 3. Read `.claude/settings.local.json` to find enabled servers (`enabledMcpjsonServers` array)
14
+ 4. Display a table showing all discovered servers:
15
+
16
+ | Server | Source | Status |
17
+ |--------|--------|--------|
18
+ | chrome-devtools | global | enabled/disabled |
19
+ | notebooklm | global | enabled/disabled |
20
+ | hailer | project | enabled/disabled |
21
+
22
+ A server is **enabled** if it's in `enabledMcpjsonServers` array.
23
+
24
+ Also show:
25
+ - `/mcp-enable <name>` to enable
26
+ - `/mcp-disable <name>` to disable
27
+ - Restart required after changes (`claude -c`)
@@ -0,0 +1,140 @@
1
+ ---
2
+ description: Bootstrap a new Hailer project end-to-end
3
+ argument-hint: "project description or PRD path"
4
+ allowed-tools: Task, Bash, Read
5
+ ---
6
+ # Onboard Squad
7
+
8
+ Sequential pipeline: Create workspace infrastructure, scaffold the app, and verify everything is wired correctly.
9
+
10
+ **Agents:**
11
+ 1. **Helga** - Workflow config (create workflows, fields, phases, teams, groups)
12
+ 2. **Alejandro** - Function fields and nameFunction
13
+ 3. **Giuseppe** - Scaffold first app with basic CRUD interface
14
+ 4. **Bjorn** - Audit config accuracy and field references
15
+
16
+ **Goal:** $ARGUMENTS
17
+
18
+ ## Protocol
19
+
20
+ ### Step 1: Parse Requirements
21
+
22
+ Parse `$ARGUMENTS` to determine input type:
23
+
24
+ - **If it's a file path** (e.g., `docs/prd-onboarding.md`): Read it for requirements
25
+ - **Otherwise:** Use it as a project description
26
+
27
+ If `$ARGUMENTS` is a file path, read it first before proceeding to Helga.
28
+
29
+ ### Step 2: Helga (Workspace Config)
30
+
31
+ Spawn Helga to create workspace infrastructure:
32
+
33
+ ```
34
+ Task(subagent_type="agent-helga-workflow-config", prompt="Bootstrap a new Hailer project: $ARGUMENTS\n\nCreate: workflows (at least 1), fields for each workflow, phases, teams, and groups as needed.")
35
+ ```
36
+
37
+ Wait for result. If Helga returns `"status": "ready_to_push"`:
38
+ - Run the push commands she provides (e.g., `npm run fields-push:force`)
39
+ - Then run `npm run pull` to refresh local workspace with new IDs
40
+ - **Important:** Helga ALWAYS spawns Alejandro for nameFunction. Check if her result indicates Alejandro was spawned and created nameFunction. If yes, Alejandro's work is done - skip to Step 3.
41
+
42
+ ### Step 3: Alejandro (Function Fields) - Conditional
43
+
44
+ Only spawn if Helga indicates additional function fields are needed beyond what was created by Helga+Alejandro auto-spawn.
45
+
46
+ If needed, spawn Alejandro:
47
+
48
+ ```
49
+ Task(subagent_type="agent-alejandro-function-fields", prompt="Create additional function fields for workflows created in: [INSERT HELGA'S GOAL].\n\nHelga created these workflows: [SUMMARIZE HELGA'S RESULT - workflow names, IDs, field counts].\n\nFunction fields already created by Helga: [FROM HELGA'S RESULT].")
50
+ ```
51
+
52
+ Wait for result. If `"status": "ready_to_push"`:
53
+ - Run the push commands
54
+ - Run `npm run pull` to refresh workspace
55
+
56
+ ### Step 4: Giuseppe (App Scaffold)
57
+
58
+ **Before spawning Giuseppe, enable builder mode:**
59
+ ```
60
+ Bash: node .claude/hooks/app-edit-guard.cjs --agent-on
61
+ ```
62
+
63
+ Spawn Giuseppe to build the first app using the new workspace:
64
+
65
+ ```
66
+ Task(subagent_type="agent-giuseppe-app-builder", prompt="Scaffold the first Hailer app for this new project: $ARGUMENTS\n\nWorkspace created by Helga: [SUMMARIZE HELGA'S RESULT - workflow names, IDs, field counts]. Giuseppe: read workspace/ directly to discover exact field IDs, types, and team configurations. Do not guess IDs.\n\nBuild a basic CRUD interface using @hailer/app-sdk and Chakra UI. Start with the primary workflow. Use the Hailer Design System.\n\nNote: Assume Local Dev app exists (orchestrator checks this before spawning you). Build for local development at http://localhost:3000.")
67
+ ```
68
+
69
+ **After Giuseppe completes, disable builder mode:**
70
+ ```
71
+ Bash: node .claude/hooks/app-edit-guard.cjs --agent-off
72
+ ```
73
+
74
+ Wait for result. If Giuseppe returns `"status": "ready_to_push"`:
75
+ - Run the push commands
76
+
77
+ ### Step 5: Bjorn (Config Audit)
78
+
79
+ Spawn Bjorn to verify everything is configured correctly:
80
+
81
+ ```
82
+ Task(subagent_type="agent-bjorn-config-audit", prompt="Audit this new Hailer project setup:\n\n1. Verify CLAUDE.md accuracy (check that project type detection works)\n2. Verify workspace configuration: workflows, fields, phases, teams all match workspace/ files\n3. Verify field references in the new app match workspace/ field definitions\n4. Check for missing imports, incorrect IDs, or type mismatches\n5. Verify that nameFunction is set on the primary workflow\n\nProject goal: $ARGUMENTS\n\nReport any misconfigurations. If iteration <= 1, recommend fixes to the orchestrator.")
83
+ ```
84
+
85
+ **Loop Control:**
86
+ - If Bjorn finds no critical issues: proceed to Step 6 (report)
87
+ - If Bjorn finds issues AND `iteration <= 1`:
88
+ - Increment `iteration`
89
+ - Determine which agent to fix it (usually Helga or Giuseppe)
90
+ - Run appropriate agent with the issues to fix
91
+ - Return to Step 5 (Bjorn re-audits)
92
+ - If Bjorn finds issues AND `iteration > 1`: escalate to user in Step 6
93
+
94
+ ### Step 6: Report
95
+
96
+ ```markdown
97
+ ## Onboard Squad Complete
98
+
99
+ **Project Goal:** $ARGUMENTS
100
+
101
+ ### Workspace Setup (Helga)
102
+ - Workflows created: [list with IDs]
103
+ - Fields created: [count]
104
+ - Phases: [count]
105
+ - Teams: [count]
106
+ - Alejandro auto-spawn: [nameFunction created? Y/N]
107
+
108
+ ### Function Fields (Alejandro)
109
+ - Additional function fields created: [list or "None needed"]
110
+ - Skipped: [reason if skipped]
111
+
112
+ ### App Scaffold (Giuseppe)
113
+ - App path: [path to new app]
114
+ - Build status: Pass/Fail
115
+ - Files created: [count/list]
116
+ - Local dev setup: [check local dev app name]
117
+
118
+ ### Verification (Bjorn)
119
+ - Critical issues found: [count] or "None"
120
+ - Status: VERIFIED / NEEDS FIXES (if iteration > 1, see below)
121
+
122
+ [If iteration > 1 - escalated:]
123
+ ### Remaining Issues
124
+ [List issues Bjorn found that weren't resolved in 1 fix iteration]
125
+ - Manual fixes recommended: [hints]
126
+
127
+ ### Next Steps
128
+ 1. Run `npm run dev` to test the app locally
129
+ 2. Ensure "Local Dev" app exists in Hailer workspace
130
+ 3. Test the app inside Hailer iframe at http://localhost:3000
131
+ 4. Run `npm run pull` to ensure workspace/ is fully up to date
132
+ ```
133
+
134
+ ## Notes
135
+
136
+ - Each agent in the pipeline needs IDs from the previous step. Always `npm run pull` between Helga→Alejandro→Giuseppe to refresh local workspace.
137
+ - Helga auto-spawns Alejandro for nameFunction. Check her result - only spawn Alejandro again in Step 3 if additional function fields are needed.
138
+ - Giuseppe needs real workflow and field IDs from workspace/ - always read the files and paste actual IDs, never let him guess.
139
+ - Bjorn's audit is the quality gate. If issues are found and you've iterated once, escalate remaining issues to the user rather than looping infinitely.
140
+ - Set `iteration = 1` at the start. Increment after each Bjorn audit if fixes are attempted.