Maintain a decisions/ directory where each decision is a standalone markdown file with YAML frontmatter. An index.md manifest is regenerated on every invocation for fast scanning.
| domain | Product, Data Engineering, Design, Architecture, Operations, Strategy | | status | Active, Proposed, Superseded, Revisited, Deprecated | | method | analysis, discussion, constraint, default, research, prototype, stakeholder-input |
Also capture: decision statement, options considered (with pros/cons), rationale, expected outcome, related DEC-XXXX IDs, 2-5 lowercase tags, and context (summary, conversation highlights, actions performed, artifacts).
將專案決策擷取到決策/目錄中的每個檔案系統。每個決策都是一個 Markdown 文件,其中包含 YAML frontmatter(可查詢元資料)和完整上下文(基本原理、選項、對話亮點、工件)。自動產生的 _index.md 提供快速掃描。在以下情況下使用:(1) 使用者呼叫 /DL 或 /DecisionLog,(2) 使用者說“記錄此決策”、“捕獲此決策”、“記錄決策”、“更新決策日誌”,(3) 使用者詢問“我們做出了什麼決策”,或 (4) 使用者詢問有關過去決策的上下文。 來源:bjg4/decision-log-skill。