Workflow · 2 min read
How I work with AI coding tools
Claude Code, Codex and Cursor write a lot of my code. Here's the process that decides what actually ships.
I use Claude Code, Codex and Cursor every day. They write a lot of the code in my projects, and they make me much faster at the parts of the job that used to eat whole afternoons: boilerplate, migrations, test scaffolding, refactors across twenty files.
But speed was never the hard part of software. The hard part is shipping something that's still correct six months later. So I work with these tools the way a senior engineer works with a fast junior: they write, I own what ships. Speed comes from the tools; quality comes from the process around them.
Speed comes from the tools; quality comes from the process around them.
Context first
An agent is only as good as what it knows about the codebase. Every repo I work in has a short spec and a rules file written for agents: the architecture, the conventions, the commands that must pass, and the things that are never touched without asking.
Before an agent writes anything, it reads. It looks at how the code around the change already works and follows that, instead of inventing a second way to do the same thing.
Small, scoped tasks
I don't ask an agent to "build the feature". I ask for a plan first, read it, then hand over one small, clear step at a time: one branch, one change, one pull request. Small changes are easy to review, and when something goes wrong, they're easy to undo.
When tasks don't depend on each other, I run them in parallel in separate worktrees, so one agent's half-finished work never collides with another's.
The agent proves it, I review it
"It works" doesn't count until there's proof. The agent writes or updates the tests, runs the type check and the linter itself, and fixes what fails. CI is the real gate: across my projects that's more than 900 automated tests, and nothing merges while one is red.
Then I read every diff as if a teammate wrote it. I check security (who can see this data?), performance (what does this query do with 10,000 rows?) and design (will the next change be easy or painful?). Nothing merges on autopilot.
Guardrails
Agents get no secrets, no production access and no force pushes. Keys live in environment variables the agent never sees, and anything irreversible waits for me.
I keep the decisions that shape a system: the data model, the security rules, what the product should and shouldn't do. Agents take the work around those decisions. That split is why I can move fast on my own products without the codebase turning into something nobody understands.
What it changed
The biggest change isn't that I type less. It's where my time goes. I spend more of it on the parts that need judgement: understanding the user, getting the data model right, thinking through edge cases and failure modes. The tools handle more of the rest.
For a company, that's the real value of an engineer who uses AI well: not more lines of code, but more careful decisions per week.
