code-ai-installer 4.0.0 → 4.0.1-a

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 +36 -0
  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 +8 -0
  65. package/dist/mcp_setup.js +4 -1
  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,385 +1,401 @@
1
- ---
2
- name: user-story
3
- description: Writing user stories per INVEST — As a / I want / So that, separation of buyer/end-user
4
- ---
5
- # User Story
6
-
7
- > **Category:** Specification · **Slug:** `user-story`
8
-
9
- ## When to Use
10
-
11
- - In a PRD — every user-facing functionality.
12
- - In backlog grooming — transforming ideas into work items.
13
- - During epic breakdown — story-level.
14
- - In B2B — separation of buyer / end-user / admin stories.
15
-
16
- ## Input
17
-
18
- | Field | Required | Description |
19
- |-------|:--------:|-------------|
20
- | User role | ✅ | Buyer / end-user / admin / champion |
21
- | JTBD / problem | ✅ | What we're solving |
22
- | Context | ✅ | When it occurs |
23
-
24
- ## Data Sources
25
-
26
- 1. `$jtbd-canvas` — jobs as starting point.
27
- 2. `$problem-statement`problem as «so that».
28
- 3. Customer interviewslanguage of user.
29
-
30
- ### Related Skills
31
-
32
- | Skill | What we take | When to invoke |
33
- |-------|-------------|----------------|
34
- | `jtbd-canvas` | Jobs → «I want» | Before stories |
35
- | `problem-statement` | Pain → «so that» | For justification |
36
- | `acceptance-criteria` | Contract | Per each story |
37
- | `epic-breakdown` | Grouping | After stories |
38
-
39
- ## INVEST Criteria
40
-
41
- A good user story is:
42
- - **I**ndependent can be developed separately
43
- - **N**egotiable details can be discussed, not locked
44
- - **V**aluabledelivers customer value
45
- - **E**stimable — team can estimate effort
46
- - **S**mall — fits in 1-2 sprints (< 8 points)
47
- - **T**estable — clear pass/fail criteria
48
-
49
- ## Format
50
-
51
- **Canonical:**
52
- > **As a** [role]
53
- > **I want to** [action / capability]
54
- > **So that** [benefit / outcome]
55
-
56
- Example:
57
- > **As a** DevOps engineer at mid-market SaaS
58
- > **I want to** set team-level role templates in 2-3 clicks
59
- > **So that** onboarding new teammates takes 10 min, not 2 hours
60
-
61
- ## Protocol
62
-
63
- ### Step 0 Role Clarity (B2B Critical)
64
-
65
- **Different stories for different roles** — don't mix in one:
66
- - **End-user story** — daily use experience
67
- - **Buyer story** — purchase / evaluation decision
68
- - **Admin story** — configuration / governance
69
- - **Champion story** advocacy / reporting
70
-
71
- In B2B — separate stories per role — different AC, different flows.
72
-
73
- ### Step 1 «So That» First
74
-
75
- Write backwards benefit first, then action.
76
-
77
- Capture customer outcome:
78
- - ❌ «So that users can use the new feature» (circular)
79
- - «So that I can close the quarterly compliance audit in 2 hours instead of 2 days»
80
-
81
- Benefit **specific, measurable**, tied to JTBD.
82
-
83
- ### Step 2«I Want»
84
-
85
- Action or capabilitywhat the user specifically does.
86
-
87
- - Atomic (one action)
88
- - Technology-agnostic («view team activity» not «click button on dashboard»)
89
- - User's language, not engineering
90
-
91
- ### Step 3 «As
92
-
93
- Specific role, not generic «user»:
94
- - «DevOps engineer at mid-market SaaS» > «user»
95
- - «Customer Success Manager with >100 accounts» > «user»
96
-
97
- Tie role to segment (if segment-specific feature).
98
-
99
- ### Step 4INVEST Check
100
-
101
- Verify each story:
102
- - **I** — Can it be developed independently? If other stories are needed first → split.
103
- - **N** — Are details open for discussion? (Not over-specified)
104
- - **V** Does customer get value? If only technical improvement → reformulate through user outcome.
105
- - **E** Can team estimate it? If not — unknowns need spike.
106
- - **S** — Less than 2 sprints? If not — split.
107
- - **T**Can clear pass/fail AC be written?
108
-
109
- ### Step 5 Splitting Big Stories
110
-
111
- Split techniques:
112
- - **Workflow:** «create → update → delete» → 3 stories
113
- - **Data:** different entity types (user team → organization)
114
- - **Happy path + edges:** primary flow → error states as separate stories
115
- - **Acceptance criteria:** pull one scenario after another from AC
116
-
117
- ### Step 6 — Story Sizing
118
-
119
- T-shirt or Story Points:
120
- - **S** (1-2 pts): < 1 day
121
- - **M** (3-5 pts): 1-3 days
122
- - **L** (8 pts): 4-7 days
123
- - **XL** (13+ pts): **split**
124
-
125
- ### Step 7Negotiation Notes
126
-
127
- Add «Notes» field for:
128
- - Open questions
129
- - Assumptions
130
- - Suggested scope boundaries
131
-
132
- This signals to engineers: where negotiation room exists.
133
-
134
- ### Step 8 — Add AC
135
-
136
- Each story requires AC via `$acceptance-criteria`.
137
-
138
- Without AC a story is not ready for sprint.
139
-
140
- ## Validation (Quality Gate)
141
-
142
- - [ ] Format: As a / I want / So that
143
- - [ ] Role — specific, not generic «user»
144
- - [ ] B2B: separated per role (if multi-role flow)
145
- - [ ] «So that» — specific, measurable benefit
146
- - [ ] INVEST passed (all 6)
147
- - [ ] Size ≤ 8 pts (or split)
148
- - [ ] AC attached
149
- - [ ] Notes / assumptions explicit
150
-
151
- ## Handoff
152
-
153
- The result is input for:
154
- - **`acceptance-criteria`**each story
155
- - **`epic-breakdown`** — grouping
156
- - **Engineering** implementation
157
- - **QA** → test cases
158
-
159
- Format: story card (title + as-I-so-that + notes + AC link). Via `$handoff`.
160
-
161
- ## Anti-patterns
162
-
163
- | Error | Why it's bad | How to do it right |
164
- |-------|-------------|-------------------|
165
- | «User» role | Lost context | Specific role/segment |
166
- | Vague «so that» | Lost value | Measurable benefit |
167
- | Implementation in story | Over-specified | Action, not UI |
168
- | Mix roles in one story | Confused AC | Separate per role |
169
- | Big (>13 pt) | Not estimable | Split using techniques |
170
- | No AC | No contract | Must have AC |
171
- | «As developer I want refactor» | Not customer value | Translate to user outcome |
172
-
173
- ## Template
174
-
175
- ```markdown
176
- ## Story: [Short Title]
177
-
178
- **As a** [specific role]
179
- **I want to** [action]
180
- **So that** [measurable benefit]
181
-
182
- ### Notes
183
- - Assumption: [X]
184
- - Open question: [Y]
185
-
186
- ### Acceptance Criteria
187
- [via $acceptance-criteria]
188
-
189
- ### Size
190
- M (3-5 points)
191
-
192
- ### Dependencies
193
- - Story [#123] (prerequisite)
194
- ```
195
-
196
- ## Worked Example — TeamFlow User Stories for AI Summarization
197
-
198
- **Context:** 14 total user stories in PRD. Below — 7 key stories with proper INVEST + B2B role separation. Show splitting technique: end-user vs admin vs buyer.
199
-
200
- ### Stories grouped by Role
201
-
202
- ---
203
-
204
- #### Role: People Manager (end-user) — Primary
205
-
206
- **Story S1: Enable AI Summarization for Upcoming 1:1**
207
-
208
- **As a** People manager with 5+ direct reports at mid-market B2B SaaS company on Team Tier
209
- **I want to** toggle «AI assist» on for an upcoming 1:1 in one click
210
- **So that** I can focus fully on conversation without worrying about notes
211
-
212
- **Notes:**
213
- - Default state: turned-off (opt-in respects privacy), user activates per-meeting
214
- - Admin can default-on for all new 1:1s (org setting, S7)
215
- - Assumption: managers prefer per-meeting control. Validated in Discovery E2-E4.
216
- - Open Q: does toggle apply to entire meeting or before/after toggle events? → clarify in AC
217
-
218
- **AC:** [see `$acceptance-criteria` S1 scenarios — 4 total]
219
-
220
- **Size:** S (2 points) — UI toggle, feature flag check, settings API
221
- **Dependencies:** T1 (feature flag infrastructure)
222
- **Role validation:** INVEST passes (independent, negotiable, valuable, estimable, small, testable)
223
-
224
- ---
225
-
226
- **Story S2: Receive AI Summary Within 60 Seconds of Meeting End**
227
-
228
- **As a** People manager who completed AI-enabled 1:1
229
- **I want to** receive structured summary (topics, decisions, action items) within 60 seconds of meeting end
230
- **So that** I can review and approve before moving to next task
231
-
232
- **Notes:**
233
- - Streaming UX acceptable — summary populates progressively within 60s
234
- - Quality threshold: ≥70% of summaries acceptable without major edits (measured via S3)
235
- - Assumption: 60s feels instant; 90s feels laggy. Validated via beta feedback in Wizard-of-Oz test.
236
-
237
- **AC:** [4 scenarios: happy path, streaming fallback, LLM timeout, meeting <5min skipped]
238
-
239
- **Size:** L (8 points) — core AI pipeline
240
- **Dependencies:** S1 (must be enabled), T2 (LLM API integration)
241
-
242
- ---
243
-
244
- **Story S3: Review and Edit AI Summary Inline**
245
-
246
- **As a** manager reviewing AI-generated summary
247
- **I want to** edit content inline (add, remove, modify) and mark approved
248
- **So that** corrections become authoritative record, and future AI learns my style
249
-
250
- **Notes:**
251
- - Edit tracked separately from original AI version (both retained for audit + learning)
252
- - Approval state: «draft (AI)», «edited», «approved» (manager-confirmed)
253
- - Open Q: auto-approve after 7 days without edit? → default: no, keeps «awaiting review» status
254
-
255
- **AC:** [3 scenarios: basic edit, cancel edit, approved → read-only]
256
-
257
- **Size:** M (5 points) — rich text editor integration + state machine
258
- **Dependencies:** S2 (must have summary first)
259
-
260
- ---
261
-
262
- **Story S4: Auto-Track Action Items Extracted from Summary**
263
-
264
- **As a** manager with approved AI summary
265
- **I want** extracted action items automatically added to my follow-up queue with owner + due date (if LLM inferred)
266
- **So that** I don't lose commitments between meetings
267
-
268
- **Notes:**
269
- - Extraction confidence threshold: >70% low confidence items shown separately for manager review
270
- - Owner default: inferred from context (if «Sarah, please review» → Sarah), else manager
271
- - Due date default: «by next 1:1» (7 days), manager can override
272
-
273
- **AC:** [4 scenarios: standard extraction, low confidence review, owner inference, custom due date]
274
-
275
- **Size:** M (5 points)
276
- **Dependencies:** S2
277
-
278
- ---
279
-
280
- **Story S5: See Action Items Reminder Before Next 1:1**
281
-
282
- **As a** manager with open action items from previous 1:1 with a report
283
- **I want** those items surfaced 30 min before upcoming 1:1 via in-product notification + email
284
- **So that** follow-through is top-of-mind and conversation flows naturally
285
-
286
- **Notes:**
287
- - 30 min window configurable (15 / 30 / 60 / disabled) user setting
288
- - Items marked complete in reminder UI sync to both manager's and report's views
289
-
290
- **AC:** [3 scenarios: reminder fires, customized window, reminder disabled per user setting]
291
-
292
- **Size:** S (3 points) — rule-based, uses existing notification stack
293
- **Dependencies:** S4 (needs action items existing)
294
-
295
- ---
296
-
297
- #### Role: Admin / HR Business Partner
298
-
299
- **Story S6: Configure Org-Wide AI Summarization Policy**
300
-
301
- **As an** admin (HR Business Partner or People Ops lead) for TeamFlow account on Team or Enterprise tier
302
- **I want to** set org-wide AI policy (enabled / disabled / default-on for new managers)
303
- **So that** I can align TeamFlow AI usage with company data governance decisions
304
-
305
- **Notes:**
306
- - 3 states: «disabled org-wide» (AI not available for anyone), «enabled per-manager opt-in» (default), «enabled — default on for new managers»
307
- - Policy change notifies all managers
308
- - Policy setting audit-logged
309
-
310
- **AC:** [4 scenarios: 3 state transitions + audit log verification]
311
-
312
- **Size:** S (3 points)
313
- **Dependencies:** S1 (per-meeting toggle must exist)
314
-
315
- ---
316
-
317
- **Story S7: Export Audit Log of AI Operations**
318
-
319
- **As an** admin responsible for compliance (SOC 2, GDPR)
320
- **I want to** export audit log of all AI operations (summaries generated, edited, approved) for given time period
321
- **So that** I can demonstrate compliance during audit + investigate incidents
322
-
323
- **Notes:**
324
- - Log entry: timestamp, actor (manager ID), action (generate/edit/approve/delete), meeting ID, summary ID
325
- - Export formats: CSV, JSON
326
- - Retention: 365 days minimum (legal baseline)
327
-
328
- **AC:** [3 scenarios: export happy path, date range filter, empty range]
329
-
330
- **Size:** S (3 points) — uses existing audit log infrastructure
331
- **Dependencies:** S1, S2, S3 (all AI operations logged)
332
-
333
- ---
334
-
335
- #### Role: Buyer (VP HR / CPO) pulled through admin experience
336
-
337
- **Story S8 (pulled into PRD Appendix Theme 2 dashboard scope):**
338
-
339
- VP HR visibility / aggregate dashboard stories — moved to separate PRD (aggregate-dashboard-v1), but linked:
340
- - «As VP HR, I want to see AI summarization adoption across teams so I can allocate training»
341
- - «As CPO, I want action items velocity as leading indicator of team health»
342
-
343
- *These stories live in Aggregate Dashboard PRD — cross-referenced here.*
344
-
345
- ---
346
-
347
- ### Story Sizing Summary
348
-
349
- | Story | Size | Total |
350
- |-------|:----:|------|
351
- | S1 Enable toggle | S (2) | Small, quick |
352
- | S2 Generate summary | L (8) | THE big one — core AI |
353
- | S3 Edit inline | M (5) | Rich editor |
354
- | S4 Extract action items | M (5) | Post-processing |
355
- | S5 Reminder | S (3) | Rule-based |
356
- | S6 Org policy | S (3) | Admin UI |
357
- | S7 Audit export | S (3) | Export feature |
358
- | **Total (primary flow):** | | **29 points** |
359
-
360
- Balance distribution (1 L + 2 M + 4 S) — healthy MVP shape. No XLs = no un-sized risks.
361
-
362
- ### Splitting Techniques Applied
363
-
364
- - **By role:** S1-S5 end-user (manager), S6-S7 admin, S8 deferred to separate PRD (buyer dashboard)
365
- - **By workflow step:** Prep (defer — Q3), During meeting (S1-S2), Review (S3), Follow-through (S4-S5)
366
- - **Simple → Complex:** S2 ships «basic summary»; future ships «summary + themes» separately
367
- - **Happy path Edge cases:** S2 happy path above, error-state handling via AC (not separate stories)
368
-
369
- ### Story Dependencies DAG
370
-
371
- ```
372
- T1 (feature flag infra)
373
- └─→ S1 (enable toggle)
374
- └─→ S2 (generate summary) depends on T2 (LLM API)
375
- ├─→ S3 (edit inline)
376
- └─→ S4 (extract action items)
377
- └─→ S5 (reminder)
378
-
379
- S6 (org policy) ← depends on S1 (per-meeting must exist first)
380
- S7 (audit export) depends on S1, S2, S3 (need operations to log)
381
- ```
382
-
383
- **Critical path (for MVP):** T1 S1 S2 S3 S4 S5 = ~26 points ≈ 6 weeks at 4 points/week velocity.
384
-
385
- > **user-story lesson:** B2B **always** has multiple roles. Separating manager (end-user) from admin (HR Business Partner) from buyer (VP HR) — 3 distinct AC sets, 3 distinct «so that» phrases. Without separation «As a user» = vague. Stories S6-S7 admin-focused — critical for companies with governance requirements. Our initial 14 stories included only manager — Discovery B3 interview revealed admin governance need; added S6-S7 late, prevented post-launch «admin has no control» complaints.
1
+ ---
2
+ name: user-story
3
+ description: Writing user stories per INVEST — As a / I want / So that, separation of buyer/end-user
4
+ type: triggered
5
+ domain: product
6
+ owners:
7
+ - pm
8
+ gates:
9
+ - PM
10
+ tech: []
11
+ topic: []
12
+ triggers:
13
+ - "user-story"
14
+ - "user story"
15
+ - "пользовательская история"
16
+ - "INVEST"
17
+ related: []
18
+ budget_lines: 401
19
+ schema_version: 1
20
+ ---
21
+ # User Story
22
+
23
+ > **Category:** Specification · **Slug:** `user-story`
24
+
25
+ ## When to Use
26
+
27
+ - In a PRD every user-facing functionality.
28
+ - In backlog grooming transforming ideas into work items.
29
+ - During epic breakdown — story-level.
30
+ - In B2B — separation of buyer / end-user / admin stories.
31
+
32
+ ## Input
33
+
34
+ | Field | Required | Description |
35
+ |-------|:--------:|-------------|
36
+ | User role | | Buyer / end-user / admin / champion |
37
+ | JTBD / problem | | What we're solving |
38
+ | Context | ✅ | When it occurs |
39
+
40
+ ## Data Sources
41
+
42
+ 1. `$jtbd-canvas`jobs as starting point.
43
+ 2. `$problem-statement`problem as «so that».
44
+ 3. Customer interviews language of user.
45
+
46
+ ### Related Skills
47
+
48
+ | Skill | What we take | When to invoke |
49
+ |-------|-------------|----------------|
50
+ | `jtbd-canvas` | Jobs → «I want» | Before stories |
51
+ | `problem-statement` | Pain → «so that» | For justification |
52
+ | `acceptance-criteria` | Contract | Per each story |
53
+ | `epic-breakdown` | Grouping | After stories |
54
+
55
+ ## INVEST Criteria
56
+
57
+ A good user story is:
58
+ - **I**ndependent can be developed separately
59
+ - **N**egotiable details can be discussed, not locked
60
+ - **V**aluable — delivers customer value
61
+ - **E**stimable — team can estimate effort
62
+ - **S**mall — fits in 1-2 sprints (< 8 points)
63
+ - **T**estableclear pass/fail criteria
64
+
65
+ ## Format
66
+
67
+ **Canonical:**
68
+ > **As a** [role]
69
+ > **I want to** [action / capability]
70
+ > **So that** [benefit / outcome]
71
+
72
+ Example:
73
+ > **As a** DevOps engineer at mid-market SaaS
74
+ > **I want to** set team-level role templates in 2-3 clicks
75
+ > **So that** onboarding new teammates takes 10 min, not 2 hours
76
+
77
+ ## Protocol
78
+
79
+ ### Step 0 Role Clarity (B2B Critical)
80
+
81
+ **Different stories for different roles** don't mix in one:
82
+ - **End-user story** — daily use experience
83
+ - **Buyer story**purchase / evaluation decision
84
+ - **Admin story** — configuration / governance
85
+ - **Champion story**advocacy / reporting
86
+
87
+ In B2B separate stories per role — different AC, different flows.
88
+
89
+ ### Step 1 «So That» First
90
+
91
+ Write backwardsbenefit first, then action.
92
+
93
+ Capture customer outcome:
94
+ - «So that users can use the new feature» (circular)
95
+ - «So that I can close the quarterly compliance audit in 2 hours instead of 2 days»
96
+
97
+ Benefit **specific, measurable**, tied to JTBD.
98
+
99
+ ### Step 2«I Want»
100
+
101
+ Action or capability — what the user specifically does.
102
+
103
+ - Atomic (one action)
104
+ - Technology-agnostic («view team activity» not «click button on dashboard»)
105
+ - User's language, not engineering
106
+
107
+ ### Step 3 «As
108
+
109
+ Specific role, not generic «user»:
110
+ - «DevOps engineer at mid-market SaaS» > «user»
111
+ - «Customer Success Manager with >100 accounts» > «user»
112
+
113
+ Tie role to segment (if segment-specific feature).
114
+
115
+ ### Step 4 INVEST Check
116
+
117
+ Verify each story:
118
+ - **I** — Can it be developed independently? If other stories are needed first → split.
119
+ - **N** Are details open for discussion? (Not over-specified)
120
+ - **V** Does customer get value? If only technical improvement → reformulate through user outcome.
121
+ - **E** Can team estimate it? If not — unknowns need spike.
122
+ - **S** Less than 2 sprints? If not — split.
123
+ - **T** Can clear pass/fail AC be written?
124
+
125
+ ### Step 5Splitting Big Stories
126
+
127
+ Split techniques:
128
+ - **Workflow:** «create → update → delete» → 3 stories
129
+ - **Data:** different entity types (user → team → organization)
130
+ - **Happy path + edges:** primary flow → error states as separate stories
131
+ - **Acceptance criteria:** pull one scenario after another from AC
132
+
133
+ ### Step 6 — Story Sizing
134
+
135
+ T-shirt or Story Points:
136
+ - **S** (1-2 pts): < 1 day
137
+ - **M** (3-5 pts): 1-3 days
138
+ - **L** (8 pts): 4-7 days
139
+ - **XL** (13+ pts): **split**
140
+
141
+ ### Step 7 — Negotiation Notes
142
+
143
+ Add «Notes» field for:
144
+ - Open questions
145
+ - Assumptions
146
+ - Suggested scope boundaries
147
+
148
+ This signals to engineers: where negotiation room exists.
149
+
150
+ ### Step 8 — Add AC
151
+
152
+ Each story requires AC via `$acceptance-criteria`.
153
+
154
+ Without AC a story is not ready for sprint.
155
+
156
+ ## Validation (Quality Gate)
157
+
158
+ - [ ] Format: As a / I want / So that
159
+ - [ ] Role specific, not generic «user»
160
+ - [ ] B2B: separated per role (if multi-role flow)
161
+ - [ ] «So that» — specific, measurable benefit
162
+ - [ ] INVEST passed (all 6)
163
+ - [ ] Size 8 pts (or split)
164
+ - [ ] AC attached
165
+ - [ ] Notes / assumptions explicit
166
+
167
+ ## Handoff
168
+
169
+ The result is input for:
170
+ - **`acceptance-criteria`** each story
171
+ - **`epic-breakdown`** grouping
172
+ - **Engineering** → implementation
173
+ - **QA** → test cases
174
+
175
+ Format: story card (title + as-I-so-that + notes + AC link). Via `$handoff`.
176
+
177
+ ## Anti-patterns
178
+
179
+ | Error | Why it's bad | How to do it right |
180
+ |-------|-------------|-------------------|
181
+ | «User» role | Lost context | Specific role/segment |
182
+ | Vague «so that» | Lost value | Measurable benefit |
183
+ | Implementation in story | Over-specified | Action, not UI |
184
+ | Mix roles in one story | Confused AC | Separate per role |
185
+ | Big (>13 pt) | Not estimable | Split using techniques |
186
+ | No AC | No contract | Must have AC |
187
+ | «As developer I want refactor» | Not customer value | Translate to user outcome |
188
+
189
+ ## Template
190
+
191
+ ```markdown
192
+ ## Story: [Short Title]
193
+
194
+ **As a** [specific role]
195
+ **I want to** [action]
196
+ **So that** [measurable benefit]
197
+
198
+ ### Notes
199
+ - Assumption: [X]
200
+ - Open question: [Y]
201
+
202
+ ### Acceptance Criteria
203
+ [via $acceptance-criteria]
204
+
205
+ ### Size
206
+ M (3-5 points)
207
+
208
+ ### Dependencies
209
+ - Story [#123] (prerequisite)
210
+ ```
211
+
212
+ ## Worked Example — TeamFlow User Stories for AI Summarization
213
+
214
+ **Context:** 14 total user stories in PRD. Below — 7 key stories with proper INVEST + B2B role separation. Show splitting technique: end-user vs admin vs buyer.
215
+
216
+ ### Stories grouped by Role
217
+
218
+ ---
219
+
220
+ #### Role: People Manager (end-user) — Primary
221
+
222
+ **Story S1: Enable AI Summarization for Upcoming 1:1**
223
+
224
+ **As a** People manager with 5+ direct reports at mid-market B2B SaaS company on Team Tier
225
+ **I want to** toggle «AI assist» on for an upcoming 1:1 in one click
226
+ **So that** I can focus fully on conversation without worrying about notes
227
+
228
+ **Notes:**
229
+ - Default state: turned-off (opt-in respects privacy), user activates per-meeting
230
+ - Admin can default-on for all new 1:1s (org setting, S7)
231
+ - Assumption: managers prefer per-meeting control. Validated in Discovery E2-E4.
232
+ - Open Q: does toggle apply to entire meeting or before/after toggle events? → clarify in AC
233
+
234
+ **AC:** [see `$acceptance-criteria` S1 scenarios 4 total]
235
+
236
+ **Size:** S (2 points) — UI toggle, feature flag check, settings API
237
+ **Dependencies:** T1 (feature flag infrastructure)
238
+ **Role validation:** INVEST passes (independent, negotiable, valuable, estimable, small, testable)
239
+
240
+ ---
241
+
242
+ **Story S2: Receive AI Summary Within 60 Seconds of Meeting End**
243
+
244
+ **As a** People manager who completed AI-enabled 1:1
245
+ **I want to** receive structured summary (topics, decisions, action items) within 60 seconds of meeting end
246
+ **So that** I can review and approve before moving to next task
247
+
248
+ **Notes:**
249
+ - Streaming UX acceptable — summary populates progressively within 60s
250
+ - Quality threshold: ≥70% of summaries acceptable without major edits (measured via S3)
251
+ - Assumption: 60s feels instant; 90s feels laggy. Validated via beta feedback in Wizard-of-Oz test.
252
+
253
+ **AC:** [4 scenarios: happy path, streaming fallback, LLM timeout, meeting <5min skipped]
254
+
255
+ **Size:** L (8 points) core AI pipeline
256
+ **Dependencies:** S1 (must be enabled), T2 (LLM API integration)
257
+
258
+ ---
259
+
260
+ **Story S3: Review and Edit AI Summary Inline**
261
+
262
+ **As a** manager reviewing AI-generated summary
263
+ **I want to** edit content inline (add, remove, modify) and mark approved
264
+ **So that** corrections become authoritative record, and future AI learns my style
265
+
266
+ **Notes:**
267
+ - Edit tracked separately from original AI version (both retained for audit + learning)
268
+ - Approval state: «draft (AI)», «edited», «approved» (manager-confirmed)
269
+ - Open Q: auto-approve after 7 days without edit? default: no, keeps «awaiting review» status
270
+
271
+ **AC:** [3 scenarios: basic edit, cancel edit, approved read-only]
272
+
273
+ **Size:** M (5 points) rich text editor integration + state machine
274
+ **Dependencies:** S2 (must have summary first)
275
+
276
+ ---
277
+
278
+ **Story S4: Auto-Track Action Items Extracted from Summary**
279
+
280
+ **As a** manager with approved AI summary
281
+ **I want** extracted action items automatically added to my follow-up queue with owner + due date (if LLM inferred)
282
+ **So that** I don't lose commitments between meetings
283
+
284
+ **Notes:**
285
+ - Extraction confidence threshold: >70% — low confidence items shown separately for manager review
286
+ - Owner default: inferred from context (if «Sarah, please review» → Sarah), else manager
287
+ - Due date default: «by next 1:1» (7 days), manager can override
288
+
289
+ **AC:** [4 scenarios: standard extraction, low confidence review, owner inference, custom due date]
290
+
291
+ **Size:** M (5 points)
292
+ **Dependencies:** S2
293
+
294
+ ---
295
+
296
+ **Story S5: See Action Items Reminder Before Next 1:1**
297
+
298
+ **As a** manager with open action items from previous 1:1 with a report
299
+ **I want** those items surfaced 30 min before upcoming 1:1 via in-product notification + email
300
+ **So that** follow-through is top-of-mind and conversation flows naturally
301
+
302
+ **Notes:**
303
+ - 30 min window configurable (15 / 30 / 60 / disabled) — user setting
304
+ - Items marked complete in reminder UI sync to both manager's and report's views
305
+
306
+ **AC:** [3 scenarios: reminder fires, customized window, reminder disabled per user setting]
307
+
308
+ **Size:** S (3 points) — rule-based, uses existing notification stack
309
+ **Dependencies:** S4 (needs action items existing)
310
+
311
+ ---
312
+
313
+ #### Role: Admin / HR Business Partner
314
+
315
+ **Story S6: Configure Org-Wide AI Summarization Policy**
316
+
317
+ **As an** admin (HR Business Partner or People Ops lead) for TeamFlow account on Team or Enterprise tier
318
+ **I want to** set org-wide AI policy (enabled / disabled / default-on for new managers)
319
+ **So that** I can align TeamFlow AI usage with company data governance decisions
320
+
321
+ **Notes:**
322
+ - 3 states: «disabled org-wide» (AI not available for anyone), «enabled — per-manager opt-in» (default), «enabled — default on for new managers»
323
+ - Policy change notifies all managers
324
+ - Policy setting audit-logged
325
+
326
+ **AC:** [4 scenarios: 3 state transitions + audit log verification]
327
+
328
+ **Size:** S (3 points)
329
+ **Dependencies:** S1 (per-meeting toggle must exist)
330
+
331
+ ---
332
+
333
+ **Story S7: Export Audit Log of AI Operations**
334
+
335
+ **As an** admin responsible for compliance (SOC 2, GDPR)
336
+ **I want to** export audit log of all AI operations (summaries generated, edited, approved) for given time period
337
+ **So that** I can demonstrate compliance during audit + investigate incidents
338
+
339
+ **Notes:**
340
+ - Log entry: timestamp, actor (manager ID), action (generate/edit/approve/delete), meeting ID, summary ID
341
+ - Export formats: CSV, JSON
342
+ - Retention: 365 days minimum (legal baseline)
343
+
344
+ **AC:** [3 scenarios: export happy path, date range filter, empty range]
345
+
346
+ **Size:** S (3 points) — uses existing audit log infrastructure
347
+ **Dependencies:** S1, S2, S3 (all AI operations logged)
348
+
349
+ ---
350
+
351
+ #### Role: Buyer (VP HR / CPO) pulled through admin experience
352
+
353
+ **Story S8 (pulled into PRD Appendix Theme 2 dashboard scope):**
354
+
355
+ VP HR visibility / aggregate dashboard stories — moved to separate PRD (aggregate-dashboard-v1), but linked:
356
+ - «As VP HR, I want to see AI summarization adoption across teams so I can allocate training»
357
+ - «As CPO, I want action items velocity as leading indicator of team health»
358
+
359
+ *These stories live in Aggregate Dashboard PRD — cross-referenced here.*
360
+
361
+ ---
362
+
363
+ ### Story Sizing Summary
364
+
365
+ | Story | Size | Total |
366
+ |-------|:----:|------|
367
+ | S1 Enable toggle | S (2) | Small, quick |
368
+ | S2 Generate summary | L (8) | THE big one — core AI |
369
+ | S3 Edit inline | M (5) | Rich editor |
370
+ | S4 Extract action items | M (5) | Post-processing |
371
+ | S5 Reminder | S (3) | Rule-based |
372
+ | S6 Org policy | S (3) | Admin UI |
373
+ | S7 Audit export | S (3) | Export feature |
374
+ | **Total (primary flow):** | | **29 points** |
375
+
376
+ Balance distribution (1 L + 2 M + 4 S) — healthy MVP shape. No XLs = no un-sized risks.
377
+
378
+ ### Splitting Techniques Applied
379
+
380
+ - **By role:** S1-S5 end-user (manager), S6-S7 admin, S8 deferred to separate PRD (buyer dashboard)
381
+ - **By workflow step:** Prep (defer — Q3), During meeting (S1-S2), Review (S3), Follow-through (S4-S5)
382
+ - **Simple → Complex:** S2 ships «basic summary»; future ships «summary + themes» separately
383
+ - **Happy path → Edge cases:** S2 happy path above, error-state handling via AC (not separate stories)
384
+
385
+ ### Story Dependencies DAG
386
+
387
+ ```
388
+ T1 (feature flag infra)
389
+ └─→ S1 (enable toggle)
390
+ └─→ S2 (generate summary) ← depends on T2 (LLM API)
391
+ ├─→ S3 (edit inline)
392
+ └─→ S4 (extract action items)
393
+ └─→ S5 (reminder)
394
+
395
+ S6 (org policy) ← depends on S1 (per-meeting must exist first)
396
+ S7 (audit export) ← depends on S1, S2, S3 (need operations to log)
397
+ ```
398
+
399
+ **Critical path (for MVP):** T1 → S1 → S2 → S3 → S4 → S5 = ~26 points ≈ 6 weeks at 4 points/week velocity.
400
+
401
+ > **user-story lesson:** B2B **always** has multiple roles. Separating manager (end-user) from admin (HR Business Partner) from buyer (VP HR) — 3 distinct AC sets, 3 distinct «so that» phrases. Without separation «As a user» = vague. Stories S6-S7 admin-focused — critical for companies with governance requirements. Our initial 14 stories included only manager — Discovery B3 interview revealed admin governance need; added S6-S7 late, prevented post-launch «admin has no control» complaints.