بنقرة واحدة
task-done
Mark a task as in_review (pending L1 review) and record in dev plan section 10
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mark a task as in_review (pending L1 review) and record in dev plan section 10
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | task-done |
| description | Mark a task as in_review (pending L1 review) and record in dev plan section 10 |
| allowed-tools | Read, Edit, Glob, Bash |
更新任務狀態為 in_review(待 L1 審查),並在開發計畫書第 10 節記錄。
/task-done <task-id> [備註]
$0: 任務 ID(如 T1)$ARGUMENTS: 完整參數(含備註)| 狀態 | xxx |)必須使用以下英文值:
| 狀態值 | 說明 |
|---|---|
in_review | 待 L1 審查 |
| 結果值 | 對應系統狀態 | 說明 |
|---|---|---|
🔍 待審查 | in_review | 已提交,待 L1 Review |
🔧 需修正 | in_review | 需返工 |
系統解析器
normalizeStatus()依賴完成/✅/修正/🔧等關鍵字判斷。
格式:YYYY-MM-DD
.tasks/**/$0-*.md,若無結果再搜尋 .tasks/**/$0.md。
取得檔案路徑後用 Read tool 讀取內容。任務檔案可能在
.tasks/sprint-{N}/T1-xxx.md,不再只在.tasks/根目錄。
驗收標準確認(必要):
## 驗收標準 區塊- [ ] 項目是否已完成- [ ] → - [x]取得真實時間(必要,不可跳過):
!node -e "console.log(new Date().toISOString())"
⚠️ 禁止自行編造時間。Agent 不知道真實時間,必須透過上述指令取得。將輸出存為變數
$NOW供後續步驟使用。
更新找到的任務檔案:
| 狀態 | ... | 改為 | 狀態 | in_review || 完工時間 | ... | 改為 | 完工時間 | $NOW |完工時間 已有非 — 的值,不覆蓋(代表被退回後重新提交,保留首次完工時間)| 完工時間 | 欄位,在 | 建立時間 | 行之後插入 | 完工時間 | $NOW |## 事件紀錄 區塊底部 append:### $NOW — 狀態變更 → in_review
{備註}
Git Commit:
| 並行組 | 欄位sprint-{N} branchtask/s{N}-$0-* branchgit add -A
git commit -m "{type}: {任務標題} ($0)"
找到當前 dev-plan:
使用 Glob tool 搜尋 proposal/sprint*-dev-plan.md,取最新一份用 Read tool 讀取。
在 dev-plan 第 10 節「任務完成紀錄」表格,找到對應任務行並更新:
| $0 | {YYYY-MM-DD} | 🔍 待審查 | {備註} |
Initialize new project with CLAUDE.md, .knowledge/ structure, company rules, and git
Generate a development plan with task breakdown and section 10 tracking tables
L1 Code Review SOP — 強制規範對照 + 審核決策,不得跳過任何 checkpoint
Merge sprint branch to base branch, tag release, and clean up branches
Mark a task as done after L1 review passes
Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan