From d1977281f69fe506f8c19d59fa406d0581656dca Mon Sep 17 00:00:00 2001 From: Daneel Date: Tue, 24 Feb 2026 14:28:34 +0100 Subject: [PATCH] fix(snippets): ADR as table (ID/Subject header + 7 rows) --- snippets/markdown-mode/adr | 20 +++++++++----------- snippets/org-mode/adr | 21 +++++++++------------ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/snippets/markdown-mode/adr b/snippets/markdown-mode/adr index 6572168..a4db5eb 100644 --- a/snippets/markdown-mode/adr +++ b/snippets/markdown-mode/adr @@ -4,15 +4,13 @@ # -- # ADR-${1:0001}: ${2:Title} -- **Date:** `(format-time-string "%Y-%m-%d")` -- **Status:** ${3:Proposed} - -## Context -${4:Describe the context and problem statement.} - -## Decision -${5:Describe the decision and rationale.} - -## Consequences -${6:Describe the resulting context after applying the decision.} +| ID | Subject | +|----------------------|-------------------------------------------------| +| Problem statement | ${3:What is the problem?} | +| Decision | ${4:What was decided?} | +| Alternatives | ${5:What alternatives were considered?} | +| Justification | ${6:Why this decision?} | +| Implications | ${7:What are the implications?} | +| Derived requirements | ${8:What requirements derive from this?} | +| Status | ${9:Proposed} | $0 diff --git a/snippets/org-mode/adr b/snippets/org-mode/adr index c8b095b..511d121 100644 --- a/snippets/org-mode/adr +++ b/snippets/org-mode/adr @@ -3,17 +3,14 @@ # key: adr # -- * ADR-${1:0001}: ${2:Title} -:PROPERTIES: -:date: `(format-time-string "%Y-%m-%d")` -:status: ${3:Proposed} -:END: -** Context -${4:Describe the context and problem statement.} - -** Decision -${5:Describe the decision and rationale.} - -** Consequences -${6:Describe the resulting context after applying the decision.} +| ID | Subject | +|----------------------+-------------------------------------------------| +| Problem statement | ${3:What is the problem?} | +| Decision | ${4:What was decided?} | +| Alternatives | ${5:What alternatives were considered?} | +| Justification | ${6:Why this decision?} | +| Implications | ${7:What are the implications?} | +| Derived requirements | ${8:What requirements derive from this?} | +| Status | ${9:Proposed} | $0