Graphite + AI Agents: Testing Stacked Diffs

Опубликовано: 27 Июль 2026
на канале: Ray Fernando
2,239
52

AI generates 500 lines. You check it in. Too fatigued to review. Sound familiar?

Testing STACKED DIFFS - the workflow Meta/Google use to ship fast while maintaining quality. Learning from Tomas (Graphite co-founder, ex-Meta).

PART 1: Tomas teaches us stacked diffs
PART 2: I implement it live (no editing)

🎁 GRAPHITE SPECIAL: 2 FREE MONTHS Team Plan
👉 https://rfer.me/graphite
Code: STACKWITHRAY

⏱️ TIMESTAMPS:
00:00:00 Introduction: The "YOLO Commit" Problem with AI Code
00:02:40 Meet Tomas from Graphite & The Concept of Stacked Diffs
00:05:30 How Stacking Solves Being Blocked During Code Review
00:09:20 The Benefits of Stacking: Smaller PRs & Better Storytelling
00:13:00 Visualizing a Stacked Workflow on the Whiteboard
00:16:35 Why Hasn't GitHub Natively Supported Stacking?
00:20:25 Getting Started with the Graphite CLI (`gt`)
00:24:10 Live Demo: Visualizing Stacks in the Terminal with `gt log`
00:29:45 Live Demo: Creating & Submitting a New Stack with `gt create` & `gt submit`
00:33:20 Live Demo: Modifying an Earlier PR in a Stack with `gt modify`
00:38:25 What is `git rebase`? A Simple Whiteboard Explanation
00:44:30 Live Demo: Installing & Using the Graphite VS Code / Cursor Extension
00:52:10 Mind-Blowing Feature: Drag & Drop Reordering of Stacks in the Editor
00:54:55 Live Demo: Graphite's Web UI & Proactive AI Code Reviewer
00:58:15 The AI Agent Finds a Bug & Suggests a Fix
1:01:20 Graphite's Origin Story: It Started as an Internal Tool Named "Pancake"
1:07:30 The Art of the Possible: A Tour of Graphite's Insane Website
1:14:40 Workflow: Using AI Agents (Droid) to Create a Stacked Diff Plan
1:21:50 How to Set Up Graphite with Claude Code using MCP
1:29:45 Live Demo: Claude Code Picks Up Where Another Agent Left Off
1:38:10 The Surprising History of Code Review (from IBM in the 1970s)
1:43:00 Graphite's Philosophy on AI Code Review: Correctness vs. Pedantry
1:51:45 Recap: Why This Workflow is Essential for the Age of AI
1:57:15 Q&A: Can Graphite Automatically Split a Big Branch into a Stack? (Stay Tuned!)
2:00:10 The "Tinder for Code Reviews" Idea
2:05:30 Live Demo: Applying an AI-Suggested Fix with One Click in the Graphite UI
2:12:00 Using Multiple AI Agents (Droid, Claude Code) in the Same Workflow
2:18:00 Final Thoughts & How to Get Started with Graphite for Free


📌 MY 2026 GOAL: Review AI code properly, not just check it in and pray.

🔗 LINKS:
Graphite (2 FREE months): https://rfer.me/graphite
Code: STACKWITHRAY

Docs: https://graphite.dev/docs
Guide: https://graphite.dev/guides/stacked-d...

#AI #Coding #StackedDiffs #CodeReview #AIAgents #ClaudeCode #Cursor #GraphiteGit