executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
pitfall-recordRecord a pitfall or lesson learned in the postmortem log
Independent GitHub snapshot · Automated classification · Original documentation governs
將踩坑經驗記錄到 postmortem log。
/pitfall-record <category> <title>
$0: 分類(build / runtime / deploy / test / process)$1: 標題$ARGUMENTS: 完整描述讀取現有 postmortem log:
!cat .knowledge/postmortem-log.md 2>/dev/null | tail -20 || echo "尚無踩坑紀錄"
計算到期日:紀錄日期 + 14 天,格式為 YYYY-MM-DD。
在 .knowledge/postmortem-log.md 末尾 append:
### {日期} — $1
| 項目 | 內容 |
|------|------|
| 分類 | $0 |
| 問題 | {問題描述} |
| 原因 | {根本原因} |
| 解法 | {解決方式} |
| 預防 | {未來如何避免} |
| 狀態 | open |
| 到期日 | {日期+14天, YYYY-MM-DD 格式} |