Writings

Extending Claude Code Worktrees for True Database Isolation

Claude Code's native worktree support handles file isolation, but Rails apps need database isolation too. Here's how to extend it with the WorktreeCreate hook.

How I Built a Personal AI Assistant with Mastra

A practical guide to building an AI agent with Mastra that researches contacts, schedules follow-ups, integrates with Slack, and uses layered memory.

How AI Agents Remember Things

AI agents are stateless by default. Here's how memory systems actually work, covering the storage patterns, lifecycle triggers, and architecture behind agents that remember you.

Building a Linear-Driven Agent Loop with Claude Code

How I built a bash-based agent loop that pulls work from Linear, implements features, runs code review, and opens pull requests autonomously.

MCPs vs Agent Skills: Understanding the Difference

MCPs give Claude capabilities. Skills teach Claude workflows. Here's the mental model I use to decide which one I need.

How to Fix LLM Date and Time Issues in Production

LLMs don't have access to the current date, causing issues in time-based analysis. Here's how to fix date and time handling in production LLM systems with explicit context.

Understanding Claude Code's Context Window

How Claude Code's context window works: what consumes tokens (MCP servers, tools, messages), why it matters, and how to manage context effectively.

How I Use Claude Code: My Complete Development Workflow

After 8 months with Claude Code, here's my complete workflow. Learn how I combine Linear, MCP servers, and Obsidian for AI-assisted development that works.

Build Efficient MCP Servers: Three Design Principles

Three design principles for context-efficient MCP servers: filter at source, pre-aggregate data, work creatively. Real reductions: 746k→262 tokens.

The Double-Edged Sword of Customer Obsession

Customer obsession can sharpen focus and drive urgency—but left unchecked, it burns out teams and breaks products. Here's how to get it right.

Get new posts by email

Insights on engineering leadership, AI in production, and technical decision-making.

Occasional emails, no fluff.

Powered by Buttondown