Claude Code
How I build business systems with Claude Code: scope, rules and tests
In September 2026 I moved from no-code tools to building software with Claude Code: a 396-test inventory system, a routing engine on Bogotá's real map and a checkout test harness. Here's how I set scope, rules and tests, and the mistakes that cost me.
On this page
I have worked with AI since 2024. In September 2026 I moved from no-code tools to shipping real software with Claude Code. My background is more than ten years in sales, not engineering. Within weeks I had an inventory system with 396 automated tests, a routing engine running on Bogotá’s real street map, and a test harness that checks my store’s checkout before a change ships.
The shift wasn’t learning to code in a month. It was learning to direct an AI that codes: setting scope, rules and acceptance criteria. And that has a lot more in common with selling and managing than with writing software.
Here’s the operating model I use with Claude Code on real businesses.
1. Context before code
Claude Code is excellent at writing code. What it doesn’t know is who you are, what you sell, or what matters this quarter. If you don’t tell it, it guesses.
So the first thing I built wasn’t a client system. It was my own AI operating system: a folder of plain text files.
- Who I am and how I write, so drafts sound like me.
- My business: what Empire Essence sells, to whom, and how money comes in.
- Three quarterly priorities, with dates and numbers.
- A task queue, in order.
- A decision log: what I decided, why, and what I ruled out.
Every session starts by reading that. I never re-explain the business. And when I bring a shiny new idea, it asks which of my three priorities it serves. That filter has saved me from my biggest weakness: scattering my focus.
Takeaway: before asking AI to build anything, write it one page about your business. What you sell, the number that hurts, and what must never be touched.
2. Clear roles: I decide, agents build
I run Claude Code and Codex as a small team.
- Me: I decide what gets built, for whom and within which limits. I talk to customers. I own the outcome.
- Claude: plans, orchestrates, builds and reviews everyone else’s work.
- Subagents: for big jobs, Claude spins up several agents in parallel, each on a model matched to the difficulty. Cheaper models for research and volume work, the strongest model for the hard core.
On the routing project, one agent researched costs and sources, another built the address auditor, and the strongest model built the engine. Claude reviewed the deliveries by running the tests and checking screenshots.
Takeaway: the question isn’t “which tool?” It’s “who decides and who executes?” If the AI is deciding, you have a problem.
3. Non-negotiable rules
The question I get most: aren’t you afraid the AI will do something it shouldn’t?
Yes. That’s why there are written rules that always apply:
- Nothing ships without my explicit yes. No push, no production change, no message to a client. Approving the idea is not approving the release.
- Secrets are off-limits. Keys, passwords and private config files are never read.
- Steps land in commits that say what changed, why, and how it was tested. That history is my portfolio.
- Every release has a written rollback before it goes out.
I learned it building a test harness for my store: AI doesn’t need more freedom. It needs clear rules.
4. Demand evidence, not promises
An agent can say “done, it works” when it doesn’t. So I don’t accept “done” without proof.
- My systems ship with automated tests. Restocore has 396. The routing engine has 405, plus 86 browser tests.
- Risky work gets an adversarial review: another agent whose only job is to break it. On Restocore, that review caught my first proposal promising features the product didn’t have yet. I built them before sending it.
- Visual work gets screenshots on mobile and desktop before it counts as finished.
Takeaway: when someone sells you an AI system, ask how many tests it has and what happens when it fails. No answer, no system.
5. The mistakes that cost me
Building with AI isn’t magic. These were my most expensive lessons:
- The wrong source of truth. I asked an agent for a gift guide and it came back with outdated prices, because I’d pointed it at an old code branch. Now prices only come from the published version or the live site.
- Burning a week’s quota in one night. I launched three heavy jobs in parallel at maximum reasoning effort and drained a tool’s weekly limit overnight. Now effort is matched to the task.
- The most expensive setting isn’t the best one. In one test, a small model at maximum effort overthought a tiny function and cost more than a mid-size model at medium effort. Only measuring tells you.
- Made-up data. I started the routing project with invented deliveries in a sandbox. I stopped it. Without real map data and verified sources, it helps nobody.
6. Where a business should start
You don’t need to code to get value from Claude Code. You do need clarity:
- Pick one task your team repeats every day.
- Write down what it costs, in hours, errors or money.
- Define “done” before you start. Otherwise you never finish.
- Ask for a plan before code. Read it. Question what you don’t understand.
- Require tests and look at them, even briefly.
- Try it on your own business first. I try things at Empire Essence before taking them anywhere else.
What this means if you’re hiring
What I don’t claim: years as a career engineer. What I do: I understand how businesses make money, I set the scope, rules and acceptance criteria, and I check what coding agents build against the tests. I can sit in a discovery call, find the number that matters, and come back with a tested system.
If that’s the profile your team needs, message me on LinkedIn. If you run a business with a task that keeps repeating, message me on WhatsApp.
Keep reading
AI for small businesses: where to start (hint: not a chatbot)
Most owners who want AI picture a chatbot. Start with the number that hurts and your data instead. A practical playbook from selling to, and building for, restaurants and shops in Latin America.
Read→What an agent harness is, and the one that won me a challenge
A harness is the frame around AI work: rules, limits, tests and evidence. Here's a plain-English definition, how I built one to test my store's checkout, and why it won.
Read→