Skip to content

Commit a65b183

Browse files
committed
fix(i18n): migrate Chinese variants to CLAUDE_SKILL_DIR + bump to v2.30.0
- planning-with-files-zh: CLAUDE_PLUGIN_ROOT -> CLAUDE_SKILL_DIR (was 2.24.0) - planning-with-files-zht: CLAUDE_PLUGIN_ROOT -> CLAUDE_SKILL_DIR (was 2.28.0) - Same 3-level fallback chain as main skill - All body references updated (session-catchup, templates, table)
1 parent 057fab5 commit a65b183

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

skills/planning-with-files-zh/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ hooks:
2121
Stop:
2222
- hooks:
2323
- type: command
24-
command: "SD=\"${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/planning-with-files}/scripts\"; powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$SD/check-complete.ps1\" 2>/dev/null || sh \"$SD/check-complete.sh\""
24+
command: "SD=\"${CLAUDE_SKILL_DIR:-${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/skills/planning-with-files-zh}}/scripts\"; powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$SD/check-complete.ps1\" 2>/dev/null || sh \"$SD/check-complete.sh\""
2525
metadata:
26-
version: "2.24.0"
26+
version: "2.30.0"
2727
---
2828

2929
# 文件规划系统
@@ -39,7 +39,7 @@ metadata:
3939

4040
```bash
4141
# Linux/macOS
42-
$(command -v python3 || command -v python) ${CLAUDE_PLUGIN_ROOT}/scripts/session-catchup.py "$(pwd)"
42+
$(command -v python3 || command -v python) ${CLAUDE_SKILL_DIR}/scripts/session-catchup.py "$(pwd)"
4343
```
4444

4545
```powershell
@@ -55,12 +55,12 @@ $(command -v python3 || command -v python) ${CLAUDE_PLUGIN_ROOT}/scripts/session
5555

5656
## 重要:文件存放位置
5757

58-
- **模板**`${CLAUDE_PLUGIN_ROOT}/templates/`
58+
- **模板**`${CLAUDE_SKILL_DIR}/templates/`
5959
- **你的规划文件**放在**你的项目目录**
6060

6161
| 位置 | 存放内容 |
6262
|------|---------|
63-
| 技能目录 (`${CLAUDE_PLUGIN_ROOT}/`) | 模板、脚本、参考文档 |
63+
| 技能目录 (`${CLAUDE_SKILL_DIR}/`) | 模板、脚本、参考文档 |
6464
| 你的项目目录 | `task_plan.md``findings.md``progress.md` |
6565

6666
## 快速开始

skills/planning-with-files-zht/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ hooks:
2121
Stop:
2222
- hooks:
2323
- type: command
24-
command: "SD=\"${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/planning-with-files-zht}/scripts\"; powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$SD/check-complete.ps1\" 2>/dev/null || sh \"$SD/check-complete.sh\""
24+
command: "SD=\"${CLAUDE_SKILL_DIR:-${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/skills/planning-with-files-zht}}/scripts\"; powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$SD/check-complete.ps1\" 2>/dev/null || sh \"$SD/check-complete.sh\""
2525
metadata:
26-
version: "2.28.0"
26+
version: "2.30.0"
2727
---
2828

2929
# 檔案規劃系統
@@ -39,7 +39,7 @@ metadata:
3939

4040
```bash
4141
# Linux/macOS
42-
$(command -v python3 || command -v python) ${CLAUDE_PLUGIN_ROOT}/scripts/session-catchup.py "$(pwd)"
42+
$(command -v python3 || command -v python) ${CLAUDE_SKILL_DIR}/scripts/session-catchup.py "$(pwd)"
4343
```
4444

4545
```powershell
@@ -55,12 +55,12 @@ $(command -v python3 || command -v python) ${CLAUDE_PLUGIN_ROOT}/scripts/session
5555

5656
## 重要:檔案存放位置
5757

58-
- **範本**`${CLAUDE_PLUGIN_ROOT}/templates/`
58+
- **範本**`${CLAUDE_SKILL_DIR}/templates/`
5959
- **你的規劃檔案**放在**你的專案目錄**
6060

6161
| 位置 | 存放內容 |
6262
|------|---------|
63-
| 技能目錄 (`${CLAUDE_PLUGIN_ROOT}/`) | 範本、腳本、參考文件 |
63+
| 技能目錄 (`${CLAUDE_SKILL_DIR}/`) | 範本、腳本、參考文件 |
6464
| 你的專案目錄 | `task_plan.md``findings.md``progress.md` |
6565

6666
## 快速開始

0 commit comments

Comments
 (0)