Diary
Context
- Date: !
date "+%Y%m%d" - Time: !
date "+%H:%M" - Repository: !
git rev-parse --show-toplevel
Target: ~/Documents/Obsidian Vault/Diary/YYYYMMDD.md
Entry Format
### repository-name
#### HH:MM
- [What was done]
- [Reason for decision, if applicable]
> 💭
- repository-name: basename of git root (extract from command output, do not use
basenamecommand) - HH:MM: Current time via
date "+%H:%M" - Reason: Add only when a decision or choice was made
- 💭: Reflection placeholder for user
Steps
-
Analyze: Review conversation and
git logfor completed tasks -
Read/Create:
~/Documents/Obsidian Vault/Diary/<date>.mdNew file template:
## Tasks - [ ] ## Meeting - ## Memo -
Append: Add new time entry under existing repository section, or create new repository section
-
Confirm: Show appended content
Error Handling
- If
~/Documents/Obsidian Vault/Diary/does not exist, stop and inform the user. Do not create the vault directory structure — the user may need to set up Obsidian first. - If the daily note exists but has unexpected format, append at the end rather than guessing structure.
Guidelines
- Factual, concise, past tense
- Append only - never overwrite