This skill equips Claude with specialized knowledge to audit, refactor, and build high-performance Angular applications using modern framework features. It focuses on critical areas such as Signal-based change detection, bundle size optimization through lazy loading and @defer blocks, and advanced server-side rendering (SSR) strategies. By applying these prioritized rules, developers can eliminate common bottlenecks like async waterfalls and unnecessary re-renders, ensuring their applications are fast, scalable, and maintainable across versions 17 and beyond.
主要功能
01Bundle Size Optimization: Leverages lazy loading, tree-shaking, and @defer blocks to significantly reduce initial load times.
02Modern SSR & Hydration: Configures incremental hydration and TransferState to provide seamless server-to-client transitions.
030 GitHub stars
04Performance-driven Change Detection: Implements Signals and OnPush strategies to minimize render cycles and enable zoneless operation.
05Asynchronous Pattern Mastery: Eliminates data fetching waterfalls using optimized RxJS patterns like forkJoin and switchMap.
06Template Efficiency: Applies modern control flow syntax and pure pipes to ensure lightning-fast rendering and DOM updates.
使用场景
01Refactoring legacy Angular components to modern Signals and OnPush change detection for better performance.
02Optimizing large enterprise application bundles to improve Core Web Vitals and initial rendering speed.
03Implementing robust server-side rendering with hydration for SEO-optimized and fast-loading web applications.