From “Building verification loops in Claude Code” by Claude
Building verification loops so Claude checks its own work
Let Claude measure its own work, and stop being the checker.
Key points
- Claude Code runs a four-stage loop on every prompt: gather context, take action, verify the work, then respond. 0:00
- Passing tests, type checks and linters does not prove a change does what was intended; the video says a manual check is what proves it works. 0:24
- Codify the manual checks in the project (for example opening the page and reading the console, calling an endpoint, or tapping through simulator screens) so Claude can run them itself. 0:37
- Start from the verify skill that ships with Claude Code, then extend the generated skill with the checks your project needs, such as a performance trace for layout shift. 1:01
- A good verify skill states when Claude runs it, what to do when a check fails, and what proves each check passed, and the more measurable a check is, the easier it is for Claude to tell if it passed. 1:37
Small clues in the verify demo
- Performance trace result — Text reports CLS went from 0.19 to 0.00 and that a shipping banner caused the layout shift.
- Claude Code edit log — Claude's log lists edits to banner.js and styles.css, with a prompt to fix the layout shift.
Questions to check yourself
Why does the speaker say passing tests and linters does not prove a change works?
They do not show that the change does what you meant — The speaker says passing those checks does not prove the change does what was meant; the manual check afterwards does. 0:24
What does the verify skill do the first time it is used?
It runs the app and checks the change in the app — The first run launches the app, checks the change in the app itself, and saves the working steps as a skill. 1:01
Which Core Web Vital is the layout shift check in the example about?
Layout shift — The speaker says the performance trace measures layout shift, one of the Core Web Vitals. 1:19
Hücre organelleri: çift zarlılar ve çekirdekDr. Biyoloji
TYT mol soruları: tanecik ve hacim ilişkisi çözümüMeschemy Kimya
TYT Fizik Hareket Soruları: Grafiklerle ÇözümÖzcan Aykın FİZİK
Analitik Geometri: Temel Tanımlar ve Soru ÇözümleriRehber Matematik