product-playbook 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/LICENSE +21 -0
  2. package/README.es.md +518 -0
  3. package/README.ja.md +519 -0
  4. package/README.ko.md +518 -0
  5. package/README.md +520 -0
  6. package/README.zh-CN.md +518 -0
  7. package/README.zh-TW.md +518 -0
  8. package/SKILL.md +244 -0
  9. package/commands/product-build.md +13 -0
  10. package/commands/product-dev.md +21 -0
  11. package/commands/product-full.md +13 -0
  12. package/commands/product-prd.md +14 -0
  13. package/commands/product-quick.md +13 -0
  14. package/commands/product-report.md +12 -0
  15. package/commands/product-revision.md +13 -0
  16. package/i18n/en/SKILL.md +245 -0
  17. package/i18n/en/commands/product-build.md +13 -0
  18. package/i18n/en/commands/product-dev.md +21 -0
  19. package/i18n/en/commands/product-full.md +13 -0
  20. package/i18n/en/commands/product-prd.md +14 -0
  21. package/i18n/en/commands/product-quick.md +13 -0
  22. package/i18n/en/commands/product-report.md +12 -0
  23. package/i18n/en/commands/product-revision.md +13 -0
  24. package/i18n/en/references/00-opportunity-check.md +44 -0
  25. package/i18n/en/references/01-strategy.md +90 -0
  26. package/i18n/en/references/02a-persona.md +57 -0
  27. package/i18n/en/references/02b-jtbd.md +125 -0
  28. package/i18n/en/references/02c-ost-journey.md +65 -0
  29. package/i18n/en/references/03-define.md +118 -0
  30. package/i18n/en/references/04a-prfaq.md +112 -0
  31. package/i18n/en/references/04b-solutions.md +269 -0
  32. package/i18n/en/references/04c-mvp.md +21 -0
  33. package/i18n/en/references/05a-northstar-aha.md +93 -0
  34. package/i18n/en/references/05b-pmf-gtm.md +102 -0
  35. package/i18n/en/references/05c-validation-spec.md +117 -0
  36. package/i18n/en/references/06-html-report.md +128 -0
  37. package/i18n/en/references/07a-handoff-core.md +152 -0
  38. package/i18n/en/references/07b-tasks-tickets.md +215 -0
  39. package/i18n/en/references/07c-architecture-setup.md +197 -0
  40. package/i18n/en/references/08-security-checklist.md +221 -0
  41. package/i18n/en/references/rules-build.md +152 -0
  42. package/i18n/en/references/rules-change-propagation.md +74 -0
  43. package/i18n/en/references/rules-commands.md +98 -0
  44. package/i18n/en/references/rules-context.md +291 -0
  45. package/i18n/en/references/rules-custom.md +63 -0
  46. package/i18n/en/references/rules-document-tools.md +126 -0
  47. package/i18n/en/references/rules-end-of-flow.md +150 -0
  48. package/i18n/en/references/rules-export-document.md +346 -0
  49. package/i18n/en/references/rules-file-integration.md +65 -0
  50. package/i18n/en/references/rules-full.md +66 -0
  51. package/i18n/en/references/rules-import-document.md +261 -0
  52. package/i18n/en/references/rules-product-type.md +14 -0
  53. package/i18n/en/references/rules-progress.md +60 -0
  54. package/i18n/en/references/rules-quick.md +29 -0
  55. package/i18n/en/references/rules-revision.md +64 -0
  56. package/i18n/es/SKILL.md +245 -0
  57. package/i18n/es/commands/product-build.md +13 -0
  58. package/i18n/es/commands/product-dev.md +21 -0
  59. package/i18n/es/commands/product-full.md +13 -0
  60. package/i18n/es/commands/product-prd.md +14 -0
  61. package/i18n/es/commands/product-quick.md +13 -0
  62. package/i18n/es/commands/product-report.md +12 -0
  63. package/i18n/es/commands/product-revision.md +13 -0
  64. package/i18n/es/references/00-opportunity-check.md +44 -0
  65. package/i18n/es/references/01-strategy.md +90 -0
  66. package/i18n/es/references/02a-persona.md +57 -0
  67. package/i18n/es/references/02b-jtbd.md +125 -0
  68. package/i18n/es/references/02c-ost-journey.md +65 -0
  69. package/i18n/es/references/03-define.md +118 -0
  70. package/i18n/es/references/04a-prfaq.md +114 -0
  71. package/i18n/es/references/04b-solutions.md +269 -0
  72. package/i18n/es/references/04c-mvp.md +21 -0
  73. package/i18n/es/references/05a-northstar-aha.md +93 -0
  74. package/i18n/es/references/05b-pmf-gtm.md +102 -0
  75. package/i18n/es/references/05c-validation-spec.md +117 -0
  76. package/i18n/es/references/06-html-report.md +138 -0
  77. package/i18n/es/references/07a-handoff-core.md +152 -0
  78. package/i18n/es/references/07b-tasks-tickets.md +215 -0
  79. package/i18n/es/references/07c-architecture-setup.md +197 -0
  80. package/i18n/es/references/08-security-checklist.md +221 -0
  81. package/i18n/es/references/rules-build.md +152 -0
  82. package/i18n/es/references/rules-change-propagation.md +74 -0
  83. package/i18n/es/references/rules-commands.md +98 -0
  84. package/i18n/es/references/rules-context.md +291 -0
  85. package/i18n/es/references/rules-custom.md +63 -0
  86. package/i18n/es/references/rules-document-tools.md +126 -0
  87. package/i18n/es/references/rules-end-of-flow.md +150 -0
  88. package/i18n/es/references/rules-export-document.md +346 -0
  89. package/i18n/es/references/rules-file-integration.md +65 -0
  90. package/i18n/es/references/rules-full.md +66 -0
  91. package/i18n/es/references/rules-import-document.md +261 -0
  92. package/i18n/es/references/rules-product-type.md +14 -0
  93. package/i18n/es/references/rules-progress.md +60 -0
  94. package/i18n/es/references/rules-quick.md +29 -0
  95. package/i18n/es/references/rules-revision.md +64 -0
  96. package/i18n/ja/SKILL.md +245 -0
  97. package/i18n/ja/commands/product-build.md +13 -0
  98. package/i18n/ja/commands/product-dev.md +21 -0
  99. package/i18n/ja/commands/product-full.md +13 -0
  100. package/i18n/ja/commands/product-prd.md +14 -0
  101. package/i18n/ja/commands/product-quick.md +13 -0
  102. package/i18n/ja/commands/product-report.md +12 -0
  103. package/i18n/ja/commands/product-revision.md +13 -0
  104. package/i18n/ja/references/00-opportunity-check.md +44 -0
  105. package/i18n/ja/references/01-strategy.md +90 -0
  106. package/i18n/ja/references/02a-persona.md +57 -0
  107. package/i18n/ja/references/02b-jtbd.md +125 -0
  108. package/i18n/ja/references/02c-ost-journey.md +65 -0
  109. package/i18n/ja/references/03-define.md +118 -0
  110. package/i18n/ja/references/04a-prfaq.md +111 -0
  111. package/i18n/ja/references/04b-solutions.md +269 -0
  112. package/i18n/ja/references/04c-mvp.md +21 -0
  113. package/i18n/ja/references/05a-northstar-aha.md +93 -0
  114. package/i18n/ja/references/05b-pmf-gtm.md +102 -0
  115. package/i18n/ja/references/05c-validation-spec.md +117 -0
  116. package/i18n/ja/references/06-html-report.md +126 -0
  117. package/i18n/ja/references/07a-handoff-core.md +152 -0
  118. package/i18n/ja/references/07b-tasks-tickets.md +215 -0
  119. package/i18n/ja/references/07c-architecture-setup.md +197 -0
  120. package/i18n/ja/references/08-security-checklist.md +221 -0
  121. package/i18n/ja/references/rules-build.md +152 -0
  122. package/i18n/ja/references/rules-change-propagation.md +74 -0
  123. package/i18n/ja/references/rules-commands.md +98 -0
  124. package/i18n/ja/references/rules-context.md +291 -0
  125. package/i18n/ja/references/rules-custom.md +63 -0
  126. package/i18n/ja/references/rules-document-tools.md +126 -0
  127. package/i18n/ja/references/rules-end-of-flow.md +150 -0
  128. package/i18n/ja/references/rules-export-document.md +346 -0
  129. package/i18n/ja/references/rules-file-integration.md +65 -0
  130. package/i18n/ja/references/rules-full.md +66 -0
  131. package/i18n/ja/references/rules-import-document.md +261 -0
  132. package/i18n/ja/references/rules-product-type.md +14 -0
  133. package/i18n/ja/references/rules-progress.md +60 -0
  134. package/i18n/ja/references/rules-quick.md +29 -0
  135. package/i18n/ja/references/rules-revision.md +64 -0
  136. package/i18n/ko/SKILL.md +245 -0
  137. package/i18n/ko/commands/product-build.md +13 -0
  138. package/i18n/ko/commands/product-dev.md +21 -0
  139. package/i18n/ko/commands/product-full.md +13 -0
  140. package/i18n/ko/commands/product-prd.md +14 -0
  141. package/i18n/ko/commands/product-quick.md +13 -0
  142. package/i18n/ko/commands/product-report.md +12 -0
  143. package/i18n/ko/commands/product-revision.md +13 -0
  144. package/i18n/ko/references/00-opportunity-check.md +44 -0
  145. package/i18n/ko/references/01-strategy.md +90 -0
  146. package/i18n/ko/references/02a-persona.md +57 -0
  147. package/i18n/ko/references/02b-jtbd.md +125 -0
  148. package/i18n/ko/references/02c-ost-journey.md +65 -0
  149. package/i18n/ko/references/03-define.md +118 -0
  150. package/i18n/ko/references/04a-prfaq.md +112 -0
  151. package/i18n/ko/references/04b-solutions.md +269 -0
  152. package/i18n/ko/references/04c-mvp.md +21 -0
  153. package/i18n/ko/references/05a-northstar-aha.md +93 -0
  154. package/i18n/ko/references/05b-pmf-gtm.md +102 -0
  155. package/i18n/ko/references/05c-validation-spec.md +117 -0
  156. package/i18n/ko/references/06-html-report.md +126 -0
  157. package/i18n/ko/references/07a-handoff-core.md +152 -0
  158. package/i18n/ko/references/07b-tasks-tickets.md +215 -0
  159. package/i18n/ko/references/07c-architecture-setup.md +197 -0
  160. package/i18n/ko/references/08-security-checklist.md +221 -0
  161. package/i18n/ko/references/rules-build.md +152 -0
  162. package/i18n/ko/references/rules-change-propagation.md +74 -0
  163. package/i18n/ko/references/rules-commands.md +98 -0
  164. package/i18n/ko/references/rules-context.md +291 -0
  165. package/i18n/ko/references/rules-custom.md +63 -0
  166. package/i18n/ko/references/rules-document-tools.md +126 -0
  167. package/i18n/ko/references/rules-end-of-flow.md +150 -0
  168. package/i18n/ko/references/rules-export-document.md +346 -0
  169. package/i18n/ko/references/rules-file-integration.md +65 -0
  170. package/i18n/ko/references/rules-full.md +66 -0
  171. package/i18n/ko/references/rules-import-document.md +261 -0
  172. package/i18n/ko/references/rules-product-type.md +14 -0
  173. package/i18n/ko/references/rules-progress.md +60 -0
  174. package/i18n/ko/references/rules-quick.md +29 -0
  175. package/i18n/ko/references/rules-revision.md +64 -0
  176. package/i18n/zh-CN/SKILL.md +245 -0
  177. package/i18n/zh-CN/commands/product-build.md +13 -0
  178. package/i18n/zh-CN/commands/product-dev.md +21 -0
  179. package/i18n/zh-CN/commands/product-full.md +13 -0
  180. package/i18n/zh-CN/commands/product-prd.md +14 -0
  181. package/i18n/zh-CN/commands/product-quick.md +13 -0
  182. package/i18n/zh-CN/commands/product-report.md +12 -0
  183. package/i18n/zh-CN/commands/product-revision.md +13 -0
  184. package/i18n/zh-CN/references/00-opportunity-check.md +44 -0
  185. package/i18n/zh-CN/references/01-strategy.md +90 -0
  186. package/i18n/zh-CN/references/02a-persona.md +57 -0
  187. package/i18n/zh-CN/references/02b-jtbd.md +125 -0
  188. package/i18n/zh-CN/references/02c-ost-journey.md +65 -0
  189. package/i18n/zh-CN/references/03-define.md +118 -0
  190. package/i18n/zh-CN/references/04a-prfaq.md +106 -0
  191. package/i18n/zh-CN/references/04b-solutions.md +269 -0
  192. package/i18n/zh-CN/references/04c-mvp.md +21 -0
  193. package/i18n/zh-CN/references/05a-northstar-aha.md +93 -0
  194. package/i18n/zh-CN/references/05b-pmf-gtm.md +102 -0
  195. package/i18n/zh-CN/references/05c-validation-spec.md +117 -0
  196. package/i18n/zh-CN/references/06-html-report.md +123 -0
  197. package/i18n/zh-CN/references/07a-handoff-core.md +152 -0
  198. package/i18n/zh-CN/references/07b-tasks-tickets.md +215 -0
  199. package/i18n/zh-CN/references/07c-architecture-setup.md +197 -0
  200. package/i18n/zh-CN/references/08-security-checklist.md +221 -0
  201. package/i18n/zh-CN/references/rules-build.md +152 -0
  202. package/i18n/zh-CN/references/rules-change-propagation.md +74 -0
  203. package/i18n/zh-CN/references/rules-commands.md +98 -0
  204. package/i18n/zh-CN/references/rules-context.md +291 -0
  205. package/i18n/zh-CN/references/rules-custom.md +63 -0
  206. package/i18n/zh-CN/references/rules-document-tools.md +126 -0
  207. package/i18n/zh-CN/references/rules-end-of-flow.md +150 -0
  208. package/i18n/zh-CN/references/rules-export-document.md +346 -0
  209. package/i18n/zh-CN/references/rules-file-integration.md +65 -0
  210. package/i18n/zh-CN/references/rules-full.md +66 -0
  211. package/i18n/zh-CN/references/rules-import-document.md +261 -0
  212. package/i18n/zh-CN/references/rules-product-type.md +14 -0
  213. package/i18n/zh-CN/references/rules-progress.md +60 -0
  214. package/i18n/zh-CN/references/rules-quick.md +29 -0
  215. package/i18n/zh-CN/references/rules-revision.md +64 -0
  216. package/i18n/zh-TW/SKILL.md +244 -0
  217. package/i18n/zh-TW/commands/product-build.md +13 -0
  218. package/i18n/zh-TW/commands/product-dev.md +21 -0
  219. package/i18n/zh-TW/commands/product-full.md +13 -0
  220. package/i18n/zh-TW/commands/product-prd.md +14 -0
  221. package/i18n/zh-TW/commands/product-quick.md +13 -0
  222. package/i18n/zh-TW/commands/product-report.md +12 -0
  223. package/i18n/zh-TW/commands/product-revision.md +13 -0
  224. package/i18n/zh-TW/references/00-opportunity-check.md +44 -0
  225. package/i18n/zh-TW/references/01-strategy.md +90 -0
  226. package/i18n/zh-TW/references/02a-persona.md +57 -0
  227. package/i18n/zh-TW/references/02b-jtbd.md +125 -0
  228. package/i18n/zh-TW/references/02c-ost-journey.md +65 -0
  229. package/i18n/zh-TW/references/03-define.md +118 -0
  230. package/i18n/zh-TW/references/04a-prfaq.md +106 -0
  231. package/i18n/zh-TW/references/04b-solutions.md +269 -0
  232. package/i18n/zh-TW/references/04c-mvp.md +21 -0
  233. package/i18n/zh-TW/references/05a-northstar-aha.md +93 -0
  234. package/i18n/zh-TW/references/05b-pmf-gtm.md +102 -0
  235. package/i18n/zh-TW/references/05c-validation-spec.md +117 -0
  236. package/i18n/zh-TW/references/06-html-report.md +123 -0
  237. package/i18n/zh-TW/references/07a-handoff-core.md +152 -0
  238. package/i18n/zh-TW/references/07b-tasks-tickets.md +215 -0
  239. package/i18n/zh-TW/references/07c-architecture-setup.md +197 -0
  240. package/i18n/zh-TW/references/08-security-checklist.md +221 -0
  241. package/i18n/zh-TW/references/rules-build.md +152 -0
  242. package/i18n/zh-TW/references/rules-change-propagation.md +74 -0
  243. package/i18n/zh-TW/references/rules-commands.md +98 -0
  244. package/i18n/zh-TW/references/rules-context.md +291 -0
  245. package/i18n/zh-TW/references/rules-custom.md +63 -0
  246. package/i18n/zh-TW/references/rules-document-tools.md +126 -0
  247. package/i18n/zh-TW/references/rules-end-of-flow.md +150 -0
  248. package/i18n/zh-TW/references/rules-export-document.md +346 -0
  249. package/i18n/zh-TW/references/rules-file-integration.md +65 -0
  250. package/i18n/zh-TW/references/rules-full.md +66 -0
  251. package/i18n/zh-TW/references/rules-import-document.md +261 -0
  252. package/i18n/zh-TW/references/rules-product-type.md +14 -0
  253. package/i18n/zh-TW/references/rules-progress.md +60 -0
  254. package/i18n/zh-TW/references/rules-quick.md +29 -0
  255. package/i18n/zh-TW/references/rules-revision.md +64 -0
  256. package/install.sh +418 -0
  257. package/package.json +41 -0
  258. package/references/00-opportunity-check.md +44 -0
  259. package/references/01-strategy.md +90 -0
  260. package/references/02a-persona.md +57 -0
  261. package/references/02b-jtbd.md +125 -0
  262. package/references/02c-ost-journey.md +65 -0
  263. package/references/03-define.md +118 -0
  264. package/references/04a-prfaq.md +106 -0
  265. package/references/04b-solutions.md +269 -0
  266. package/references/04c-mvp.md +21 -0
  267. package/references/05a-northstar-aha.md +93 -0
  268. package/references/05b-pmf-gtm.md +102 -0
  269. package/references/05c-validation-spec.md +117 -0
  270. package/references/06-html-report.md +123 -0
  271. package/references/07a-handoff-core.md +152 -0
  272. package/references/07b-tasks-tickets.md +215 -0
  273. package/references/07c-architecture-setup.md +197 -0
  274. package/references/08-security-checklist.md +221 -0
  275. package/references/rules-build.md +152 -0
  276. package/references/rules-change-propagation.md +74 -0
  277. package/references/rules-commands.md +98 -0
  278. package/references/rules-context.md +291 -0
  279. package/references/rules-custom.md +63 -0
  280. package/references/rules-document-tools.md +126 -0
  281. package/references/rules-end-of-flow.md +150 -0
  282. package/references/rules-export-document.md +346 -0
  283. package/references/rules-file-integration.md +65 -0
  284. package/references/rules-full.md +66 -0
  285. package/references/rules-import-document.md +261 -0
  286. package/references/rules-product-type.md +14 -0
  287. package/references/rules-progress.md +60 -0
  288. package/references/rules-quick.md +29 -0
  289. package/references/rules-revision.md +64 -0
  290. package/references/templates/prd-style.css +464 -0
  291. package/references/templates/report-style.css +114 -0
package/README.md ADDED
@@ -0,0 +1,520 @@
1
+ [English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [简体中文](README.zh-CN.md) | [Español](README.es.md) | [한국어](README.ko.md)
2
+
3
+ # 🎯 The Product Playbook
4
+
5
+ **World-class product planning AI Skill — from idea to development, one framework to rule them all**
6
+
7
+ [![npm version](https://img.shields.io/npm/v/product-playbook.svg)](https://www.npmjs.com/package/product-playbook)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+ [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
10
+ [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
11
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
12
+ [![i18n](https://img.shields.io/badge/i18n-6%20languages-green)](README.md)
13
+
14
+ > Integrates the most impactful PM frameworks from Lenny's Podcast (Teresa Torres, Shreyas Doshi, Gibson Biddle, April Dunford, Todd Jackson, Marty Cagan, Richard Rumelt, and more) — turning AI into your senior product manager coach.
15
+
16
+ ---
17
+
18
+ ## ✨ What Is This?
19
+
20
+ The Product Playbook is a **Claude AI Skill** that systematically guides you through end-to-end product planning, from zero to one. It is not just a prompt — it is a complete interactive framework guidance system that includes:
21
+
22
+ - 🧭 **6 execution modes** — from 30-minute rapid validation to full-blown product plans (including a feature expansion fast track)
23
+ - 📐 **22 product frameworks** — covering the entire Discovery → Define → Develop → Deliver pipeline
24
+ - 🔄 **Change propagation engine** — modify any step and all downstream outputs update automatically
25
+ - 📎 **Smart file integration** — upload data, screenshots, or documents; the AI automatically integrates them into the relevant step
26
+ - 🔗 **Dev handoff** — generates CLAUDE.md + TASKS.md + TICKETS.md for seamless handoff to Claude Code development
27
+ - 📊 **Multi-format output** — PDF (with bookmarks), HTML reports, Word docs, PowerPoint decks, dev handoff packages
28
+ - 📄 **Smart document import** — three-layer PDF parsing (text extraction → Claude Vision → OCR fallback), DOCX/PPTX support
29
+
30
+ **Trigger the entire flow with a single sentence:**
31
+
32
+ ```
33
+ I want to build a product
34
+ ```
35
+
36
+ ---
37
+
38
+ ## 🎬 Demo
39
+
40
+ <p align="center">
41
+ <img src="assets/demo-build-en.gif" alt="The Product Playbook Demo — Build Mode" width="800">
42
+ </p>
43
+
44
+ > The demo above shows **Build Mode**: describe your requirements → scan codebase → detect tech stack → apply frameworks for problem clarification, then jump straight into solution design.
45
+
46
+ ---
47
+
48
+ ## 🚀 Quick Start
49
+
50
+ ### Option 1: Claude.ai Custom Skill
51
+
52
+ 1. Download this repo as a zip file
53
+ 2. Go to [Claude.ai](https://claude.ai) → Settings → Custom Skills
54
+ 3. Upload the entire `product-playbook/` folder
55
+ 4. Say "I want to build a product" in a conversation to trigger the skill
56
+
57
+ ### Option 2: Claude Code Skill (Recommended)
58
+
59
+ > 💡 To update: simply re-run the install command to overwrite with the latest version.
60
+
61
+ | Method | Best for | Requirements |
62
+ |--------|----------|-------------|
63
+ | ① Copy & Paste | Beginners | Just open Claude Code |
64
+ | ② One-line install | Developers | Terminal |
65
+ | ③ Manual install | Custom paths | Terminal + git |
66
+
67
+ #### ① Copy & Paste Install (Easiest)
68
+
69
+ After launching Claude Code, paste the following and Claude will handle the installation automatically:
70
+
71
+ ```
72
+ Please run the following commands to install (or update) product-playbook skill,
73
+ and tell me the result when done:
74
+
75
+ git clone https://github.com/kaminoikari/product-playbook.git /tmp/product-playbook
76
+ mkdir -p ~/.claude/skills ~/.claude/commands
77
+ cp -r /tmp/product-playbook ~/.claude/skills/product-playbook
78
+ cp /tmp/product-playbook/commands/* ~/.claude/commands/
79
+ rm -rf /tmp/product-playbook
80
+ ```
81
+
82
+ #### ② One-line Install (Terminal)
83
+
84
+ ```bash
85
+ # curl
86
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/product-playbook/main/install.sh | bash
87
+
88
+ # npx (requires Node.js)
89
+ npx product-playbook
90
+ ```
91
+
92
+ Uninstall:
93
+
94
+ ```bash
95
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/product-playbook/main/install.sh | bash -s -- --uninstall
96
+ # or
97
+ npx product-playbook --uninstall
98
+ ```
99
+
100
+ #### ③ Manual Install
101
+
102
+ ```bash
103
+ git clone https://github.com/kaminoikari/product-playbook.git
104
+ mkdir -p ~/.claude/skills ~/.claude/commands
105
+ cp -r product-playbook ~/.claude/skills/product-playbook
106
+ cp product-playbook/commands/* ~/.claude/commands/
107
+ ```
108
+
109
+ Once installed, trigger in Claude Code:
110
+
111
+ ```bash
112
+ # Main skill command
113
+ > /product-playbook
114
+
115
+ # Slash Commands (available after install)
116
+ > /product-quick I want to build an expense tracking app
117
+ > /product-full a pet social platform
118
+ > /product-revision redesign our e-commerce checkout flow
119
+
120
+ # Or natural language
121
+ > I want to plan a product
122
+ > Analyze my product using JTBD
123
+ > Help me plan an MVP
124
+ ```
125
+
126
+ ---
127
+
128
+ ## 📦 File Structure
129
+
130
+ ```
131
+ product-playbook/
132
+ ├── SKILL.md # Core engine: mode definitions, step sequences, command system
133
+ ├── LICENSE # MIT License
134
+ ├── README.md # English README (this file)
135
+ ├── README.zh-TW.md # Traditional Chinese README
136
+ ├── assets/
137
+ │ └── demo.gif # README demo animation
138
+ ├── commands/ # Claude Code CLI Slash Commands (optional install)
139
+ │ ├── product-quick.md # /product-quick — Quick mode
140
+ │ ├── product-full.md # /product-full — Full mode
141
+ │ ├── product-revision.md # /product-revision — Revision mode
142
+ │ ├── product-build.md # /product-build — Build mode
143
+ │ ├── product-prd.md # /product-prd — Generate PRD
144
+ │ ├── product-report.md # /product-report — Generate HTML report
145
+ │ └── product-dev.md # /product-dev — Generate dev handoff package
146
+ └── references/
147
+ ├── 00-opportunity-check.md # Opportunity assessment + DHM Model
148
+ ├── 01-strategy.md # Strategy Blocks + Rumelt + OKR
149
+ ├── 02-discovery.md # Persona + JTBD + OST + Journey Map
150
+ ├── 03-define.md # Pain points + Positioning + HMW + Opportunity assessment
151
+ ├── 04-develop.md # PR-FAQ + Pre-mortem + RICE + MVP + PRD
152
+ ├── 05-deliver.md # North Star + PMF + GTM + Business model + Product spec
153
+ ├── 06-html-report.md # HTML planning report output spec
154
+ ├── 07-dev-handoff.md # Dev handoff: CLAUDE.md + TASKS.md + Architecture
155
+ ├── 08-security-checklist.md # OWASP Top 10 + CORS + CSP + Security architecture
156
+ ├── rules-context.md # Cross-session product context accumulation rules
157
+ ├── rules-document-tools.md # Document conversion tool dependency management
158
+ ├── rules-import-document.md # Three-layer PDF parsing + DOCX/PPTX import
159
+ ├── rules-export-document.md # Multi-format export (PDF/DOCX/PPTX)
160
+ ├── rules-*.md # Mode step rules + progress/change/file integration rules
161
+ └── templates/
162
+ ├── prd-style.css # Professional print-grade CSS for PDF export
163
+ └── report-style.css # Print optimization CSS for HTML report → PDF
164
+ ```
165
+
166
+ ---
167
+
168
+ ## 🧭 Six Execution Modes
169
+
170
+ | Mode | Steps | Duration | Best for |
171
+ |------|-------|----------|----------|
172
+ | 🚀 **Quick Mode** | 3 steps | ~30 min | Rapid idea validation, pitch prep |
173
+ | 📦 **Full Mode** | 20 steps | Several hours | New product planning, major revamps |
174
+ | 🔄 **Revision Mode** | 12 steps | 1-2 hours | Iterating on existing products |
175
+ | ✏️ **Custom Mode** | 4-16 steps | Varies | Filling specific gaps |
176
+ | ⚡ **Build Mode** | 7 steps | ~1 hour | Problem is known, jump to solutions |
177
+ | 🔧 **Feature Expansion** | 4 steps | ~30 min | Adding a single feature to an existing product |
178
+
179
+ ---
180
+
181
+ ## 📐 Frameworks Included
182
+
183
+ ### Understanding Users
184
+ | Framework | Creator | Purpose |
185
+ |-----------|---------|---------|
186
+ | JTBD (Jobs to Be Done) | Clayton Christensen | Uncover the real job users are trying to get done |
187
+ | Persona | — | Task/motivation-driven user archetypes |
188
+ | User Journey Map | — | End-to-end user experience mapping |
189
+ | Continuous Discovery | Teresa Torres | Weekly habit of talking to users |
190
+ | OST (Opportunity Solution Tree) | Teresa Torres | Systematically connect opportunities to solutions |
191
+
192
+ ### Defining the Problem
193
+ | Framework | Creator | Purpose |
194
+ |-----------|---------|---------|
195
+ | Positioning | April Dunford | Competitive context and differentiation |
196
+ | HMW (How Might We) | — | Transform pain points into design challenges |
197
+
198
+ ### Solution Design
199
+ | Framework | Creator | Purpose |
200
+ |-----------|---------|---------|
201
+ | Working Backwards / PR-FAQ | Amazon | Start from the customer outcome and work backwards |
202
+ | Pre-mortem | Shreyas Doshi | Predict and prevent failure before it happens |
203
+ | GEM Model | Gibson Biddle | Growth / Engagement / Monetization prioritization |
204
+ | RICE Scoring | Intercom | Quantitative feature prioritization |
205
+ | MVP Definition | — | Minimum viable product scoping |
206
+
207
+ ### Strategy
208
+ | Framework | Creator | Purpose |
209
+ |-----------|---------|---------|
210
+ | Strategy Blocks | Chandra Janakiraman | Mission → Vision → Strategy hierarchy |
211
+ | Good Strategy Kernel | Richard Rumelt | Diagnosis → Guiding policy → Coherent action |
212
+ | DHM Model | Gibson Biddle | Delight / Hard to copy / Margin-enhancing |
213
+ | Empowered Teams | Marty Cagan | Empowered teams vs. feature teams |
214
+
215
+ ### Measurement & Delivery
216
+ | Framework | Creator | Purpose |
217
+ |-----------|---------|---------|
218
+ | North Star Metric | Sean Ellis / Amplitude | Single metric representing core user value |
219
+ | Four-level PMF Framework | Todd Jackson | Assessing product-market fit |
220
+ | Sean Ellis Score | Sean Ellis | Quantifying PMF enthusiasm |
221
+ | GTM Strategy | — | Go-to-market launch and acquisition |
222
+ | Business Model & Pricing | — | Revenue model selection and value-based pricing |
223
+
224
+ ---
225
+
226
+ ## 🔑 Key Features
227
+
228
+ ### 📎 Smart File Integration
229
+
230
+ Upload supplementary files at any step — the AI automatically identifies and integrates them:
231
+
232
+ | Upload | Auto-integrated into |
233
+ |--------|---------------------|
234
+ | Competitor screenshots | Positioning analysis |
235
+ | Interview transcripts | Persona + JTBD |
236
+ | User data CSV | Opportunity assessment + PMF evaluation |
237
+ | Market report PDF | Opportunity assessment + Strategy |
238
+ | Existing PRD | Revision mode + MVP |
239
+
240
+ ### 🔄 Change Propagation Engine
241
+
242
+ Modify any upstream step and downstream outputs update automatically:
243
+
244
+ ```
245
+ Modify JTBD → auto-updates HMW, Positioning, PR-FAQ, North Star, Product Spec Summary
246
+ Modify MVP → auto-updates User Stories, DB Schema, Product Spec Summary
247
+ ```
248
+
249
+ ### 🔗 Dev Handoff
250
+
251
+ Generate a complete dev handoff package and kick off Claude Code development with a single command:
252
+
253
+ ```
254
+ 📦 Dev Handoff Package
255
+ ├── CLAUDE.md → Claude Code project memory
256
+ ├── TASKS.md → Feature breakdown + phased delivery
257
+ ├── TICKETS.md → Ticket list (ready for Jira/Asana/Linear)
258
+ ├── docs/
259
+ │ ├── PRD.md → Full PRD
260
+ │ ├── ARCHITECTURE.md → DB Schema + API + directory structure
261
+ │ └── PRODUCT-SPEC.md → Product spec summary
262
+ └── scripts/
263
+ └── setup.sh → One-click initialization script
264
+ ```
265
+
266
+ ```bash
267
+ # Start development in Claude Code with a single command
268
+ > Please read CLAUDE.md and TASKS.md, start executing Phase 0
269
+ ```
270
+
271
+ ### 📄 Document Import & Export
272
+
273
+ **Import** any existing document into the planning flow — no manual copy-paste:
274
+
275
+ ```
276
+ PDF (digital) → pymupdf text extraction (instant, free)
277
+ PDF (vector/scan) → Claude Vision semantic parsing (best quality)
278
+ PDF (fallback) → Tesseract OCR (offline capable)
279
+ DOCX / PPTX → Pandoc conversion
280
+ ```
281
+
282
+ **Export** planning outputs to professional formats:
283
+
284
+ ```
285
+ /export pdf → Playwright rendering + pikepdf bookmarks (CJK-perfect)
286
+ /export docx → Pandoc + reference template
287
+ /export pptx → Pandoc slide generation
288
+ /export html → Interactive HTML report (existing)
289
+ ```
290
+
291
+ > **Why PDF via Playwright?** WeasyPrint produces garbled CJK text. Playwright (Chromium) renders perfectly — verified in production with Traditional Chinese documents.
292
+
293
+ ### 🔥 Plan Directly on Existing Systems (Build Mode Killer Feature)
294
+
295
+ Launch **Build Mode** inside an existing project directory — Claude Code reads your codebase while doing product planning, effectively merging **product planning** and **technical feasibility assessment** into a single flow:
296
+
297
+ ```
298
+ Your Existing Project Product Playbook
299
+ ┌─────────────────┐ ┌─────────────────────┐
300
+ │ src/ │ ← auto-scan → │ Pre-mortem risk │
301
+ │ db/schema.sql │ ← auto-scan → │ MVP scoping │
302
+ │ api/routes/ │ ← auto-scan → │ RICE prioritization │
303
+ │ package.json │ ← auto-scan → │ User Story breakdown │
304
+ │ CLAUDE.md │ ← auto-scan → │ Dev handoff (delta) │
305
+ └─────────────────┘ └─────────────────────┘
306
+ ```
307
+
308
+ **Usage example:**
309
+
310
+ ```bash
311
+ # 1. Navigate to your existing project
312
+ cd /path/to/your-existing-project
313
+
314
+ # 2. Launch Claude Code
315
+ claude
316
+
317
+ # 3. Use Build Mode and describe the feature you want to add
318
+ > /product-build I want to add real-time notifications to my existing system
319
+ ```
320
+
321
+ Claude Code will automatically:
322
+ - Scan your directory structure, tech stack, and DB schema
323
+ - Run Pre-mortem based on your **real architecture** (not hypothetical risks)
324
+ - Generate MVP and User Stories that plug directly into existing modules
325
+ - Produce a dev handoff package as an **incremental plan**, not a greenfield build
326
+
327
+ > 💡 **Why is this powerful?** Traditional product planning and technical assessment are separate processes — PMs write specs, toss them to engineers, and engineers say "this can't be done." Build Mode grounds the planning process in real system constraints, eliminating the back-and-forth.
328
+
329
+ ### 🔒 Security Built In
330
+
331
+ Dev handoff packages automatically include security architecture — no afterthought patching:
332
+
333
+ - **OWASP Top 10 checklist** — input validation, authentication/authorization, XSS/CSRF protection
334
+ - **Security architecture section** — CORS policies, CSP headers, rate limiting, API security middleware
335
+ - **.gitignore template** — auto-excludes `.env`, credentials, progress files
336
+ - **Pre-mortem security scenarios** — data breaches, account takeovers, API abuse as mandatory considerations
337
+
338
+ ### 📦 Cross-Session Product Context Accumulation
339
+
340
+ Planning outputs are automatically saved to `.product-context.md` and loaded on the next session:
341
+
342
+ ```
343
+ 1st session (Full Mode) → saves Identity + Core Strategy + Architecture
344
+ 2nd session (Feature Expansion) → auto-loads tech stack and modules, skipping redundant collection
345
+ 3rd session (Revision Mode) → carries forward historical decisions and known pain points, focusing on deltas
346
+ ```
347
+
348
+ ### 🏢 Automatic B2B / B2C Adaptation
349
+
350
+ Once the product type is confirmed, frameworks auto-adapt:
351
+
352
+ | Aspect | B2C | B2B |
353
+ |--------|-----|-----|
354
+ | Persona | Individual motivation segmentation | Buyer + User dual Persona |
355
+ | PMF | DAU / Retention / Sean Ellis | Paying customers / NRR / NPS |
356
+ | North Star | Core action completion count | ARR / Net Revenue Retention |
357
+ | Aha Moment | Within first use | Onboarding / Time-to-Value |
358
+
359
+ ---
360
+
361
+ ## 📊 Quality Benchmark Results
362
+
363
+ By comparing response quality between "with Skill guidance" and "without Skill guidance" using automated AI grading, we quantify the real impact of the Skill.
364
+
365
+ ### Four Iterations Compared
366
+
367
+ | Iteration | Test Items | With Skill Pass Rate | Without Skill Pass Rate | Delta |
368
+ |-----------|:--------:|:-------------------:|:----------------------:|:-----:|
369
+ | Iteration 1 (Baseline) | 6 | 100% | 57.4% | +42.6% |
370
+ | Iteration 2 | 6 | 100% | 63.3% | +36.7% |
371
+ | Iteration 3 | 6 | 94.1% | 38.2% | +55.9% |
372
+ | **Iteration 4 (Latest)** | **9** | **100%** | **31%** | **+69% ✅** |
373
+
374
+ ### Iteration 4 Detailed Results (9 tests × 49 expectations)
375
+
376
+ | Test Item | With Skill | Without Skill | Delta |
377
+ |-----------|:--------:|:------------:|:-----:|
378
+ | Mode Selection (3-step progressive) | 100% | 0% | +100% |
379
+ | Quick Mode JTBD Analysis | 100% | 43% | +57% |
380
+ | JTBD Depth (B2B org-level) | 100% | 57% | +43% |
381
+ | PR-FAQ Writing | 100% | 33% | +67% |
382
+ | Revision Mode | 100% | 67% | +33% |
383
+ | Quality Self-check Hard Gate | 100% | 0% | +100% |
384
+ | **Feature Expansion Mode (New)** | **100%** | **17%** | **+83%** |
385
+ | **Security Integration (New)** | **100%** | **25%** | **+75%** |
386
+ | **Context Bootstrap (New)** | **100%** | **0%** | **+100%** |
387
+
388
+ ### Key Findings
389
+
390
+ - **Quality Self-check Hard Gate** (+100%): Whether the AI proactively critiques its own output with strict standards, flags gaps, and demands improvement after completing a deliverable — 0% pass rate without the Skill
391
+ - **Context Bootstrap** (+100%): Whether the AI collects foundational product information before starting to plan, rather than jumping straight into technical implementation — completely skipped without the Skill
392
+ - **Feature Expansion Mode** (+83%): Whether the AI recognizes "adding a feature to an existing product" scenarios and activates a streamlined 4-step flow instead of the full 7-12 steps — without the Skill, it jumps straight to technical solutions
393
+ - **Security Integration** (+75%): Whether the dev handoff includes security architecture, .gitignore templates, and platform-specific security measures — without the Skill, security is reduced to a single summary table
394
+
395
+ > See [`evals/`](./evals/) for detailed methodology and data.
396
+
397
+ ---
398
+
399
+ ## 💬 Available Commands
400
+
401
+ ### ⌨️ Claude Code CLI Slash Commands
402
+
403
+ The main command available after installing the Skill:
404
+
405
+ | Command | Description |
406
+ |---------|-------------|
407
+ | `/product-playbook` | Launch the full product planning guided flow |
408
+
409
+ For more granular shortcuts, install the pre-built slash commands from the `commands/` folder:
410
+
411
+ ```bash
412
+ # Install all slash commands
413
+ cp -r product-playbook/commands/* ~/.claude/commands/
414
+ ```
415
+
416
+ | Command | Description |
417
+ |---------|-------------|
418
+ | `/product-quick <description>` | Quick Mode — run through JTBD → PR-FAQ → North Star in under 30 min |
419
+ | `/product-full <description>` | Full Mode — complete 20-step product plan |
420
+ | `/product-revision <description>` | Revision Mode — iterate and optimize an existing product |
421
+ | `/product-build <description>` | Build Mode — skip Discovery, jump straight to solutions |
422
+ | `/product-prd` | Generate PRD engineering handoff package |
423
+ | `/product-report` | Generate HTML planning report |
424
+ | `/product-dev` | Generate dev handoff package (CLAUDE.md + TASKS.md + TICKETS.md) |
425
+
426
+ ### 💬 Natural Language Commands in Conversation
427
+
428
+ #### Flow Control
429
+ - `Switch to [framework]` — immediately switch frameworks
430
+ - `Skip this step` — skip the current step
431
+ - `Go back to [step name]` — return to any step to modify it
432
+ - `Simplify this` / `Expand on this` — adjust depth
433
+
434
+ #### Output Commands
435
+ - `Generate report` — HTML planning report
436
+ - `Generate PRD` — engineering handoff (includes flowcharts + DB Schema + wireframes)
437
+ - `Generate deck` — PowerPoint presentation
438
+ - `Start development` — dev handoff package (CLAUDE.md + TASKS.md)
439
+ - `/export pdf` — export as PDF with professional typography, cover page, TOC, and bookmarks
440
+ - `/export docx` — export as Word document
441
+ - `/export pptx` — export as PowerPoint slides
442
+ - `/parse [file]` — parse a PDF/DOCX/PPTX into Markdown for planning use
443
+
444
+ #### Analysis Commands
445
+ - `Run a completeness check` — assess planning coverage
446
+ - `Identify assumptions` — list unvalidated assumptions
447
+ - `Run a Pre-mortem` — pre-mortem analysis
448
+ - `What PMF level is this product at?` — PMF assessment
449
+ - `Find the bottleneck` — Aha Moment obstacle analysis
450
+
451
+ ---
452
+
453
+ ## 🤝 Contributing
454
+
455
+ Contributions are welcome! Here are some areas where help is especially appreciated:
456
+
457
+ - 🌍 **Multi-language support** — translate frameworks into other languages
458
+ - 📐 **New frameworks** — add more product management frameworks
459
+ - 📝 **Examples** — add more worked examples to each framework
460
+ - 🐛 **Bug reports** — logic issues or gaps found during use
461
+ - 💡 **UX improvements** — suggestions for interaction flow and command design
462
+
463
+ ### How to Contribute
464
+
465
+ 1. Fork this repo
466
+ 2. Create your feature branch (`git checkout -b feature/amazing-framework`)
467
+ 3. Commit your changes (`git commit -m 'feat: add amazing framework'`)
468
+ 4. Push to the branch (`git push origin feature/amazing-framework`)
469
+ 5. Open a Pull Request
470
+
471
+ ### Contribution Guidelines
472
+
473
+ - Framework content in reference files must cite sources
474
+ - New frameworks must include updates to SKILL.md's framework index and step sequences
475
+ - Quality self-check lists use ✅ / ❌ format
476
+ - Multi-language support: maintain both English and Traditional Chinese versions
477
+
478
+ ---
479
+
480
+ ## 📚 Framework Sources & Further Reading
481
+
482
+ The frameworks in this project are synthesized from the public work of these thought leaders:
483
+
484
+ | Thought Leader | Core Contribution | Recommended Reading |
485
+ |----------------|-------------------|---------------------|
486
+ | Teresa Torres | Continuous Discovery, OST | *Continuous Discovery Habits* |
487
+ | Shreyas Doshi | LNO, Pre-mortem, Three Levels of Product Work | Lenny's Podcast Ep.3 |
488
+ | Gibson Biddle | DHM Model, GEM | Lenny's Podcast |
489
+ | April Dunford | Positioning Framework | *Obviously Awesome* |
490
+ | Todd Jackson | Four-level PMF, Four P's | Lenny's Podcast |
491
+ | Richard Rumelt | Good Strategy / Bad Strategy | *Good Strategy Bad Strategy* |
492
+ | Marty Cagan | Empowered Teams | *Inspired*, *Empowered* |
493
+ | Clayton Christensen | Jobs to Be Done | *Competing Against Luck* |
494
+ | Amazon | Working Backwards / PR-FAQ | *Working Backwards* |
495
+ | Sean Ellis | Sean Ellis Score, Growth | *Hacking Growth* |
496
+ | Lenny Rachitsky | Shape / Ship / Synchronize | Lenny's Newsletter + Podcast |
497
+
498
+ ---
499
+
500
+ ## 📄 License
501
+
502
+ This project is licensed under the [MIT License](LICENSE) — free to use, modify, and distribute without restriction.
503
+
504
+ ---
505
+
506
+ ## ⭐ Star History
507
+
508
+ If this project helps you, give it a ⭐ so more people can find it!
509
+
510
+ [![Star History Chart](https://api.star-history.com/svg?repos=kaminoikari/product-playbook&type=Date)](https://star-history.com/#kaminoikari/product-playbook&Date)
511
+
512
+ ---
513
+
514
+ <p align="center">
515
+ <strong>Built with ❤️ for Product Managers who want to build things that matter.</strong>
516
+ </p>
517
+
518
+ ---
519
+
520
+ Copyright (c) 2026 Charles Chen.