InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 745–756 of 3610 questions

Claude CodeIntermediate1 min read

What are hooks in Claude Code?

Hooks are configured integrations that can run checks or commands at supported lifecycle points. They can automate formatting or policy checks, but th...

Claude CodeIntermediate1 min read

How should hooks be secured?

Keep hook scripts reviewed and version-controlled, scope permissions, validate inputs, avoid unsafe shell interpolation, document side effects, and te...

Claude CodeIntermediate1 min read

Explain the basic tool-use loop.

A model interprets a goal, chooses a tool and arguments, receives the result, then decides whether to continue or finish. Reliable systems validate ar...