Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

How I AIHow I AI

The senior engineer's guide to AI coding: Context loading, custom hooks, and automation

John Lindquist is the co-founder of egghead.io and an expert in leveraging AI tools for professional software development.

Claire VohostJohn Lindquistguest
Jan 26, 202656mWatch on YouTube ↗

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

Episode Details

EPISODE INFO

Released
January 26, 2026
Duration
56m
Channel
How I AI
Watch on YouTube
▶ Open ↗

EPISODE DESCRIPTION

John Lindquist is the co-founder of egghead.io and an expert in leveraging AI tools for professional software development. In this episode, John shares advanced techniques for using AI coding tools like Claude Code and Cursor that go far beyond basic prompting. He demonstrates how senior engineers can use mermaid diagrams for context loading, create custom hooks for automated code quality checks, and build efficient command-line tools that streamline AI workflows. *What you’ll learn:*

  1. How to use mermaid diagrams to preload context into Claude Code for faster, more accurate coding assistance
  2. Creating custom hooks in Claude Code to automatically check for TypeScript errors and commit working code
  3. Building efficient command-line aliases and tools to streamline your AI workflows
  4. Techniques for using AI to generate documentation that works for both humans and machines
  5. How to leverage AI for code investigation and orientation when tackling unfamiliar codebases
  6. Strategies for resetting AI conversations when they go off track

*Brought to you by:* WorkOS—Make your app enterprise-ready today: https://workos.com?utm_source=lennys_howiai&utm_medium=podcast&utm_campaign=q22025 Tines—Start building intelligent workflows today: https://tines.com/howiai *Detailed workflow walkthroughs from this episode:*

*In this episode, we cover:* (00:00) Introduction to John Lindquist (03:15) Using context and diagrams to provide context to AI tools (05:38) Demo: Mermaid diagrams (06:48) Preloading context with system prompts in Claude Code (10:30) The rise of specialized file formats for AI consumption (13:23) Mermaid diagram use cases (19:01) Demo: Creating aliases for common AI commands (21:05) Building custom command-line tools for AI workflows (26:39) Demo: Setting up stop hooks for automated code quality checks (35:16) Investing in quality outputs (36:40) Additional use cases for hooks beyond code quality (39:19) Quick review (41:14) Terminal UI vs. IDE (45:35) Selling AI to skeptical teams (51:57) Prompting reset tricks *Tools referenced:*

*Other references:*

*Where to find John Lindquist:* Website: https://egghead.io Newsletter: https://egghead.io/newsletters/ai-dev-essentials LinkedIn: linkedin.com/in/john-lindquist-84230766 X: https://x.com/johnlindquist *Where to find Claire Vo:* ChatPRD: https://www.chatprd.ai/ Website: https://clairevo.com/ LinkedIn: https://www.linkedin.com/in/clairevo/ X: https://x.com/clairevo _Production and marketing by https://penname.co/._ _For inquiries about sponsoring the podcast, email jordan@penname.co._

SPEAKERS

  • Claire Vo

    host
  • John Lindquist

    guest

EPISODE SUMMARY

In this episode of How I AI, featuring Claire Vo and John Lindquist, The senior engineer's guide to AI coding: Context loading, custom hooks, and automation explores Advanced AI coding workflows: diagrams, context loading, hooks, and automation The episode focuses on how experienced engineers can get higher-quality, more predictable results from AI coding assistants by intentionally managing context and automation around the model.

RELATED EPISODES

Guillermo Rauch: Vercel CEO on how v0 hit 3,200 PRs merged per day (and lets anyone ship)

Guillermo Rauch: Vercel CEO on how v0 hit 3,200 PRs merged per day (and lets anyone ship)

How this PM uses MCPs to automate his meeting prep, CRM updates, and customer feedback synthesis

How this PM uses MCPs to automate his meeting prep, CRM updates, and customer feedback synthesis

My honest experience with Clawdbot (now Moltbot): where it was great, where it sucked

My honest experience with Clawdbot (now Moltbot): where it was great, where it sucked

Claude Code for product managers: research, writing, context libraries, custom to-do system, more

Claude Code for product managers: research, writing, context libraries, custom to-do system, more

The power user’s guide to Codex | Alexander Embiricos (product lead)

The power user’s guide to Codex | Alexander Embiricos (product lead)

Zapier's CEO shares his personal AI stack | Wade Foster

Zapier's CEO shares his personal AI stack | Wade Foster

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.