All Articles
Stop the 'old_string is not unique' Error in Claude Code's Edit Tool — A Practical Rewrite Strategy
When Claude Code's Edit tool throws 'old_string is not unique in the file', the root cause is usually that the prompt didn't guarantee a uniquely identifiable target. Here's how to design rewrites that actually stick.
Recipes for a Useful Claude Code Status Line — Show Model, Remaining Context, and Git Branch in One Line
Concrete recipes for a Claude Code status line that displays the active model, remaining context, and git branch in a single line — written in both Bash and Node.js, with the failure modes you should plan for.
Designing a Release Gate Claude Code Can Run — Pre-Deploy Verification You Can Actually Read
A green CI does not mean a safe release. Walk through a seven-checkpoint release gate that asks Claude Code to write a readable, narrative report — with concrete scripts and the operational lessons behind them.
/clear vs /compact in Claude Code: Choosing the Right Reset for Long Sessions
When should you use /clear, and when should you reach for /compact in Claude Code? Three decision criteria from real long-session experience, with the pitfalls that hit me before I figured it out.
Claude Code × Storybook: A Production-Grade Component-Driven Development Playbook — From Auto-Generated Stories to Visual Regression and Design System Operations
A practical guide to combining Claude Code and Storybook for production-grade component-driven development. Covers auto-generating stories, visual regression strategy, interaction testing, CI integration, and running a design system at scale, with full code examples.
Testing Stripe Webhooks Safely with Claude Code: Three Practical Local Workflows
Reproduce Stripe webhook failures locally with confidence. Three practical patterns combining Claude Code with Stripe CLI, signed payload replay, and idempotency checks — with full working code.
Eliminating Flaky Tests Systematically with Claude Code
Move past the 'just hit retry' habit. This guide walks through a structured workflow for using Claude Code to classify, reproduce, and fix flaky tests at the root cause level — without papering over them with sleeps or skips.
Composing Claude Code Skills — Building Automation a Single Skill Can't Reach
A practical guide to going beyond one-skill-at-a-time and composing multiple Claude Code Skills into real workflows. Pipeline, branching, and meta-skill patterns with full implementation examples and the failure modes you should design against.
Designing Codebases Where AI Agents Hit the Ground Running
A practical blueprint for designing codebases where Claude Code and other AI agents can contribute productively from minute one. Covers CLAUDE.md, contract boundaries, guardrails, and test strategy.
Why Claude Code Skips .gitignore Files in Search — and How to Pull Them in When You Need Them
When .env.example or dist/ won't show up in Claude Code's Glob and Grep, .gitignore is the reason. Here's why it happens, plus three concrete ways through it: the Read tool, --no-ignore flags, and selective gitignore overrides.
Automating Frontend Accessibility Audits with Claude Code — axe-core, Hooks, and PR Comments That Actually Get Read
A practical way to make accessibility audits actually stick in a real codebase. Combine axe-core with Claude Code skills, pre-commit hooks, and a GitHub Actions PR comment, with code you can paste in today.
Observability for Claude Code with OpenTelemetry — A Production-Grade Tracing Guide for Agentic Workflows
Trace Claude Code agent runs end to end with OpenTelemetry. Hook integration, per-tool spans, MCP propagation, cost attribution, and sampling patterns that survive thousands of runs per day.