How we quality-assure code in the AI era
Joakim Gudmunds
Developer

Review has become the bottleneck
Just a year ago, writing code was what took the most time. Today our developers write code together with AI assistants, and both the pace and what we can produce have increased enormously. But far more code in less time also means more code to review and quality-assure. Whether the code is written by a human or by AI, code review plays just as important a role as before. This is where many bugs are prevented and security risks are caught. In e-commerce, a missed bug can have serious consequences: checkout flows can break, prices can be wrong, or the site can even go down.
To keep up the higher pace without compromising on quality, we have recently rebuilt our review processes from the ground up.
A second opinion, but for code
Claude has become our best friend when it comes to AI-assisted development at Motillo, but the code still needs other eyes on it. Just as doctors ask a colleague for a second opinion and an independent assessment, different AI models can see things from different angles. Two reviews from the same AI model tend to miss the same things, because they share the same blind spots.
That is why our process looks like this:
- The developer produces the code, with AI as support.
- The developer runs tests and a first AI review before handing the code over. We primarily use Claude from Anthropic, with instructions tailored to each project and platform.
- A second, independent review is run by a different model from a different provider. This is often where things the first review missed get caught.
- A developer on the team goes through the changes and also assesses the AI's comments before anything goes live on the client's website.
Large parts of this process now run fully automatically.
The AI suggests, the human decides
AI is good at spotting patterns and oversights, but it isn't always right. That is why we have also built in a simple way for the team to flag when the review is spot on and when it is wrong. We use that feedback to improve the review over time, so that it becomes more accurate for our particular projects.






