From feature-workflow
Lists active, paused, and completed tasks in .spec/ directory via tables from _index.md and README.md YAML. Supports --detail view, --park/--unpark slugs, --cleanup old tasks. Pure local, no Notion.
npx claudepluginhub mark22013333/crew --plugin feature-workflowThis skill uses the workspace's default tool permissions.
純本地操作,讀取 `.spec/_index.md` 和各任務的 `README.md`,格式化顯示所有任務狀態。**不呼叫任何 Notion API**。
Displays progress on incomplete task lists from .plans/tasks-*.yml files: total/completed counts, next actionable task per feature. Use to check active feature status.
Lists tasks from directories like focus/active/paused/completed by parsing Markdown files for progress, status, priority, estimates, and dependencies. Filters by status/dir; outputs table/list/JSON with aggregates.
Defines conventions for TASKS.md files: structure with optional sections, status symbols ([ ] todo, [/] ongoing, [x] done, [-] backlog), task descriptions, and testable acceptance criteria. Use for creating, editing, updating tasks or tracking progress.
Share bugs, ideas, or general feedback.
純本地操作,讀取 .spec/_index.md 和各任務的 README.md,格式化顯示所有任務狀態。不呼叫任何 Notion API。
前置檢查:參照 bug-workflow plugin 的
references/prerequisites.md檢查 CLAUDE.md 是否存在。
/plan-status # 列出所有任務
/plan-status --active # 只列出進行中的任務
/plan-status --detail # 詳細模式,顯示每個任務的設計文件完成度
/plan-status --cleanup # 清除超過 N 天的已完成任務
/plan-status --park <slug> # 暫停指定任務
/plan-status --unpark <slug> # 恢復指定任務
若 .spec/ 目錄不存在或為空 → 提示使用者先執行 /plan-start。
讀取 .spec/_index.md。若 _index.md 不存在或不完整,從各子目錄的 README.md 重建:
# 掃描所有 slug 目錄
ls -d .spec/*/
對每個目錄,讀取 README.md 的 YAML frontmatter 取得:
📋 任務狀態
## 進行中({N} 個)
| # | 類型 | 名稱 | 狀態 | 分支 | 建立日期 |
|---|------|------|------|------|---------|
| 1 | 🔧 feature | 推播標籤查詢 | 架構設計 | feature/push-tag-query | 2026-03-16 |
| 2 | 🐞 bug | SSO 登入錯誤 | 調查中 | hotfix/sso-login-fix | 2026-03-17 |
## 暫停中({N} 個)
| # | 類型 | 名稱 | 暫停前狀態 | 分支 | 暫停日期 |
|---|------|------|-----------|------|---------|
| 1 | 🔧 feature | 資料匯出 | DB 設計 | feature/data-export | 2026-03-15 |
## 已完成({N} 個)
| # | 類型 | 名稱 | 完成日期 |
|---|------|------|---------|
| 1 | 🔧 feature | 訂閱推播統計 | 2026-03-10 |
📋 任務詳細狀態
### 1. 🔧 推播標籤查詢(feature/push-tag-query)
狀態:架構設計
Notion:https://www.notion.so/xxx
設計文件:
✅ README.md(需求描述)
✅ spec.md(技術規格 — 3 個 API、5 項業務規則)
✅ db.md + db.sql(2 個表、3 個索引)
✅ arch.md(8 個類別、2 個設計模式)
❌ files.md(待 /plan-build)
❌ review.md(待 /plan-review)
📝 log.md(3 筆紀錄)
### 2. 🐞 SSO 登入錯誤(hotfix/sso-login-fix)
狀態:調查中
Notion:https://www.notion.so/yyy
關聯 Feature:推播標籤查詢
設計文件:
✅ README.md(問題描述)
✅ investigation.md(含 Log 和 SQL)
❌ root-cause.md
❌ fix.md
<slug>.spec/{slug}/README.md,確認任務存在且非已完成/已暫停狀態parked_status 欄位,記錄當前 status 值status 為 暫停_index.md:將該任務從「進行中」移至「暫停中」區段,記錄暫停日期log.md 追加暫停紀錄:
### [{日期}] 任務暫停
- 暫停前狀態:{原狀態}
- 原因:{使用者可選填}
⏸️ 已暫停:{name}(原狀態:{parked_status})
恢復請執行:/plan-status --unpark {slug}
<slug>.spec/{slug}/README.md,確認 status 為 暫停 且 parked_status 存在status 恢復為 parked_status 的值parked_status 欄位_index.md:將該任務從「暫停中」移回「進行中」區段log.md 追加恢復紀錄:
### [{日期}] 任務恢復
- 恢復狀態:{原 parked_status}
▶️ 已恢復:{name}(狀態:{restored_status})
以下已完成任務超過 30 天:
| # | 名稱 | 完成日期 | 天數 |
|---|------|---------|------|
| 1 | 訂閱推播統計 | 2026-02-10 | 34 天 |
是否清除?(會刪除 .spec/ 目錄,Notion 資料不受影響)[y/N]
確認後:
.spec/{slug}/ 目錄_index.md 的「已完成」表移除對應列.gitignore 中的 !.spec/{slug}/ 排除規則若掃描發現 _index.md 與實際目錄不一致(目錄存在但索引缺少、或索引有但目錄不存在),自動修復並提示:
⚠️ 索引修復:
+ 新增 push-tag-query 到索引(目錄存在但索引缺少)
- 移除 old-feature 從索引(索引有但目錄不存在)
_index.md 是快取性質,手動刪除目錄或中斷操作都可能造成不一致。掃描時應以「目錄存在 + README.md 可解析」為準,_index.md 僅作為輔助,發現不一致時自動修復(步驟 5)。README.md 中的 created 日期。完成日期從 _index.md 的「已完成」表的「完成日期」欄位讀取;若該欄位不存在,fallback 到 log.md 最後一筆紀錄的日期。parked_status 欄位不存在(手動修改造成),無法自動恢復。此時提示使用者手動指定要恢復到的狀態。.spec/ 不存在:提示先執行 /plan-start_index.md 損壞:從各目錄的 README.md 重建_index.md 缺少「暫停中」區段:索引修復時自動補充