@walwal-harness/cli 6.1.5 → 7.1.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 (328) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/HR-Resource/academic-academic-anthropologist/SKILL.md +142 -0
  3. package/HR-Resource/academic-academic-geographer/SKILL.md +144 -0
  4. package/HR-Resource/academic-academic-historian/SKILL.md +140 -0
  5. package/HR-Resource/academic-academic-narratologist/SKILL.md +135 -0
  6. package/HR-Resource/academic-academic-psychologist/SKILL.md +135 -0
  7. package/HR-Resource/brick-office/SKILL.md +20 -0
  8. package/HR-Resource/cdo/SKILL.md +33 -0
  9. package/HR-Resource/ceo/SKILL.md +36 -0
  10. package/HR-Resource/coo/SKILL.md +36 -0
  11. package/HR-Resource/cqo/SKILL.md +33 -0
  12. package/HR-Resource/cto/SKILL.md +36 -0
  13. package/HR-Resource/design-design-brand-guardian/SKILL.md +339 -0
  14. package/HR-Resource/design-design-image-prompt-engineer/SKILL.md +253 -0
  15. package/HR-Resource/design-design-inclusive-visuals-specialist/SKILL.md +88 -0
  16. package/HR-Resource/design-design-ui-designer/SKILL.md +400 -0
  17. package/HR-Resource/design-design-ux-architect/SKILL.md +486 -0
  18. package/HR-Resource/design-design-ux-researcher/SKILL.md +346 -0
  19. package/HR-Resource/design-design-visual-storyteller/SKILL.md +166 -0
  20. package/HR-Resource/design-design-whimsy-injector/SKILL.md +455 -0
  21. package/HR-Resource/engineering-engineering-ai-data-remediation-engineer/SKILL.md +227 -0
  22. package/HR-Resource/engineering-engineering-ai-engineer/SKILL.md +163 -0
  23. package/HR-Resource/engineering-engineering-autonomous-optimization-architect/SKILL.md +124 -0
  24. package/HR-Resource/engineering-engineering-backend-architect/SKILL.md +252 -0
  25. package/HR-Resource/engineering-engineering-cms-developer/SKILL.md +553 -0
  26. package/HR-Resource/engineering-engineering-code-reviewer/SKILL.md +93 -0
  27. package/HR-Resource/engineering-engineering-codebase-onboarding-engineer/SKILL.md +190 -0
  28. package/HR-Resource/engineering-engineering-data-engineer/SKILL.md +323 -0
  29. package/HR-Resource/engineering-engineering-database-optimizer/SKILL.md +193 -0
  30. package/HR-Resource/engineering-engineering-devops-automator/SKILL.md +393 -0
  31. package/HR-Resource/engineering-engineering-email-intelligence-engineer/SKILL.md +370 -0
  32. package/HR-Resource/engineering-engineering-embedded-firmware-engineer/SKILL.md +190 -0
  33. package/HR-Resource/engineering-engineering-feishu-integration-developer/SKILL.md +615 -0
  34. package/HR-Resource/engineering-engineering-filament-optimization-specialist/SKILL.md +300 -0
  35. package/HR-Resource/engineering-engineering-frontend-developer/SKILL.md +242 -0
  36. package/HR-Resource/engineering-engineering-git-workflow-master/SKILL.md +101 -0
  37. package/HR-Resource/engineering-engineering-incident-response-commander/SKILL.md +461 -0
  38. package/HR-Resource/engineering-engineering-minimal-change-engineer/SKILL.md +224 -0
  39. package/HR-Resource/engineering-engineering-mobile-app-builder/SKILL.md +510 -0
  40. package/HR-Resource/engineering-engineering-rapid-prototyper/SKILL.md +479 -0
  41. package/HR-Resource/engineering-engineering-security-engineer/SKILL.md +321 -0
  42. package/HR-Resource/engineering-engineering-senior-developer/SKILL.md +193 -0
  43. package/HR-Resource/engineering-engineering-software-architect/SKILL.md +98 -0
  44. package/HR-Resource/engineering-engineering-solidity-smart-contract-engineer/SKILL.md +539 -0
  45. package/HR-Resource/engineering-engineering-sre/SKILL.md +107 -0
  46. package/HR-Resource/engineering-engineering-technical-writer/SKILL.md +410 -0
  47. package/HR-Resource/engineering-engineering-threat-detection-engineer/SKILL.md +551 -0
  48. package/HR-Resource/engineering-engineering-voice-ai-integration-engineer/SKILL.md +578 -0
  49. package/HR-Resource/engineering-engineering-wechat-mini-program-developer/SKILL.md +367 -0
  50. package/HR-Resource/finance-finance-bookkeeper-controller/SKILL.md +277 -0
  51. package/HR-Resource/finance-finance-financial-analyst/SKILL.md +251 -0
  52. package/HR-Resource/finance-finance-fpa-analyst/SKILL.md +280 -0
  53. package/HR-Resource/finance-finance-investment-researcher/SKILL.md +289 -0
  54. package/HR-Resource/finance-finance-tax-strategist/SKILL.md +256 -0
  55. package/HR-Resource/game-development-blender-blender-addon-engineer/SKILL.md +251 -0
  56. package/HR-Resource/game-development-game-audio-engineer/SKILL.md +281 -0
  57. package/HR-Resource/game-development-game-designer/SKILL.md +184 -0
  58. package/HR-Resource/game-development-godot-godot-gameplay-scripter/SKILL.md +351 -0
  59. package/HR-Resource/game-development-godot-godot-multiplayer-engineer/SKILL.md +314 -0
  60. package/HR-Resource/game-development-godot-godot-shader-developer/SKILL.md +283 -0
  61. package/HR-Resource/game-development-level-designer/SKILL.md +225 -0
  62. package/HR-Resource/game-development-narrative-designer/SKILL.md +260 -0
  63. package/HR-Resource/game-development-roblox-studio-roblox-avatar-creator/SKILL.md +314 -0
  64. package/HR-Resource/game-development-roblox-studio-roblox-experience-designer/SKILL.md +322 -0
  65. package/HR-Resource/game-development-roblox-studio-roblox-systems-scripter/SKILL.md +342 -0
  66. package/HR-Resource/game-development-technical-artist/SKILL.md +246 -0
  67. package/HR-Resource/game-development-unity-unity-architect/SKILL.md +288 -0
  68. package/HR-Resource/game-development-unity-unity-editor-tool-developer/SKILL.md +327 -0
  69. package/HR-Resource/game-development-unity-unity-multiplayer-engineer/SKILL.md +338 -0
  70. package/HR-Resource/game-development-unity-unity-shader-graph-artist/SKILL.md +286 -0
  71. package/HR-Resource/game-development-unreal-engine-unreal-multiplayer-architect/SKILL.md +330 -0
  72. package/HR-Resource/game-development-unreal-engine-unreal-systems-engineer/SKILL.md +327 -0
  73. package/HR-Resource/game-development-unreal-engine-unreal-technical-artist/SKILL.md +273 -0
  74. package/HR-Resource/game-development-unreal-engine-unreal-world-builder/SKILL.md +290 -0
  75. package/HR-Resource/hiring/SKILL.md +28 -0
  76. package/HR-Resource/index.json +747 -0
  77. package/HR-Resource/integrations-mcp-memory-backend-architect-with-memory/SKILL.md +264 -0
  78. package/HR-Resource/marketing-marketing-agentic-search-optimizer/SKILL.md +328 -0
  79. package/HR-Resource/marketing-marketing-ai-citation-strategist/SKILL.md +187 -0
  80. package/HR-Resource/marketing-marketing-app-store-optimizer/SKILL.md +338 -0
  81. package/HR-Resource/marketing-marketing-baidu-seo-specialist/SKILL.md +243 -0
  82. package/HR-Resource/marketing-marketing-bilibili-content-strategist/SKILL.md +216 -0
  83. package/HR-Resource/marketing-marketing-book-co-author/SKILL.md +127 -0
  84. package/HR-Resource/marketing-marketing-carousel-growth-engine/SKILL.md +216 -0
  85. package/HR-Resource/marketing-marketing-china-ecommerce-operator/SKILL.md +300 -0
  86. package/HR-Resource/marketing-marketing-china-market-localization-strategist/SKILL.md +300 -0
  87. package/HR-Resource/marketing-marketing-content-creator/SKILL.md +71 -0
  88. package/HR-Resource/marketing-marketing-cross-border-ecommerce/SKILL.md +276 -0
  89. package/HR-Resource/marketing-marketing-douyin-strategist/SKILL.md +166 -0
  90. package/HR-Resource/marketing-marketing-growth-hacker/SKILL.md +71 -0
  91. package/HR-Resource/marketing-marketing-instagram-curator/SKILL.md +130 -0
  92. package/HR-Resource/marketing-marketing-kuaishou-strategist/SKILL.md +240 -0
  93. package/HR-Resource/marketing-marketing-linkedin-content-creator/SKILL.md +230 -0
  94. package/HR-Resource/marketing-marketing-livestream-commerce-coach/SKILL.md +322 -0
  95. package/HR-Resource/marketing-marketing-podcast-strategist/SKILL.md +294 -0
  96. package/HR-Resource/marketing-marketing-private-domain-operator/SKILL.md +325 -0
  97. package/HR-Resource/marketing-marketing-reddit-community-builder/SKILL.md +140 -0
  98. package/HR-Resource/marketing-marketing-seo-specialist/SKILL.md +338 -0
  99. package/HR-Resource/marketing-marketing-short-video-editing-coach/SKILL.md +429 -0
  100. package/HR-Resource/marketing-marketing-social-media-strategist/SKILL.md +142 -0
  101. package/HR-Resource/marketing-marketing-tiktok-strategist/SKILL.md +142 -0
  102. package/HR-Resource/marketing-marketing-twitter-engager/SKILL.md +143 -0
  103. package/HR-Resource/marketing-marketing-video-optimization-specialist/SKILL.md +136 -0
  104. package/HR-Resource/marketing-marketing-wechat-official-account/SKILL.md +162 -0
  105. package/HR-Resource/marketing-marketing-weibo-strategist/SKILL.md +257 -0
  106. package/HR-Resource/marketing-marketing-xiaohongshu-specialist/SKILL.md +155 -0
  107. package/HR-Resource/marketing-marketing-zhihu-strategist/SKILL.md +179 -0
  108. package/HR-Resource/ops/SKILL.md +46 -0
  109. package/HR-Resource/paid-media-paid-media-auditor/SKILL.md +88 -0
  110. package/HR-Resource/paid-media-paid-media-creative-strategist/SKILL.md +88 -0
  111. package/HR-Resource/paid-media-paid-media-paid-social-strategist/SKILL.md +88 -0
  112. package/HR-Resource/paid-media-paid-media-ppc-strategist/SKILL.md +88 -0
  113. package/HR-Resource/paid-media-paid-media-programmatic-buyer/SKILL.md +88 -0
  114. package/HR-Resource/paid-media-paid-media-search-query-analyst/SKILL.md +88 -0
  115. package/HR-Resource/paid-media-paid-media-tracking-specialist/SKILL.md +88 -0
  116. package/HR-Resource/product-product-behavioral-nudge-engine/SKILL.md +97 -0
  117. package/HR-Resource/product-product-feedback-synthesizer/SKILL.md +136 -0
  118. package/HR-Resource/product-product-manager/SKILL.md +486 -0
  119. package/HR-Resource/product-product-sprint-prioritizer/SKILL.md +171 -0
  120. package/HR-Resource/product-product-trend-researcher/SKILL.md +176 -0
  121. package/HR-Resource/project-management-project-management-experiment-tracker/SKILL.md +215 -0
  122. package/HR-Resource/project-management-project-management-jira-workflow-steward/SKILL.md +247 -0
  123. package/HR-Resource/project-management-project-management-project-shepherd/SKILL.md +211 -0
  124. package/HR-Resource/project-management-project-management-studio-operations/SKILL.md +217 -0
  125. package/HR-Resource/project-management-project-management-studio-producer/SKILL.md +220 -0
  126. package/HR-Resource/project-management-project-manager-senior/SKILL.md +152 -0
  127. package/HR-Resource/resource-manager/SKILL.md +23 -0
  128. package/HR-Resource/sales-sales-account-strategist/SKILL.md +244 -0
  129. package/HR-Resource/sales-sales-coach/SKILL.md +288 -0
  130. package/HR-Resource/sales-sales-deal-strategist/SKILL.md +197 -0
  131. package/HR-Resource/sales-sales-discovery-coach/SKILL.md +242 -0
  132. package/HR-Resource/sales-sales-engineer/SKILL.md +199 -0
  133. package/HR-Resource/sales-sales-outbound-strategist/SKILL.md +218 -0
  134. package/HR-Resource/sales-sales-pipeline-analyst/SKILL.md +284 -0
  135. package/HR-Resource/sales-sales-proposal-strategist/SKILL.md +234 -0
  136. package/HR-Resource/spatial-computing-macos-spatial-metal-engineer/SKILL.md +354 -0
  137. package/HR-Resource/spatial-computing-terminal-integration-specialist/SKILL.md +87 -0
  138. package/HR-Resource/spatial-computing-visionos-spatial-engineer/SKILL.md +71 -0
  139. package/HR-Resource/spatial-computing-xr-cockpit-interaction-specialist/SKILL.md +49 -0
  140. package/HR-Resource/spatial-computing-xr-immersive-developer/SKILL.md +49 -0
  141. package/HR-Resource/spatial-computing-xr-interface-architect/SKILL.md +49 -0
  142. package/HR-Resource/specialized-accounts-payable-agent/SKILL.md +202 -0
  143. package/HR-Resource/specialized-agentic-identity-trust/SKILL.md +404 -0
  144. package/HR-Resource/specialized-agents-orchestrator/SKILL.md +384 -0
  145. package/HR-Resource/specialized-automation-governance-architect/SKILL.md +233 -0
  146. package/HR-Resource/specialized-blockchain-security-auditor/SKILL.md +480 -0
  147. package/HR-Resource/specialized-compliance-auditor/SKILL.md +175 -0
  148. package/HR-Resource/specialized-corporate-training-designer/SKILL.md +209 -0
  149. package/HR-Resource/specialized-customer-service/SKILL.md +415 -0
  150. package/HR-Resource/specialized-data-consolidation-agent/SKILL.md +77 -0
  151. package/HR-Resource/specialized-government-digital-presales-consultant/SKILL.md +380 -0
  152. package/HR-Resource/specialized-healthcare-customer-service/SKILL.md +406 -0
  153. package/HR-Resource/specialized-healthcare-marketing-compliance/SKILL.md +412 -0
  154. package/HR-Resource/specialized-hospitality-guest-services/SKILL.md +620 -0
  155. package/HR-Resource/specialized-hr-onboarding/SKILL.md +468 -0
  156. package/HR-Resource/specialized-identity-graph-operator/SKILL.md +277 -0
  157. package/HR-Resource/specialized-language-translator/SKILL.md +281 -0
  158. package/HR-Resource/specialized-legal-billing-time-tracking/SKILL.md +586 -0
  159. package/HR-Resource/specialized-legal-client-intake/SKILL.md +509 -0
  160. package/HR-Resource/specialized-legal-document-review/SKILL.md +471 -0
  161. package/HR-Resource/specialized-loan-officer-assistant/SKILL.md +572 -0
  162. package/HR-Resource/specialized-lsp-index-engineer/SKILL.md +331 -0
  163. package/HR-Resource/specialized-real-estate-buyer-seller/SKILL.md +613 -0
  164. package/HR-Resource/specialized-recruitment-specialist/SKILL.md +526 -0
  165. package/HR-Resource/specialized-report-distribution-agent/SKILL.md +82 -0
  166. package/HR-Resource/specialized-retail-customer-returns/SKILL.md +583 -0
  167. package/HR-Resource/specialized-sales-data-extraction-agent/SKILL.md +84 -0
  168. package/HR-Resource/specialized-sales-outreach/SKILL.md +442 -0
  169. package/HR-Resource/specialized-specialized-chief-of-staff/SKILL.md +296 -0
  170. package/HR-Resource/specialized-specialized-civil-engineer/SKILL.md +373 -0
  171. package/HR-Resource/specialized-specialized-cultural-intelligence-strategist/SKILL.md +105 -0
  172. package/HR-Resource/specialized-specialized-developer-advocate/SKILL.md +334 -0
  173. package/HR-Resource/specialized-specialized-document-generator/SKILL.md +72 -0
  174. package/HR-Resource/specialized-specialized-french-consulting-market/SKILL.md +209 -0
  175. package/HR-Resource/specialized-specialized-korean-business-navigator/SKILL.md +233 -0
  176. package/HR-Resource/specialized-specialized-mcp-builder/SKILL.md +265 -0
  177. package/HR-Resource/specialized-specialized-model-qa/SKILL.md +505 -0
  178. package/HR-Resource/specialized-specialized-salesforce-architect/SKILL.md +197 -0
  179. package/HR-Resource/specialized-specialized-workflow-architect/SKILL.md +614 -0
  180. package/HR-Resource/specialized-study-abroad-advisor/SKILL.md +299 -0
  181. package/HR-Resource/specialized-supply-chain-strategist/SKILL.md +599 -0
  182. package/HR-Resource/specialized-zk-steward/SKILL.md +228 -0
  183. package/HR-Resource/support-support-analytics-reporter/SKILL.md +382 -0
  184. package/HR-Resource/support-support-executive-summary-generator/SKILL.md +229 -0
  185. package/HR-Resource/support-support-finance-tracker/SKILL.md +459 -0
  186. package/HR-Resource/support-support-infrastructure-maintainer/SKILL.md +635 -0
  187. package/HR-Resource/support-support-legal-compliance-checker/SKILL.md +605 -0
  188. package/HR-Resource/support-support-support-responder/SKILL.md +602 -0
  189. package/HR-Resource/testing-testing-accessibility-auditor/SKILL.md +333 -0
  190. package/HR-Resource/testing-testing-api-tester/SKILL.md +323 -0
  191. package/HR-Resource/testing-testing-evidence-collector/SKILL.md +227 -0
  192. package/HR-Resource/testing-testing-performance-benchmarker/SKILL.md +285 -0
  193. package/HR-Resource/testing-testing-reality-checker/SKILL.md +253 -0
  194. package/HR-Resource/testing-testing-test-results-analyzer/SKILL.md +322 -0
  195. package/HR-Resource/testing-testing-tool-evaluator/SKILL.md +411 -0
  196. package/HR-Resource/testing-testing-workflow-optimizer/SKILL.md +467 -0
  197. package/assets/launchd/com.walwal.harness-wake.plist.template +1 -1
  198. package/assets/templates/company-pipeline-manifest.json +71 -0
  199. package/assets/templates/config.json +40 -2
  200. package/bin/init.js +208 -109
  201. package/commands/goal.md +25 -0
  202. package/commands/hot-fix.md +25 -0
  203. package/commands/play-harness.md +22 -0
  204. package/commands/release-harness.md +22 -0
  205. package/commands/stop-harness.md +21 -0
  206. package/conventions/README.md +14 -88
  207. package/conventions/brick-office.md +5 -0
  208. package/conventions/cdo.md +6 -0
  209. package/conventions/ceo.md +9 -0
  210. package/conventions/coo.md +6 -0
  211. package/conventions/cqo.md +6 -23
  212. package/conventions/cto.md +5 -23
  213. package/conventions/hiring.md +7 -0
  214. package/conventions/ops.md +9 -0
  215. package/conventions/resource-manager.md +6 -0
  216. package/conventions/shared.md +29 -40
  217. package/gotchas/README.md +14 -82
  218. package/gotchas/brick-office.md +9 -0
  219. package/gotchas/cdo.md +9 -0
  220. package/gotchas/ceo.md +9 -0
  221. package/gotchas/coo.md +9 -0
  222. package/gotchas/cqo.md +6 -19
  223. package/gotchas/cto.md +6 -19
  224. package/gotchas/hiring.md +9 -0
  225. package/gotchas/ops.md +17 -0
  226. package/gotchas/resource-manager.md +9 -0
  227. package/gotchas/shared.md +13 -0
  228. package/package.json +11 -17
  229. package/scripts/conductor-tick.sh +97 -4
  230. package/scripts/harness-hourly-review.sh +284 -5
  231. package/scripts/harness-parity-audit.sh +101 -0
  232. package/scripts/harness-queue-manager.sh +1 -1
  233. package/scripts/harness-runtime-stop.sh +58 -0
  234. package/scripts/harness-service-ops-monitor.sh +207 -18
  235. package/scripts/harness-stop.sh +18 -0
  236. package/scripts/harness-wake-install.sh +1 -0
  237. package/scripts/harness-wake.sh +100 -8
  238. package/scripts/harness-worker-dispatch.sh +52 -21
  239. package/scripts/harness-worker-evidence-validate.sh +59 -0
  240. package/scripts/import-agency-agents.js +102 -0
  241. package/scripts/lib/harness-agent-resolver.sh +127 -0
  242. package/scripts/play.sh +104 -0
  243. package/scripts/release.sh +89 -0
  244. package/conventions/conductor.md +0 -24
  245. package/conventions/coo-developer.md +0 -24
  246. package/conventions/dispatcher.md +0 -24
  247. package/conventions/documentationer.md +0 -24
  248. package/conventions/evaluator-architecture.md +0 -24
  249. package/conventions/evaluator-code-quality.md +0 -24
  250. package/conventions/evaluator-functional.md +0 -24
  251. package/conventions/evaluator-security.md +0 -24
  252. package/conventions/evaluator-visual.md +0 -24
  253. package/conventions/generator-backend.md +0 -24
  254. package/conventions/generator-designer.md +0 -24
  255. package/conventions/generator-devops.md +0 -24
  256. package/conventions/generator-frontend.md +0 -24
  257. package/conventions/meeting-manager.md +0 -24
  258. package/conventions/planner.md +0 -24
  259. package/conventions/service-ops.md +0 -24
  260. package/gotchas/conductor.md +0 -38
  261. package/gotchas/coo-developer.md +0 -22
  262. package/gotchas/dispatcher.md +0 -38
  263. package/gotchas/documentationer.md +0 -22
  264. package/gotchas/evaluator-architecture.md +0 -22
  265. package/gotchas/evaluator-code-quality.md +0 -22
  266. package/gotchas/evaluator-functional.md +0 -22
  267. package/gotchas/evaluator-security.md +0 -22
  268. package/gotchas/evaluator-visual.md +0 -22
  269. package/gotchas/generator-backend-laravel.md +0 -19
  270. package/gotchas/generator-backend.md +0 -22
  271. package/gotchas/generator-designer.md +0 -22
  272. package/gotchas/generator-devops.md +0 -22
  273. package/gotchas/generator-frontend.md +0 -22
  274. package/gotchas/meeting-manager.md +0 -30
  275. package/gotchas/planner.md +0 -22
  276. package/gotchas/service-ops.md +0 -30
  277. package/skills/_shared/dynamic-registration.md +0 -120
  278. package/skills/brainstorming/SKILL.md +0 -220
  279. package/skills/brainstorming/references/attribution.md +0 -109
  280. package/skills/brainstorming/references/spec-document-reviewer-prompt.md +0 -49
  281. package/skills/brainstorming/references/visual-companion.md +0 -287
  282. package/skills/brainstorming/scripts/frame-template.html +0 -214
  283. package/skills/brainstorming/scripts/helper.js +0 -88
  284. package/skills/brainstorming/scripts/server.cjs +0 -354
  285. package/skills/brainstorming/scripts/start-server.sh +0 -148
  286. package/skills/brainstorming/scripts/stop-server.sh +0 -56
  287. package/skills/conductor/SKILL.md +0 -336
  288. package/skills/coo-developer/SKILL.md +0 -72
  289. package/skills/cqo/SKILL.md +0 -146
  290. package/skills/cto/SKILL.md +0 -141
  291. package/skills/dispatcher/SKILL.md +0 -298
  292. package/skills/dispatcher/persona-ceo.md +0 -169
  293. package/skills/dispatcher/references/convention-flow.md +0 -111
  294. package/skills/dispatcher/references/gotcha-flow.md +0 -79
  295. package/skills/dispatcher/references/initialization.md +0 -53
  296. package/skills/dispatcher/references/pipeline-definitions.md +0 -151
  297. package/skills/documentationer/SKILL.md +0 -92
  298. package/skills/evaluator-architecture/SKILL.md +0 -173
  299. package/skills/evaluator-code-quality/SKILL.md +0 -218
  300. package/skills/evaluator-code-quality/references/scoring-rubric.md +0 -104
  301. package/skills/evaluator-functional/SKILL.md +0 -271
  302. package/skills/evaluator-functional/references/ia-compliance.md +0 -37
  303. package/skills/evaluator-functional/references/playwright-tools.md +0 -43
  304. package/skills/evaluator-functional/references/scoring-rubric.md +0 -52
  305. package/skills/evaluator-security/SKILL.md +0 -172
  306. package/skills/evaluator-visual/SKILL.md +0 -165
  307. package/skills/evaluator-visual/references/responsive-checklist.md +0 -44
  308. package/skills/evaluator-visual/references/scoring-rubric.md +0 -59
  309. package/skills/generator-backend/SKILL.md +0 -153
  310. package/skills/generator-backend/references/nestjs-msa-patterns.md +0 -69
  311. package/skills/generator-backend/references/sprint-contract-be.md +0 -32
  312. package/skills/generator-designer/SKILL.md +0 -219
  313. package/skills/generator-devops/SKILL.md +0 -201
  314. package/skills/generator-frontend/SKILL.md +0 -155
  315. package/skills/generator-frontend/references/_web-react-legacy/ai-forbidden-patterns.md +0 -89
  316. package/skills/generator-frontend/references/_web-react-legacy/component-patterns.md +0 -52
  317. package/skills/generator-frontend/references/_web-react-legacy/design-system-rules.md +0 -139
  318. package/skills/generator-frontend/references/_web-react-legacy/vercel-best-practices.md +0 -54
  319. package/skills/meeting-manager/SKILL.md +0 -419
  320. package/skills/planner/SKILL.md +0 -243
  321. package/skills/planner/hr-onboard.md +0 -134
  322. package/skills/planner/hr-recruit.md +0 -99
  323. package/skills/planner/persona-coo-hr.md +0 -182
  324. package/skills/planner/references/api-contract-schema.md +0 -34
  325. package/skills/planner/references/fe-stack-detection.md +0 -164
  326. package/skills/planner/references/ia-map-guide.md +0 -31
  327. package/skills/planner/references/plan-template.md +0 -51
  328. package/skills/service-ops/SKILL.md +0 -295
@@ -1,220 +0,0 @@
1
- ---
2
- name: harness-brainstorming
3
- description: "사용자의 러프한(바이브코딩) 요구사항을 대화형으로 구체화하여 Planner가 바로 쓸 수 있는 디자인/스펙 문서(.harness/actions/brainstorm-spec.md)로 만든다. Dispatcher가 사용자에게 '브레인스토밍 필요?' 라고 확인한 뒤에만 호출된다. 원본: obra/superpowers MIT."
4
- disable-model-invocation: false
5
- ---
6
-
7
- # Brainstormer — 요구사항 구체화 (obra/superpowers 파생)
8
-
9
- > **Attribution**: 이 스킬의 방법론은 [obra/superpowers](https://github.com/obra/superpowers)
10
- > (MIT License) 의 `skills/brainstorming` 을 walwal-harness 파이프라인에 맞게 이식한 것입니다.
11
- > 원본 저자(J. Hubbard 등)에게 감사드립니다. 상세 원본 텍스트 + 라이센스는
12
- > [references/attribution.md](references/attribution.md) 참조.
13
-
14
- ## 역할
15
-
16
- walwal-harness 에서 Brainstormer 의 유일한 목적은 **러프한 바이브코딩 아이디어를
17
- Planner 가 곧바로 plan.md / feature-list.json / api-contract.json 으로 변환할 수 있는
18
- 수준의 fit 한 요구사항 문서**로 구체화하는 것이다. 결과물은 단 하나:
19
-
20
- ```
21
- .harness/actions/brainstorm-spec.md
22
- ```
23
-
24
- 이 파일이 생성되면 Planner 는 이것을 PRD 대체 입력으로 읽는다.
25
-
26
- ## 언제 호출되는가
27
-
28
- **Dispatcher 가 사용자에게 명시적으로 "브레인스토밍 과정이 필요합니까?" 라고 묻고
29
- 사용자가 승인한 경우에만 실행된다.** 이외의 모든 경로 (피드백, 이터레이션, 직접 에이전트
30
- 명령, Gotcha 교정, 스프린트 retry) 에서는 호출되지 않는다. 사용자가 명확한 PRD 를
31
- 제공하거나 브레인스토밍 불필요를 선언하면 Dispatcher 는 곧바로 `next_agent = planner`
32
- 로 라우팅한다.
33
-
34
- ## progress.json 업데이트 규칙 (v5.6.3+)
35
-
36
- ⚠️ **절대로 progress.json 을 통째로 재작성하지 마라**. `Write` 도구로 전체 파일을
37
- 덮어쓰면 `mode` / `company_state` / 기타 top-level 필드가 누락되어 회사모드 병렬 루프가
38
- 끊기는 등 런타임 오류가 발생한다.
39
-
40
- **올바른 방법** — 반드시 partial update 로 갱신:
41
-
42
- ```bash
43
- # 헬퍼 스크립트 (권장)
44
- bash scripts/harness-progress-set.sh . '.current_agent = "planner" | .agent_status = "running"'
45
-
46
- # 또는 직접 jq 로 partial update
47
- jq '.agent_status = "completed" | .completed_agents += ["planner"]' .harness/progress.json > .harness/progress.json.tmp && mv .harness/progress.json.tmp .harness/progress.json
48
- ```
49
-
50
- 위 두 방식은 파일의 나머지 필드를 보존한다. Read → 수정 → Write 패턴은 사용 금지.
51
-
52
- ## Session Boundary Protocol
53
-
54
- ### On Start
55
- 1. `.harness/progress.json` 읽기 — `next_agent == "brainstorming"` 인지 확인
56
- - 아니면 즉시 STOP + "Dispatcher 를 먼저 실행하세요" 안내
57
- 2. progress.json 업데이트: `current_agent` → `"brainstorming"`, `agent_status` → `"running"`, `updated_at` 갱신
58
- 3. `.harness/memory.md` 읽기 — **프로젝트 공유 학습 규칙 적용**
59
- 4. **Skip 조건 검사**: `.harness/actions/brainstorm-spec.md` 가 이미 존재하고
60
- 사용자가 "새로 브레인스토밍" 을 명시하지 않았다면:
61
- - 사용자에게 "기존 brainstorm-spec.md 가 있습니다. 재사용(Y) / 새로 작성(N)?" 질문
62
- - Y → 즉시 On Complete 로 이동 (interactive 단계 전부 스킵)
63
- - N → 기존 파일을 `.harness/archive/brainstorm-spec-<timestamp>.md` 로 이동 후 interactive 시작
64
-
65
- ### On Complete
66
- 1. `.harness/actions/brainstorm-spec.md` 가 존재하고 "User Review Gate" 를 통과했는지 확인
67
- 2. progress.json 업데이트:
68
- - `agent_status` → `"completed"`
69
- - `completed_agents` 에 `"brainstorming"` 추가
70
- - `next_agent` → `"planner"`
71
- 3. `.harness/progress.log` 에 요약 추가: `Brainstormer → Planner (spec: <경로>)`
72
- 4. 출력: `"✓ Brainstormer 완료. brainstorm-spec.md 검토 후 승인 신호를 주세요. 승인 시 자동 핸드오프 (Conductor 자율 시동) (Planner)."`
73
- 5. **사용자 승인 게이트**: 사용자의 명시적 승인 ("이 디자인 승인한다", "ok", "다음", "Planner 가자" 등) 을 기다린 후, **내부 핸드오프 (scripts/harness-next.sh) 를 호출하여 Planner 로 자동 핸드오프**.
74
- 6. 사용자가 피드백/수정 요청을 하면 brainstorm-spec.md 를 갱신하고 다시 승인 요청. 승인 없이는 `/harness-next` 호출 금지 (HARD-GATE 준수).
75
-
76
- ### On Fail / Abort
77
- 사용자가 중간에 "중단" / "취소" / "abort" 를 요청하면:
78
- 1. progress.json 업데이트: `agent_status` → `"blocked"`, `failure.message` → `"user aborted brainstorming"`
79
- 2. 작성 중이던 `brainstorm-spec.md` 는 `.harness/archive/brainstorm-spec-draft-<timestamp>.md` 로 이동
80
- 3. **STOP**. 사용자에게 "재시작 원하면 'dispatcher 다시'" 안내
81
-
82
- ## HARD-GATE (원본에서 계승)
83
-
84
- > **Planner / Generator / 어떤 구현 에이전트도 호출하지 말라. 사용자가 "이 디자인 승인한다" 고
85
- > 명시적으로 말하기 전까지는 brainstorm-spec.md 를 저장하지도 않는다.**
86
-
87
- 아무리 간단해 보이는 프로젝트라도 이 게이트를 건너뛰지 않는다. "Simple" 한 프로젝트가
88
- 오히려 검증되지 않은 가정 때문에 가장 많은 시간을 낭비시킨다.
89
-
90
- ## 체크리스트 (Brainstormer 내부 워크플로우)
91
-
92
- 각 항목을 **순서대로** 수행하고 각 단계 끝에서 사용자 확인을 받는다:
93
-
94
- 1. **프로젝트 컨텍스트 탐색** — 기존 파일, docs, 최근 커밋, `AGENTS.md`, `.harness/actions/`
95
- 2. **Visual Companion 제안** (시각 요소가 많을 예정이라면, 단일 메시지로) — [visual-companion 가이드](references/visual-companion.md)
96
- 3. **명확화 질문** — 한 번에 **하나씩**, 목적/제약/성공 기준 파악 (가능하면 객관식)
97
- 4. **스코프 점검** — 여러 독립 서브시스템이 섞여 있으면 먼저 분할 제안 (예: "플랫폼 A + 채팅 + 결제" → 먼저 A 만)
98
- 5. **2~3 개 접근법 제시** — 각 접근의 장단점 + 추천안 + 추천 이유
99
- 6. **디자인 섹션별 제시** — 복잡도에 맞춰 섹션별 길이 조절, 각 섹션 끝에 사용자 확인
100
- - 아키텍처, 컴포넌트, 데이터 흐름, 에러 처리, 테스트
101
- 7. **사용자 디자인 승인** 받기
102
- 8. **brainstorm-spec.md 저장** — `.harness/actions/brainstorm-spec.md` 에 커밋 (아래 스펙 포맷)
103
- 9. **Spec Self-Review** — 플레이스홀더, 모순, 애매성, 스코프, YAGNI 체크. 발견 시 inline 수정
104
- 상세 → [spec-document-reviewer-prompt.md](references/spec-document-reviewer-prompt.md)
105
- 10. **User Review Gate** — 사용자에게 작성된 파일을 리뷰 요청. 변경 요청 시 → 8번으로 복귀
106
- 11. **Planner 로 핸드오프** — Session Boundary Protocol On Complete 실행
107
-
108
- ## 핵심 원칙 (원본 계승)
109
-
110
- - **한 번에 한 질문** — 질문 폭탄 금지
111
- - **객관식 우선** — 가능하면 A/B/C/D 형태로
112
- - **YAGNI** — 요청되지 않은 기능은 전부 제거
113
- - **대안 탐색** — 결정하기 전에 항상 2-3 개 접근법 제시
114
- - **점진적 검증** — 섹션별로 제시하고 승인 후 다음
115
- - **유연성** — 중간에 "이건 안 맞는 것 같아" 가 나오면 언제든 이전 단계로 복귀
116
-
117
- ## 출력 포맷: `.harness/actions/brainstorm-spec.md`
118
-
119
- ```markdown
120
- ---
121
- docmeta:
122
- id: brainstorm-spec
123
- title: Brainstorm Spec — <프로젝트/기능 이름>
124
- type: output
125
- createdAt: <ISO 8601>
126
- updatedAt: <ISO 8601>
127
- source:
128
- producer: agent
129
- skillId: harness-brainstorming
130
- inputs:
131
- - documentId: user-conversation
132
- uri: (inline — 사용자와의 대화 전체)
133
- relation: output-from
134
- tags: [brainstorming, spec, planner-input]
135
- ---
136
-
137
- # Brainstorm Spec — <프로젝트/기능 이름>
138
-
139
- ## 1. 목적 (Purpose)
140
- <무엇을, 왜 만드는가 — 1-2 문단>
141
-
142
- ## 2. 성공 기준 (Success Criteria)
143
- - [ ] ...
144
- - [ ] ...
145
-
146
- ## 3. 스코프 (Scope)
147
- ### In
148
- - ...
149
- ### Out (명시적 제외)
150
- - ...
151
-
152
- ## 4. 제약 (Constraints)
153
- - 기술 스택:
154
- - 성능:
155
- - 보안/컴플라이언스:
156
- - 기타:
157
-
158
- ## 5. 선택된 접근법 (Chosen Approach)
159
- <2-3 개 대안 중 사용자가 승인한 것 + 이유>
160
-
161
- ### 고려했던 대안
162
- - **Alt A**: ... (장/단점)
163
- - **Alt B**: ... (장/단점)
164
-
165
- ## 6. 아키텍처 스케치
166
- <구성요소 + 상호작용 — ASCII 다이어그램 또는 간단한 설명>
167
-
168
- ## 7. 주요 컴포넌트 / 엔티티
169
- - Component A — 책임:
170
- - Entity X — 필드/관계:
171
-
172
- ## 8. 데이터 흐름 (Data Flow)
173
- <입력 → 처리 → 출력 → 저장 경로>
174
-
175
- ## 9. 에러 처리 전략
176
- - 경계 에러:
177
- - 내부 에러:
178
- - 사용자 노출 메시지:
179
-
180
- ## 10. 테스트 전략 (High-level)
181
- - Unit:
182
- - Integration:
183
- - E2E:
184
-
185
- ## 11. Open Questions (Planner 가 확정할 것)
186
- - Q1: ...
187
- - Q2: ...
188
-
189
- ## 12. 사용자 승인 로그
190
- - YYYY-MM-DD HH:MM — 섹션 <N> 승인 ("네, 좋아요")
191
- - YYYY-MM-DD HH:MM — 디자인 전체 승인
192
- - YYYY-MM-DD HH:MM — 작성 스펙 파일 리뷰 통과
193
- ```
194
-
195
- ## Planner 와의 인터페이스
196
-
197
- Planner 는 On Start 에 이 파일을 읽고:
198
-
199
- 1. `1. 목적`, `2. 성공 기준`, `3. 스코프` → `plan.md` 의 사양서 도입부로 직접 반영
200
- 2. `5. 선택된 접근법`, `6. 아키텍처 스케치` → MSA 서비스 분할 (full 모드) 또는 컴포넌트 설계의 베이스
201
- 3. `7. 주요 컴포넌트 / 엔티티` → `feature-list.json` 초기 feature 목록 시드
202
- 4. `11. Open Questions` → Planner 가 해소 (API 계약으로 확정)
203
-
204
- Planner 는 brainstorm-spec.md 에 있는 **승인된 결정** 을 뒤엎지 않는다. 필요한 경우
205
- `## Change Request` 섹션을 추가해 Dispatcher 를 통한 재논의 요청.
206
-
207
- ## 금지 사항
208
-
209
- - `brainstorm-spec.md` 승인 전에 `plan.md`, `feature-list.json`, `api-contract.json` 작성
210
- - 코드 작성 / scaffolding / 파일 생성 (scripts/visual-companion 제외)
211
- - 여러 질문을 한 메시지에 몰아 넣기
212
- - 사용자 승인 없이 임의로 다음 섹션으로 진행
213
- - `.harness/archive/` 쓰기 금지 원칙 위반 (skip/abort 시 draft 이동 외에는 금지)
214
-
215
- ## 참고
216
-
217
- - 원본 방법론 + 라이센스 → [references/attribution.md](references/attribution.md)
218
- - Visual Companion (브라우저 기반 목업/다이어그램 서버) → [references/visual-companion.md](references/visual-companion.md)
219
- - Spec self-review 상세 → [references/spec-document-reviewer-prompt.md](references/spec-document-reviewer-prompt.md)
220
- - Visual Companion 실행 스크립트 → `scripts/start-server.sh` (실행은 선택)
@@ -1,109 +0,0 @@
1
- ---
2
- docmeta:
3
- id: brainstorming-attribution
4
- title: Brainstorming Skill — Attribution & Original Source
5
- type: output
6
- createdAt: 2026-04-09T00:00:00Z
7
- updatedAt: 2026-04-09T00:00:00Z
8
- source:
9
- producer: agent
10
- skillId: harness-brainstorming
11
- inputs:
12
- - documentId: obra-superpowers-brainstorming-skill
13
- uri: https://github.com/obra/superpowers/blob/main/skills/brainstorming/SKILL.md
14
- relation: output-from
15
- sections:
16
- - sourceRange:
17
- startLine: 1
18
- endLine: 165
19
- targetRange:
20
- startLine: 21
21
- endLine: 32
22
- - sourceRange:
23
- startLine: 29
24
- endLine: 33
25
- targetRange:
26
- startLine: 36
27
- endLine: 42
28
- - sourceRange:
29
- startLine: 12
30
- endLine: 18
31
- targetRange:
32
- startLine: 55
33
- endLine: 62
34
- - documentId: obra-superpowers-spec-reviewer
35
- uri: https://github.com/obra/superpowers/blob/main/skills/brainstorming/spec-document-reviewer-prompt.md
36
- relation: output-from
37
- sections:
38
- - sourceRange:
39
- startLine: 1
40
- endLine: 50
41
- targetRange:
42
- startLine: 23
43
- endLine: 24
44
- - documentId: obra-superpowers-visual-companion
45
- uri: https://github.com/obra/superpowers/blob/main/skills/brainstorming/visual-companion.md
46
- relation: output-from
47
- sections:
48
- - sourceRange:
49
- startLine: 1
50
- endLine: 287
51
- targetRange:
52
- startLine: 25
53
- endLine: 27
54
- tags: [attribution, license, mit, obra-superpowers]
55
- ---
56
-
57
- # Attribution — obra/superpowers brainstorming skill
58
-
59
- walwal-harness 의 `harness-brainstorming` 스킬은 아래 원본을 기반으로
60
- 파이프라인 통합(Session Boundary Protocol, Planner 인터페이스, 출력 경로 등)을
61
- 추가한 파생 저작물입니다.
62
-
63
- ## 원본
64
-
65
- - **Repo**: [obra/superpowers](https://github.com/obra/superpowers)
66
- - **Path**: `skills/brainstorming/`
67
- - **Files reused**:
68
- - `SKILL.md` — 방법론 (HARD-GATE, 한 번에 한 질문, 2-3 접근법, spec self-review)
69
- - `spec-document-reviewer-prompt.md` — spec 리뷰 서브에이전트 프롬프트 템플릿
70
- - `visual-companion.md` — 브라우저 기반 시각 도우미 가이드
71
- - `scripts/frame-template.html`, `helper.js`, `server.cjs`, `start-server.sh`, `stop-server.sh` — visual companion 서버 구현
72
- - **License**: MIT License
73
-
74
- ## 변경점 (walwal-harness 통합)
75
-
76
- 1. **Session Boundary Protocol 추가** — On Start / On Complete / On Fail 프로토콜로
77
- harness 다중 에이전트 흐름에 맞춤
78
- 2. **Terminal state 변경** — 원본의 "invoke writing-plans skill" → "hand off to
79
- harness-planner"
80
- 3. **출력 경로 변경** — 원본의 `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md`
81
- → `.harness/actions/brainstorm-spec.md` (Planner 의 입력 위치)
82
- 4. **출력 포맷 변경** — walwal-harness docmeta 프론트매터 + Planner 가 사용하는
83
- 12 개 섹션 (목적/성공기준/스코프/제약/접근법/아키텍처/컴포넌트/데이터흐름/
84
- 에러처리/테스트전략/Open Questions/승인로그) 로 구조화
85
- 5. **조건부 호출** — 원본은 "모든 창작 작업 전 필수" 였으나, harness 에서는 Dispatcher 가
86
- 사용자에게 "브레인스토밍 필요?" 확인 후에만 호출 (피드백/이터레이션 케이스에서
87
- 피로 최소화)
88
- 6. **Skip 로직** — 기존 brainstorm-spec.md 존재 시 재사용 여부 확인
89
-
90
- ## 보존된 핵심
91
-
92
- - HARD-GATE (구현 전 디자인 필수)
93
- - "Too simple to need a design" 안티패턴 경고
94
- - 한 번에 한 질문 원칙
95
- - 객관식 우선
96
- - 2-3 개 접근법 탐색
97
- - YAGNI
98
- - Spec self-review loop
99
- - User review gate
100
- - Visual Companion 옵션
101
-
102
- ## MIT License
103
-
104
- 원본 저장소 [obra/superpowers](https://github.com/obra/superpowers) 의 MIT License
105
- 전문은 아래 링크에서 확인할 수 있습니다:
106
- https://github.com/obra/superpowers/blob/main/LICENSE
107
-
108
- MIT License 하에 원본 저작권 표시 및 라이센스 고지 의무를 이 파일로 대체합니다.
109
- 파생물 배포 시에도 이 attribution 파일을 유지해야 합니다.
@@ -1,49 +0,0 @@
1
- # Spec Document Reviewer Prompt Template
2
-
3
- Use this template when dispatching a spec document reviewer subagent.
4
-
5
- **Purpose:** Verify the spec is complete, consistent, and ready for implementation planning.
6
-
7
- **Dispatch after:** Spec document is written to docs/superpowers/specs/
8
-
9
- ```
10
- Task tool (general-purpose):
11
- description: "Review spec document"
12
- prompt: |
13
- You are a spec document reviewer. Verify this spec is complete and ready for planning.
14
-
15
- **Spec to review:** [SPEC_FILE_PATH]
16
-
17
- ## What to Check
18
-
19
- | Category | What to Look For |
20
- |----------|------------------|
21
- | Completeness | TODOs, placeholders, "TBD", incomplete sections |
22
- | Consistency | Internal contradictions, conflicting requirements |
23
- | Clarity | Requirements ambiguous enough to cause someone to build the wrong thing |
24
- | Scope | Focused enough for a single plan — not covering multiple independent subsystems |
25
- | YAGNI | Unrequested features, over-engineering |
26
-
27
- ## Calibration
28
-
29
- **Only flag issues that would cause real problems during implementation planning.**
30
- A missing section, a contradiction, or a requirement so ambiguous it could be
31
- interpreted two different ways — those are issues. Minor wording improvements,
32
- stylistic preferences, and "sections less detailed than others" are not.
33
-
34
- Approve unless there are serious gaps that would lead to a flawed plan.
35
-
36
- ## Output Format
37
-
38
- ## Spec Review
39
-
40
- **Status:** Approved | Issues Found
41
-
42
- **Issues (if any):**
43
- - [Section X]: [specific issue] - [why it matters for planning]
44
-
45
- **Recommendations (advisory, do not block approval):**
46
- - [suggestions for improvement]
47
- ```
48
-
49
- **Reviewer returns:** Status, Issues (if any), Recommendations
@@ -1,287 +0,0 @@
1
- # Visual Companion Guide
2
-
3
- Browser-based visual brainstorming companion for showing mockups, diagrams, and options.
4
-
5
- ## When to Use
6
-
7
- Decide per-question, not per-session. The test: **would the user understand this better by seeing it than reading it?**
8
-
9
- **Use the browser** when the content itself is visual:
10
-
11
- - **UI mockups** — wireframes, layouts, navigation structures, component designs
12
- - **Architecture diagrams** — system components, data flow, relationship maps
13
- - **Side-by-side visual comparisons** — comparing two layouts, two color schemes, two design directions
14
- - **Design polish** — when the question is about look and feel, spacing, visual hierarchy
15
- - **Spatial relationships** — state machines, flowcharts, entity relationships rendered as diagrams
16
-
17
- **Use the terminal** when the content is text or tabular:
18
-
19
- - **Requirements and scope questions** — "what does X mean?", "which features are in scope?"
20
- - **Conceptual A/B/C choices** — picking between approaches described in words
21
- - **Tradeoff lists** — pros/cons, comparison tables
22
- - **Technical decisions** — API design, data modeling, architectural approach selection
23
- - **Clarifying questions** — anything where the answer is words, not a visual preference
24
-
25
- A question *about* a UI topic is not automatically a visual question. "What kind of wizard do you want?" is conceptual — use the terminal. "Which of these wizard layouts feels right?" is visual — use the browser.
26
-
27
- ## How It Works
28
-
29
- The server watches a directory for HTML files and serves the newest one to the browser. You write HTML content to `screen_dir`, the user sees it in their browser and can click to select options. Selections are recorded to `state_dir/events` that you read on your next turn.
30
-
31
- **Content fragments vs full documents:** If your HTML file starts with `<!DOCTYPE` or `<html`, the server serves it as-is (just injects the helper script). Otherwise, the server automatically wraps your content in the frame template — adding the header, CSS theme, selection indicator, and all interactive infrastructure. **Write content fragments by default.** Only write full documents when you need complete control over the page.
32
-
33
- ## Starting a Session
34
-
35
- ```bash
36
- # Start server with persistence (mockups saved to project)
37
- scripts/start-server.sh --project-dir /path/to/project
38
-
39
- # Returns: {"type":"server-started","port":52341,"url":"http://localhost:52341",
40
- # "screen_dir":"/path/to/project/.superpowers/brainstorm/12345-1706000000/content",
41
- # "state_dir":"/path/to/project/.superpowers/brainstorm/12345-1706000000/state"}
42
- ```
43
-
44
- Save `screen_dir` and `state_dir` from the response. Tell user to open the URL.
45
-
46
- **Finding connection info:** The server writes its startup JSON to `$STATE_DIR/server-info`. If you launched the server in the background and didn't capture stdout, read that file to get the URL and port. When using `--project-dir`, check `<project>/.superpowers/brainstorm/` for the session directory.
47
-
48
- **Note:** Pass the project root as `--project-dir` so mockups persist in `.superpowers/brainstorm/` and survive server restarts. Without it, files go to `/tmp` and get cleaned up. Remind the user to add `.superpowers/` to `.gitignore` if it's not already there.
49
-
50
- **Launching the server by platform:**
51
-
52
- **Claude Code (macOS / Linux):**
53
- ```bash
54
- # Default mode works — the script backgrounds the server itself
55
- scripts/start-server.sh --project-dir /path/to/project
56
- ```
57
-
58
- **Claude Code (Windows):**
59
- ```bash
60
- # Windows auto-detects and uses foreground mode, which blocks the tool call.
61
- # Use run_in_background: true on the Bash tool call so the server survives
62
- # across conversation turns.
63
- scripts/start-server.sh --project-dir /path/to/project
64
- ```
65
- When calling this via the Bash tool, set `run_in_background: true`. Then read `$STATE_DIR/server-info` on the next turn to get the URL and port.
66
-
67
- **Codex:**
68
- ```bash
69
- # Codex reaps background processes. The script auto-detects CODEX_CI and
70
- # switches to foreground mode. Run it normally — no extra flags needed.
71
- scripts/start-server.sh --project-dir /path/to/project
72
- ```
73
-
74
- **Gemini CLI:**
75
- ```bash
76
- # Use --foreground and set is_background: true on your shell tool call
77
- # so the process survives across turns
78
- scripts/start-server.sh --project-dir /path/to/project --foreground
79
- ```
80
-
81
- **Other environments:** The server must keep running in the background across conversation turns. If your environment reaps detached processes, use `--foreground` and launch the command with your platform's background execution mechanism.
82
-
83
- If the URL is unreachable from your browser (common in remote/containerized setups), bind a non-loopback host:
84
-
85
- ```bash
86
- scripts/start-server.sh \
87
- --project-dir /path/to/project \
88
- --host 0.0.0.0 \
89
- --url-host localhost
90
- ```
91
-
92
- Use `--url-host` to control what hostname is printed in the returned URL JSON.
93
-
94
- ## The Loop
95
-
96
- 1. **Check server is alive**, then **write HTML** to a new file in `screen_dir`:
97
- - Before each write, check that `$STATE_DIR/server-info` exists. If it doesn't (or `$STATE_DIR/server-stopped` exists), the server has shut down — restart it with `start-server.sh` before continuing. The server auto-exits after 30 minutes of inactivity.
98
- - Use semantic filenames: `platform.html`, `visual-style.html`, `layout.html`
99
- - **Never reuse filenames** — each screen gets a fresh file
100
- - Use Write tool — **never use cat/heredoc** (dumps noise into terminal)
101
- - Server automatically serves the newest file
102
-
103
- 2. **Tell user what to expect and end your turn:**
104
- - Remind them of the URL (every step, not just first)
105
- - Give a brief text summary of what's on screen (e.g., "Showing 3 layout options for the homepage")
106
- - Ask them to respond in the terminal: "Take a look and let me know what you think. Click to select an option if you'd like."
107
-
108
- 3. **On your next turn** — after the user responds in the terminal:
109
- - Read `$STATE_DIR/events` if it exists — this contains the user's browser interactions (clicks, selections) as JSON lines
110
- - Merge with the user's terminal text to get the full picture
111
- - The terminal message is the primary feedback; `state_dir/events` provides structured interaction data
112
-
113
- 4. **Iterate or advance** — if feedback changes current screen, write a new file (e.g., `layout-v2.html`). Only move to the next question when the current step is validated.
114
-
115
- 5. **Unload when returning to terminal** — when the next step doesn't need the browser (e.g., a clarifying question, a tradeoff discussion), push a waiting screen to clear the stale content:
116
-
117
- ```html
118
- <!-- filename: waiting.html (or waiting-2.html, etc.) -->
119
- <div style="display:flex;align-items:center;justify-content:center;min-height:60vh">
120
- <p class="subtitle">Continuing in terminal...</p>
121
- </div>
122
- ```
123
-
124
- This prevents the user from staring at a resolved choice while the conversation has moved on. When the next visual question comes up, push a new content file as usual.
125
-
126
- 6. Repeat until done.
127
-
128
- ## Writing Content Fragments
129
-
130
- Write just the content that goes inside the page. The server wraps it in the frame template automatically (header, theme CSS, selection indicator, and all interactive infrastructure).
131
-
132
- **Minimal example:**
133
-
134
- ```html
135
- <h2>Which layout works better?</h2>
136
- <p class="subtitle">Consider readability and visual hierarchy</p>
137
-
138
- <div class="options">
139
- <div class="option" data-choice="a" onclick="toggleSelect(this)">
140
- <div class="letter">A</div>
141
- <div class="content">
142
- <h3>Single Column</h3>
143
- <p>Clean, focused reading experience</p>
144
- </div>
145
- </div>
146
- <div class="option" data-choice="b" onclick="toggleSelect(this)">
147
- <div class="letter">B</div>
148
- <div class="content">
149
- <h3>Two Column</h3>
150
- <p>Sidebar navigation with main content</p>
151
- </div>
152
- </div>
153
- </div>
154
- ```
155
-
156
- That's it. No `<html>`, no CSS, no `<script>` tags needed. The server provides all of that.
157
-
158
- ## CSS Classes Available
159
-
160
- The frame template provides these CSS classes for your content:
161
-
162
- ### Options (A/B/C choices)
163
-
164
- ```html
165
- <div class="options">
166
- <div class="option" data-choice="a" onclick="toggleSelect(this)">
167
- <div class="letter">A</div>
168
- <div class="content">
169
- <h3>Title</h3>
170
- <p>Description</p>
171
- </div>
172
- </div>
173
- </div>
174
- ```
175
-
176
- **Multi-select:** Add `data-multiselect` to the container to let users select multiple options. Each click toggles the item. The indicator bar shows the count.
177
-
178
- ```html
179
- <div class="options" data-multiselect>
180
- <!-- same option markup — users can select/deselect multiple -->
181
- </div>
182
- ```
183
-
184
- ### Cards (visual designs)
185
-
186
- ```html
187
- <div class="cards">
188
- <div class="card" data-choice="design1" onclick="toggleSelect(this)">
189
- <div class="card-image"><!-- mockup content --></div>
190
- <div class="card-body">
191
- <h3>Name</h3>
192
- <p>Description</p>
193
- </div>
194
- </div>
195
- </div>
196
- ```
197
-
198
- ### Mockup container
199
-
200
- ```html
201
- <div class="mockup">
202
- <div class="mockup-header">Preview: Dashboard Layout</div>
203
- <div class="mockup-body"><!-- your mockup HTML --></div>
204
- </div>
205
- ```
206
-
207
- ### Split view (side-by-side)
208
-
209
- ```html
210
- <div class="split">
211
- <div class="mockup"><!-- left --></div>
212
- <div class="mockup"><!-- right --></div>
213
- </div>
214
- ```
215
-
216
- ### Pros/Cons
217
-
218
- ```html
219
- <div class="pros-cons">
220
- <div class="pros"><h4>Pros</h4><ul><li>Benefit</li></ul></div>
221
- <div class="cons"><h4>Cons</h4><ul><li>Drawback</li></ul></div>
222
- </div>
223
- ```
224
-
225
- ### Mock elements (wireframe building blocks)
226
-
227
- ```html
228
- <div class="mock-nav">Logo | Home | About | Contact</div>
229
- <div style="display: flex;">
230
- <div class="mock-sidebar">Navigation</div>
231
- <div class="mock-content">Main content area</div>
232
- </div>
233
- <button class="mock-button">Action Button</button>
234
- <input class="mock-input" placeholder="Input field">
235
- <div class="placeholder">Placeholder area</div>
236
- ```
237
-
238
- ### Typography and sections
239
-
240
- - `h2` — page title
241
- - `h3` — section heading
242
- - `.subtitle` — secondary text below title
243
- - `.section` — content block with bottom margin
244
- - `.label` — small uppercase label text
245
-
246
- ## Browser Events Format
247
-
248
- When the user clicks options in the browser, their interactions are recorded to `$STATE_DIR/events` (one JSON object per line). The file is cleared automatically when you push a new screen.
249
-
250
- ```jsonl
251
- {"type":"click","choice":"a","text":"Option A - Simple Layout","timestamp":1706000101}
252
- {"type":"click","choice":"c","text":"Option C - Complex Grid","timestamp":1706000108}
253
- {"type":"click","choice":"b","text":"Option B - Hybrid","timestamp":1706000115}
254
- ```
255
-
256
- The full event stream shows the user's exploration path — they may click multiple options before settling. The last `choice` event is typically the final selection, but the pattern of clicks can reveal hesitation or preferences worth asking about.
257
-
258
- If `$STATE_DIR/events` doesn't exist, the user didn't interact with the browser — use only their terminal text.
259
-
260
- ## Design Tips
261
-
262
- - **Scale fidelity to the question** — wireframes for layout, polish for polish questions
263
- - **Explain the question on each page** — "Which layout feels more professional?" not just "Pick one"
264
- - **Iterate before advancing** — if feedback changes current screen, write a new version
265
- - **2-4 options max** per screen
266
- - **Use real content when it matters** — for a photography portfolio, use actual images (Unsplash). Placeholder content obscures design issues.
267
- - **Keep mockups simple** — focus on layout and structure, not pixel-perfect design
268
-
269
- ## File Naming
270
-
271
- - Use semantic names: `platform.html`, `visual-style.html`, `layout.html`
272
- - Never reuse filenames — each screen must be a new file
273
- - For iterations: append version suffix like `layout-v2.html`, `layout-v3.html`
274
- - Server serves newest file by modification time
275
-
276
- ## Cleaning Up
277
-
278
- ```bash
279
- scripts/stop-server.sh $SESSION_DIR
280
- ```
281
-
282
- If the session used `--project-dir`, mockup files persist in `.superpowers/brainstorm/` for later reference. Only `/tmp` sessions get deleted on stop.
283
-
284
- ## Reference
285
-
286
- - Frame template (CSS reference): `scripts/frame-template.html`
287
- - Helper script (client-side): `scripts/helper.js`