Mulai sekarangMulai gratis

Catch Type Errors with a Post-Tool-Use Hook

The queries project has a PostToolUse hook that runs an automated check after every file edit and reports back if the check fails. You ask Claude to change a function so it takes an extra required input. Claude updates the function, but another part of the project still calls it the old way, so the code no longer fits together.

What happens next?

Latihan ini merupakan bagian dari kursus

Claude Code in Action

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan