This lesson is part of Plus

Hooks That Format and Check the Agent's Work

Lesson 7 of 7 · 4 min · Roll Out AI Across Your Team

Plus

Get all access

  • All 7 lessons here, and every other course
  • Roles with course and role certificates
  • The Toolkit with agent skills, MCPs and apps
  • New courses as they ship, at no extra cost

$299/year

Unlock now

Checkout, then straight back to this lesson.

30-day full refundCancel anytime

Hooks That Format and Check the Agent's Work

AGENTS.md tells the agent to run npm run check before it says it's done, but an instruction can be skipped. We see it happen when we tell the agent to just make a change, and the tests are left broken. Then we add two hooks, commands Claude Code runs itself at set points. A PostToolUse hook runs…

The full notes, transcript and prompts open with Plus.

$299/year

Unlock now

Keyboard shortcuts

SpaceK
Play or pause
JL
Back or forward 10 seconds
T
Transcript beside the video
O
Outline
F
Fullscreen
ShiftN
Next lesson
?
This list

Shortcuts work while the video area has focus (click beside the video or tab to it), so they never clash with screen reader or speech input keys.

Single-key shortcuts