Learn how to build hooks in Claude Code to intercept and control tool calls. Master PreToolUse and PostToolUse hooks, understand tool call data structures, and implement access control for sensitive files.
Learn how to use system prompts to customize Claude's responses for specific use cases. Build a math tutor chatbot and create flexible chat functions with role-appropriate interactions.
Learn how to extend Claude Code's capabilities using MCP (Model Context Protocol) servers. Discover how to install Playwright for browser automation and improve your development workflow.
Learn how to implement response streaming in Claude to improve user experience. Display text chunk by chunk as it's generated instead of waiting for complete responses.
Learn how to create custom commands in Claude Code to automate repetitive tasks, ensure consistency, and streamline your development workflow with reusable automation.
Learn how to use Claude's built-in web search tool to access current information. Understand schema setup, domain restrictions, response structure, and citation rendering.
Learn how to generate clean structured data like JSON with Claude using assistant message prefilling and stop sequences. Get raw data without explanatory text or markdown formatting.
Learn how to implement code-based grading for AI-generated code evaluation. This guide covers syntax validation for Python, JSON, and regex, combining code and model graders, and using objective metrics to measure prompt engineering progress.
Learn how to build multi-turn conversations with Claude by managing conversation state. Understand why Claude is stateless and how to maintain context across multiple exchanges.
Learn how to build tool functions in Claude to give AI access to real-time information and actions. Master best practices for validation, error handling, and function design.