Jonathan Melo/ Thinking

Ideas, systems, and field notes

Thinking

Articles by Jonathan Melo about AI product engineering, TypeScript, React, context engineering, and interaction design.

  • Claude Code
  • Context Engineering
7 min

Write CLAUDE.md Files Without Poisoning Your AI Agents

Too many instructions do not merely consume tokens; they redirect Claude Code into unrecoverable doom loops.

  • Product Design
  • Context Engineering
17 min

Building the primitive AI coding loop around GPT-4

Before AI coding agents could read error logs, run commands, or inspect a codebase on their own, I was building a browser-based workflow around GPT-4 that tried to make the same loop faster.

  • Data Security
  • DX
12 min

Designing a TypeScript helper to prevent accidental database field leaks

A lot of database code starts by selecting too much.

  • Library
  • TypeScript Generics
8 min

Type-First React State Tree

React makes local state easy to start with. That is one of its strengths.