Validate what AI returns before trusting it
A model that generates data is an untrusted source. Parse it, validate it against a schema and handle errors like any external input.
Practical notes and lessons on architecture, security, design and AI.
We publish what we learn building products and custom software. No fluff: only what actually worked for us.
A model that generates data is an untrusted source. Parse it, validate it against a schema and handle errors like any external input.
Retries and timeouts are normal. If a payment or resource creation is not idempotent, sooner or later you will charge or create twice.
Big scope is the main reason projects never see the light. Cut down to the minimum that solves a real problem and put it in front of users.
Prompts change your AI's behavior. Keep them in the repo with test inputs and automated evals per change.
If deploying is manual and scary, nobody does it often. A simple pipeline that runs lint, tests and ships on every merge completely changes the team's pace.
Define every color token for AA contrast. Carmine is beautiful for accents, but never for small text.
Protect login and public endpoints from day one. A simple sliding-window middleware prevents 90% of abuse.
A well-typed mock with fake data saves you weeks. Define API contracts with TypeScript and simulate latency before touching Postgres.
Follow us on GitHub to see new tools, examples and technical notes.
We work with these same criteria in the software we build.
We store your consent and preferences in your browser. We do not use analytics or advertising cookies. Cookie policy