Building a Full TDD Pipeline I Run From My Phone
Every day, I spend 45 minutes on a Mumbai local train. That used to be dead time. Now it's when I ship features.
The setup
I use Claude Code on my phone (Max Plan) to control my office development environment remotely. The pipeline runs:
Server-side e2e testing - full integration tests against the running backend
Local unit testing - component and utility tests
Infisical env updates - environment variable management for different stages
Browser testing - automated UI verification
All triggered and monitored from my phone.
Why this works
Claude Code is the remote control
Claude Code's Max Plan gives me 24/7 access to an AI assistant that can read, write, and execute code on my remote machine. I describe what I want to build, it writes the test first (TDD), then implements, then runs the full suite.
Infisical is the glue
Environment variables are the silent killer of remote development. Infisical gives me a clean, secure way to manage env vars across development, staging, and production - all accessible from the pipeline.
MCP makes it composable
The Model Context Protocol lets Claude Code interact with my tools directly. mermaid.help uses MCP for shareable links. My dev pipeline uses MCP for deeper tool integration.
A typical commute session
6:45 PM - Board the train, open Claude Code on phone
6:47 PM - "Write a test for the new invoice PDF generation endpoint. It should verify GST calculations for inter-state transactions."
6:52 PM - Test written and failing (RED). Claude starts implementing.
7:00 PM - Implementation complete. Tests passing (GREEN). Claude refactors.
7:10 PM - "Run the full e2e suite against staging."
7:15 PM - All green. "Push to the feature branch."
7:20 PM - Feature shipped. I'm still 10 minutes from my stop.
What I've learned
Constraint breeds productivity - 45 minutes with no distractions is more productive than 3 hours at a desk with Slack open.
TDD is perfect for remote work - the red-green-refactor loop is self-contained and verifiable. You always know where you are.
Mobile-first dev tools are the future - Claude Code on a phone isn't a hack. It's a glimpse of how development will work in 2027.
The commute is a feature - I actively look forward to my train ride now. It's my most focused coding time.
Try it yourself
You need: Claude Code Max Plan, a remote machine you can SSH into, and Infisical (or any env manager). The total cost is the Claude subscription. The ROI is reclaiming hours of dead time every week.
I've shipped more features from a Mumbai local train than most people ship from their standing desks. The tools are ready. The question is whether you'll use the dead time.