
How to Code in the AI Era
A Practical Visual Guide to Building Real Software With AI
Code with AI without losing engineering discipline.
Design database schemas and app specs before generating code.
Master Claude Code, Antigravity IDE, and custom AI tools.
Fix bugs cleanly using Git rollbacks and automated tests.
Verify user authentication, live APIs, and hidden security flaws.
Build and deploy four full apps to live production.
Interior Pages & System Diagrams
Swipe or tap any page to inspect (3 previews)
Parts & In-Book Builds
Every architectural walkthrough, code listing, and verification checklist is self-contained inside the book.
Core Curriculum
Foundations
Understand how modern web software runs, how LLMs predict code tokens, how to protect work with Git checkpoints, write clear prompts, and audit AI code with zero blind trust.
Coding Agents
Move from inline autocomplete to full CLI and IDE agents using Antigravity, Claude Code, layered AGENTS.md / CLAUDE.md memory, and the Bailout Rule for escaping bug loops.
Extending Your Agent
Give agents safe live capabilities using the Model Context Protocol (MCP), a custom read-only SQLite MCP server, Subagents, Hooks, Skills, and Headless GitHub Actions CI.
Spec-Driven Development
Replace fragile vibe coding with GitHub Spec Kit (/speckit.*), locked SQL schemas, and Agent-Driven TDD quality gates that catch bugs before code ships.
Complete Systems Built Inside the Book
Taskflow
Multi-user full-stack task app with authentication & private SQLite data
Built with GitHub Spec Kit, Express 5, built-in node:sqlite, scrypt password hashing, HttpOnly session cookies, XSS-safe DOM rendering, and Red-first TDD isolation tests.
Pulseboard
Real-time analytics dashboard using Server-Sent Events & SQLite WAL
Streams live traffic and latency snapshots over SSE with req.on('close') memory-leak prevention, indexed 10-second SQL rollups, Chart.js 4 zero-flicker updates, and automated abort tests.
Receipt-Desk
Autonomous multimodal receipt-triage agent with custom MCP tools
Processes receipt images and notes with Claude Vision, blocks SHA-256 duplicates before spending tokens, enforces human approval gates and MAX_STEPS limits, and talks to a custom stdio MCP server.
Production CI/CD
Containerized deployment, HTTPS automation, AI PR gates & backups
Takes Taskflow to production using non-root Alpine Docker containers, graceful SIGTERM shutdown, Caddy auto-TLS, GitHub Actions headless claude -p security gates, and live SQLite VACUUM INTO backups.
Frequently Asked Questions
How to Code in the AI Era
