Some things I learned after three months of AI-driven development

2026-06-15en4 minhandwritten

In the last 3 months, I completely shifted my way of working, fully embracing AI-driven development (or whatever you want to call it). So yeah, not a single line of code handwritten (when not working, I still write a lot of code for personal projects), focusing on the harness instead of the single line of code. These are some of the things I learned, or at least I think I learned, and I thought it would be cool to share. Written by me, a person; I could have made Claude generate this, but everybody can do that, so what’s the point?

Concise

Oh man, models really love throwing incredibly long walls of text into every single answer. You are not going to read it, and even if you tried, you would stop after 3 sentences because it’s simply too much. Just use a rule or a skill to make the output simple, human-readable and concise. This really helps your interaction with the Agent (and your mental health).

Human vs Agent

Always make sure you know who the consumer of the output is, or structure it so it is consumable by both. If you create a ticket, make sure to have a short and product-oriented title with a simple description, and include all the details at the bottom so the agent will have the right context. Same thing for Docs, ADRs, plans, comments or READMEs.

Small and specific = Great results

AI is really good at following patterns, but it is also really good at small and specific tasks. For instance, if you want to add a set of filters, you can work on the first one or two, make sure the overall architecture is what you want, and then let the AI do the rest, adding all the other N filters without worrying too much.

Static checks

You can embed all the well-crafted rules or skills you want, but eventually the model will start doing what it wants (which can be a good thing in some cases). If you want to enforce good patterns, whenever possible, always go for static checks: complexity metrics, linters, formatters, fitness functions. Be deterministic.

Reduce Waste

AI always wants to give you more, more and more, even if it makes no sense. “…Do you also want me to do this?” -> “No!” If your backend serves a CRUD API to manage grocery store lists, you probably don’t want, or can’t handle, a UI that plans for food and dietary recommendations. Really, many times models want to build you a house on the moon when you only need to drive your Fiat Panda from Milan to Sondrio.

Ratchet

Code is generated really fast, and it can also turn into spaghetti code very quickly. Big refactors are always risky, so a good approach is to first analyse what is wrong, flag it, measure it, and say “ok, we have this, but from now on no more of this mess”. Practical example: you notice that in the last PR the model has generated a function with cyclomatic complexity of 35, you wonder “what’s going on?”, then you check the whole codebase for other functions with high complexity, you flag them, you count them, and that becomes the maximum amount of high-complexity functions you can have from now on.

SW Dev skills

No matter what dream they are trying to sell you, the only true ground pillars that helped me get through in this new approach are my experience and skills in software development, good practices, architecture, and infrastructural knowledge. All the things I learned have helped me a lot in judging the AI’s output and decisions. And if we are lucky, ultimately those will be the things that will create the harness that will guide the AI to generate code more reliably.

10% Code generation

Before AI generation was a thing, I learned from good developers that writing code is only 10% of the actual software development process. So the fact that you can generate code 100% faster doesn’t make you 100% faster overall. Software is way more than writing code: AI can help you at every step, but so far, it cannot do all the work for you.