the-product-playbook 2.2.0 → 2.3.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.
package/README.es.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **Skill de IA de planificación de producto de clase mundial — de la idea al desarrollo, un framework para gobernarlos a todos**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
14
  > Integra los frameworks de PM de mayor impacto de Lenny's Podcast (Teresa Torres, Shreyas Doshi, Gibson Biddle, April Dunford, Todd Jackson, Marty Cagan, Richard Rumelt, y otros) — convirtiendo a la IA en tu coach senior de product management.
13
15
 
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang es
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx (requiere Node.js)
86
- npx the-product-playbook --lang es
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  Desinstalar:
package/README.ja.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **世界トップクラスのプロダクト企画AIスキル — アイデアから開発まで、すべてを網羅するフレームワーク**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
14
  > Lenny's Podcastの最もインパクトのあるPMフレームワーク(Teresa Torres、Shreyas Doshi、Gibson Biddle、April Dunford、Todd Jackson、Marty Cagan、Richard Rumeltなど)を統合 — AIをあなたのシニアプロダクトマネージャーコーチに変えます。
13
15
 
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang ja
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx(Node.jsが必要)
86
- npx the-product-playbook --lang ja
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  アンインストール:
package/README.ko.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **세계 수준의 제품 기획 AI 스킬 — 아이디어에서 개발까지, 하나의 프레임워크로 모든 것을**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
14
  > Lenny's Podcast에서 소개된 가장 영향력 있는 PM 프레임워크(Teresa Torres, Shreyas Doshi, Gibson Biddle, April Dunford, Todd Jackson, Marty Cagan, Richard Rumelt 등)를 통합하여 — AI를 당신의 시니어 프로덕트 매니저 코치로 변환합니다.
13
15
 
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang ko
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx (Node.js 필요)
86
- npx the-product-playbook --lang ko
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  제거:
package/README.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **World-class product planning AI Skill — from idea to development, one framework to rule them all**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
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.
13
15
 
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang en
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx (requires Node.js)
86
- npx the-product-playbook --lang en
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  Uninstall:
package/README.zh-CN.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **世界级产品规划 AI Skill — 从 Idea 到开发,一套框架全搞定**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
14
  > 整合 Lenny's Podcast 历来最重要的 PM 框架(Teresa Torres、Shreyas Doshi、Gibson Biddle、April Dunford、Todd Jackson、Marty Cagan、Richard Rumelt 等),让 AI 成为你的资深产品经理教练。
13
15
 
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang zh-CN
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx(需要 Node.js)
86
- npx the-product-playbook --lang zh-CN
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  解除安装:
package/README.zh-TW.md CHANGED
@@ -4,10 +4,12 @@
4
4
 
5
5
  **世界級產品規劃 AI Skill — 從 Idea 到開發,一套框架全搞定**
6
6
 
7
+ [![npm version](https://img.shields.io/npm/v/the-product-playbook.svg)](https://www.npmjs.com/package/the-product-playbook)
7
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
9
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet)](https://code.claude.com)
9
10
  [![Claude.ai](https://img.shields.io/badge/Claude.ai-Custom%20Skill-blue)](https://claude.ai)
10
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)
11
13
 
12
14
  > 整合 Lenny's Podcast 歷來最重要的 PM 框架(Teresa Torres、Shreyas Doshi、Gibson Biddle、April Dunford、Todd Jackson、Marty Cagan、Richard Rumelt 等),讓 AI 成為你的資深產品經理教練。
13
15
 
@@ -35,7 +37,7 @@ The Product Playbook 是一個 **Claude AI Skill**,能夠系統性地引導你
35
37
  ## 🎬 Demo
36
38
 
37
39
  <p align="center">
38
- <img src="assets/demo-build.gif" alt="The Product Playbook Demo — Build Mode" width="800">
40
+ <img src="assets/demo-build-zh-TW.gif" alt="The Product Playbook Demo — Build Mode" width="800">
39
41
  </p>
40
42
 
41
43
  > 上圖展示**直接實作模式**:輸入需求 → 掃描 codebase → 偵測技術棧 → 引用框架進行問題釐清,直接進入解法設計。
@@ -80,10 +82,10 @@ rm -rf /tmp/the-product-playbook
80
82
 
81
83
  ```bash
82
84
  # curl
83
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang zh-TW
85
+ curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash
84
86
 
85
87
  # npx(需要 Node.js)
86
- npx the-product-playbook --lang zh-TW
88
+ npx the-product-playbook
87
89
  ```
88
90
 
89
91
  解除安裝:
@@ -131,7 +133,7 @@ the-product-playbook/
131
133
  ├── README.md # English README
132
134
  ├── README.zh-TW.md # 繁體中文 README(本文件)
133
135
  ├── assets/
134
- │ └── demo.gif # README 動態展示圖
136
+ │ └── demo-build-zh-TW.gif # README 動態展示圖
135
137
  ├── commands/ # Claude Code CLI Slash Commands(可選安裝)
136
138
  │ ├── product-quick.md # /product-quick — 快速模式
137
139
  │ ├── product-full.md # /product-full — 完整模式
package/i18n/en/SKILL.md CHANGED
@@ -38,11 +38,7 @@ If the user writes in a different language:
38
38
  - **Español** → Ask (in Spanish): "La versión instalada es en inglés. ¿Desea cambiar a español? Puedo instalarlo automáticamente."
39
39
  - **한국어** → Ask (in Korean): "현재 영어 버전이 설치되어 있습니다. 한국어 버전으로 전환하시겠습니까? 자동으로 설치할 수 있습니다."
40
40
 
41
- If the user confirms, execute:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- Then re-read the newly installed SKILL.md and continue from the beginning.
41
+ If the user confirms, read and follow `i18n/[detected_lang_code]/SKILL.md` from the skill installation directory instead of this file. All languages are pre-installed — no download needed.
46
42
 
47
43
  If the user declines, continue in the current language (English).
48
44
 
package/i18n/es/SKILL.md CHANGED
@@ -38,11 +38,7 @@ Si el usuario escribe en un idioma diferente:
38
38
  - **简体中文** → Ask (in Chinese): "当前安装的是西班牙语版。是否要切换到简体中文版?我可以直接帮你安装。"
39
39
  - **한국어** → Ask (in Korean): "현재 스페인어 버전이 설치되어 있습니다. 한국어 버전으로 전환하시겠습니까? 자동으로 설치할 수 있습니다."
40
40
 
41
- Si el usuario confirma, ejecutar:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- Luego volver a leer el SKILL.md recién instalado y continuar desde el principio.
41
+ Si el usuario confirma, lea y siga `i18n/[código_idioma_detectado]/SKILL.md` del directorio de instalación. Todos los idiomas están preinstalados — no se necesita descarga.
46
42
 
47
43
  Si el usuario declina, continuar en el idioma actual (Español).
48
44
 
package/i18n/ja/SKILL.md CHANGED
@@ -38,11 +38,7 @@ description: |
38
38
  - **Español** → Ask (in Spanish): "La versión instalada es en japonés. ¿Desea cambiar a español? Puedo instalarlo automáticamente."
39
39
  - **한국어** → Ask (in Korean): "현재 일본어 버전이 설치되어 있습니다. 한국어 버전으로 전환하시겠습니까? 자동으로 설치할 수 있습니다."
40
40
 
41
- ユーザーが確認した場合、以下を実行:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- 新しくインストールされたSKILL.mdを再読み込みし、最初からやり直してください。
41
+ ユーザーが確認した場合、インストールディレクトリの `i18n/[検出された言語コード]/SKILL.md` を直接読み込んで従ってください。全言語がプリインストール済みで、ダウンロードは不要です。
46
42
 
47
43
  ユーザーが辞退した場合、現在の言語(日本語)で続行してください。
48
44
 
package/i18n/ko/SKILL.md CHANGED
@@ -38,11 +38,7 @@ description: |
38
38
  - **简体中文** → Ask (in Chinese): "当前安装的是韩语版。是否要切换到简体中文版?我可以直接帮你安装。"
39
39
  - **Español** → Ask (in Spanish): "La versión instalada es en coreano. ¿Desea cambiar a español? Puedo instalarlo automáticamente."
40
40
 
41
- 사용자가 확인하면 다음을 실행:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- 새로 설치된 SKILL.md를 다시 읽고 처음부터 시작하세요.
41
+ 사용자가 확인하면 설치 디렉토리의 `i18n/[감지된_언어_코드]/SKILL.md`를 직접 읽고 따르세요. 모든 언어가 사전 설치되어 있어 다운로드가 필요 없습니다.
46
42
 
47
43
  사용자가 거절하면 현재 언어(한국어)로 계속 진행하세요.
48
44
 
@@ -38,11 +38,7 @@ description: |
38
38
  - **Español** → Ask (in Spanish): "La versión instalada es en chino simplificado. ¿Desea cambiar a español? Puedo instalarlo automáticamente."
39
39
  - **한국어** → Ask (in Korean): "현재 간체 중국어 버전이 설치되어 있습니다. 한국어 버전으로 전환하시겠습니까? 자동으로 설치할 수 있습니다."
40
40
 
41
- 如果用户确认,执行:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- 然后重新读取新安装的 SKILL.md,从头开始。
41
+ 如果用户确认,直接读取并遵循安装目录中的 `i18n/[检测到的语言代码]/SKILL.md`。所有语言已预装,无需重新下载。
46
42
 
47
43
  如果用户拒绝,继续使用当前语言(简体中文)。
48
44
 
@@ -38,11 +38,7 @@ description: |
38
38
  - **Español** → Ask (in Spanish): "La versión instalada es en chino tradicional. ¿Desea cambiar a español? Puedo instalarlo automáticamente."
39
39
  - **한국어** → Ask (in Korean): "현재 번체 중국어 버전이 설치되어 있습니다. 한국어 버전으로 전환하시겠습니까? 자동으로 설치할 수 있습니다."
40
40
 
41
- 如果使用者確認,執行:
42
- ```bash
43
- curl -fsSL https://raw.githubusercontent.com/kaminoikari/the-product-playbook/main/install.sh | bash -s -- --lang [detected_lang_code]
44
- ```
45
- 然後重新讀取新安裝的 SKILL.md,從頭開始。
41
+ 如果使用者確認,直接讀取並遵循安裝目錄中的 `i18n/[偵測到的語系代碼]/SKILL.md`。所有語系已預裝,無需重新下載。
46
42
 
47
43
  如果使用者拒絕,繼續使用目前語言(繁體中文)。
48
44
 
package/install.sh CHANGED
@@ -210,10 +210,7 @@ do_install() {
210
210
  script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
211
211
  fi
212
212
 
213
- # Determine i18n source path
214
- local i18n_subdir="i18n/$INSTALL_LANG"
215
-
216
- if [ -n "$script_dir" ] && [ -d "$script_dir/$i18n_subdir" ]; then
213
+ if [ -n "$script_dir" ] && [ -d "$script_dir/i18n" ]; then
217
214
  info "$(msg local_repo)"
218
215
  src_dir="$script_dir"
219
216
  commit_hash=$(git -C "$src_dir" rev-parse --short HEAD 2>/dev/null || echo "")
@@ -230,7 +227,6 @@ do_install() {
230
227
  commit_hash=$(grep '"version"' "$src_dir/package.json" | head -1 | sed 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/')
231
228
  fi
232
229
  commit_hash="${commit_hash:-unknown}"
233
- i18n_subdir="" # use root layout
234
230
  else
235
231
  info "$(msg downloading)"
236
232
  git clone --depth 1 "$REPO_URL" "$TMP_DIR" 2>/dev/null
@@ -248,7 +244,7 @@ do_install() {
248
244
  if [ -f "$SKILL_DIR/.version" ]; then
249
245
  local installed_version
250
246
  installed_version=$(cat "$SKILL_DIR/.version")
251
- if [ "$installed_version" = "${commit_hash}-${INSTALL_LANG}" ] && [ "$commit_hash" != "unknown" ]; then
247
+ if [ "$installed_version" = "${commit_hash}" ] && [ "$commit_hash" != "unknown" ]; then
252
248
  ok "$(msg up_to_date) ($commit_hash)"
253
249
  printf "\n$(msg installed_at)\n"
254
250
  printf " Skill → ${BOLD}%s${RESET}\n" "$SKILL_DIR"
@@ -267,46 +263,49 @@ do_install() {
267
263
  mkdir -p "$SKILL_DIR"
268
264
  fi
269
265
 
270
- # Determine file source paths
271
- local skill_src=""
272
- local refs_src=""
273
- local cmds_src=""
266
+ # Determine default language source paths
267
+ local default_lang_dir="$src_dir/i18n/$INSTALL_LANG"
268
+ local has_i18n=false
274
269
 
275
- if [ -n "$i18n_subdir" ] && [ -d "$src_dir/$i18n_subdir" ]; then
276
- skill_src="$src_dir/$i18n_subdir/SKILL.md"
277
- refs_src="$src_dir/$i18n_subdir/references"
278
- cmds_src="$src_dir/$i18n_subdir/commands"
279
- else
280
- skill_src="$src_dir/SKILL.md"
281
- refs_src="$src_dir/references"
282
- cmds_src="$src_dir/commands"
270
+ if [ -d "$src_dir/i18n" ]; then
271
+ has_i18n=true
283
272
  fi
284
273
 
285
274
  # Copy Skill files
286
275
  info "$(msg installing_skill)"
287
- cp "$skill_src" "$SKILL_DIR/"
288
276
  cp "$src_dir/LICENSE" "$SKILL_DIR/"
289
277
 
290
- if [ -d "$refs_src" ]; then
291
- cp -r "$refs_src" "$SKILL_DIR/"
292
- fi
278
+ if [ "$has_i18n" = true ]; then
279
+ # Install ALL languages
280
+ cp -r "$src_dir/i18n" "$SKILL_DIR/"
281
+ ok "Installed all 6 languages to $SKILL_DIR/i18n/"
293
282
 
294
- if [ -d "$cmds_src" ]; then
295
- cp -r "$cmds_src" "$SKILL_DIR/"
283
+ # Set default language: copy SKILL.md, references/, commands/ from default lang
284
+ if [ -d "$default_lang_dir" ]; then
285
+ cp "$default_lang_dir/SKILL.md" "$SKILL_DIR/"
286
+ cp -r "$default_lang_dir/references" "$SKILL_DIR/"
287
+ cp -r "$default_lang_dir/commands" "$SKILL_DIR/"
288
+ fi
289
+ else
290
+ # Legacy fallback: no i18n directory
291
+ cp "$src_dir/SKILL.md" "$SKILL_DIR/"
292
+ [ -d "$src_dir/references" ] && cp -r "$src_dir/references" "$SKILL_DIR/"
293
+ [ -d "$src_dir/commands" ] && cp -r "$src_dir/commands" "$SKILL_DIR/"
296
294
  fi
297
295
 
298
- # Write version marker (includes language)
296
+ # Write version marker
299
297
  if [ "$commit_hash" != "unknown" ]; then
300
- echo "${commit_hash}-${INSTALL_LANG}" > "$SKILL_DIR/.version"
298
+ echo "${commit_hash}" > "$SKILL_DIR/.version"
301
299
  fi
302
300
 
303
- # Write language marker
301
+ # Write default language marker
304
302
  echo "$INSTALL_LANG" > "$SKILL_DIR/.lang"
305
303
 
306
304
  ok "$(msg skill_installed) $SKILL_DIR"
307
305
 
308
- # Copy slash commands
306
+ # Copy slash commands to global commands dir
309
307
  info "$(msg installing_cmds)"
308
+ local cmds_src="$SKILL_DIR/commands"
310
309
  local cmd_count=0
311
310
  for f in "$cmds_src"/*.md; do
312
311
  [ -f "$f" ] || continue
@@ -349,30 +348,9 @@ main() {
349
348
  esac
350
349
  done
351
350
 
352
- # Auto-detect or prompt interactively
351
+ # Auto-detect default language if not specified
353
352
  if [ -z "$INSTALL_LANG" ]; then
354
353
  INSTALL_LANG=$(detect_language)
355
- # If interactive terminal and detected 'en' (default fallback), offer selection
356
- if [ "$INSTALL_LANG" = "en" ] && [ -t 0 ] && [ -t 1 ]; then
357
- printf "\n${BOLD}Select language / 選擇語言:${RESET}\n"
358
- printf " ${BOLD}1)${RESET} English\n"
359
- printf " ${BOLD}2)${RESET} 繁體中文\n"
360
- printf " ${BOLD}3)${RESET} 日本語\n"
361
- printf " ${BOLD}4)${RESET} 简体中文\n"
362
- printf " ${BOLD}5)${RESET} Español\n"
363
- printf " ${BOLD}6)${RESET} 한국어\n"
364
- printf "\n${BLUE}▸${RESET} Press Enter for English, or type 1-6: "
365
- read -r choice
366
- case "${choice:-1}" in
367
- 1|"") INSTALL_LANG="en" ;;
368
- 2) INSTALL_LANG="zh-TW" ;;
369
- 3) INSTALL_LANG="ja" ;;
370
- 4) INSTALL_LANG="zh-CN" ;;
371
- 5) INSTALL_LANG="es" ;;
372
- 6) INSTALL_LANG="ko" ;;
373
- *) INSTALL_LANG="en" ;;
374
- esac
375
- fi
376
354
  fi
377
355
 
378
356
  # Validate language (fallback to en if unsupported)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "the-product-playbook",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "World-class product planning AI skill for Claude Code — 22 PM frameworks, 6 modes, from idea to dev handoff",
5
5
  "bin": {
6
6
  "the-product-playbook": "./install.sh"
@@ -32,6 +32,10 @@
32
32
  "references/",
33
33
  "i18n/",
34
34
  "README.zh-TW.md",
35
+ "README.ja.md",
36
+ "README.zh-CN.md",
37
+ "README.es.md",
38
+ "README.ko.md",
35
39
  "LICENSE"
36
40
  ]
37
41
  }