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,324 +1,340 @@
1
- ---
2
- name: swot-analysis
3
- description: Analysis of strengths, weaknesses, opportunities, and threats — with a cross-matrix and prioritization
4
- ---
5
- # SWOT Analysis — Analysis of Strengths, Weaknesses, Opportunities, and Threats
6
-
7
- ## When to Use
8
- - When assessing the **strategic position** of a company, product, or project before making key decisions.
9
- - When preparing for **strategic planning** — as input data for strategy formation.
10
- - When you need to **systematically evaluate** internal capabilities and external conditions simultaneously.
11
- - When conducting a **competitive analysis** — comparing the SWOT of multiple players.
12
-
13
- ## Input
14
-
15
- | Field | Required | Description |
16
- |------|:-----------:|----------|
17
- | Analysis Subject | ✅ | Company, product, project, or department |
18
- | Industry / Market | ✅ | Market and industry context |
19
- | Analysis Period | ⬚ | Planning horizon (default — 1-3 years) |
20
- | Competitors | ⬚ | List of main competitors for context |
21
- | Strategic Goals | | Current goals and priorities of the organization |
22
- | Constraints | ⬚ | Budget, resources, regulatory framework |
23
-
24
- > If mandatory fields are not provided **request them from the user** before starting the analysis. Do not guess.
25
-
26
- ## Data Sources
27
- 1. Internal reportingfinances, operational metrics, HR data.
28
- 2. Market research — market share, brand awareness, NPS.
29
- 3. Competitive analysis — benchmarks, public competitors' reports.
30
- 4. Macro environment — industry reports, regulatory changes, tech trends.
31
- 5. Stakeholder feedback interviews, surveys, CRM data.
32
-
33
- > Every fact must state its source and date. Data older than 12 months must be marked ⚠️.
34
-
35
- ### Relationship with Other Skills
36
- | Skill | What We Take | When to Call |
37
- |------|-----------|----------------|
38
- | `pest-analysis` | External factors → O/T: opportunities and threats from PESTEL (Steps 3-4) | If O/T are undefined — PESTEL provides a structured input |
39
- | `competitive-analysis` | S/W relative to competitors: shares, features, moats (Steps 1-2) | If there's no data on competitive advantages/weaknesses |
40
- | `porters-five-forces` | Threats (T) from the 5 forces: new entrants, substitutes, rivalry (Step 4) | If a structured evaluation of competitive threats is needed |
41
- | `ansoff-matrix` | SO strategies → growth strategies (Step 5) | After the cross-matrix — to detail SO initiatives |
42
- | `web-research` | Verification of external factors, industry data | If data is missing or outdated (>12 months) |
43
- | `blue-ocean-strategy` | WO strategies creating new space | If weaknesses block competition in the current industry |
44
-
45
- ## Protocol
46
-
47
- ### Step 0Preparing Context
48
- 1. Clarify the subject of analysis, boundaries, and horizon.
49
- 2. Identify key stakeholders and their perspectives.
50
- 3. Collect available data from sources.
51
- 4. Document assumptions and limitations of the analysis.
52
-
53
- ### Step 1 — Strengths (Internal)
54
- 1. Audit internal resources: financial, human, technological, reputational.
55
- 2. Evaluate unique competencies and competitive advantages.
56
- 3. Check the sustainability of each strength (is it easy to copy?).
57
- 4. For eachscoring and evidence base:
58
-
59
- | # | Strength | Impact (1-5) | Sustainability (1-5) | Score | Evidence | Source |
60
- |---|----------------|:-------------:|:-------------------:|:-----:|-----------------|----------|
61
- | S1 | [Specific formulation] | X | X | XX | [Metric / fact] | [Source] |
62
-
63
- `Score = Impact × Sustainability`. Top factors: Score >= 12.
64
-
65
- > **Formulation Rule:** Not "strong team," but "3 senior ML engineers with NLP experience >5 years, publications in EMNLP 2024-2025."
66
-
67
- ### Step 2 Weaknesses (Internal)
68
- 1. Audit internal deficits: resources, processes, competencies, culture.
69
- 2. Identify gaps relative to competitors and best practices.
70
- 3. Evaluate criticality and urgency:
71
-
72
- | # | Weakness | Criticality (1-5) | Urgency (1-5) | Score | Evidence | Source |
73
- |---|---------------|:------------------:|:---------------:|:-----:|-----------------|----------|
74
- | W1 | [Specific formulation] | X | X | XX | [Metric / gap] | [Source] |
75
-
76
- `Score = Criticality × Urgency`. Top factors: Score >= 12.
77
-
78
- 4. Identify causal links between weaknesses (does W1 cause W3?).
79
-
80
- ### Step 3 — Opportunities (External)
81
- 1. Scan the macro environment: market trends, tech, regulatory, demographic.
82
- 2. If `$pest-analysis` exists — use opportunity factors (🟢) from it.
83
- 3. Evaluate each opportunity:
84
-
85
- | # | Opportunity | Potential (1-5) | Probability (1-5) | Window | Score | Source |
86
- |---|-------------|:---------------:|:-----------------:|------|:-----:|----------|
87
- | O1 | [Description] | X | X | [When it closes] | XX | [Source] |
88
-
89
- `Score = Potential × Probability`. Top factors: Score >= 12.
90
-
91
- ### Step 4 — Threats (External)
92
- 1. Identify external risks: competition, regulations, macroeconomics, tech.
93
- 2. If `$pest-analysis` lies — use risk factors (🔴) from it.
94
- 3. If `$porters-five-forces` exists use forces scoring >= 3.5.
95
- 4. Evaluate each threat:
96
-
97
- | # | Threat | Damage (1-5) | Probability (1-5) | Speed | Score | Source |
98
- |---|--------|:-----------:|:-----------------:|----------|:-----:|----------|
99
- | T1 | [Description] | X | X | Sudden / Gradual | XX | [Source] |
100
-
101
- `Score = Damage × Probability`. Top factors: Score >= 12.
102
-
103
- ### Step 5 Cross-Impact Matrix
104
- For each quadrant — define specific strategic initiatives:
105
-
106
- 1. **SO Strategies** (Strengths + Opportunities): How to use strengths to capture opportunities.
107
- 2. **WO Strategies** (Weaknesses + Opportunities): How to overcome weaknesses through opportunities.
108
- 3. **ST Strategies** (Strengths + Threats): How to use strengths to neutralize threats.
109
- 4. **WT Strategies** (Weaknesses + Threats): How to minimize weaknesses and avoid threats.
110
-
111
- For each initiative:
112
-
113
- | # | Type | Factors | Initiative | Expected Effect |
114
- |---|:---:|---------|------------|------------------|
115
- | 1 | SO | S1 + O2 | [Specific action] | [Result: +$XM, +X% share] |
116
-
117
- > Minimum 2 initiatives per quadrant. Each must be a concrete action, not a generic phrase.
118
-
119
- ### Step 6Initiative Prioritization
120
- Evaluate each initiative using a scoring model:
121
-
122
- | Criterion | Weight | Scale |
123
- |----------|:---:|:-----:|
124
- | Impact (effect on business) | 0.35 | 1-10 |
125
- | Feasibility (realizability) | 0.30 | 1-10 |
126
- | Urgency (time sensitivity) | 0.20 | 1-10 |
127
- | Risk (inverted risk of failure) | 0.15 | 1-10 |
128
-
129
- `Priority Score = Σ(weight × score)`
130
-
131
- Matrix Impact × Effort:
132
-
133
- | | Low Effort | High Effort |
134
- |--|:----------:|:-----------:|
135
- | **High Impact** | 🎯 Quick Wins (P1) | 💎 Strategic Bets (P2) |
136
- | **Low Impact** | 🔧 Fill-ins (P3) | ❌ Avoid |
137
-
138
- TOP-5 actions specifying owners, deadlines, and KPIs.
139
-
140
- ### Step 7 Synthesis and Findings
141
- 1. Formulate a strategic verdict: an overall appraisal of the position.
142
- 2. Define Critical Success Factors (CSF).
143
- 3. Log key risks and their mitigation plans.
144
- 4. Prepare actionable recommendations within the designated horizon.
145
- 5. Determine the review frequency (tied to the OKR cycle, typically 3-6 months).
146
-
147
- ## Example EdTech Corporate Training Platform, RU
148
-
149
- **Context:** B2B SaaS, corporate training platform. 50 clients, $2M ARR, RU market. Horizon: 1-3 years.
150
-
151
- ### SWOT Matrix
152
-
153
- **Strengths:**
154
-
155
- | # | Factor | Impact | Sustain. | Score | Evidence |
156
- |---|--------|:-------:|:-------:|:-----:|----------------|
157
- | S1 | AI-personalized learning (unique in RU market) | 5 | 4 | **20** | Patent application, 3 ML engineers |
158
- | S2 | NPS 72 (vs industry average 45) | 4 | 3 | **12** | Survey Q1 2026, N=180 |
159
- | S3 | Time-to-deploy 3 days (vs competitors 2-4 weeks) | 4 | 4 | **16** | CRM: average of last 20 deployments |
160
-
161
- **Weaknesses:**
162
-
163
- | # | Factor | Critical. | Urgency | Score | Evidence |
164
- |---|--------|:--------:|:------:|:-----:|----------------|
165
- | W1 | No 1C integration (table stakes in RU market) | 5 | 5 | **25** | 30% of CRM rejections cite 1C |
166
- | W2 | Sales team 3 ppl (vs 15+ at Skillbox B2B) | 4 | 4 | **16** | Headcount report |
167
- | W3 | No mobile app | 3 | 3 | **9** | 15% of support requests |
168
-
169
- **Opportunities:**
170
-
171
- | # | Factor | Potential | Prob. | Score | Source |
172
- |---|--------|:---------:|:--------:|:-----:|----------|
173
- | O1 | Gov program "Kadry" subsidies for corp. training | 5 | 4 | **20** | Ministry of Labor, Mar 2026 |
174
- | O2 | Talent shortage increased budgets for upskilling (+28% YoY) | 5 | 5 | **25** | HH.ru Research, 2026 |
175
- | O3 | Exit of foreign LMS (SAP SuccessFactors, Cornerstone) | 4 | 4 | **16** | Kommersant, Feb 2026 |
176
-
177
- **Threats:**
178
-
179
- | # | Factor | Damage | Prob. | Score | Source |
180
- |---|--------|:-----:|:--------:|:-----:|----------|
181
- | T1 | Yandex Praktikum launches B2B direction | 5 | 4 | **20** | TechCrunch Russia, Jan 2026 |
182
- | T2 | 152-FZ on personal data stricter storage | 4 | 5 | **20** | Consultant Plus, current ed. |
183
- | T3 | Inflation 8-10% pressure on HR budgets | 3 | 5 | **15** | Central Bank RF, 2026-2027 est. |
184
-
185
- ### Cross-Impact Matrix
186
-
187
- | # | Type | Factors | Initiative | Effect |
188
- |---|:---:|---------|------------|--------|
189
- | 1 | SO | S1 + O2 | AI module "ROI on training": prove to firms that upskilling pays off | +$1M ARR in 12 mos |
190
- | 2 | SO | S3 + O3 | Express migration from SAP: deploy in 3 days + data import | 30 new enterprise clients |
191
- | 3 | WO | W1 + O1 | 1C integration access to gov subsidies (1C is mandatory for reports) | -30% rejections, +subsidies |
192
- | 4 | WO | W2 + O2 | Hire 5 sales + affiliate program (budgets are growing, need pipeline) | ×3 pipeline |
193
- | 5 | ST | S1 + T1 | Build AI into a strong moat: Yandex can't copy in 6 mos | Sustain differentiation |
194
- | 6 | ST | S2 + T3 | Use high NPS for a referral program (lower CAC during inflation) | CAC -20% |
195
- | 7 | WT | W1 + T2 | 1C integration + migration to RU servers = compliance bundle | Clear both blockers |
196
-
197
- ### Prioritization
198
-
199
- | # | Initiative | Type | Impact | Feasib. | Urgency | Risk inv. | **Score** | Zone |
200
- |---|------------|:---:|:------:|:-------:|:-------:|:---------:|:---------:|:----:|
201
- | 7 | 1C + RU servers (compliance bundle) | WT | 9 | 7 | 10 | 6 | **8.3** | 🎯 P1 |
202
- | 3 | 1C → gov subsidies | WO | 8 | 7 | 8 | 7 | **7.7** | 🎯 P1 |
203
- | 2 | Express migration from SAP | SO | 9 | 8 | 7 | 6 | **7.8** | 🎯 P1 |
204
- | 5 | Empower AI moat | ST | 8 | 6 | 8 | 5 | **7.0** | 💎 P2 |
205
- | 4 | Hire 5 sales + partners | WO | 7 | 5 | 6 | 6 | **6.1** | 💎 P2 |
206
-
207
- ### TOP-5 Actions
208
-
209
- 1. **1C + RU servers** (Score 8.3) CTO, Q2 2026. KPI: 0% compliance rejections.
210
- 2. **Express migration from SAP** (Score 7.8) Head of Sales, Q2-Q3 2026. KPI: 30 enterprise clients.
211
- 3. **1C Integration gov subsidies** (Score 7.7) Product Lead, Q2 2026. KPI: -30% rejections.
212
- 4. **AI-moat** (Score 7.0) — ML Team Lead, Q3-Q4 2026. KPI: 2 new AI features.
213
- 5. **Sales expansion** (Score 6.1) — VP Sales, Q3 2026. KPI: pipeline ×3.
214
-
215
- ## Validation (Quality Gate)
216
-
217
- - [ ] Each SWOT quadrant has at least 3 factors with numeric scoring
218
- - [ ] Scoring is verified: S (Impact × Sustainability), W (Criticality × Urgency), O (Potential × Probability), T (Damage × Probability)
219
- - [ ] Factors are backed by evidence (metrics, facts, sources)
220
- - [ ] Internal factors (S/W) strictly separated from external (O/T)
221
- - [ ] Cross-matrix contains at least 2 initiatives per quadrant (SO/WO/ST/WT)
222
- - [ ] Initiatives are concrete: action + expected effect (no generic phrases)
223
- - [ ] Prioritization uses the scoring model (Impact, Feasibility, Urgency, Risk)
224
- - [ ] TOP-5 actions specified with owner, deadline, and KPI
225
- - [ ] No duplicated factors between quadrants
226
- - [ ] Horizon is factored in, revision frequency established
227
- - [ ] Data sources cited; data older than 12 mos marked with ⚠️
228
-
229
- ## Handoff
230
- The output of `$swot-analysis` serves as input for:
231
- - **Strategist / Mediator** — strategic position setting for strategy formulation.
232
- - **`ansoff-matrix`** — SO initiatives → growth strategies.
233
- - **`blue-ocean-strategy`** WO initiatives creating new market space.
234
- - **`competitive-analysis`** S/W applied for competitive benchmarking.
235
- - **`pest-analysis`** O/T input for deepened macro-analysis.
236
-
237
- Handoff format: SWOT matrix with scoring + cross-matrix + prioritized initiatives + TOP-5. On handoff, use `$handoff`.
238
-
239
- ## Anti-patterns
240
-
241
- | Error | Why it's bad | How to do it right |
242
- |--------|-------------|---------------|
243
- | Overly broad formulations | "Strong team" lacks actionable insight | Be specific: "3 senior ML engineers with NLP exp > 5 yrs" |
244
- | Mixing internal and external | Blurs the analysis boundary | S/W — exclusively controllable; O/T — purely external |
245
- | SWOT without cross-matrix | A list without a strategy is useless | SO/WO/ST/WT mapped to specific initiatives (min 2 per quad) |
246
- | Missing prioritization | Everything is vital = nothing is vital | Scoring formula: Impact × Feasibility × Urgency × Risk |
247
- | Unsubstantiated factors | Analysis resting on "vibes" is subjective | Every factor must map to a metric or source |
248
- | One-off SWOT | Rapidly decays within 3-6 months | Tie to the OKR cycle, revisit every 3-6 months |
249
- | Factors without scoring | Can't objectively weigh S1 against S3 | Numeric scoring per quadrant (e.g. Impact × Sustainability) |
250
- | Initiatives without effect | "Improve sales" isn't actionable | Specific effect targeted: "+$1M ARR in 12 mos", "-30% rejections" |
251
-
252
- ## Output Template
253
-
254
- ```markdown
255
- ## SWOT Analysis: [Analysis Subject]
256
- **Industry:** [Industry] | **Period:** [Horizon] | **Date:** [Date]
257
- **Next Revision:** [Next date]
258
-
259
- ### SWOT Matrix
260
-
261
- #### Strengths (S) — Internal
262
-
263
- | # | Factor | Impact (1-5) | Sustainability (1-5) | Score | Evidence | Source |
264
- |---|--------|:-------------:|:-------------------:|:-----:|-----------------|----------|
265
- | S1 | [Formulation] | X | X | XX | [Metric/fact] | [Source] |
266
-
267
- #### Weaknesses (W) — Internal
268
-
269
- | # | Factor | Criticality (1-5) | Urgency (1-5) | Score | Evidence | Source |
270
- |---|--------|:------------------:|:---------------:|:-----:|-----------------|----------|
271
- | W1 | [Formulation] | X | X | XX | [Metric/gap] | [Source] |
272
-
273
- #### Opportunities (O) — External
274
-
275
- | # | Factor | Potential (1-5) | Probability (1-5) | Window | Score | Source |
276
- |---|--------|:---------------:|:-----------------:|------|:-----:|----------|
277
- | O1 | [Formulation] | X | X | [When] | XX | [Source] |
278
-
279
- #### Threats (T) External
280
-
281
- | # | Factor | Damage (1-5) | Probability (1-5) | Speed | Score | Source |
282
- |---|--------|:-----------:|:-----------------:|----------|:-----:|----------|
283
- | T1 | [Formulation] | X | X | [Type] | XX | [Source] |
284
-
285
- ---
286
-
287
- ### Strategy Cross-Matrix
288
-
289
- | # | Type | Factors | Initiative | Expected Effect |
290
- |---|:---:|---------|------------|------------------|
291
- | 1 | SO | S? + O? | [Action] | [Result] |
292
- | 2 | WO | W? + O? | [Action] | [Result] |
293
- | 3 | ST | S? + T? | [Action] | [Result] |
294
- | 4 | WT | W? + T? | [Action] | [Result] |
295
-
296
- ---
297
-
298
- ### Initiative Prioritization
299
-
300
- | # | Initiative | Type | Impact (0.35) | Feasib. (0.30) | Urgency (0.20) | Risk inv. (0.15) | **Score** | Zone |
301
- |---|------------|:---:|:------------:|:--------------:|:--------------:|:----------------:|:---------:|:----:|
302
- | 1 | [Initiative] | SO | X | X | X | X | **X.X** | 🎯/💎/🔧 |
303
-
304
- ---
305
-
306
- ### Strategic Verdict
307
- [1-2 paragraphs: overall appraisal of the position, CSF, key risks]
308
-
309
- ### TOP-5 Actions
310
-
311
- | # | Action | Score | Owner | Deadline | KPI |
312
- |---|----------|:-----:|---------------|------|-----|
313
- | 1 | [Action] | X.X | [Who] | [When] | [Metric] |
314
-
315
- ---
316
-
317
- ### Sources and Assumptions
318
-
319
- | # | Fact / Assumption | Source | Date | Reliability |
320
- |---|-------------------|----------|------|:-------------:|
321
- | 1 | [Fact] | [Source] | [Date] | ✅ / ⚠️ / 🔮 |
322
-
323
- Legend: ✅ Verified (2+ sources) | ⚠️ Estimated (1 source) | 🔮 Assumed (expert estimate)
324
- ```
1
+ ---
2
+ name: swot-analysis
3
+ description: Analysis of strengths, weaknesses, opportunities, and threats — with a cross-matrix and prioritization
4
+ type: triggered
5
+ domain: analytics
6
+ owners:
7
+ - strategist
8
+ gates:
9
+ - STRATEGIST
10
+ tech: []
11
+ topic: []
12
+ triggers:
13
+ - swot-analysis
14
+ - SWOT
15
+ - SWOT-анализ
16
+ - сильные слабые стороны
17
+ related: []
18
+ budget_lines: 340
19
+ schema_version: 1
20
+ ---
21
+ # SWOT Analysis Analysis of Strengths, Weaknesses, Opportunities, and Threats
22
+
23
+ ## When to Use
24
+ - When assessing the **strategic position** of a company, product, or project before making key decisions.
25
+ - When preparing for **strategic planning** — as input data for strategy formation.
26
+ - When you need to **systematically evaluate** internal capabilities and external conditions simultaneously.
27
+ - When conducting a **competitive analysis** comparing the SWOT of multiple players.
28
+
29
+ ## Input
30
+
31
+ | Field | Required | Description |
32
+ |------|:-----------:|----------|
33
+ | Analysis Subject | | Company, product, project, or department |
34
+ | Industry / Market | ✅ | Market and industry context |
35
+ | Analysis Period | ⬚ | Planning horizon (default — 1-3 years) |
36
+ | Competitors | | List of main competitors for context |
37
+ | Strategic Goals | ⬚ | Current goals and priorities of the organization |
38
+ | Constraints | | Budget, resources, regulatory framework |
39
+
40
+ > If mandatory fields are not provided **request them from the user** before starting the analysis. Do not guess.
41
+
42
+ ## Data Sources
43
+ 1. Internal reporting finances, operational metrics, HR data.
44
+ 2. Market research — market share, brand awareness, NPS.
45
+ 3. Competitive analysis — benchmarks, public competitors' reports.
46
+ 4. Macro environment — industry reports, regulatory changes, tech trends.
47
+ 5. Stakeholder feedbackinterviews, surveys, CRM data.
48
+
49
+ > Every fact must state its source and date. Data older than 12 months must be marked ⚠️.
50
+
51
+ ### Relationship with Other Skills
52
+ | Skill | What We Take | When to Call |
53
+ |------|-----------|----------------|
54
+ | `pest-analysis` | External factors → O/T: opportunities and threats from PESTEL (Steps 3-4) | If O/T are undefined — PESTEL provides a structured input |
55
+ | `competitive-analysis` | S/W relative to competitors: shares, features, moats (Steps 1-2) | If there's no data on competitive advantages/weaknesses |
56
+ | `porters-five-forces` | Threats (T) from the 5 forces: new entrants, substitutes, rivalry (Step 4) | If a structured evaluation of competitive threats is needed |
57
+ | `ansoff-matrix` | SO strategies → growth strategies (Step 5) | After the cross-matrix to detail SO initiatives |
58
+ | `web-research` | Verification of external factors, industry data | If data is missing or outdated (>12 months) |
59
+ | `blue-ocean-strategy` | WO strategies creating new space | If weaknesses block competition in the current industry |
60
+
61
+ ## Protocol
62
+
63
+ ### Step 0 Preparing Context
64
+ 1. Clarify the subject of analysis, boundaries, and horizon.
65
+ 2. Identify key stakeholders and their perspectives.
66
+ 3. Collect available data from sources.
67
+ 4. Document assumptions and limitations of the analysis.
68
+
69
+ ### Step 1 Strengths (Internal)
70
+ 1. Audit internal resources: financial, human, technological, reputational.
71
+ 2. Evaluate unique competencies and competitive advantages.
72
+ 3. Check the sustainability of each strength (is it easy to copy?).
73
+ 4. For each — scoring and evidence base:
74
+
75
+ | # | Strength | Impact (1-5) | Sustainability (1-5) | Score | Evidence | Source |
76
+ |---|----------------|:-------------:|:-------------------:|:-----:|-----------------|----------|
77
+ | S1 | [Specific formulation] | X | X | XX | [Metric / fact] | [Source] |
78
+
79
+ `Score = Impact × Sustainability`. Top factors: Score >= 12.
80
+
81
+ > **Formulation Rule:** Not "strong team," but "3 senior ML engineers with NLP experience >5 years, publications in EMNLP 2024-2025."
82
+
83
+ ### Step 2 — Weaknesses (Internal)
84
+ 1. Audit internal deficits: resources, processes, competencies, culture.
85
+ 2. Identify gaps relative to competitors and best practices.
86
+ 3. Evaluate criticality and urgency:
87
+
88
+ | # | Weakness | Criticality (1-5) | Urgency (1-5) | Score | Evidence | Source |
89
+ |---|---------------|:------------------:|:---------------:|:-----:|-----------------|----------|
90
+ | W1 | [Specific formulation] | X | X | XX | [Metric / gap] | [Source] |
91
+
92
+ `Score = Criticality × Urgency`. Top factors: Score >= 12.
93
+
94
+ 4. Identify causal links between weaknesses (does W1 cause W3?).
95
+
96
+ ### Step 3 — Opportunities (External)
97
+ 1. Scan the macro environment: market trends, tech, regulatory, demographic.
98
+ 2. If `$pest-analysis` exists — use opportunity factors (🟢) from it.
99
+ 3. Evaluate each opportunity:
100
+
101
+ | # | Opportunity | Potential (1-5) | Probability (1-5) | Window | Score | Source |
102
+ |---|-------------|:---------------:|:-----------------:|------|:-----:|----------|
103
+ | O1 | [Description] | X | X | [When it closes] | XX | [Source] |
104
+
105
+ `Score = Potential × Probability`. Top factors: Score >= 12.
106
+
107
+ ### Step 4 Threats (External)
108
+ 1. Identify external risks: competition, regulations, macroeconomics, tech.
109
+ 2. If `$pest-analysis` lies use risk factors (🔴) from it.
110
+ 3. If `$porters-five-forces` exists — use forces scoring >= 3.5.
111
+ 4. Evaluate each threat:
112
+
113
+ | # | Threat | Damage (1-5) | Probability (1-5) | Speed | Score | Source |
114
+ |---|--------|:-----------:|:-----------------:|----------|:-----:|----------|
115
+ | T1 | [Description] | X | X | Sudden / Gradual | XX | [Source] |
116
+
117
+ `Score = Damage × Probability`. Top factors: Score >= 12.
118
+
119
+ ### Step 5Cross-Impact Matrix
120
+ For each quadrant define specific strategic initiatives:
121
+
122
+ 1. **SO Strategies** (Strengths + Opportunities): How to use strengths to capture opportunities.
123
+ 2. **WO Strategies** (Weaknesses + Opportunities): How to overcome weaknesses through opportunities.
124
+ 3. **ST Strategies** (Strengths + Threats): How to use strengths to neutralize threats.
125
+ 4. **WT Strategies** (Weaknesses + Threats): How to minimize weaknesses and avoid threats.
126
+
127
+ For each initiative:
128
+
129
+ | # | Type | Factors | Initiative | Expected Effect |
130
+ |---|:---:|---------|------------|------------------|
131
+ | 1 | SO | S1 + O2 | [Specific action] | [Result: +$XM, +X% share] |
132
+
133
+ > Minimum 2 initiatives per quadrant. Each must be a concrete action, not a generic phrase.
134
+
135
+ ### Step 6 Initiative Prioritization
136
+ Evaluate each initiative using a scoring model:
137
+
138
+ | Criterion | Weight | Scale |
139
+ |----------|:---:|:-----:|
140
+ | Impact (effect on business) | 0.35 | 1-10 |
141
+ | Feasibility (realizability) | 0.30 | 1-10 |
142
+ | Urgency (time sensitivity) | 0.20 | 1-10 |
143
+ | Risk (inverted risk of failure) | 0.15 | 1-10 |
144
+
145
+ `Priority Score = Σ(weight × score)`
146
+
147
+ Matrix Impact × Effort:
148
+
149
+ | | Low Effort | High Effort |
150
+ |--|:----------:|:-----------:|
151
+ | **High Impact** | 🎯 Quick Wins (P1) | 💎 Strategic Bets (P2) |
152
+ | **Low Impact** | 🔧 Fill-ins (P3) | ❌ Avoid |
153
+
154
+ TOP-5 actions — specifying owners, deadlines, and KPIs.
155
+
156
+ ### Step 7 — Synthesis and Findings
157
+ 1. Formulate a strategic verdict: an overall appraisal of the position.
158
+ 2. Define Critical Success Factors (CSF).
159
+ 3. Log key risks and their mitigation plans.
160
+ 4. Prepare actionable recommendations within the designated horizon.
161
+ 5. Determine the review frequency (tied to the OKR cycle, typically 3-6 months).
162
+
163
+ ## Example EdTech Corporate Training Platform, RU
164
+
165
+ **Context:** B2B SaaS, corporate training platform. 50 clients, $2M ARR, RU market. Horizon: 1-3 years.
166
+
167
+ ### SWOT Matrix
168
+
169
+ **Strengths:**
170
+
171
+ | # | Factor | Impact | Sustain. | Score | Evidence |
172
+ |---|--------|:-------:|:-------:|:-----:|----------------|
173
+ | S1 | AI-personalized learning (unique in RU market) | 5 | 4 | **20** | Patent application, 3 ML engineers |
174
+ | S2 | NPS 72 (vs industry average 45) | 4 | 3 | **12** | Survey Q1 2026, N=180 |
175
+ | S3 | Time-to-deploy 3 days (vs competitors 2-4 weeks) | 4 | 4 | **16** | CRM: average of last 20 deployments |
176
+
177
+ **Weaknesses:**
178
+
179
+ | # | Factor | Critical. | Urgency | Score | Evidence |
180
+ |---|--------|:--------:|:------:|:-----:|----------------|
181
+ | W1 | No 1C integration (table stakes in RU market) | 5 | 5 | **25** | 30% of CRM rejections cite 1C |
182
+ | W2 | Sales team 3 ppl (vs 15+ at Skillbox B2B) | 4 | 4 | **16** | Headcount report |
183
+ | W3 | No mobile app | 3 | 3 | **9** | 15% of support requests |
184
+
185
+ **Opportunities:**
186
+
187
+ | # | Factor | Potential | Prob. | Score | Source |
188
+ |---|--------|:---------:|:--------:|:-----:|----------|
189
+ | O1 | Gov program "Kadry" subsidies for corp. training | 5 | 4 | **20** | Ministry of Labor, Mar 2026 |
190
+ | O2 | Talent shortage increased budgets for upskilling (+28% YoY) | 5 | 5 | **25** | HH.ru Research, 2026 |
191
+ | O3 | Exit of foreign LMS (SAP SuccessFactors, Cornerstone) | 4 | 4 | **16** | Kommersant, Feb 2026 |
192
+
193
+ **Threats:**
194
+
195
+ | # | Factor | Damage | Prob. | Score | Source |
196
+ |---|--------|:-----:|:--------:|:-----:|----------|
197
+ | T1 | Yandex Praktikum launches B2B direction | 5 | 4 | **20** | TechCrunch Russia, Jan 2026 |
198
+ | T2 | 152-FZ on personal data — stricter storage | 4 | 5 | **20** | Consultant Plus, current ed. |
199
+ | T3 | Inflation 8-10% pressure on HR budgets | 3 | 5 | **15** | Central Bank RF, 2026-2027 est. |
200
+
201
+ ### Cross-Impact Matrix
202
+
203
+ | # | Type | Factors | Initiative | Effect |
204
+ |---|:---:|---------|------------|--------|
205
+ | 1 | SO | S1 + O2 | AI module "ROI on training": prove to firms that upskilling pays off | +$1M ARR in 12 mos |
206
+ | 2 | SO | S3 + O3 | Express migration from SAP: deploy in 3 days + data import | 30 new enterprise clients |
207
+ | 3 | WO | W1 + O1 | 1C integration → access to gov subsidies (1C is mandatory for reports) | -30% rejections, +subsidies |
208
+ | 4 | WO | W2 + O2 | Hire 5 sales + affiliate program (budgets are growing, need pipeline) | ×3 pipeline |
209
+ | 5 | ST | S1 + T1 | Build AI into a strong moat: Yandex can't copy in 6 mos | Sustain differentiation |
210
+ | 6 | ST | S2 + T3 | Use high NPS for a referral program (lower CAC during inflation) | CAC -20% |
211
+ | 7 | WT | W1 + T2 | 1C integration + migration to RU servers = compliance bundle | Clear both blockers |
212
+
213
+ ### Prioritization
214
+
215
+ | # | Initiative | Type | Impact | Feasib. | Urgency | Risk inv. | **Score** | Zone |
216
+ |---|------------|:---:|:------:|:-------:|:-------:|:---------:|:---------:|:----:|
217
+ | 7 | 1C + RU servers (compliance bundle) | WT | 9 | 7 | 10 | 6 | **8.3** | 🎯 P1 |
218
+ | 3 | 1C gov subsidies | WO | 8 | 7 | 8 | 7 | **7.7** | 🎯 P1 |
219
+ | 2 | Express migration from SAP | SO | 9 | 8 | 7 | 6 | **7.8** | 🎯 P1 |
220
+ | 5 | Empower AI moat | ST | 8 | 6 | 8 | 5 | **7.0** | 💎 P2 |
221
+ | 4 | Hire 5 sales + partners | WO | 7 | 5 | 6 | 6 | **6.1** | 💎 P2 |
222
+
223
+ ### TOP-5 Actions
224
+
225
+ 1. **1C + RU servers** (Score 8.3) — CTO, Q2 2026. KPI: 0% compliance rejections.
226
+ 2. **Express migration from SAP** (Score 7.8) — Head of Sales, Q2-Q3 2026. KPI: 30 enterprise clients.
227
+ 3. **1C Integration gov subsidies** (Score 7.7) Product Lead, Q2 2026. KPI: -30% rejections.
228
+ 4. **AI-moat** (Score 7.0) — ML Team Lead, Q3-Q4 2026. KPI: 2 new AI features.
229
+ 5. **Sales expansion** (Score 6.1) — VP Sales, Q3 2026. KPI: pipeline ×3.
230
+
231
+ ## Validation (Quality Gate)
232
+
233
+ - [ ] Each SWOT quadrant has at least 3 factors with numeric scoring
234
+ - [ ] Scoring is verified: S (Impact × Sustainability), W (Criticality × Urgency), O (Potential × Probability), T (Damage × Probability)
235
+ - [ ] Factors are backed by evidence (metrics, facts, sources)
236
+ - [ ] Internal factors (S/W) strictly separated from external (O/T)
237
+ - [ ] Cross-matrix contains at least 2 initiatives per quadrant (SO/WO/ST/WT)
238
+ - [ ] Initiatives are concrete: action + expected effect (no generic phrases)
239
+ - [ ] Prioritization uses the scoring model (Impact, Feasibility, Urgency, Risk)
240
+ - [ ] TOP-5 actions specified with owner, deadline, and KPI
241
+ - [ ] No duplicated factors between quadrants
242
+ - [ ] Horizon is factored in, revision frequency established
243
+ - [ ] Data sources cited; data older than 12 mos marked with ⚠️
244
+
245
+ ## Handoff
246
+ The output of `$swot-analysis` serves as input for:
247
+ - **Strategist / Mediator** strategic position setting for strategy formulation.
248
+ - **`ansoff-matrix`** SO initiatives growth strategies.
249
+ - **`blue-ocean-strategy`** WO initiatives creating new market space.
250
+ - **`competitive-analysis`** S/W applied for competitive benchmarking.
251
+ - **`pest-analysis`** — O/T input for deepened macro-analysis.
252
+
253
+ Handoff format: SWOT matrix with scoring + cross-matrix + prioritized initiatives + TOP-5. On handoff, use `$handoff`.
254
+
255
+ ## Anti-patterns
256
+
257
+ | Error | Why it's bad | How to do it right |
258
+ |--------|-------------|---------------|
259
+ | Overly broad formulations | "Strong team" lacks actionable insight | Be specific: "3 senior ML engineers with NLP exp > 5 yrs" |
260
+ | Mixing internal and external | Blurs the analysis boundary | S/W — exclusively controllable; O/T — purely external |
261
+ | SWOT without cross-matrix | A list without a strategy is useless | SO/WO/ST/WT mapped to specific initiatives (min 2 per quad) |
262
+ | Missing prioritization | Everything is vital = nothing is vital | Scoring formula: Impact × Feasibility × Urgency × Risk |
263
+ | Unsubstantiated factors | Analysis resting on "vibes" is subjective | Every factor must map to a metric or source |
264
+ | One-off SWOT | Rapidly decays within 3-6 months | Tie to the OKR cycle, revisit every 3-6 months |
265
+ | Factors without scoring | Can't objectively weigh S1 against S3 | Numeric scoring per quadrant (e.g. Impact × Sustainability) |
266
+ | Initiatives without effect | "Improve sales" isn't actionable | Specific effect targeted: "+$1M ARR in 12 mos", "-30% rejections" |
267
+
268
+ ## Output Template
269
+
270
+ ```markdown
271
+ ## SWOT Analysis: [Analysis Subject]
272
+ **Industry:** [Industry] | **Period:** [Horizon] | **Date:** [Date]
273
+ **Next Revision:** [Next date]
274
+
275
+ ### SWOT Matrix
276
+
277
+ #### Strengths (S) Internal
278
+
279
+ | # | Factor | Impact (1-5) | Sustainability (1-5) | Score | Evidence | Source |
280
+ |---|--------|:-------------:|:-------------------:|:-----:|-----------------|----------|
281
+ | S1 | [Formulation] | X | X | XX | [Metric/fact] | [Source] |
282
+
283
+ #### Weaknesses (W) Internal
284
+
285
+ | # | Factor | Criticality (1-5) | Urgency (1-5) | Score | Evidence | Source |
286
+ |---|--------|:------------------:|:---------------:|:-----:|-----------------|----------|
287
+ | W1 | [Formulation] | X | X | XX | [Metric/gap] | [Source] |
288
+
289
+ #### Opportunities (O) External
290
+
291
+ | # | Factor | Potential (1-5) | Probability (1-5) | Window | Score | Source |
292
+ |---|--------|:---------------:|:-----------------:|------|:-----:|----------|
293
+ | O1 | [Formulation] | X | X | [When] | XX | [Source] |
294
+
295
+ #### Threats (T) — External
296
+
297
+ | # | Factor | Damage (1-5) | Probability (1-5) | Speed | Score | Source |
298
+ |---|--------|:-----------:|:-----------------:|----------|:-----:|----------|
299
+ | T1 | [Formulation] | X | X | [Type] | XX | [Source] |
300
+
301
+ ---
302
+
303
+ ### Strategy Cross-Matrix
304
+
305
+ | # | Type | Factors | Initiative | Expected Effect |
306
+ |---|:---:|---------|------------|------------------|
307
+ | 1 | SO | S? + O? | [Action] | [Result] |
308
+ | 2 | WO | W? + O? | [Action] | [Result] |
309
+ | 3 | ST | S? + T? | [Action] | [Result] |
310
+ | 4 | WT | W? + T? | [Action] | [Result] |
311
+
312
+ ---
313
+
314
+ ### Initiative Prioritization
315
+
316
+ | # | Initiative | Type | Impact (0.35) | Feasib. (0.30) | Urgency (0.20) | Risk inv. (0.15) | **Score** | Zone |
317
+ |---|------------|:---:|:------------:|:--------------:|:--------------:|:----------------:|:---------:|:----:|
318
+ | 1 | [Initiative] | SO | X | X | X | X | **X.X** | 🎯/💎/🔧 |
319
+
320
+ ---
321
+
322
+ ### Strategic Verdict
323
+ [1-2 paragraphs: overall appraisal of the position, CSF, key risks]
324
+
325
+ ### TOP-5 Actions
326
+
327
+ | # | Action | Score | Owner | Deadline | KPI |
328
+ |---|----------|:-----:|---------------|------|-----|
329
+ | 1 | [Action] | X.X | [Who] | [When] | [Metric] |
330
+
331
+ ---
332
+
333
+ ### Sources and Assumptions
334
+
335
+ | # | Fact / Assumption | Source | Date | Reliability |
336
+ |---|-------------------|----------|------|:-------------:|
337
+ | 1 | [Fact] | [Source] | [Date] | ✅ / ⚠️ / 🔮 |
338
+
339
+ Legend: ✅ Verified (2+ sources) | ⚠️ Estimated (1 source) | 🔮 Assumed (expert estimate)
340
+ ```