Claude Hooks for .NET MAUI Auto Code Review, Error Fix & Pre-Commit Check!

In this video Part 2 of our Claude AI series we take our .NET MAUI To-Do app from Video 1 and supercharge it with Claude Hooks. Unlike Claude Skills which you trigger manually, Hooks fire automatically the moment you share a file, paste an error, or say a specific word. Claude jumps in without you asking. We added 6 powerful Hooks in this video: πŸ”΅ Hook 1 C# Code Review Automatically checks for null references, missing error handling and async issues the moment you share any C# file. 🟑 Hook 2 XAML UI Review Automatically checks spacing, hardcoded colors and gives exactly 3 UI improvement suggestions whenever you share any XAML file. Works together with our UI Designer Skill from Video 1. πŸ”΄ Hook 3 Error and Exception Fix Always explains the root cause first before giving the fix. You learn WHY it crashed β€” not just how to fix it. 🟣 Hook 4 Async Pattern Check Checks every database method for proper async, missing try-catch and loading state handling the 3 most common MAUI mistakes. 🟒 Hook 5 Auto Code Review Trigger Just type the word "done" and Claude automatically runs a full code review on everything written in that session. Score out of 10 included. 🟠 Hook 6 Pre-Commit Check Type "ready to commit" and Claude reviews every changed file. Gives you a clear GO or NO-GO decision and writes the Git commit message for you automatically. ━━━━━━━━━━━━━━━━━━━━━━━ βœ… What you will learn: ━━━━━━━━━━━━━━━━━━━━━━━ What Claude Hooks are and how they differ from Skills How to write Hooks inside CLAUDE.md How Skills and Hooks work together How to auto-review code, fix errors and check XAML automatically How to use a pre-commit Hook for cleaner Git history ━━━━━━━━━━━━━━━━━━━━━━━ πŸ› οΈ Tools used: ━━━━━━━━━━━━━━━━━━━━━━━ Claude Code https://claude.ai/code JetBrains Rider .NET MAUI SQLite CommunityToolkit.Mvvm ━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“Œ Missed Video 1? ━━━━━━━━━━━━━━━━━━━━━━━ Watch Part 1 first we built the entire To-Do app using Claude Skills (Architect, UI Designer and Code Reviewer): πŸ‘‰ Β Β Β β€’Β IΒ BuiltΒ aΒ MAUIΒ To-DoΒ AppΒ UsingΒ ClaudeΒ AIΒ S...Β Β  ━━━━━━━━━━━━━━━━━━━━━━━ ⏱️ Chapters: ━━━━━━━━━━━━━━━━━━━━━━━ 0:00 Introduction Skills vs Hooks explained 1:30 Project structure .claude/skills vs CLAUDE.md 3:00 Hook 1 C# Code Review (live demo) 7:00 Hook 2 XAML UI Review (live demo) 13:00 Hook 3 Error Fix (live crash demo) 18:00 Hook 4 Async Pattern Check (live demo) 22:00 Hook 5 Auto Code Review with "done" 25:00 Hook 6 Pre-Commit GO or NO-GO (live demo) 30:00 Final app walkthrough + outro ━━━━━━━━━━━━━━━━━━━━━━━ πŸ”” Next video β†’ Claude Agents for .NET MAUI Claude builds features completely on its own no prompting needed at all. Subscribe so you don't miss it! πŸ‘ If this helped you please LIKE it really helps the channel grow. Thank you for watching!