save-diary

Solid

MUST use when user says 'save diary', 'write diary', 'diary entry', 'update diary', or 'document session'. Also auto-trigger at the end of any significant session (feature shipped, major bug fixed, architecture decision, new project started).

AI & Automation 67 stars 21 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
61
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

**Prerequisite check (run first)**: if `./memory/diary/current/` does not exist OR `~/.claude/.memory-disabled` marker file is present, this skill is a no-op. Output: "Memory persistence is disabled. Run `./setup.sh` and choose to enable memory if you want diary entries to be saved." # Dev Diary: Session Documentation Skill *Today's story takes shape.* ## Activation When this skill activates, output: "Dev Diary: documenting today's session." ## Context Guard | Context | Status | |---------|--------| | User says "save diary" / "write diary" / "diary entry" | ACTIVE, full diary write | | End of significant session | ACTIVE, auto-document | | User says "review diary" | ACTIVE, read recent entries | | Mid-conversation (no save request) | DORMANT, no diary action | ## Protocol ### Step 1: Monthly Archive Check - Scan `./memory/diary/current/` for files from previous months - For each file where month != current month: - Create `./memory/diary/archived/YYYY-MM/` folder if not exists - Move the file from `current/` to `archived/YYYY-MM/` - Continue with diary write ### Step 2: Find or Create Today's File - Check if `./memory/diary/current/YYYY-MM-DD.md` exists - If exists: use it (will append new entry) - If not: create new file with header: ``` # YYYY-MM-DD, Session N: Brief Description ``` ### Step 3: Compose and Append Diary Entry - Get current date via bash: `date +"%B %d, %Y"` or PowerShell `Get-Date -Format "MMMM dd, yyyy"` - Analyze current session for key co...

Details

Author
faizkhairi
Repository
faizkhairi/claude-code-blueprint
Created
4 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category