// blog · AI
// article · 02 / 02 · 6 min read
How I code with AI
I've coded with AI every day since 2024. How I work: business first, then context, and nothing ships unreviewed.
Tags: AIHow I work
I’ve coded with AI every day since 2024. I don’t use it to write less — I use it to think more.
On the Home page I sum it up in five principles and a one-line workflow. Here is the full version: what I do, what the AI does, where the line sits and why I draw it there. It isn’t a guide or a recipe. It’s how I work today, with what has worked for me and what hasn’t.
I understand the business first
Before a single line of code, I analyze the problem, the processes, and which features really matter. The AI doesn’t do this for me, and not because I distrust it: the AI simply wasn’t in the meeting.
An ERP doesn’t start in the database. It starts with how an order comes in, who approves it, what happens when stock runs out and which report management wants at the end of the month. If that isn’t clear, the AI will very quickly write something that doesn’t work. And it will write it well, looking good, which is worse.
That’s why the first phase of any project is mine, and it’s slow: asking questions, drawing the process and writing down the business vocabulary. What an “order” is, what a “work order” is, when one becomes the other. That glossary ends up as a file in the project, read by people and agents alike.
I decide, AI writes
I delegate the writing, not the judgment: the architecture, the data model, and the boundaries are mine.
In practice, the AI lays out options and I choose. I ask it to research two or three paths, with their benefits and what they cost, and to tell me which one it recommends and why. Often I go with its recommendation. Sometimes I don’t, because I know something about the business or the client that it doesn’t. What matters is that the decision is written down, with its reasons, and that I’m the one who makes it.
Decisions that are expensive to undo go into a separate record, along with the options that were ruled out. That way, six months from now, neither I nor an agent ends up arguing the same thing again from scratch.
Context is everything
AI is only as good as its context: specs, the business vocabulary, and decisions in writing.
This is the principle that has changed the way I work the most. Documentation used to be the thing you wrote at the end, if there was time left. Now it comes first, because it’s what makes an agent work well. An agent without context guesses. With a spec, a glossary and the decisions already made, it executes.
AXEO, the ERP of the company I work for, takes this to the extreme: spec-driven development (SDD), tests before code (TDD), guardrails and documented processes. YumeDB works the same way: the repository has its glossary, its architecture decisions and a folder of features described before they’re built.
The stack matters too. Today I work with TypeScript, Next.js and PostgreSQL, and that’s no accident: it’s the stack AI works best with. Strict types, a huge ecosystem and plenty of public documentation. I come from PHP, Progress OpenEdge, .NET with Angular and .NET with React. I liked them, and .NET with React felt like home. I switched because, with AI, the stack is no longer just my preference: it’s also the agent’s context.
Nothing ships unreviewed
Everything goes through tests and through my own eyes. Responsibility isn’t delegated.
The AI writing the code doesn’t change whose code it is. If something breaks in production, it’s my problem, not the model’s. So nothing reaches production without passing two filters.
The first one is automatic. Tests, strict types and checks that stop the work when something doesn’t add up. The more the AI writes, the more this filter matters, because it’s the one that never gets tired.
The second one is me. I read the changes, try them and ask about whatever I don’t understand. If I don’t understand a part of the code, it doesn’t go in until I do. It isn’t distrust: tomorrow I’ll be the one maintaining it.
Reviewing also means looking for what isn’t there. An agent does what you ask, and sometimes only that: the edge case, the error message or the page in the other language get left out if nobody mentioned them. That’s what a complete spec is for, and that’s what looking carefully is for.
More reach, same quality
AI lets me cover the whole platform, from the data to the interface, with the same bar.
A complete project for a single person used to come at a price: either it took a long time, or something got cut. Usually what got cut was what nobody sees: tests, accessibility, performance, the second language. Today I can ask for all of that and review it, instead of leaving it for later.
That doesn’t mean the AI gets everything right the first time. It means the cost of doing things properly has dropped so much that I no longer have an excuse not to.
My workflow, step by step
On the Home page I put it in one line: analysis → specs → tickets → decisions → agents → tests → review → production. Step by step:
- Analysis. I understand the business, the processes and what’s really needed. That part is mine.
- Specs. I write down what the system has to do, in the business vocabulary. The AI helps me organize it and find the gaps.
- Tickets. I split the work into pieces that can be built and reviewed on their own, each with its acceptance criteria.
- Decisions. Whatever isn’t clear gets asked and decided before building: with options, a recommendation and my answer in writing.
- Agents. Agents build ticket by ticket, each on its own branch, with the context from the previous steps.
- Tests. Automatic checks first: if something fails, it goes no further.
- Review. I read and try every change before accepting it.
- Production. It ships with one command, or on its own when merged, and then it’s checked that the site responds.
This site was built exactly like that, and I go through it in detail in How this site is built.
What I work with
Claude Code, VS Code with extensions, OpenCode, Codex, Vercel and AI Studio, among others. Tools change every few months and I don’t marry any of them. What doesn’t change is the way I work: if a better one shows up tomorrow, the context I’ve written works for it just the same.
What’s next
Agents that work on their own within the limits I set.
Parts of my work already run that way: an agent picks up a ticket, builds it, passes the checks, reviews its own change and leaves it ready for me to look at. The next step is for that to be the norm rather than the exception, with clear limits: what it can touch, what it can’t, and when it has to stop and ask me.
The hard part isn’t the model. It’s having the business understood, the context written down and the checks in place. In other words, the first four principles.
If you also code with AI and do it differently, I’d like to hear about it. Write to me.
