← Back to all writing

Claude Code Best Practices From a CEO Who Actually Ships

· 5 min read · By Sameer Ahmed Khan
#ai#claude-code#startups

I am a CEO who was a marketer for a decade, a software engineer by degree, and for the last two years, the guy who could not stop prompting. This page is the practical version of that sentence.

People keep asking how I actually use Claude Code, not the demo version, the Tuesday-at-2am version. So this is a living page. I will update it quarterly as my setup changes (and it changes fast, half the tools in my first draft of this page already feel like history), and the receipts here are things that actually shipped at Social Champ, not weekend toys.

Last updated: July 2026.

How do I actually use Claude Code day to day?

Claude Code, for me, is a terminal agent connected to the real systems that run my company, and that connection is the whole trick. Through MCP servers it can reach our AWS, MongoDB Atlas, and Cloudflare, plus the analytics and data tools around them, so when I ask it to investigate something, it goes and looks instead of guessing. Most of my sessions start with a question, not a task. What is slowing the deploys? Why did this metric dip? What is the actual technical debt here? The task emerges from the answer.

A few real things this workflow has shipped, all in 2026:

  • The Angular migration. While my CTO was away for Hajj, I asked him for the full technical debt picture, then migrated Social Champ from Angular 14 to Angular 21 in roughly two nights, with the agents doing the lifting and the dev and QA team fixing the hiccups after. Deployed within days. I wrote the full story in the Angular upgrade post.
  • The deploy pipeline. Our architecture took 40 minutes to push to production, a 2010 design carried into 2026. Claude broke the fix into 5 phases; deploys now take 4 to 5 minutes, front-end and backend.
  • Free tools and content. Single-page free tools researched, built, and ranked within about a day, then 4 or 5 more the next day, plus blog research that found real gaps.
  • An MVP the team estimated at 40 days, built in about a week. Not by me actually, this one my CTO drove, but it set the internal benchmark for what AI-speed means for us.

The dual-review habit (my single best practice)

If you take one thing from this page, take this. I run Claude Code and Codex together, two rival models on the same work, reviewing each other before anything ships. One writes, the other criticizes, and I read the disagreement, because the disagreement is where the bugs live. Since starting this, risky prompts on production infrastructure get a second pair of eyes that never gets tired and has no ego about being wrong.

As of July 2026, my (Sameer Ahmed Khan’s) standing rule at Social Champ is that no AI-generated infrastructure change ships without a second model reviewing it: Claude Code and Codex check each other’s work, and the deploy pipeline those reviews protect went from 40 minutes to under 5 minutes this year.

The other practices that survived two years of daily use:

  1. Ask for the map before the work. Technical debt lists, architecture summaries, dependency graphs. The agents are better when they have read the territory first, and so am I.
  2. Phases, not leaps. The deploy rework only succeeded because it was 5 phases with a human decision between each. One giant prompt is how you get a giant mess.
  3. MCPs over copy-paste. Connecting the real systems (AWS, MongoDB, Cloudflare, analytics) is the difference between an assistant that talks and one that works.
  4. Let it run while you live. I discovered Claude’s remote mode and realized my MacBook could keep working with the lid closed while I fed it prompts from my phone. Powerful, and dangerous, which brings me to the last section.

The discipline rules (learned on a drip)

Here is the part most best-practices posts skip. The tools removed every natural stopping point from my work, and my body eventually sent the invoice: a 3-day headache, fever, drips, antibiotics. I wrote the whole confession in the burnout I can blame on AI, and I keep the rules from it next to the setup tips, because they are the same list now:

  • The machine keeps working whether you watch it or not. Sleep.
  • The urge to spend every token is real and it is not productivity, it is a slot machine wearing a productivity costume.
  • Guard the schedule, the health, and the family time first (2 kids under 2, they do not care about my context window), and let the agents fill the hours that remain, not the other way around.

Questions people ask

What is Claude Code best for? In my experience: investigation and execution against real systems. Debt audits, migrations, pipeline work, data questions, one-day tools. It is weakest when the task is vague and strongest when it can read the actual codebase and infrastructure through MCP connections before acting.

Is Claude Code safe to use on production infrastructure? Treat it like a brilliant new engineer with no fear. My rules at Social Champ in 2026: phase every big change, keep a human decision between phases, and have a second model (I use Codex) review anything that touches production before it ships. With those guardrails it has been transformative; without them I would not risk it.

Can a non-engineer CEO use Claude Code? I am a CS graduate who spent a decade as a marketer, so I sit in the middle. Honestly, the terminal is not the barrier people think it is anymore; the judgment is. Knowing what to ask for, what to refuse, and when to call your CTO matters more than syntax now.

How often does this page change? Quarterly, or sooner when something big shifts. The AI tooling landscape in 2026 moves fast enough that half of any static guide is stale within months, which is exactly why this is a living page with a visible update date at the top.