How I AI

Advanced Claude Code techniques: context loading, mermaid diagrams, stop hooks, and more | John Lindquist

597 snips
Jan 26, 2026
John Lindquist, co-founder of egghead.io and AI-for-dev tooling expert, shares advanced Claude Code techniques. He discusses using mermaid diagrams to preload app context, building CLI aliases and small tools to speed workflows, and creating stop hooks to run automated code quality checks and commits. Short demos and practical tips throughout.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Workshop Video Processing Example

  • John built a tool that processes six-hour workshop videos to extract notes, examples, and FAQs.
  • He uses Gemini for video understanding to accelerate teaching iterations.
ADVICE

Alias CLIs To Speed Repeated Workflows

  • Create shell aliases and short CLIs to launch preconfigured Claude sessions and workflows.
  • Use project-specific aliases to quickly load the exact context or mode you need.
ADVICE

Script AI Tools With Small CLIs

  • Script desktop AI tools (like Gemini) with small CLIs to standardize prompts and outputs.
  • Treat the terminal UI as a fast constrained prototyping surface to avoid UI distractions.
Get the Snipd Podcast app to discover more snips from this episode
Get the app