patterns
4 articles
Diagnosing Retrieval Failures in a RAG Application
Use Ragbot’s biography lookup to separate routing, tokenization and ranking, then trace a context-budget change through five defaults from UI to retrieval.
Data Format Contracts for AI Pipelines
Timestamp, pagination, rate-limit and configuration failures taught me to define explicit data contracts, then test what each component sends and accepts.
Keeping Claude Code Refactors Consistent Across Long Sessions
Keep a long Claude Code refactor aligned with its conventions through instruction-loading checks, scoped code review and tests of the behavior being changed.
Build the Foundation Before Scaling AI Coding
Set architectural direction, build a complete reference feature and test the next addition. A worked API example shows what coding agents should extend.