← ClaudeAtlas

claude-code-devlog-hookslisted

Dev-journal (devlog / 開発日誌) discipline for coding agents, enforced by three Claude Code hooks: SessionStart injects the routine, UserPromptSubmit nudges when today's log goes stale, Stop blocks turn-end once until today's journal is updated. Use when a session log / daily dev journal must be kept "little and often", when a Stop hook block message asks for today's journal entry, when a dev-journal nudge appears mid-session, or when setting up or debugging journaling hooks (enforce-once markers, fail-open, UTF-8 output). Keywords: dev journal, devlog, dev diary, 開発日誌, 開発ログ, session log, daily log, Stop hook block, journaling discipline.
h8nc4y/claude-code-devlog-hooks · ★ 0 · AI & Automation · score 72
Install: claude install-skill h8nc4y/claude-code-devlog-hooks
# Dev Journal Discipline (claude-code-devlog-hooks) A discipline for keeping a daily development journal while working as (or with) a coding agent, plus the three Claude Code hooks that make the habit stick. The discipline itself is tool-agnostic: any agent that can read instructions and append to a Markdown file can follow it. The enforcement layer (the hooks) is Claude Code specific. ## Why A Journal, And Why Hooks Lessons learned during agent sessions — environment quirks, failed approaches, decisions and their reasons — evaporate when the session ends. A daily journal turns them into a searchable record, and distilled topic notes turn repeated lessons into a first-stop reference that prevents repeating old mistakes. The failure mode is always the same: "I will write it up at the end." Then the context window fills, the session ends, and nothing is written. The three hooks exist to defeat exactly that failure mode: | Layer | Hook event | Behavior | | --- | --- | --- | | Routine | SessionStart | Injects this discipline into context; records the session start time as a marker | | Reminder | UserPromptSubmit | If the session is old enough AND today's journal is stale (default: 20 min for both), nudges once in a while — never blocks | | Backstop | Stop | If today's journal was not touched since the session started, blocks the end of the turn once with instructions — then stays quiet | ## The Routine 1. **Before starting work**: search the `topics/` folder of the journal