
Claude API Crash Course #2 - Sending a Message
The video walks developers through adding Claude’s language model to a Next.js application by sending a message via the Anthropic client SDK. It begins with installing the SDK, retrieving an API key from platform.anthropic.com, and securely storing that key in an environment file to prevent accidental exposure. Key steps include importing the SDK, instantiating a client with the API key, and configuring a request that specifies the model (e.g., Sonnet 4.6), a max‑token limit, and a single user‑role message prompting the model to generate a recipe. The tutorial highlights how model families differ—Haiku for lightweight tasks, Opus for heavy‑duty work, and Sonnet as a middle ground—allowing developers to balance cost and performance. During execution, the create method returns a content array containing blocks such as text, tool use, or thinking. The example extracts the first text block, accesses its .text property, and sends the result back to the front‑end component, where the generated recipe appears. The presenter demonstrates this by clicking a "Generate recipe" button and observing the console output and UI update. By following this pattern, developers can quickly integrate AI‑generated content into web apps, control token usage to manage expenses, and maintain secure credential handling. The approach showcases a reusable pattern for any Claude‑powered feature, from content creation to data summarization.

Astro Crash Course #13 - Deploying to Netlify
The video walks viewers through deploying an Astro static site to Netlify, emphasizing the workflow of pushing the code to a GitHub repository and then connecting that repo to Netlify for automated builds. It details creating a new private repo named...

Spec Driven Workflow with Claude Code #4 - Implementing the Plan
Claude Code’s fourth tutorial walks through turning a detailed plan into working authentication components. The presenter switches from the default Sonic model to Opus 4.5, noting its superior instruction‑following ability, and enables extended thinking mode to let the model reason longer...

Spec Driven Workflow with Claude Code #3 - Using Plan Mode
The video demonstrates Claude Code’s Plan Mode, a read‑only workflow that generates a detailed implementation plan for new features before any code is written. By activating Plan Mode, Claude spawns a sub‑agent that scans the existing repository, gathers context, and...

Spec Driven Workflow with Claude Code #1 - Making a /Spec Command
The video previews a new chapter of the Claude Code masterclass, demonstrating a lightweight spec‑driven workflow that begins with a custom “/spec” slash command. The instructor explains how the command generates a feature title, creates a safe Git branch, and...