Eivind Kjosbakken — Claude Code & Coding Agent Workflows

Eivind Kjosbakken — Claude Code & Coding Agent Workflows

How to Increase Coding Iteration Speed

Learn how to become a more efficient programmer with local testing

Eivind Kjosbakken's avatar
Eivind Kjosbakken
Jan 18, 2026
∙ Paid
In this article, I’ll discuss how to increase programming iteration speed by running your code locally with Docker and giving your coding agent access to local testing scripts.
In this article, I’ll discuss how to increase programming iteration speed by running your code locally with Docker and giving your coding agent access to local testing scripts. Image by ChatGPT.

Originally published in Towards Data Science on 13 December 2025.

When developing code, you often need to test it before pushing to the development or production environment. However, waiting for a deploy with GitHub actions, or CDK stack deploys with CDK, is time-consuming.

Such time-consuming tasks kill iteration speed, which is a critical factor if you want to develop code effectively. This is because you need to test your implementations properly to ensure they work. Then, after each change, you need to test it again.

With the latest coding agents, developing full local testing scripts is super fast, and something I do every day as I write code as a data scientist.

In this article, I’ll take you through why you need to create an efficient local testing setup by running a Docker image and sending test events. I’ll also show how I do it myself, and how it helps me become a more efficient engineer.

I’ll mostly be talking about how to work with Infrastructure as Code (IaC), because that’s mostly what I’m working with on a day-to-day basis. However, the concept of efficiently running your code locally applies to all programming.

This infographic highlights the main contents of this article. I’ll highlight how slow iteration speed limits your ability as a programmer, and how you can speed up development by creating proxy production environments locally.
This infographic highlights the main contents of this article. I’ll highlight how slow iteration speed limits your ability as a programmer, and how you can speed up development by creating proxy production environments locally. I’ll also highlight how you can give your coding agent access to local testing scripts for even higher iteration speed. Image by Gemini.

Why you need to run code locally

Firstly, I want to cover why we need to run code locally. The simple answer is that:

Iteration speed is one of the most important aspects for efficiently getting working code to production

The faster you can iterate on your code, the better. When you develop new functionality (or fix old functionality), you want to quickly test if it works, and then iteratively fix the code until it works as intended.

The technical breakdown and source code below are reserved for paid subscribers. Support independent technical writing and gain the efficiency edge.

User's avatar

Continue reading this post for free, courtesy of Eivind Kjosbakken.

Or purchase a paid subscription.
© 2026 Eivind Kjosbakken · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.