This covers Angular route guards with a focus on the modern functional approach introduced in recent versions. You'll want this when protecting routes with CanActivate, preventing navigation with CanDeactivate, or using CanMatch to block lazy loading for unauthorized users. The examples show the shift from class-based guards to functional ones using inject(), which is now the recommended pattern. It includes practical scenarios like checking auth status, protecting child routes, and handling unsaved form data. The guard chaining and data passing examples are solid if you're building anything beyond basic authentication. Worth noting it assumes you're on Angular 21 or at least comfortable with the standalone API.
npx skills add https://github.com/oguzhan18/angular-ecosystem-skills --skill angular-guards