Technical
First Principles: Why Documentation Is a Product
Most teams treat documentation as overhead. That framing is wrong. Documentation is a product with users, features, and failure modes. Treat it that way and everything improves. This is how I have started approaching docs for every project in 2026 and the shift that made it stick.
The Users of Documentation
- Future me, six months from now, after context has faded
- The next engineer, hired or contracted
- The client reading to verify deliverables
- The AI agent trying to work in the codebase
Each user needs something different. Generic docs serve none of them well. The future-me user wants 'why we built it this way.' The AI agent wants canonical names and exact file paths. The client wants a plain-language description of what the system does.
The Feature List
- A README that answers 'what is this?' in thirty seconds
- A setup guide that works on a fresh machine
- An architecture doc that explains 'why this shape?'
- A glossary for project-specific terminology
- An ADR log for notable decisions and their context
The Quality Gates
Run every quarter:
- Can a stranger clone and run the project in 15 minutes?
- Do all referenced links resolve?
- Do all commands execute cleanly?
- Does the README still match what the project actually does?If the answer is no, docs are broken. Fix them with the urgency you would fix a broken endpoint. Broken docs cost hours of silent wasted time from every new reader.
The Shift That Worked
I added a docs/ folder to my project template with placeholders for each user type. Starting from structure beats starting from a blank README every time. Empty placeholders are easier to fill than blank pages, and the presence of placeholders signals that documentation is expected, not optional.
The AI Agent User
This is the newest user. Agents working in a codebase need canonical documentation they can parse. A CLAUDE.md with rules, naming conventions, and project decisions is not duplicate work. It is a product feature for the AI user.
The Business Case
Good docs reduce handoff cost, onboarding cost, and client anxiety. That is three budget lines turning into value. Docs are not overhead. Docs are positioning.
The Cost
Maybe 10 percent of project time dedicated to docs. The payoff is measured in reduced support questions, faster onboarding, and higher client renewal rates. No other 10 percent investment beats this.
RELATED READING
The Consulting Shift I Am Making In Year Two
After a year of writing and building, my consulting practice is changing shape. Shorter engagements. Sharper outcomes.
ReadThe Frontend Shift: Shipping Less JavaScript In Year Two
A year ago I reached for Next.js for everything. This year I often reach for nothing.
ReadThe Serverless Lesson I Would Write On A Sticky Note
After a year of shipping serverless projects, one rule explains most of the wins and all of the losses.
Read