Blog
Systems, patterns, and lessons from building with Claude Code.

CLAUDE.md Rules: Split Instructions Across Files
Claude Code's .claude/rules/ directory lets you modularize CLAUDE.md instructions. Here's how I cut context bloat by 73% using a 2-tier rules system.

Why Your Claude Code Agents Agree With Each Other
Multi-agent Claude Code analysis converges on shared blind spots. Structural divergence with 7 cognitive lenses fixes it. Open source.

Claude Code Team Guardrails That Stop AI Chaos
5 devs prompting Claude Code differently means 5 different outputs. Shared configs, rules, and hooks enforce consistency across your team.

Claude Code Planning Framework: UPF + DSV Reasoning in One System
How I use a 4-stage Claude Code planning framework built on DSV reasoning to catch wrong questions before they become expensive wrong answers.

Claude Code Session Memory: Build Systems, Not Sessions
Most Claude Code memory plugins solve storage. This free plugin adds a complete session management system - memory, handoffs, learnings - in 60 seconds.

Claude Code Prompt Caching: One Rule, Every Feature
Anthropic treats Claude Code cache misses like outages. Here's how prompt caching shapes every feature - and how to stop fighting it.

Claude Code Session Management: Why I Stopped Restarting
I tested Claude Code's prompt cache with a marker injection. Here's what breaks it, what's safe, and a loop strategy that keeps your cache warm.

Claude Code MCP: 7 Servers, 45 Tools, Zero Manual Config
Most Claude Code MCP guides stop at setup. Here's how I run a 7-server system with 45 custom tools that auto-starts every session.

Claude Code vs Cursor: Terminal Agent or IDE Copilot?
Claude Code vs Cursor isn't a fight. They're built on different philosophies. Here's how to choose based on how you actually work.

Why Skill Graphs Beat Flat Files in Claude Code
Flat files break at scale. Build a Claude Code knowledge graph that lets agents navigate 400+ components with progressive disclosure.

How Claude Code Learns From Every Correction I Make
I built a hook that detects when I correct Claude Code and generates persistent behavioral rules. Corrections become permanent improvements automatically.

Auto-Delegation in Claude Code: Score-Based Task Routing
A scoring formula that automatically routes Claude Code tasks to sub-agents and selects the right model. Zero manual routing decisions needed.

Trait-Based Agent Composition in Claude Code
How I replaced 56 hardcoded Claude Code agent files with a 3-dimension trait system. 10 expertise x 8 personality x 6 approach = 480 agents on demand.

How I Plan Complex Projects With Claude Code (Open-Source)
After 117 failed plans I built a 3-stage planning framework for Claude Code. It catches the gaps that only surface during execution. Now it is open-source.

Claude Code Hooks: 20 That Automate 80% of My Workflow
Claude Code hooks trigger on tool use, file changes, and custom events. Here are 20 production hooks that eliminated most of my repetitive manual work.

5 Real CLAUDE.md Files You Can Copy Today (With Templates)
Stop staring at a blank CLAUDE.md. Here are 5 production-ready Claude Code templates for different project types - minimal, agent-heavy, and monorepo.

Claude Code Context: Knowledge Graphs, Smart Routing, No Waste
How to build a Claude Code context system that loads only what's needed - keyword routing, knowledge graphs, and budget awareness with production results.

From 1 to 81 Agents: Building a Sub-Agent System in Claude Code
How I built a multi-agent delegation system with 81 specialized agents in Claude Code. The full architecture, trade-offs, and lessons learned at scale.

How to Set Up Persistent Memory in Claude Code (Step-by-Step)
Stop losing context every session. Learn how to build a persistent memory system that makes Claude Code remember your projects, preferences, and progress.

Self-Correcting Claude Code Workflows with PreToolUse Hooks
Build self-correcting Claude Code workflows using PreToolUse hooks that detect context drift and inject relevant context mid-session automatically.