fix(snippets): ADR correct field order; prefix ; for all keys; add meeting/weekly/todo/blogpost

This commit is contained in:
2026-02-24 14:46:50 +01:00
parent 6cb5c11b42
commit 60cb629ed7
6 changed files with 75 additions and 21 deletions

View File

@@ -1,14 +1,15 @@
# -*- mode: snippet -*-
# name: ADR - Architectural Decision Record
# key: adr
# key: ;adr
# --
| ID | Subject |
| ID | ${1:ADR-0001} |
| Subject | ${2:Title of the decision} |
|----------------------+-------------------------------------------|
| Problem statement | ${1:What is the problem?} |
| Decision | ${2:What was decided?} |
| Alternatives | ${3:What alternatives were considered?} |
| Justification | ${4:Why this decision?} |
| Implications | ${5:What are the implications?} |
| Derived requirements | ${6:What requirements derive from this?} |
| Status | ${7:Proposed} |
| 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

View File

@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: Blog post template
# key: ;blogpost
# --
#+title: ${1:Title}
#+date: `(format-time-string "%Y-%m-%d")`
#+tags[]: ${2:tag1 tag2}
${3:Introduction paragraph.}
** ${4:First section}
${5:Content.}
$0

12
snippets/org-mode/meeting Normal file
View File

@@ -0,0 +1,12 @@
# -*- mode: snippet -*-
# name: Meeting notes
# key: ;meeting
# --
| Date | `(format-time-string "%Y-%m-%d")` |
| Attendees | ${1:names} |
| Topic | ${2:topic} |
|-----------+-----------------------------------|
| Notes | ${3:discussion notes} |
| Actions | ${4:action items} |
| Next | ${5:next meeting} |
$0

11
snippets/org-mode/todo Normal file
View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: TODO task with properties
# key: ;todo
# --
* TODO ${1:Task title}
SCHEDULED: <`(format-time-string "%Y-%m-%d")`>
:PROPERTIES:
:context: ${2:work/personal}
:END:
${3:Notes}
$0

18
snippets/org-mode/weekly Normal file
View File

@@ -0,0 +1,18 @@
# -*- mode: snippet -*-
# name: Weekly review
# key: ;weekly
# --
* Weekly Review — `(format-time-string "W%V %Y")`
** Done this week
${1:- }
** In progress
${2:- }
** Blocked
${3:- }
** Next week focus
${4:- }
$0