بنقرة واحدة
task-approve
Mark a task as done after L1 review passes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mark a task as done after L1 review passes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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
Boss dispatches tasks — auto-create .tasks/ files and record in dev-plan
Mark a task as in_review (pending L1 review) and record in dev plan section 10
| name | task-approve |
| description | Mark a task as done after L1 review passes |
| allowed-tools | Read, Edit, Glob, Bash |
L1 Review 通過後呼叫,將狀態從 in_review 改為 done。
/task-approve <task-id> [備註]
$0: 任務 ID(如 T5)$ARGUMENTS: 完整參數(含備註)| 狀態值 | 說明 |
|---|---|
done | L1 審核通過 |
| 結果值 | 對應系統狀態 | 說明 |
|---|---|---|
✅ 完成 | done | 審核通過 |
.tasks/**/$0-*.md,若無結果再搜尋 .tasks/**/$0.md。
取得檔案路徑後用 Read tool 讀取內容。任務檔案可能在
.tasks/sprint-{N}/T5-xxx.md,不再只在.tasks/根目錄。
取得真實時間(必要,不可跳過):
!node -e "console.log(new Date().toISOString())"
⚠️ 禁止自行編造時間。Agent 不知道真實時間,必須透過上述指令取得。將輸出存為變數
$NOW供後續步驟使用。
更新找到的任務檔案:
| 狀態 | ... | 改為 | 狀態 | done || 完工時間 | ... | 改為 | 完工時間 | $NOW || 完工時間 | 欄位,在 | 建立時間 | 行之後插入 | 完工時間 | $NOW |事件紀錄(必要,不可跳過):在 ## 事件紀錄 區塊底部 append:
### $NOW — 狀態變更 → done
L1 審核通過。{備註}
Git Merge(並行任務)/ 確認(循序任務):
讀取任務檔的 | 並行組 | 欄位:
若 並行組 = —(循序任務):
📌 循序任務,code 已在 sprint-{N}若 並行組 = A/B/C...(並行任務):
git checkout sprint-{N}
git merge --no-ff task/s{N}-$0-{slug} -m "feat($0): {任務標題}"
git branch -d task/s{N}-$0-{slug}
🔀 task/s{N}-$0-{slug} 已 merge 進 sprint-{N},branch 已刪除找到當前 dev-plan:
使用 Glob tool 搜尋 proposal/sprint*-dev-plan.md,取最新一份用 Read tool 讀取。
在 dev-plan 第 10 節「任務完成紀錄」表格,找到對應任務行並更新:
| $0 | {YYYY-MM-DD} | ✅ 完成 | {備註} |
✅ $0 審核通過,狀態已更新為 done