Notes on building software.

A personal blog of technical articles about software development.

The Hook Lifecycle: Events You Can Tap Into

September 8, 2026· 2 min read·claude-codehooksconfiguration

A tour of every hook event Claude Code fires, from tool calls to session start, so you know where to attach your automation.

Hook Matchers and the if Condition

September 8, 2026· 2 min read·claude-codehooksconfiguration

Matchers decide which tool triggers a hook; learn the patterns and how to add your own conditions inside the command.

Running Checks When a Session Starts

September 8, 2026· 2 min read·claude-codehooksconfiguration

A SessionStart hook can load fresh project context into every session so Claude begins with the state that matters.

Debugging Hooks That Don't Fire

September 8, 2026· 2 min read·claude-codehooksconfiguration

A checklist for when a hook stays silent: verify the config, the event, the matcher, the exit code, and the command itself.

Stdio vs HTTP vs SSE Transports

September 8, 2026· 2 min read·claude-codemcpconfiguration

MCP servers connect over stdio, http, or sse; pick the transport that matches whether the server runs locally or remotely.

MCP Server Scopes: Local, Project, and User

September 8, 2026· 2 min read·claude-codemcpconfiguration

Scope decides who sees a server: local to one project, shared with your team via .mcp.json, or across all your projects.