code-ai-installer 4.0.0 → 4.0.1-b

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 (471) hide show
  1. package/README.md +83 -67
  2. package/dist/index.js +2 -0
  3. package/dist/mcp/audit_ledger.d.ts +12 -0
  4. package/dist/mcp/audit_ledger.js +82 -0
  5. package/dist/mcp/cli.js +7 -1
  6. package/dist/mcp/config.d.ts +23 -0
  7. package/dist/mcp/config.js +44 -6
  8. package/dist/mcp/index.d.ts +1 -2
  9. package/dist/mcp/index.js +1 -2
  10. package/dist/mcp/paths.d.ts +20 -2
  11. package/dist/mcp/paths.js +29 -5
  12. package/dist/mcp/proposal_dedup.d.ts +32 -0
  13. package/dist/mcp/proposal_dedup.js +102 -0
  14. package/dist/mcp/proposal_store.d.ts +18 -0
  15. package/dist/mcp/proposal_store.js +74 -0
  16. package/dist/mcp/scorecard.d.ts +140 -0
  17. package/dist/mcp/scorecard.js +103 -0
  18. package/dist/mcp/skill_invocations.d.ts +15 -0
  19. package/dist/mcp/skill_invocations.js +28 -0
  20. package/dist/mcp/task_state.d.ts +77 -2
  21. package/dist/mcp/tools/_subprocess.d.ts +16 -0
  22. package/dist/mcp/tools/_subprocess.js +56 -0
  23. package/dist/mcp/tools/advance_gate.js +2 -2
  24. package/dist/mcp/tools/aggregate_run_metrics.d.ts +19 -0
  25. package/dist/mcp/tools/aggregate_run_metrics.js +139 -0
  26. package/dist/mcp/tools/apply_diff.d.ts +2 -0
  27. package/dist/mcp/tools/apply_diff.js +29 -0
  28. package/dist/mcp/tools/audit_bilocale_parity.d.ts +2 -0
  29. package/dist/mcp/tools/audit_bilocale_parity.js +146 -0
  30. package/dist/mcp/tools/audit_budget_compliance.d.ts +35 -0
  31. package/dist/mcp/tools/audit_budget_compliance.js +172 -0
  32. package/dist/mcp/tools/build.d.ts +2 -0
  33. package/dist/mcp/tools/build.js +47 -0
  34. package/dist/mcp/tools/check_lint.d.ts +2 -0
  35. package/dist/mcp/tools/check_lint.js +23 -0
  36. package/dist/mcp/tools/classify_gate.js +2 -2
  37. package/dist/mcp/tools/current_gate.js +2 -2
  38. package/dist/mcp/tools/dependency_supply_chain.d.ts +2 -0
  39. package/dist/mcp/tools/dependency_supply_chain.js +59 -0
  40. package/dist/mcp/tools/docker_compose.d.ts +2 -0
  41. package/dist/mcp/tools/docker_compose.js +24 -0
  42. package/dist/mcp/tools/e2e_playwright.d.ts +2 -0
  43. package/dist/mcp/tools/e2e_playwright.js +88 -0
  44. package/dist/mcp/tools/get_skill.js +17 -0
  45. package/dist/mcp/tools/git_commit.d.ts +2 -0
  46. package/dist/mcp/tools/git_commit.js +30 -0
  47. package/dist/mcp/tools/list_proposals.d.ts +6 -0
  48. package/dist/mcp/tools/list_proposals.js +16 -0
  49. package/dist/mcp/tools/list_skills.js +9 -1
  50. package/dist/mcp/tools/load_role.d.ts +3 -4
  51. package/dist/mcp/tools/load_role.js +11 -13
  52. package/dist/mcp/tools/propose_change.d.ts +8 -0
  53. package/dist/mcp/tools/propose_change.js +36 -0
  54. package/dist/mcp/tools/record_decision.js +25 -25
  55. package/dist/mcp/tools/review_proposal.d.ts +17 -0
  56. package/dist/mcp/tools/review_proposal.js +99 -0
  57. package/dist/mcp/tools/run_drift_audit.d.ts +11 -0
  58. package/dist/mcp/tools/run_drift_audit.js +79 -0
  59. package/dist/mcp/tools/run_tests.d.ts +2 -0
  60. package/dist/mcp/tools/run_tests.js +92 -0
  61. package/dist/mcp/tools/sign_off.js +14 -2
  62. package/dist/mcp/tools/stubs.js +30 -9
  63. package/dist/mcp/tools/verify_claim.js +33 -6
  64. package/dist/mcp_setup.d.ts +14 -3
  65. package/dist/mcp_setup.js +15 -6
  66. package/dist/shared/frontmatter.d.ts +44 -2
  67. package/dist/shared/frontmatter.js +54 -6
  68. package/dist/shared/index.d.ts +0 -5
  69. package/dist/shared/index.js +0 -5
  70. package/dist/shared/persona.d.ts +2 -2
  71. package/dist/shared/persona.js +1 -1
  72. package/dist/shared/pipeline.d.ts +46 -1
  73. package/dist/shared/tools.d.ts +1382 -16
  74. package/dist/shared/tools.js +229 -0
  75. package/dist/shared/vocabulary.d.ts +99 -4
  76. package/dist/shared/vocabulary.js +94 -5
  77. package/domains/analytics/.agents/skills/ansoff-matrix/SKILL.md +316 -300
  78. package/domains/analytics/.agents/skills/bcg-matrix/SKILL.md +345 -329
  79. package/domains/analytics/.agents/skills/blue-ocean-strategy/SKILL.md +432 -416
  80. package/domains/analytics/.agents/skills/board/SKILL.md +22 -0
  81. package/domains/analytics/.agents/skills/cohort-analysis/SKILL.md +338 -322
  82. package/domains/analytics/.agents/skills/competitive-analysis/SKILL.md +413 -395
  83. package/domains/analytics/.agents/skills/customer-journey-mapping/SKILL.md +347 -331
  84. package/domains/analytics/.agents/skills/gates/SKILL.md +388 -366
  85. package/domains/analytics/.agents/skills/handoff/SKILL.md +402 -380
  86. package/domains/analytics/.agents/skills/html-pdf-report/SKILL.md +21 -289
  87. package/domains/analytics/.agents/skills/html-pdf-report-reference/SKILL.md +325 -0
  88. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  89. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  90. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  91. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  92. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  93. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  94. package/domains/analytics/.agents/skills/html-pdf-report-reference/agents/skill.yaml +23 -0
  95. package/domains/analytics/.agents/skills/icp-buyer-persona/SKILL.md +407 -390
  96. package/domains/analytics/.agents/skills/jtbd-analysis/SKILL.md +357 -341
  97. package/domains/analytics/.agents/skills/karpathy-guidelines/SKILL.md +32 -0
  98. package/domains/analytics/.agents/skills/pest-analysis/SKILL.md +324 -305
  99. package/domains/analytics/.agents/skills/porters-five-forces/SKILL.md +377 -361
  100. package/domains/analytics/.agents/skills/report-design/SKILL.md +416 -398
  101. package/domains/analytics/.agents/skills/rfm-analysis/SKILL.md +330 -314
  102. package/domains/analytics/.agents/skills/session-prompt-generator/SKILL.md +400 -378
  103. package/domains/analytics/.agents/skills/swot-analysis/SKILL.md +340 -324
  104. package/domains/analytics/.agents/skills/tam-sam-som/SKILL.md +329 -312
  105. package/domains/analytics/.agents/skills/trend-analysis/SKILL.md +347 -331
  106. package/domains/analytics/.agents/skills/unit-economics/SKILL.md +430 -413
  107. package/domains/analytics/.agents/skills/value-chain-analysis/SKILL.md +346 -330
  108. package/domains/analytics/.agents/skills/web-research/SKILL.md +323 -308
  109. package/domains/analytics/AGENTS.md +1 -0
  110. package/domains/analytics/agents/auditor.md +76 -0
  111. package/domains/analytics/agents/conductor.md +11 -0
  112. package/domains/analytics/agents/data_analyst.md +11 -0
  113. package/domains/analytics/agents/designer.md +11 -0
  114. package/domains/analytics/agents/interviewer.md +11 -0
  115. package/domains/analytics/agents/layouter.md +11 -0
  116. package/domains/analytics/agents/mediator.md +11 -0
  117. package/domains/analytics/agents/researcher.md +11 -0
  118. package/domains/analytics/agents/strategist.md +11 -0
  119. package/domains/analytics/locales/en/.agents/skills/ansoff-matrix/SKILL.md +316 -300
  120. package/domains/analytics/locales/en/.agents/skills/bcg-matrix/SKILL.md +345 -329
  121. package/domains/analytics/locales/en/.agents/skills/blue-ocean-strategy/SKILL.md +432 -416
  122. package/domains/analytics/locales/en/.agents/skills/board/SKILL.md +22 -0
  123. package/domains/analytics/locales/en/.agents/skills/cohort-analysis/SKILL.md +338 -322
  124. package/domains/analytics/locales/en/.agents/skills/competitive-analysis/SKILL.md +413 -395
  125. package/domains/analytics/locales/en/.agents/skills/customer-journey-mapping/SKILL.md +347 -331
  126. package/domains/analytics/locales/en/.agents/skills/gates/SKILL.md +388 -366
  127. package/domains/analytics/locales/en/.agents/skills/handoff/SKILL.md +402 -380
  128. package/domains/analytics/locales/en/.agents/skills/html-pdf-report/SKILL.md +21 -289
  129. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/SKILL.md +325 -0
  130. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  131. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  132. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  133. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  134. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  135. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  136. package/domains/analytics/locales/en/.agents/skills/html-pdf-report-reference/agents/skill.yaml +29 -0
  137. package/domains/analytics/locales/en/.agents/skills/icp-buyer-persona/SKILL.md +407 -390
  138. package/domains/analytics/locales/en/.agents/skills/jtbd-analysis/SKILL.md +357 -341
  139. package/domains/analytics/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +32 -0
  140. package/domains/analytics/locales/en/.agents/skills/pest-analysis/SKILL.md +324 -305
  141. package/domains/analytics/locales/en/.agents/skills/porters-five-forces/SKILL.md +377 -361
  142. package/domains/analytics/locales/en/.agents/skills/report-design/SKILL.md +416 -398
  143. package/domains/analytics/locales/en/.agents/skills/rfm-analysis/SKILL.md +330 -314
  144. package/domains/analytics/locales/en/.agents/skills/session-prompt-generator/SKILL.md +400 -378
  145. package/domains/analytics/locales/en/.agents/skills/swot-analysis/SKILL.md +340 -324
  146. package/domains/analytics/locales/en/.agents/skills/tam-sam-som/SKILL.md +329 -312
  147. package/domains/analytics/locales/en/.agents/skills/trend-analysis/SKILL.md +347 -331
  148. package/domains/analytics/locales/en/.agents/skills/unit-economics/SKILL.md +430 -413
  149. package/domains/analytics/locales/en/.agents/skills/value-chain-analysis/SKILL.md +366 -350
  150. package/domains/analytics/locales/en/.agents/skills/web-research/SKILL.md +324 -309
  151. package/domains/analytics/locales/en/AGENTS.md +1 -0
  152. package/domains/analytics/locales/en/agents/auditor.md +76 -0
  153. package/domains/analytics/locales/en/agents/conductor.md +27 -0
  154. package/domains/analytics/locales/en/agents/data_analyst.md +29 -0
  155. package/domains/analytics/locales/en/agents/designer.md +27 -0
  156. package/domains/analytics/locales/en/agents/interviewer.md +11 -0
  157. package/domains/analytics/locales/en/agents/layouter.md +11 -0
  158. package/domains/analytics/locales/en/agents/mediator.md +11 -0
  159. package/domains/analytics/locales/en/agents/researcher.md +11 -0
  160. package/domains/analytics/locales/en/agents/strategist.md +11 -0
  161. package/domains/analytics/persona/persona-base.md +94 -0
  162. package/domains/analytics/pipeline.yaml +102 -0
  163. package/domains/content/.agents/skills/audience-analysis/SKILL.md +15 -0
  164. package/domains/content/.agents/skills/board/SKILL.md +20 -0
  165. package/domains/content/.agents/skills/brand-compliance/SKILL.md +15 -0
  166. package/domains/content/.agents/skills/brand-guidelines/SKILL.md +17 -0
  167. package/domains/content/.agents/skills/competitor-content-analysis/SKILL.md +15 -0
  168. package/domains/content/.agents/skills/content-brief/SKILL.md +15 -0
  169. package/domains/content/.agents/skills/content-calendar/SKILL.md +15 -0
  170. package/domains/content/.agents/skills/content-release-gate/SKILL.md +15 -0
  171. package/domains/content/.agents/skills/content-review-checklist/SKILL.md +15 -0
  172. package/domains/content/.agents/skills/cta-optimization/SKILL.md +15 -0
  173. package/domains/content/.agents/skills/data-storytelling/SKILL.md +15 -0
  174. package/domains/content/.agents/skills/email-copywriting/SKILL.md +15 -0
  175. package/domains/content/.agents/skills/email-engagement-tiers/SKILL.md +15 -0
  176. package/domains/content/.agents/skills/fact-checking/SKILL.md +15 -0
  177. package/domains/content/.agents/skills/gates/SKILL.md +20 -0
  178. package/domains/content/.agents/skills/google-stitch-content/SKILL.md +15 -0
  179. package/domains/content/.agents/skills/handoff/SKILL.md +24 -0
  180. package/domains/content/.agents/skills/headline-formulas/SKILL.md +15 -0
  181. package/domains/content/.agents/skills/image-prompt-engineering/SKILL.md +15 -0
  182. package/domains/content/.agents/skills/karpathy-guidelines/SKILL.md +28 -0
  183. package/domains/content/.agents/skills/mailerlite-email-ops/SKILL.md +15 -0
  184. package/domains/content/.agents/skills/marketing-psychology/SKILL.md +15 -0
  185. package/domains/content/.agents/skills/moodboard/SKILL.md +15 -0
  186. package/domains/content/.agents/skills/platform-compliance/SKILL.md +15 -0
  187. package/domains/content/.agents/skills/platform-strategy/SKILL.md +15 -0
  188. package/domains/content/.agents/skills/platform-visual-specs/SKILL.md +15 -0
  189. package/domains/content/.agents/skills/readability-scoring/SKILL.md +15 -0
  190. package/domains/content/.agents/skills/seo-copywriting/SKILL.md +15 -0
  191. package/domains/content/.agents/skills/social-media-formats/SKILL.md +15 -0
  192. package/domains/content/.agents/skills/source-verification/SKILL.md +15 -0
  193. package/domains/content/.agents/skills/storytelling-framework/SKILL.md +15 -0
  194. package/domains/content/.agents/skills/tone-of-voice/SKILL.md +15 -0
  195. package/domains/content/.agents/skills/topic-research/SKILL.md +15 -0
  196. package/domains/content/.agents/skills/trend-research/SKILL.md +15 -0
  197. package/domains/content/.agents/skills/visual-brief/SKILL.md +15 -0
  198. package/domains/content/AGENTS.md +4 -0
  199. package/domains/content/agents/auditor.md +76 -0
  200. package/domains/content/agents/conductor.md +11 -0
  201. package/domains/content/agents/copywriter.md +11 -0
  202. package/domains/content/agents/researcher.md +11 -0
  203. package/domains/content/agents/reviewer.md +11 -0
  204. package/domains/content/agents/strategist.md +11 -0
  205. package/domains/content/agents/visual_concept.md +11 -0
  206. package/domains/content/locales/en/.agents/skills/audience-analysis/SKILL.md +15 -0
  207. package/domains/content/locales/en/.agents/skills/board/SKILL.md +20 -0
  208. package/domains/content/locales/en/.agents/skills/brand-compliance/SKILL.md +15 -0
  209. package/domains/content/locales/en/.agents/skills/brand-guidelines/SKILL.md +17 -0
  210. package/domains/content/locales/en/.agents/skills/competitor-content-analysis/SKILL.md +15 -0
  211. package/domains/content/locales/en/.agents/skills/content-brief/SKILL.md +15 -0
  212. package/domains/content/locales/en/.agents/skills/content-calendar/SKILL.md +15 -0
  213. package/domains/content/locales/en/.agents/skills/content-release-gate/SKILL.md +15 -0
  214. package/domains/content/locales/en/.agents/skills/content-review-checklist/SKILL.md +15 -0
  215. package/domains/content/locales/en/.agents/skills/cta-optimization/SKILL.md +15 -0
  216. package/domains/content/locales/en/.agents/skills/data-storytelling/SKILL.md +15 -0
  217. package/domains/content/locales/en/.agents/skills/email-copywriting/SKILL.md +15 -0
  218. package/domains/content/locales/en/.agents/skills/email-engagement-tiers/SKILL.md +15 -0
  219. package/domains/content/locales/en/.agents/skills/fact-checking/SKILL.md +15 -0
  220. package/domains/content/locales/en/.agents/skills/gates/SKILL.md +20 -0
  221. package/domains/content/locales/en/.agents/skills/google-stitch-content/SKILL.md +15 -0
  222. package/domains/content/locales/en/.agents/skills/handoff/SKILL.md +24 -0
  223. package/domains/content/locales/en/.agents/skills/headline-formulas/SKILL.md +15 -0
  224. package/domains/content/locales/en/.agents/skills/image-prompt-engineering/SKILL.md +15 -0
  225. package/domains/content/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +30 -1
  226. package/domains/content/locales/en/.agents/skills/mailerlite-email-ops/SKILL.md +15 -0
  227. package/domains/content/locales/en/.agents/skills/marketing-psychology/SKILL.md +15 -0
  228. package/domains/content/locales/en/.agents/skills/moodboard/SKILL.md +15 -0
  229. package/domains/content/locales/en/.agents/skills/platform-compliance/SKILL.md +15 -0
  230. package/domains/content/locales/en/.agents/skills/platform-strategy/SKILL.md +15 -0
  231. package/domains/content/locales/en/.agents/skills/platform-visual-specs/SKILL.md +15 -0
  232. package/domains/content/locales/en/.agents/skills/readability-scoring/SKILL.md +15 -0
  233. package/domains/content/locales/en/.agents/skills/seo-copywriting/SKILL.md +15 -0
  234. package/domains/content/locales/en/.agents/skills/social-media-formats/SKILL.md +15 -0
  235. package/domains/content/locales/en/.agents/skills/source-verification/SKILL.md +15 -0
  236. package/domains/content/locales/en/.agents/skills/storytelling-framework/SKILL.md +15 -0
  237. package/domains/content/locales/en/.agents/skills/tone-of-voice/SKILL.md +15 -0
  238. package/domains/content/locales/en/.agents/skills/topic-research/SKILL.md +15 -0
  239. package/domains/content/locales/en/.agents/skills/trend-research/SKILL.md +15 -0
  240. package/domains/content/locales/en/.agents/skills/visual-brief/SKILL.md +15 -0
  241. package/domains/content/locales/en/AGENTS.md +4 -0
  242. package/domains/content/locales/en/agents/auditor.md +76 -0
  243. package/domains/content/locales/en/agents/conductor.md +12 -0
  244. package/domains/content/locales/en/agents/copywriter.md +12 -0
  245. package/domains/content/locales/en/agents/researcher.md +12 -0
  246. package/domains/content/locales/en/agents/reviewer.md +12 -0
  247. package/domains/content/locales/en/agents/strategist.md +12 -0
  248. package/domains/content/locales/en/agents/visual_concept.md +12 -0
  249. package/domains/content/persona/persona-base.md +94 -0
  250. package/domains/content/pipeline.yaml +96 -0
  251. package/domains/development/.agents/skills/adr-log/SKILL.md +1 -0
  252. package/domains/development/.agents/skills/design-intake/SKILL.md +0 -4
  253. package/domains/development/.agents/skills/karpathy-guidelines/SKILL.md +2 -1
  254. package/domains/development/.agents/skills/lava-flow-legacy-detection/SKILL.md +15 -1
  255. package/domains/development/.agents/skills/mcp-integration/SKILL.md +211 -0
  256. package/domains/development/.agents/skills/mcp-integration/agents/claude.json +22 -0
  257. package/domains/development/.agents/skills/mcp-integration/agents/copilot.json +22 -0
  258. package/domains/development/.agents/skills/mcp-integration/agents/gemini.json +22 -0
  259. package/domains/development/.agents/skills/mcp-integration/agents/kimi.yaml +18 -0
  260. package/domains/development/.agents/skills/mcp-integration/agents/openai.yaml +8 -0
  261. package/domains/development/.agents/skills/mcp-integration/agents/qwen.json +22 -0
  262. package/domains/development/.agents/skills/mcp-integration/agents/skill.yaml +26 -0
  263. package/domains/development/.agents/skills/qa-ui-a11y-smoke/SKILL.md +1 -1
  264. package/domains/development/.agents/skills/ui-a11y-smoke-review/SKILL.md +1 -1
  265. package/domains/development/AGENTS.md +1 -0
  266. package/domains/development/AGENTS.yaml +1 -0
  267. package/domains/development/agents/architect.md +13 -1
  268. package/domains/development/agents/auditor.md +74 -0
  269. package/domains/development/agents/conductor.md +14 -3
  270. package/domains/development/agents/devops.md +8 -9
  271. package/domains/development/agents/reviewer.md +12 -0
  272. package/domains/development/agents/senior_full_stack.md +12 -0
  273. package/domains/development/agents/tester.md +10 -16
  274. package/domains/development/locales/en/.agents/skills/adr-log/SKILL.md +1 -0
  275. package/domains/development/locales/en/.agents/skills/current-state-analysis/SKILL.md +256 -172
  276. package/domains/development/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +2 -1
  277. package/domains/development/locales/en/.agents/skills/lava-flow-legacy-detection/SKILL.md +15 -1
  278. package/domains/development/locales/en/.agents/skills/mcp-integration/SKILL.md +211 -0
  279. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/claude.json +22 -0
  280. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/copilot.json +22 -0
  281. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/gemini.json +22 -0
  282. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/kimi.yaml +18 -0
  283. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/openai.yaml +8 -0
  284. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/qwen.json +22 -0
  285. package/domains/development/locales/en/.agents/skills/mcp-integration/agents/skill.yaml +26 -0
  286. package/domains/development/locales/en/.agents/skills/qa-ui-a11y-smoke/SKILL.md +1 -1
  287. package/domains/development/locales/en/.agents/skills/ui-a11y-smoke-review/SKILL.md +1 -1
  288. package/domains/development/locales/en/AGENTS.md +5 -0
  289. package/domains/development/locales/en/AGENTS.yaml +1 -0
  290. package/domains/development/locales/en/agents/architect.md +13 -1
  291. package/domains/development/locales/en/agents/auditor.md +74 -0
  292. package/domains/development/locales/en/agents/conductor.md +14 -3
  293. package/domains/development/locales/en/agents/devops.md +8 -9
  294. package/domains/development/locales/en/agents/reviewer.md +12 -0
  295. package/domains/development/locales/en/agents/senior_full_stack.md +12 -0
  296. package/domains/development/locales/en/agents/tester.md +10 -16
  297. package/domains/development/persona/persona-base.md +94 -0
  298. package/domains/product/.agents/skills/aarrr-metrics/SKILL.md +451 -433
  299. package/domains/product/.agents/skills/ab-test-design/SKILL.md +428 -412
  300. package/domains/product/.agents/skills/acceptance-criteria/SKILL.md +422 -406
  301. package/domains/product/.agents/skills/assumption-mapping/SKILL.md +323 -307
  302. package/domains/product/.agents/skills/board/SKILL.md +24 -0
  303. package/domains/product/.agents/skills/design-brief/SKILL.md +433 -418
  304. package/domains/product/.agents/skills/epic-breakdown/SKILL.md +435 -420
  305. package/domains/product/.agents/skills/gates/SKILL.md +470 -446
  306. package/domains/product/.agents/skills/gtm-brief/SKILL.md +18 -321
  307. package/domains/product/.agents/skills/gtm-brief-reference/SKILL.md +348 -0
  308. package/domains/product/.agents/skills/gtm-brief-reference/agents/claude.json +17 -0
  309. package/domains/product/.agents/skills/gtm-brief-reference/agents/copilot.json +17 -0
  310. package/domains/product/.agents/skills/gtm-brief-reference/agents/gemini.json +17 -0
  311. package/domains/product/.agents/skills/gtm-brief-reference/agents/kimi.yaml +15 -0
  312. package/domains/product/.agents/skills/gtm-brief-reference/agents/openai.yaml +10 -0
  313. package/domains/product/.agents/skills/gtm-brief-reference/agents/qwen.json +17 -0
  314. package/domains/product/.agents/skills/gtm-brief-reference/agents/skill.yaml +22 -0
  315. package/domains/product/.agents/skills/handoff/SKILL.md +463 -439
  316. package/domains/product/.agents/skills/html-pdf-report/SKILL.md +21 -663
  317. package/domains/product/.agents/skills/html-pdf-report-reference/SKILL.md +699 -0
  318. package/domains/product/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  319. package/domains/product/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  320. package/domains/product/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  321. package/domains/product/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  322. package/domains/product/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  323. package/domains/product/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  324. package/domains/product/.agents/skills/html-pdf-report-reference/agents/skill.yaml +22 -0
  325. package/domains/product/.agents/skills/hypothesis-template/SKILL.md +484 -469
  326. package/domains/product/.agents/skills/jtbd-canvas/SKILL.md +274 -258
  327. package/domains/product/.agents/skills/kano-model/SKILL.md +370 -355
  328. package/domains/product/.agents/skills/karpathy-guidelines/SKILL.md +36 -0
  329. package/domains/product/.agents/skills/launch-checklist/SKILL.md +434 -419
  330. package/domains/product/.agents/skills/moscow-prioritization/SKILL.md +407 -392
  331. package/domains/product/.agents/skills/north-star-metric/SKILL.md +317 -301
  332. package/domains/product/.agents/skills/okr-framework/SKILL.md +299 -284
  333. package/domains/product/.agents/skills/opportunity-solution-tree/SKILL.md +472 -456
  334. package/domains/product/.agents/skills/prd-template/SKILL.md +18 -258
  335. package/domains/product/.agents/skills/prd-template-reference/SKILL.md +285 -0
  336. package/domains/product/.agents/skills/prd-template-reference/agents/claude.json +17 -0
  337. package/domains/product/.agents/skills/prd-template-reference/agents/copilot.json +17 -0
  338. package/domains/product/.agents/skills/prd-template-reference/agents/gemini.json +17 -0
  339. package/domains/product/.agents/skills/prd-template-reference/agents/kimi.yaml +16 -0
  340. package/domains/product/.agents/skills/prd-template-reference/agents/openai.yaml +10 -0
  341. package/domains/product/.agents/skills/prd-template-reference/agents/qwen.json +17 -0
  342. package/domains/product/.agents/skills/prd-template-reference/agents/skill.yaml +23 -0
  343. package/domains/product/.agents/skills/problem-statement/SKILL.md +327 -312
  344. package/domains/product/.agents/skills/product-roadmap/SKILL.md +320 -304
  345. package/domains/product/.agents/skills/product-vision/SKILL.md +409 -394
  346. package/domains/product/.agents/skills/release-notes/SKILL.md +18 -258
  347. package/domains/product/.agents/skills/release-notes-reference/SKILL.md +285 -0
  348. package/domains/product/.agents/skills/release-notes-reference/agents/claude.json +17 -0
  349. package/domains/product/.agents/skills/release-notes-reference/agents/copilot.json +17 -0
  350. package/domains/product/.agents/skills/release-notes-reference/agents/gemini.json +17 -0
  351. package/domains/product/.agents/skills/release-notes-reference/agents/kimi.yaml +15 -0
  352. package/domains/product/.agents/skills/release-notes-reference/agents/openai.yaml +10 -0
  353. package/domains/product/.agents/skills/release-notes-reference/agents/qwen.json +17 -0
  354. package/domains/product/.agents/skills/release-notes-reference/agents/skill.yaml +22 -0
  355. package/domains/product/.agents/skills/report-design/SKILL.md +17 -307
  356. package/domains/product/.agents/skills/report-design-reference/SKILL.md +331 -0
  357. package/domains/product/.agents/skills/report-design-reference/agents/claude.json +17 -0
  358. package/domains/product/.agents/skills/report-design-reference/agents/copilot.json +17 -0
  359. package/domains/product/.agents/skills/report-design-reference/agents/gemini.json +17 -0
  360. package/domains/product/.agents/skills/report-design-reference/agents/kimi.yaml +15 -0
  361. package/domains/product/.agents/skills/report-design-reference/agents/openai.yaml +10 -0
  362. package/domains/product/.agents/skills/report-design-reference/agents/qwen.json +17 -0
  363. package/domains/product/.agents/skills/report-design-reference/agents/skill.yaml +22 -0
  364. package/domains/product/.agents/skills/rice-scoring/SKILL.md +266 -251
  365. package/domains/product/.agents/skills/saas-metrics/SKILL.md +422 -404
  366. package/domains/product/.agents/skills/session-prompt-generator/SKILL.md +474 -450
  367. package/domains/product/.agents/skills/user-flow/SKILL.md +491 -476
  368. package/domains/product/.agents/skills/user-interview-script/SKILL.md +315 -298
  369. package/domains/product/.agents/skills/user-story/SKILL.md +401 -385
  370. package/domains/product/.agents/skills/wsjf-scoring/SKILL.md +333 -315
  371. package/domains/product/AGENTS.md +5 -0
  372. package/domains/product/AGENTS.yaml +1 -0
  373. package/domains/product/agents/auditor.md +76 -0
  374. package/domains/product/agents/conductor.md +11 -0
  375. package/domains/product/agents/data_analyst.md +11 -0
  376. package/domains/product/agents/designer.md +11 -0
  377. package/domains/product/agents/discovery.md +11 -0
  378. package/domains/product/agents/layouter.md +11 -0
  379. package/domains/product/agents/mediator.md +11 -0
  380. package/domains/product/agents/pm.md +11 -0
  381. package/domains/product/agents/product_strategist.md +11 -0
  382. package/domains/product/agents/tech_lead.md +11 -0
  383. package/domains/product/agents/ux_designer.md +11 -0
  384. package/domains/product/locales/en/.agents/skills/aarrr-metrics/SKILL.md +451 -433
  385. package/domains/product/locales/en/.agents/skills/ab-test-design/SKILL.md +428 -412
  386. package/domains/product/locales/en/.agents/skills/acceptance-criteria/SKILL.md +422 -406
  387. package/domains/product/locales/en/.agents/skills/assumption-mapping/SKILL.md +323 -307
  388. package/domains/product/locales/en/.agents/skills/board/SKILL.md +24 -0
  389. package/domains/product/locales/en/.agents/skills/design-brief/SKILL.md +433 -418
  390. package/domains/product/locales/en/.agents/skills/epic-breakdown/SKILL.md +435 -420
  391. package/domains/product/locales/en/.agents/skills/gates/SKILL.md +470 -446
  392. package/domains/product/locales/en/.agents/skills/gtm-brief/SKILL.md +18 -321
  393. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/SKILL.md +348 -0
  394. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/claude.json +17 -0
  395. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/copilot.json +17 -0
  396. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/gemini.json +17 -0
  397. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/kimi.yaml +15 -0
  398. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/openai.yaml +10 -0
  399. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/qwen.json +17 -0
  400. package/domains/product/locales/en/.agents/skills/gtm-brief-reference/agents/skill.yaml +22 -0
  401. package/domains/product/locales/en/.agents/skills/handoff/SKILL.md +463 -439
  402. package/domains/product/locales/en/.agents/skills/html-pdf-report/SKILL.md +21 -663
  403. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/SKILL.md +699 -0
  404. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/claude.json +17 -0
  405. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/copilot.json +17 -0
  406. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/gemini.json +17 -0
  407. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/kimi.yaml +15 -0
  408. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/openai.yaml +10 -0
  409. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/qwen.json +17 -0
  410. package/domains/product/locales/en/.agents/skills/html-pdf-report-reference/agents/skill.yaml +22 -0
  411. package/domains/product/locales/en/.agents/skills/hypothesis-template/SKILL.md +484 -469
  412. package/domains/product/locales/en/.agents/skills/jtbd-canvas/SKILL.md +273 -257
  413. package/domains/product/locales/en/.agents/skills/kano-model/SKILL.md +370 -355
  414. package/domains/product/locales/en/.agents/skills/karpathy-guidelines/SKILL.md +36 -0
  415. package/domains/product/locales/en/.agents/skills/launch-checklist/SKILL.md +434 -419
  416. package/domains/product/locales/en/.agents/skills/moscow-prioritization/SKILL.md +407 -392
  417. package/domains/product/locales/en/.agents/skills/north-star-metric/SKILL.md +317 -301
  418. package/domains/product/locales/en/.agents/skills/okr-framework/SKILL.md +299 -284
  419. package/domains/product/locales/en/.agents/skills/opportunity-solution-tree/SKILL.md +472 -456
  420. package/domains/product/locales/en/.agents/skills/prd-template/SKILL.md +18 -258
  421. package/domains/product/locales/en/.agents/skills/prd-template-reference/SKILL.md +285 -0
  422. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/claude.json +16 -0
  423. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/copilot.json +16 -0
  424. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/gemini.json +16 -0
  425. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/kimi.yaml +15 -0
  426. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/openai.yaml +10 -0
  427. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/qwen.json +16 -0
  428. package/domains/product/locales/en/.agents/skills/prd-template-reference/agents/skill.yaml +22 -0
  429. package/domains/product/locales/en/.agents/skills/problem-statement/SKILL.md +327 -312
  430. package/domains/product/locales/en/.agents/skills/product-roadmap/SKILL.md +321 -305
  431. package/domains/product/locales/en/.agents/skills/product-vision/SKILL.md +410 -395
  432. package/domains/product/locales/en/.agents/skills/release-notes/SKILL.md +18 -258
  433. package/domains/product/locales/en/.agents/skills/release-notes-reference/SKILL.md +285 -0
  434. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/claude.json +16 -0
  435. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/copilot.json +16 -0
  436. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/gemini.json +16 -0
  437. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/kimi.yaml +14 -0
  438. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/openai.yaml +10 -0
  439. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/qwen.json +16 -0
  440. package/domains/product/locales/en/.agents/skills/release-notes-reference/agents/skill.yaml +21 -0
  441. package/domains/product/locales/en/.agents/skills/report-design/SKILL.md +17 -307
  442. package/domains/product/locales/en/.agents/skills/report-design-reference/SKILL.md +331 -0
  443. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/claude.json +17 -0
  444. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/copilot.json +17 -0
  445. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/gemini.json +17 -0
  446. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/kimi.yaml +15 -0
  447. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/openai.yaml +10 -0
  448. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/qwen.json +17 -0
  449. package/domains/product/locales/en/.agents/skills/report-design-reference/agents/skill.yaml +22 -0
  450. package/domains/product/locales/en/.agents/skills/rice-scoring/SKILL.md +266 -251
  451. package/domains/product/locales/en/.agents/skills/saas-metrics/SKILL.md +422 -404
  452. package/domains/product/locales/en/.agents/skills/session-prompt-generator/SKILL.md +474 -450
  453. package/domains/product/locales/en/.agents/skills/user-flow/SKILL.md +491 -476
  454. package/domains/product/locales/en/.agents/skills/user-interview-script/SKILL.md +314 -297
  455. package/domains/product/locales/en/.agents/skills/user-story/SKILL.md +401 -385
  456. package/domains/product/locales/en/.agents/skills/wsjf-scoring/SKILL.md +333 -315
  457. package/domains/product/locales/en/AGENTS.md +5 -0
  458. package/domains/product/locales/en/agents/auditor.md +76 -0
  459. package/domains/product/locales/en/agents/conductor.md +11 -0
  460. package/domains/product/locales/en/agents/data_analyst.md +11 -0
  461. package/domains/product/locales/en/agents/designer.md +11 -0
  462. package/domains/product/locales/en/agents/discovery.md +11 -0
  463. package/domains/product/locales/en/agents/layouter.md +11 -0
  464. package/domains/product/locales/en/agents/mediator.md +11 -0
  465. package/domains/product/locales/en/agents/pm.md +11 -0
  466. package/domains/product/locales/en/agents/product_strategist.md +11 -0
  467. package/domains/product/locales/en/agents/tech_lead.md +11 -0
  468. package/domains/product/locales/en/agents/ux_designer.md +11 -0
  469. package/domains/product/persona/persona-base.md +94 -0
  470. package/domains/product/pipeline.yaml +115 -0
  471. package/package.json +72 -70
@@ -1,398 +1,416 @@
1
- ---
2
- name: report-design
3
- description: Designing the layout of an analytical report — structure, visualizations, hierarchy, color palette
4
- ---
5
- # Report Design — Designing an Analytical Report Layout
6
-
7
- ## When to Use
8
- - When preparing the **final analytical report** based on the pipeline results (Session 5 Full Pipeline or finale of the Quick Pipeline).
9
- - When it is necessary to **design the structure** of a PDF report: which sections, which visualizations, what hierarchy.
10
- - When creating a **report design specification** to hand off to the Layouter.
11
- - When designing an **executive summary** based on the Mediator's conclusion.
12
- - When defining the **color palette** and **visual hierarchy** for a printed document.
13
-
14
- ## Input
15
-
16
- | Field | Required | Description |
17
- |------|:-----------:|----------|
18
- | Mediator's Conclusion | ✅ | Final verdict, synthesis, recommendations |
19
- | Team Alpha Report | ✅ | Research, data, frameworks, strategy |
20
- | Team Beta Report | ⬚ | Alternative research, critique, strategy (Full Pipeline) |
21
- | Interview Brief | ✅ | Topic, scope, constraints, target audience |
22
- | Appendix D (Synthesis) | ⬚ | Combined findings (if approved) |
23
- | Target Audience | | CEO / investor / operational team / external client |
24
- | Style Preferences | ⬚ | Corporate brand book, colors, typography |
25
-
26
- > If mandatory fields are not provided — **request them from the user** before starting work. Do not generate placeholders.
27
-
28
- ## Data Sources
29
- 1. session-1-handoff.md Interview Brief with scope and constraints.
30
- 2. session-2-handoff.md Alpha Report with findings and frameworks.
31
- 3. session-3-handoff.md — Beta Report with critique and alternative.
32
- 4. session-4-handoff.md — Mediated Conclusion with the final verdict.
33
- 5. User preferences — audience, style, format.
34
-
35
- ### Relationship with Other Skills
36
- | Skill | Interaction | When |
37
- |------|----------------|-------|
38
- | `$html-pdf-report` | Primary recipient: Report Design Spec → Layouter implements in HTML/CSS/Chart.js | After the design is completed (step 7) |
39
- | `$gates` (DS-01) | Checking the readiness of the design spec before handing off to the Layouter | After step 7 |
40
- | `$handoff` | Handing off the design spec via handoff envelope | After the gate check |
41
- | `$board` | Updating the status of DS-01 | After handoff |
42
- | Framework skills | Framework output templates (SWOT, BCG, Ansoff, etc.) → determine the visualization type | Step 3: selecting visualizations |
43
-
44
- ## Protocol
45
-
46
- ### Step 0 — Clarification
47
- 1. Clarify the target audience of the report.
48
- 2. Find out if there is a corporate style / brand book.
49
- 3. Determine the level of detail:
50
-
51
- | Audience | Level | Volume | Focus |
52
- |-----------|---------|-------|-------|
53
- | CEO / investor | Executive | 8-12 pages | Verdict, metrics, recommendations |
54
- | Operational team | Detailed | 15-25 pages | Data, methodology, action plan |
55
- | External client | Presentable | 10-15 pages | Findings, visualizations, recommendations |
56
-
57
- 4. Clarify the format (A4 portrait, number of pages).
58
- 5. Record preferences for visualizations.
59
-
60
- ### Step 1 Content Inventory
61
- 1. Go through all input artifacts sequentially.
62
- 2. For each element, record:
63
-
64
- | Source | Element | Data Type | Importance | Recommendation |
65
- |----------|---------|:----------:|:----------:|-------------|
66
- | Brief | Task scope | Text | Critical | Title + Exec Summary |
67
- | Alpha / RES-01 | EdTech market TAM | Number ($4.2B) | Critical | Bar chart + Exec Summary |
68
- | Alpha / AN-01 | SWOT matrix | 2x2 framework | Important | CSS Matrix |
69
- | Mediator | Final verdict | Text | Critical | Pull quote + Exec Summary |
70
- | Beta / ST-02 | Alternative strategy | Text + table | Supporting | Appendix B |
71
-
72
- 3. Count: how many Critical / Important / Supporting elements there are.
73
- 4. Mark data points that require visualization.
74
- 5. Mark text blocks for callout boxes and pull quotes.
75
-
76
- ### Step 2 Report Structure
77
- 1. Define sections:
78
-
79
- | # | Section | Pages | Content | Page Break |
80
- |---|--------|:----:|------------|:----------:|
81
- | 1 | Title Page | 1 | Title, date, audience, logo | After |
82
- | 2 | Table of Contents | 1 | Auto-generated from sections | After |
83
- | 3 | Executive Summary | 1-1.5 | Verdict, findings, recommendations | After |
84
- | 4 | Main: Verdict and metrics | 2-3 | Key data, scoring | |
85
- | 5 | Main: Strategy and roadmap | 2-3 | Recommendations, roadmap | |
86
- | 6 | Main: Detailed analysis | 3-5 | Frameworks, tables | |
87
- | 7 | Appendix A: Alpha Report | 3-5 | Full Team Alpha report | Before |
88
- | 8 | Appendix B: Beta Report | 3-5 | Full Team Beta report (Full) | Before |
89
- | 9 | Appendix C: Mediator Reasoning | 1-2 | Verdict justification | Before |
90
- | 10 | Appendix D: Sources | 1-2 | All sources with dates | Before |
91
-
92
- 2. For Quick Pipeline: remove Appendix B, shorten sections 4-6.
93
- 3. Assign page breaks between sections.
94
-
95
- ### Step 3 — Selecting Visualizations
96
-
97
- **Decision tree: data type visualization:**
98
-
99
- | Data Type | Visualization | Tool | Example |
100
- |------------|-------------|------------|--------|
101
- | Comparing N values | **Bar chart** (vertical) | Chart.js | Competitor Threat Score |
102
- | Trend / dynamics | **Line chart** | Chart.js | Retention curves, monthly revenue |
103
- | Proportions / distribution | **Doughnut / Pie** | Chart.js | Market shares, budget distribution |
104
- | Multi-criteria comparison | **Radar chart** | Chart.js | Comparing competitors across 6+ axes |
105
- | 2D positioning | **Scatter chart** | Chart.js | Positioning map |
106
- | 2x2 matrix | **CSS Grid matrix** | HTML/CSS | SWOT, BCG, Ansoff, Impact×Effort |
107
- | Process / flow | **Flowchart** | Mermaid | Customer journey, pipeline |
108
- | Hierarchy / structure | **Mindmap** | Mermaid | Growth strategy, org chart |
109
- | 2D prioritization | **Quadrant chart** | Mermaid | Importance×Satisfaction, Impact×Effort |
110
- | Detailed comparison | **HTML table** | HTML/CSS | Feature matrix, scoring |
111
- | Key finding | **Callout box** | HTML/CSS | Critical finding, risk, recommendation |
112
- | Quote / verdict | **Pull quote** | HTML/CSS | Mediator's final verdict |
113
- | Single metric | **Score badge** | HTML/CSS | NPS, Threat Score, Opportunity Score |
114
-
115
- **Rules:**
116
- - Maximum **3 visualizations per page**.
117
- - Each visualization has a `<figcaption>` (caption) and `aria-label` (accessibility).
118
- - Framework skills determine the data structure → The Designer chooses the visual form.
119
-
120
- ### Step 4 Visual Hierarchy
121
- 1. Define 4 levels of emphasis:
122
-
123
- | Level | Elements | Placement | CSS Technique |
124
- |---------|----------|------------|-----------|
125
- | **Hero** | Verdict, main recommendation | Exec Summary, start of Main | Pull quote, large font (14-16pt), accent color |
126
- | **Key Finding** | TOP-3 findings, critical metrics | Main section | Callout box, score badge, bold |
127
- | **Supporting** | Data, frameworks, tables | Main + Appendices | Standard font, data tables |
128
- | **Background** | Methodology, sources, details | Appendices | Small font (9-10pt), muted color |
129
-
130
- 2. Severity indicators:
131
-
132
- | Severity | Color | Usage |
133
- |----------|------|---------------|
134
- | Critical / Negative | `var(--danger)` red | Risks, threats, blockers |
135
- | Warning / Attention | `var(--warning)` orange | Constraints, ⚠️ data |
136
- | Positive / Opportunity | `var(--success)` green | Opportunities, strengths |
137
- | Neutral / Info | `var(--accent)` blue | Context, neutral data |
138
-
139
- 3. For each section assign an emphasis level.
140
-
141
- ### Step 5 Color Palette
142
- 1. If there is a brand book — adapt to corporate colors.
143
- 2. If not use the default professional palette:
144
-
145
- **Default Palette (dark blue base):**
146
-
147
- | Variable | HEX | Usage |
148
- |----------|-----|---------------|
149
- | `--primary` | `#1a1a2e` | Headings, table headers, main text |
150
- | `--secondary` | `#16213e` | Subheadings, h3 |
151
- | `--accent` | `#0f3460` | Links, callout info, neutral accents |
152
- | `--highlight` | `#e94560` | Key metrics, hero elements |
153
- | `--success` | `#2ecc71` | Positive indicators, opportunities |
154
- | `--warning` | `#f39c12` | Warnings, ⚠️ data |
155
- | `--danger` | `#e74c3c` | Risks, threats, critical |
156
- | `--bg-light` | `#f5f5f5` | Callout background, alternating rows |
157
- | `--border` | `#e0e0e0` | Table borders, dividers |
158
- | `--text` | `#1a1a2e` | Main text |
159
- | `--muted` | `#666666` | Captions, small text, sources |
160
-
161
- **Chart.js palette (6 series):**
162
- `['#1a1a2e', '#0f3460', '#e94560', '#2ecc71', '#f39c12', '#9b59b6']`
163
-
164
- 3. Verify:
165
- - WCAG AA contrast: text on background ≥ 4.5:1.
166
- - Distinctiveness in B/W printing: every color is distinguishable in greyscale.
167
- - Color blindness: do not rely only on red/green add icons/text.
168
-
169
- ### Step 6 Executive Summary
170
- 1. Write a draft based on the Mediator's conclusion.
171
- 2. Structure:
172
-
173
- ```markdown
174
- ## Executive Summary
175
-
176
- ### Context
177
- [1-2 sentences: what was analyzed, for whom, in what scope]
178
-
179
- ### Methodology
180
- [1-2 sentences: which frameworks, how many sources, adversarial approach]
181
-
182
- ### Key Findings
183
-
184
- > "[Mediator's main verdict pull quote]"
185
-
186
- 1. **[Finding 1]:** [description + key metric]
187
- 2. **[Finding 2]:** [description + key metric]
188
- 3. **[Finding 3]:** [description + key metric]
189
-
190
- ### Recommendation
191
- [1-2 sentences: what to do, what priority]
192
-
193
- ### Risks
194
- [1-2 sentences: main constraints and risks]
195
-
196
- ### Next Steps
197
- [Bulleted list: 3-5 specific actions]
198
- ```
199
-
200
- 3. Volume: **maximum 1.5 A4 pages**.
201
- 4. Language: clear, jargon-free, adapted to the audience.
202
- 5. Every finding is backed by a number or fact (not "the market is growing", but "TAM $4.2B, CAGR 18%").
203
-
204
- ### Step 7 Report Design Spec (final deliverable)
205
- 1. Fill out the full specification (see output template).
206
- 2. Attach:
207
- - Content Inventory (step 1)
208
- - Report Structure (step 2)
209
- - Visualization Map (step 3)
210
- - Color Palette (step 5)
211
- - Executive Summary Draft (step 6)
212
- 3. Hand off to the Layouter via `$handoff`.
213
-
214
- ## Example — EdTech Report for CEO
215
-
216
- **Context:** Analysis of the EdTech market, Full Pipeline, audience — CEO. Level: Executive (10 pages).
217
-
218
- ### Content Inventory (fragment)
219
-
220
- | Source | Element | Type | Importance | Visualization |
221
- |----------|---------|:---:|:----------:|-------------|
222
- | Mediator | Verdict: "AI-first corp. training" | Text | Critical | Pull quote |
223
- | Alpha/RES-01 | TAM $4.2B, SAM $1.8B, SOM $180M | Numbers | Critical | Bar chart |
224
- | Alpha/AN-01 | Competitor Threat Score | Scoring | Critical | Bar chart + table |
225
- | Alpha/AN-01 | SWOT matrix | 2x2 | Important | CSS Matrix |
226
- | Beta/AN-02 | Alternative Porter's 5 Forces | Scoring 1-5 | Supporting | Radar chart |
227
- | Mediator | Final Alpha vs Beta scoring | Scoring | Critical | Table + badge |
228
-
229
- **Total:** 28 elements (8 Critical, 12 Important, 8 Supporting).
230
-
231
- ### Report Structure
232
-
233
- | # | Section | Pages | Visualizations | Emphasis |
234
- |---|--------|:----:|:------------:|:--------:|
235
- | 1 | Title Page | 1 | — | Hero |
236
- | 2 | TOC | 0.5 | — | — |
237
- | 3 | Executive Summary | 1.5 | 1 pull quote, 1 callout | Hero |
238
- | 4 | Market and competition | 2 | Bar (TAM), Radar (competitors), Table (threat) | Key Finding |
239
- | 5 | Strategy and roadmap | 1.5 | Mindmap (strategy), Table (actions) | Key Finding |
240
- | 6 | Appendix A: Alpha | 2 | SWOT matrix, Table | Supporting |
241
- | 7 | Appendix B: Beta | 1.5 | Porter's radar | Supporting |
242
- | 8 | Appendix C: Mediator | 1 | Scoring table | Background |
243
- | 9 | Appendix D: Sources | 1 | | Background |
244
-
245
- **Total:** ~12 pages, 9 visualizations.
246
-
247
- ### Visualization Map (fragment)
248
-
249
- | # | Section | Data | Type | Tool |
250
- |---|--------|--------|-----|------------|
251
- | 1 | Exec Summary | Mediator's verdict | Pull quote | HTML/CSS |
252
- | 2 | Market | TAM $4.2B, SAM $1.8B, SOM $180M | Bar chart | Chart.js |
253
- | 3 | Competition | Threat Score: Skillbox 7.2, Coursera 6.8, Udemy 7.6 | Bar chart | Chart.js |
254
- | 4 | Competition | 6 axes of competitor comparison | Radar | Chart.js |
255
- | 5 | Strategy | Growth strategy tree | Mindmap | Mermaid |
256
- | 6 | App. A | SWOT S/W/O/T | 2x2 matrix | CSS Grid |
257
-
258
- ## Validation (Quality Gate)
259
-
260
- - [ ] Content Inventory is complete: every element from input artifacts is accounted for
261
- - [ ] Each numerical data point has an assigned visualization type (via decision tree)
262
- - [ ] Report structure is complete (Title → TOC → Summary → Main → Appendices)
263
- - [ ] Executive Summary ≤ 1.5 pages, contains: context, methodology, 3-5 findings with numbers, recommendation
264
- - [ ] Visual hierarchy is defined (4 levels of emphasis) and assigned to sections
265
- - [ ] Palette is defined (11 CSS variables), validated for WCAG AA contrast and B/W distinctiveness
266
- - [ ] Chart.js palette is defined (6 series)
267
- - [ ] Maximum 3 visualizations per page
268
- - [ ] Report Design Spec is fully populated (structure + visualization map + palette + exec summary)
269
- - [ ] Brief compliance: the report answers the questions from the Interview Brief
270
- - [ ] Appendix D (Sources) is included / excluded intentionally
271
- - [ ] Each visualization has a caption (`figcaption`) and `aria-label`
272
-
273
- ## Handoff
274
- The output of `$report-design` is an input for:
275
- - **`$html-pdf-report`** (Layouter) — primary recipient: implementation in HTML/CSS/Chart.js/Mermaid.
276
- - **`$gates` (DS-01)** — checking the readiness of the design spec.
277
- - **`$board`** — updating the status of DS-01.
278
-
279
- Handoff format: Report Design Spec (structure + content inventory + visualization map + color palette + executive summary draft). When transferring — use `$handoff`.
280
-
281
- ## Anti-patterns
282
-
283
- | Error | Why it's bad | How to do it right |
284
- |--------|-------------|---------------|
285
- | Design without inventory | Empty sections, unnecessary charts | Go through all artifacts first, create an inventory |
286
- | One chart type for everything | Uninformative, does not fit the data type | Decision tree: data type → visualization |
287
- | Executive summary > 2 pages | Executives will not read it | Maximum 1.5 pages, facts with numbers |
288
- | Palette for screen only | Gray and indistinguishable in standard PDF | WCAG AA, B/W distinctiveness, color blindness test |
289
- | Cluttered pages | A mess of charts | Maximum 3 visualizations per page |
290
- | Changing findings | Chain of custody violation: Designer is not an analyst | Format, do not edit the content |
291
- | Findings without numbers | "Market is growing" — is not a finding | Every finding = specific metric: "TAM $4.2B, CAGR 18%" |
292
- | Palette without HEX codes | Layouter cannot implement "dark blue base" | 11 CSS variables with specific HEX |
293
-
294
- ## Output Template
295
-
296
- ```markdown
297
- ## Report Design Spec: [Report Topic]
298
- **Audience:** [CEO / investor / operational team / external client]
299
- **Level:** [Executive / Detailed / Presentable]
300
- **Mode:** Full / Quick
301
- **Pages:** ~[N]
302
- **Date:** [Date]
303
-
304
- ---
305
-
306
- ### Content Inventory
307
-
308
- | Source | Element | Data Type | Importance | Recommendation |
309
- |----------|---------|:----------:|:----------:|-------------|
310
- | [Source] | [Element] | [Number/Text/Framework/Scoring] | Critical/Important/Supporting | [Visualization / Section] |
311
-
312
- **Total:** [N] elements ([N] Critical, [N] Important, [N] Supporting)
313
-
314
- ---
315
-
316
- ### Report Structure
317
-
318
- | # | Section | Pages | Visualizations | Emphasis | Page Break |
319
- |---|--------|:----:|:------------:|:--------:|:----------:|
320
- | 1 | Title Page | 1 | — | Hero | After |
321
- | 2 | TOC | 0.5-1 | — | — | After |
322
- | 3 | Executive Summary | 1-1.5 | [N]: [types] | Hero | After |
323
- | 4 | Main: [Name] | [N] | [N]: [types] | Key Finding | — |
324
- | 5 | Main: [Name] | [N] | [N]: [types] | Key Finding | — |
325
- | 6 | Appendix A: Alpha | [N] | [N]: [types] | Supporting | Before |
326
- | 7 | Appendix B: Beta | [N] | [N]: [types] | Supporting | Before |
327
- | 8 | Appendix C: Mediator | [N] | [N]: [types] | Background | Before |
328
- | 9 | Appendix D: Sources | [N] | | Background | Before |
329
-
330
- ---
331
-
332
- ### Visualization Map
333
-
334
- | # | Section | Data | Visualization Type | Tool | Caption (figcaption) |
335
- |---|--------|--------|:----------------:|:----------:|---------------------|
336
- | 1 | [Section] | [Which data] | [Bar/Line/Radar/...] | Chart.js / Mermaid / CSS | "Fig. N — [description]" |
337
-
338
- ---
339
-
340
- ### Color Palette
341
-
342
- | Variable | HEX | Usage |
343
- |----------|-----|---------------|
344
- | --primary | #XXXXXX | Headings, table headers |
345
- | --secondary | #XXXXXX | Subheadings |
346
- | --accent | #XXXXXX | Links, callout info |
347
- | --highlight | #XXXXXX | Key metrics |
348
- | --success | #XXXXXX | Positive indicators |
349
- | --warning | #XXXXXX | Warnings |
350
- | --danger | #XXXXXX | Risks, critical |
351
- | --bg-light | #XXXXXX | Callout background, alternating rows |
352
- | --border | #XXXXXX | Borders |
353
- | --text | #XXXXXX | Main text |
354
- | --muted | #XXXXXX | Captions, small text |
355
-
356
- **Chart.js series:** ['#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX']
357
-
358
- **Checks:** WCAG AA ✅ / ⚠️ | B/W distinctiveness ✅ / ⚠️ | Color blindness ✅ / ⚠️
359
-
360
- ---
361
-
362
- ### Executive Summary (Draft)
363
-
364
- ## Executive Summary
365
-
366
- ### Context
367
- [1-2 sentences: what was analyzed, for whom, scope]
368
-
369
- ### Methodology
370
- [1-2 sentences: frameworks, sources, adversarial approach]
371
-
372
- ### Key Findings
373
-
374
- > "[Mediator's main verdict]"
375
-
376
- 1. **[Finding 1]:** [description + metric]
377
- 2. **[Finding 2]:** [description + metric]
378
- 3. **[Finding 3]:** [description + metric]
379
-
380
- ### Recommendation
381
- [1-2 sentences: what to do]
382
-
383
- ### Risks
384
- [1-2 sentences: constraints]
385
-
386
- ### Next Steps
387
- - [Action 1]
388
- - [Action 2]
389
- - [Action 3]
390
-
391
- ---
392
-
393
- ### Emphasis Map
394
-
395
- | Section | Emphasis Level | Elements |
396
- |--------|:-------------:|----------|
397
- | [Section] | Hero / Key / Supporting / Background | [Which elements] |
398
- ```
1
+ ---
2
+ name: report-design
3
+ description: Designing the layout of an analytical report — structure, visualizations, hierarchy, color palette
4
+ type: triggered
5
+ domain: analytics
6
+ owners:
7
+ - layouter
8
+ - data_analyst
9
+ gates:
10
+ - LAYOUTER
11
+ - DATA_ANALYST
12
+ tech: []
13
+ topic: []
14
+ triggers:
15
+ - "report-design"
16
+ - "дизайн отчёта"
17
+ - "структура отчёта"
18
+ - "report structure"
19
+ related: []
20
+ budget_lines: 416
21
+ schema_version: 1
22
+ ---
23
+ # Report Design Designing an Analytical Report Layout
24
+
25
+ ## When to Use
26
+ - When preparing the **final analytical report** based on the pipeline results (Session 5 Full Pipeline or finale of the Quick Pipeline).
27
+ - When it is necessary to **design the structure** of a PDF report: which sections, which visualizations, what hierarchy.
28
+ - When creating a **report design specification** to hand off to the Layouter.
29
+ - When designing an **executive summary** based on the Mediator's conclusion.
30
+ - When defining the **color palette** and **visual hierarchy** for a printed document.
31
+
32
+ ## Input
33
+
34
+ | Field | Required | Description |
35
+ |------|:-----------:|----------|
36
+ | Mediator's Conclusion | | Final verdict, synthesis, recommendations |
37
+ | Team Alpha Report | ✅ | Research, data, frameworks, strategy |
38
+ | Team Beta Report | | Alternative research, critique, strategy (Full Pipeline) |
39
+ | Interview Brief | | Topic, scope, constraints, target audience |
40
+ | Appendix D (Synthesis) | | Combined findings (if approved) |
41
+ | Target Audience | | CEO / investor / operational team / external client |
42
+ | Style Preferences | | Corporate brand book, colors, typography |
43
+
44
+ > If mandatory fields are not provided — **request them from the user** before starting work. Do not generate placeholders.
45
+
46
+ ## Data Sources
47
+ 1. session-1-handoff.md Interview Brief with scope and constraints.
48
+ 2. session-2-handoff.md Alpha Report with findings and frameworks.
49
+ 3. session-3-handoff.md Beta Report with critique and alternative.
50
+ 4. session-4-handoff.md — Mediated Conclusion with the final verdict.
51
+ 5. User preferences audience, style, format.
52
+
53
+ ### Relationship with Other Skills
54
+ | Skill | Interaction | When |
55
+ |------|----------------|-------|
56
+ | `$html-pdf-report` | Primary recipient: Report Design Spec → Layouter implements in HTML/CSS/Chart.js | After the design is completed (step 7) |
57
+ | `$gates` (DS-01) | Checking the readiness of the design spec before handing off to the Layouter | After step 7 |
58
+ | `$handoff` | Handing off the design spec via handoff envelope | After the gate check |
59
+ | `$board` | Updating the status of DS-01 | After handoff |
60
+ | Framework skills | Framework output templates (SWOT, BCG, Ansoff, etc.) → determine the visualization type | Step 3: selecting visualizations |
61
+
62
+ ## Protocol
63
+
64
+ ### Step 0 Clarification
65
+ 1. Clarify the target audience of the report.
66
+ 2. Find out if there is a corporate style / brand book.
67
+ 3. Determine the level of detail:
68
+
69
+ | Audience | Level | Volume | Focus |
70
+ |-----------|---------|-------|-------|
71
+ | CEO / investor | Executive | 8-12 pages | Verdict, metrics, recommendations |
72
+ | Operational team | Detailed | 15-25 pages | Data, methodology, action plan |
73
+ | External client | Presentable | 10-15 pages | Findings, visualizations, recommendations |
74
+
75
+ 4. Clarify the format (A4 portrait, number of pages).
76
+ 5. Record preferences for visualizations.
77
+
78
+ ### Step 1 — Content Inventory
79
+ 1. Go through all input artifacts sequentially.
80
+ 2. For each element, record:
81
+
82
+ | Source | Element | Data Type | Importance | Recommendation |
83
+ |----------|---------|:----------:|:----------:|-------------|
84
+ | Brief | Task scope | Text | Critical | Title + Exec Summary |
85
+ | Alpha / RES-01 | EdTech market TAM | Number ($4.2B) | Critical | Bar chart + Exec Summary |
86
+ | Alpha / AN-01 | SWOT matrix | 2x2 framework | Important | CSS Matrix |
87
+ | Mediator | Final verdict | Text | Critical | Pull quote + Exec Summary |
88
+ | Beta / ST-02 | Alternative strategy | Text + table | Supporting | Appendix B |
89
+
90
+ 3. Count: how many Critical / Important / Supporting elements there are.
91
+ 4. Mark data points that require visualization.
92
+ 5. Mark text blocks for callout boxes and pull quotes.
93
+
94
+ ### Step 2 — Report Structure
95
+ 1. Define sections:
96
+
97
+ | # | Section | Pages | Content | Page Break |
98
+ |---|--------|:----:|------------|:----------:|
99
+ | 1 | Title Page | 1 | Title, date, audience, logo | After |
100
+ | 2 | Table of Contents | 1 | Auto-generated from sections | After |
101
+ | 3 | Executive Summary | 1-1.5 | Verdict, findings, recommendations | After |
102
+ | 4 | Main: Verdict and metrics | 2-3 | Key data, scoring | |
103
+ | 5 | Main: Strategy and roadmap | 2-3 | Recommendations, roadmap | |
104
+ | 6 | Main: Detailed analysis | 3-5 | Frameworks, tables | |
105
+ | 7 | Appendix A: Alpha Report | 3-5 | Full Team Alpha report | Before |
106
+ | 8 | Appendix B: Beta Report | 3-5 | Full Team Beta report (Full) | Before |
107
+ | 9 | Appendix C: Mediator Reasoning | 1-2 | Verdict justification | Before |
108
+ | 10 | Appendix D: Sources | 1-2 | All sources with dates | Before |
109
+
110
+ 2. For Quick Pipeline: remove Appendix B, shorten sections 4-6.
111
+ 3. Assign page breaks between sections.
112
+
113
+ ### Step 3 Selecting Visualizations
114
+
115
+ **Decision tree: data type → visualization:**
116
+
117
+ | Data Type | Visualization | Tool | Example |
118
+ |------------|-------------|------------|--------|
119
+ | Comparing N values | **Bar chart** (vertical) | Chart.js | Competitor Threat Score |
120
+ | Trend / dynamics | **Line chart** | Chart.js | Retention curves, monthly revenue |
121
+ | Proportions / distribution | **Doughnut / Pie** | Chart.js | Market shares, budget distribution |
122
+ | Multi-criteria comparison | **Radar chart** | Chart.js | Comparing competitors across 6+ axes |
123
+ | 2D positioning | **Scatter chart** | Chart.js | Positioning map |
124
+ | 2x2 matrix | **CSS Grid matrix** | HTML/CSS | SWOT, BCG, Ansoff, Impact×Effort |
125
+ | Process / flow | **Flowchart** | Mermaid | Customer journey, pipeline |
126
+ | Hierarchy / structure | **Mindmap** | Mermaid | Growth strategy, org chart |
127
+ | 2D prioritization | **Quadrant chart** | Mermaid | Importance×Satisfaction, Impact×Effort |
128
+ | Detailed comparison | **HTML table** | HTML/CSS | Feature matrix, scoring |
129
+ | Key finding | **Callout box** | HTML/CSS | Critical finding, risk, recommendation |
130
+ | Quote / verdict | **Pull quote** | HTML/CSS | Mediator's final verdict |
131
+ | Single metric | **Score badge** | HTML/CSS | NPS, Threat Score, Opportunity Score |
132
+
133
+ **Rules:**
134
+ - Maximum **3 visualizations per page**.
135
+ - Each visualization has a `<figcaption>` (caption) and `aria-label` (accessibility).
136
+ - Framework skills determine the data structure The Designer chooses the visual form.
137
+
138
+ ### Step 4 — Visual Hierarchy
139
+ 1. Define 4 levels of emphasis:
140
+
141
+ | Level | Elements | Placement | CSS Technique |
142
+ |---------|----------|------------|-----------|
143
+ | **Hero** | Verdict, main recommendation | Exec Summary, start of Main | Pull quote, large font (14-16pt), accent color |
144
+ | **Key Finding** | TOP-3 findings, critical metrics | Main section | Callout box, score badge, bold |
145
+ | **Supporting** | Data, frameworks, tables | Main + Appendices | Standard font, data tables |
146
+ | **Background** | Methodology, sources, details | Appendices | Small font (9-10pt), muted color |
147
+
148
+ 2. Severity indicators:
149
+
150
+ | Severity | Color | Usage |
151
+ |----------|------|---------------|
152
+ | Critical / Negative | `var(--danger)` red | Risks, threats, blockers |
153
+ | Warning / Attention | `var(--warning)` orange | Constraints, ⚠️ data |
154
+ | Positive / Opportunity | `var(--success)` green | Opportunities, strengths |
155
+ | Neutral / Info | `var(--accent)` blue | Context, neutral data |
156
+
157
+ 3. For each section assign an emphasis level.
158
+
159
+ ### Step 5 Color Palette
160
+ 1. If there is a brand book — adapt to corporate colors.
161
+ 2. If not — use the default professional palette:
162
+
163
+ **Default Palette (dark blue base):**
164
+
165
+ | Variable | HEX | Usage |
166
+ |----------|-----|---------------|
167
+ | `--primary` | `#1a1a2e` | Headings, table headers, main text |
168
+ | `--secondary` | `#16213e` | Subheadings, h3 |
169
+ | `--accent` | `#0f3460` | Links, callout info, neutral accents |
170
+ | `--highlight` | `#e94560` | Key metrics, hero elements |
171
+ | `--success` | `#2ecc71` | Positive indicators, opportunities |
172
+ | `--warning` | `#f39c12` | Warnings, ⚠️ data |
173
+ | `--danger` | `#e74c3c` | Risks, threats, critical |
174
+ | `--bg-light` | `#f5f5f5` | Callout background, alternating rows |
175
+ | `--border` | `#e0e0e0` | Table borders, dividers |
176
+ | `--text` | `#1a1a2e` | Main text |
177
+ | `--muted` | `#666666` | Captions, small text, sources |
178
+
179
+ **Chart.js palette (6 series):**
180
+ `['#1a1a2e', '#0f3460', '#e94560', '#2ecc71', '#f39c12', '#9b59b6']`
181
+
182
+ 3. Verify:
183
+ - WCAG AA contrast: text on background ≥ 4.5:1.
184
+ - Distinctiveness in B/W printing: every color is distinguishable in greyscale.
185
+ - Color blindness: do not rely only on red/green — add icons/text.
186
+
187
+ ### Step 6 Executive Summary
188
+ 1. Write a draft based on the Mediator's conclusion.
189
+ 2. Structure:
190
+
191
+ ```markdown
192
+ ## Executive Summary
193
+
194
+ ### Context
195
+ [1-2 sentences: what was analyzed, for whom, in what scope]
196
+
197
+ ### Methodology
198
+ [1-2 sentences: which frameworks, how many sources, adversarial approach]
199
+
200
+ ### Key Findings
201
+
202
+ > "[Mediator's main verdict pull quote]"
203
+
204
+ 1. **[Finding 1]:** [description + key metric]
205
+ 2. **[Finding 2]:** [description + key metric]
206
+ 3. **[Finding 3]:** [description + key metric]
207
+
208
+ ### Recommendation
209
+ [1-2 sentences: what to do, what priority]
210
+
211
+ ### Risks
212
+ [1-2 sentences: main constraints and risks]
213
+
214
+ ### Next Steps
215
+ [Bulleted list: 3-5 specific actions]
216
+ ```
217
+
218
+ 3. Volume: **maximum 1.5 A4 pages**.
219
+ 4. Language: clear, jargon-free, adapted to the audience.
220
+ 5. Every finding is backed by a number or fact (not "the market is growing", but "TAM $4.2B, CAGR 18%").
221
+
222
+ ### Step 7 Report Design Spec (final deliverable)
223
+ 1. Fill out the full specification (see output template).
224
+ 2. Attach:
225
+ - Content Inventory (step 1)
226
+ - Report Structure (step 2)
227
+ - Visualization Map (step 3)
228
+ - Color Palette (step 5)
229
+ - Executive Summary Draft (step 6)
230
+ 3. Hand off to the Layouter via `$handoff`.
231
+
232
+ ## Example — EdTech Report for CEO
233
+
234
+ **Context:** Analysis of the EdTech market, Full Pipeline, audience — CEO. Level: Executive (10 pages).
235
+
236
+ ### Content Inventory (fragment)
237
+
238
+ | Source | Element | Type | Importance | Visualization |
239
+ |----------|---------|:---:|:----------:|-------------|
240
+ | Mediator | Verdict: "AI-first corp. training" | Text | Critical | Pull quote |
241
+ | Alpha/RES-01 | TAM $4.2B, SAM $1.8B, SOM $180M | Numbers | Critical | Bar chart |
242
+ | Alpha/AN-01 | Competitor Threat Score | Scoring | Critical | Bar chart + table |
243
+ | Alpha/AN-01 | SWOT matrix | 2x2 | Important | CSS Matrix |
244
+ | Beta/AN-02 | Alternative Porter's 5 Forces | Scoring 1-5 | Supporting | Radar chart |
245
+ | Mediator | Final Alpha vs Beta scoring | Scoring | Critical | Table + badge |
246
+
247
+ **Total:** 28 elements (8 Critical, 12 Important, 8 Supporting).
248
+
249
+ ### Report Structure
250
+
251
+ | # | Section | Pages | Visualizations | Emphasis |
252
+ |---|--------|:----:|:------------:|:--------:|
253
+ | 1 | Title Page | 1 | | Hero |
254
+ | 2 | TOC | 0.5 | | |
255
+ | 3 | Executive Summary | 1.5 | 1 pull quote, 1 callout | Hero |
256
+ | 4 | Market and competition | 2 | Bar (TAM), Radar (competitors), Table (threat) | Key Finding |
257
+ | 5 | Strategy and roadmap | 1.5 | Mindmap (strategy), Table (actions) | Key Finding |
258
+ | 6 | Appendix A: Alpha | 2 | SWOT matrix, Table | Supporting |
259
+ | 7 | Appendix B: Beta | 1.5 | Porter's radar | Supporting |
260
+ | 8 | Appendix C: Mediator | 1 | Scoring table | Background |
261
+ | 9 | Appendix D: Sources | 1 | | Background |
262
+
263
+ **Total:** ~12 pages, 9 visualizations.
264
+
265
+ ### Visualization Map (fragment)
266
+
267
+ | # | Section | Data | Type | Tool |
268
+ |---|--------|--------|-----|------------|
269
+ | 1 | Exec Summary | Mediator's verdict | Pull quote | HTML/CSS |
270
+ | 2 | Market | TAM $4.2B, SAM $1.8B, SOM $180M | Bar chart | Chart.js |
271
+ | 3 | Competition | Threat Score: Skillbox 7.2, Coursera 6.8, Udemy 7.6 | Bar chart | Chart.js |
272
+ | 4 | Competition | 6 axes of competitor comparison | Radar | Chart.js |
273
+ | 5 | Strategy | Growth strategy tree | Mindmap | Mermaid |
274
+ | 6 | App. A | SWOT S/W/O/T | 2x2 matrix | CSS Grid |
275
+
276
+ ## Validation (Quality Gate)
277
+
278
+ - [ ] Content Inventory is complete: every element from input artifacts is accounted for
279
+ - [ ] Each numerical data point has an assigned visualization type (via decision tree)
280
+ - [ ] Report structure is complete (Title → TOC → Summary → Main → Appendices)
281
+ - [ ] Executive Summary ≤ 1.5 pages, contains: context, methodology, 3-5 findings with numbers, recommendation
282
+ - [ ] Visual hierarchy is defined (4 levels of emphasis) and assigned to sections
283
+ - [ ] Palette is defined (11 CSS variables), validated for WCAG AA contrast and B/W distinctiveness
284
+ - [ ] Chart.js palette is defined (6 series)
285
+ - [ ] Maximum 3 visualizations per page
286
+ - [ ] Report Design Spec is fully populated (structure + visualization map + palette + exec summary)
287
+ - [ ] Brief compliance: the report answers the questions from the Interview Brief
288
+ - [ ] Appendix D (Sources) is included / excluded intentionally
289
+ - [ ] Each visualization has a caption (`figcaption`) and `aria-label`
290
+
291
+ ## Handoff
292
+ The output of `$report-design` is an input for:
293
+ - **`$html-pdf-report`** (Layouter) — primary recipient: implementation in HTML/CSS/Chart.js/Mermaid.
294
+ - **`$gates` (DS-01)** — checking the readiness of the design spec.
295
+ - **`$board`** — updating the status of DS-01.
296
+
297
+ Handoff format: Report Design Spec (structure + content inventory + visualization map + color palette + executive summary draft). When transferring — use `$handoff`.
298
+
299
+ ## Anti-patterns
300
+
301
+ | Error | Why it's bad | How to do it right |
302
+ |--------|-------------|---------------|
303
+ | Design without inventory | Empty sections, unnecessary charts | Go through all artifacts first, create an inventory |
304
+ | One chart type for everything | Uninformative, does not fit the data type | Decision tree: data type → visualization |
305
+ | Executive summary > 2 pages | Executives will not read it | Maximum 1.5 pages, facts with numbers |
306
+ | Palette for screen only | Gray and indistinguishable in standard PDF | WCAG AA, B/W distinctiveness, color blindness test |
307
+ | Cluttered pages | A mess of charts | Maximum 3 visualizations per page |
308
+ | Changing findings | Chain of custody violation: Designer is not an analyst | Format, do not edit the content |
309
+ | Findings without numbers | "Market is growing" — is not a finding | Every finding = specific metric: "TAM $4.2B, CAGR 18%" |
310
+ | Palette without HEX codes | Layouter cannot implement "dark blue base" | 11 CSS variables with specific HEX |
311
+
312
+ ## Output Template
313
+
314
+ ```markdown
315
+ ## Report Design Spec: [Report Topic]
316
+ **Audience:** [CEO / investor / operational team / external client]
317
+ **Level:** [Executive / Detailed / Presentable]
318
+ **Mode:** Full / Quick
319
+ **Pages:** ~[N]
320
+ **Date:** [Date]
321
+
322
+ ---
323
+
324
+ ### Content Inventory
325
+
326
+ | Source | Element | Data Type | Importance | Recommendation |
327
+ |----------|---------|:----------:|:----------:|-------------|
328
+ | [Source] | [Element] | [Number/Text/Framework/Scoring] | Critical/Important/Supporting | [Visualization / Section] |
329
+
330
+ **Total:** [N] elements ([N] Critical, [N] Important, [N] Supporting)
331
+
332
+ ---
333
+
334
+ ### Report Structure
335
+
336
+ | # | Section | Pages | Visualizations | Emphasis | Page Break |
337
+ |---|--------|:----:|:------------:|:--------:|:----------:|
338
+ | 1 | Title Page | 1 | — | Hero | After |
339
+ | 2 | TOC | 0.5-1 | — | — | After |
340
+ | 3 | Executive Summary | 1-1.5 | [N]: [types] | Hero | After |
341
+ | 4 | Main: [Name] | [N] | [N]: [types] | Key Finding | — |
342
+ | 5 | Main: [Name] | [N] | [N]: [types] | Key Finding | — |
343
+ | 6 | Appendix A: Alpha | [N] | [N]: [types] | Supporting | Before |
344
+ | 7 | Appendix B: Beta | [N] | [N]: [types] | Supporting | Before |
345
+ | 8 | Appendix C: Mediator | [N] | [N]: [types] | Background | Before |
346
+ | 9 | Appendix D: Sources | [N] | | Background | Before |
347
+
348
+ ---
349
+
350
+ ### Visualization Map
351
+
352
+ | # | Section | Data | Visualization Type | Tool | Caption (figcaption) |
353
+ |---|--------|--------|:----------------:|:----------:|---------------------|
354
+ | 1 | [Section] | [Which data] | [Bar/Line/Radar/...] | Chart.js / Mermaid / CSS | "Fig. N — [description]" |
355
+
356
+ ---
357
+
358
+ ### Color Palette
359
+
360
+ | Variable | HEX | Usage |
361
+ |----------|-----|---------------|
362
+ | --primary | #XXXXXX | Headings, table headers |
363
+ | --secondary | #XXXXXX | Subheadings |
364
+ | --accent | #XXXXXX | Links, callout info |
365
+ | --highlight | #XXXXXX | Key metrics |
366
+ | --success | #XXXXXX | Positive indicators |
367
+ | --warning | #XXXXXX | Warnings |
368
+ | --danger | #XXXXXX | Risks, critical |
369
+ | --bg-light | #XXXXXX | Callout background, alternating rows |
370
+ | --border | #XXXXXX | Borders |
371
+ | --text | #XXXXXX | Main text |
372
+ | --muted | #XXXXXX | Captions, small text |
373
+
374
+ **Chart.js series:** ['#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX', '#XXXXXX']
375
+
376
+ **Checks:** WCAG AA ✅ / ⚠️ | B/W distinctiveness ✅ / ⚠️ | Color blindness ✅ / ⚠️
377
+
378
+ ---
379
+
380
+ ### Executive Summary (Draft)
381
+
382
+ ## Executive Summary
383
+
384
+ ### Context
385
+ [1-2 sentences: what was analyzed, for whom, scope]
386
+
387
+ ### Methodology
388
+ [1-2 sentences: frameworks, sources, adversarial approach]
389
+
390
+ ### Key Findings
391
+
392
+ > "[Mediator's main verdict]"
393
+
394
+ 1. **[Finding 1]:** [description + metric]
395
+ 2. **[Finding 2]:** [description + metric]
396
+ 3. **[Finding 3]:** [description + metric]
397
+
398
+ ### Recommendation
399
+ [1-2 sentences: what to do]
400
+
401
+ ### Risks
402
+ [1-2 sentences: constraints]
403
+
404
+ ### Next Steps
405
+ - [Action 1]
406
+ - [Action 2]
407
+ - [Action 3]
408
+
409
+ ---
410
+
411
+ ### Emphasis Map
412
+
413
+ | Section | Emphasis Level | Elements |
414
+ |--------|:-------------:|----------|
415
+ | [Section] | Hero / Key / Supporting / Background | [Which elements] |
416
+ ```