Claude Code hooks — CCA-F Exam Prep

PencilPrepPencilPrep
L2.32|Claude Code hooks
1/12
Mystery
A CI/CD pipeline dashboard. Every build is green. But a developer notices something strange: the last 20 Claude Code commits all have perfect lint scores, no type errors, and updated changelogs. Nobody on the team has been running these checks manually. Something is doing it automatically. Terminal logs scrolling, green check marks.

Every Claude Code commit is perfect. Linted. Type-checked. Changelog updated. Nobody is doing it manually.

The team has 8 developers using Claude Code. Before last week, half the commits failed lint. Type errors slipped through. The changelog was always out of date. Then the tech lead changed something.

Now every commit is clean. Every PR has a summary. Every file change passes lint before it's saved. The junior developers think Claude just 'got better.' It didn't.

The tech lead added hooks. Automated actions that fire before and after Claude Code events. Claude didn't get better. It got guardrails.