BaşlayınÜcretsiz başlayın

Defining hooks

Read the article, then answer the question below.

On the uigen project, you wrote a PreToolUse hook to stop Claude from reading the contents of a secrets file, and set the matcher to watch only the read tool. In testing, Claude was still able to view the file's contents.

Why can the contents still leak, and what is the fix?

Bu egzersiz, kursun bir parçasıdır

Claude Code in Action

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Teoriyi etkileşime dönüştürün, interaktif egzersizlerimizden biriyle

Egzersize başla