Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:05:49 +08:00
commit 6bdf233c6b
51 changed files with 11774 additions and 0 deletions

59
commands/show-plan.md Normal file
View File

@@ -0,0 +1,59 @@
## 顯示計劃
顯示當前會話中正在執行或已執行的計劃。
### 使用方法
```bash
/show-plan
```
### 基本示例
```bash
# 確認當前計劃
/show-plan
「顯示正在執行的計劃」
# 没有計劃時
/show-plan
「當前會話没有計劃」
```
### 功能
- 檢測由 exit_plan_mode 創建的計劃
- 搜索包含實施計劃、實施內容、計劃等關鍵詞的標題
- 格式化並顯示計劃內容
- 没有計劃時明確通知
### 與 Claude 配合
```bash
# 實施過程中確認計劃
「我在實施什么來着?」
/show-plan
# 執行多個任務時
「让我再確認一下當前計劃」
/show-plan
# 計劃執行後回顾
「請顯示刚才執行的計劃內容」
/show-plan
```
### 檢測模式
基于 exit_plan_mode 生成的計劃格式,檢測以下模式:
-`##` 開头的標題 (包含計劃、Plan)
- `### 變更內容`
- `### 實施內容`
- `### 實施計劃`
- `### 1.` 等带編号的標題
### 注意事項
- 仅顯示當前會話內的計劃 (不包括過去的會話)
- 優先顯示最新的計劃