What problem does it solve? Keeping a personal knowledge-base diary consistent is tedious: entries need the right date-based filenames, year folders, frontmatter fields, tags, and Obsidian-style image embeds. This Skill enforces those conventions automatically when creating, updating, or reviewing diary notes in the SecondBrain repository. ## Core Features & Use Cases - Structured Diary Entries: Creates notes named YYYY-MM-DD_slug.md under StudyLogNew/diary/<year>/ with a standard frontmatter shape (title, date, tags, mtrace, star, description). - Resource & Image Handling: Places pasted images in year-based resources/ folders and references them with Obsidian wikilink embeds like ![[...|200]]. - Consistency & Safety Checks: Searches existing entries with ripgrep before writing, reuses existing tags, never overwrites files, and preserves unrelated git changes. - Use Case: Ask the assistant to log today's learning about a Go concurrency pattern; it inspects nearby entries, picks matching tags, and writes a properly formatted Chinese or English note in the correct year folder. ## Quick Start Use the secondbrain-diary skill to create a diary entry for today summarizing what I learned about Nix flakes.