From dcd4de0c6c35d229eebdee68452f98dc166988b3 Mon Sep 17 00:00:00 2001 From: Daneel Date: Tue, 24 Feb 2026 12:36:30 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20add=20yasnippet=20snippets=20dir=20?= =?UTF-8?q?=E2=80=94=20ADR=20for=20org-mode=20and=20markdown-mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snippets/markdown-mode/adr | 18 ++++++++++++++++++ snippets/org-mode/adr | 19 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 snippets/markdown-mode/adr create mode 100644 snippets/org-mode/adr diff --git a/snippets/markdown-mode/adr b/snippets/markdown-mode/adr new file mode 100644 index 0000000..6572168 --- /dev/null +++ b/snippets/markdown-mode/adr @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: ADR - Architectural Decision Record +# key: adr +# -- +# 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.} +$0 diff --git a/snippets/org-mode/adr b/snippets/org-mode/adr new file mode 100644 index 0000000..c8b095b --- /dev/null +++ b/snippets/org-mode/adr @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: ADR - Architectural Decision Record +# 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.} +$0