Writings

Shrinking a Production Prompt by 28% With Autonomous Optimization

How I used autoresearch to run 65 autonomous prompt optimization iterations on a production LLM agent, cutting it 28% while retaining 98% output quality.

Four Dimensions of Agent-Ready Codebase Design

AI agents produce better output when the codebase is ready for them. Here are the four dimensions of codebase readiness that account for most of the gap.

What Claude Code Does in Your Terminal

Claude Code runs terminal commands and asks you to approve them. This explains what those commands mean and when to pause before saying yes.

Ruby LSP Now Has Official Claude Code Support

Ruby LSP now has official Claude Code support. Install the plugin to give Claude go to definition, find references, and call hierarchy across your Ruby project.

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.

Get new posts by email

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

Occasional emails, no fluff.

Powered by Buttondown