Angular Control Flow v21 Migration
Migrates legacy Angular structural directives to modern built-in control flow syntax for cleaner templates and better performance.
This skill facilitates the modernization of Angular applications by incrementally migrating templates from legacy structural directives like *ngIf, *ngFor, and *ngSwitch to the built-in control flow syntax (@if, @for, @switch) supported in Angular 21. Designed for use after a project has stabilized on version 21, it focuses on manageable, feature-based slices rather than bulk upgrades, ensuring that code quality is maintained, track expressions are optimized, and rendering logic remains consistent across the codebase.
主な機能
01Incremental migration of structural directives to modern @if, @for, and @switch syntax.
02Feature-slice targeting to minimize risk and allow for continuous testing.
03Smart transformation of track expressions to optimize rendering performance in loops.
04Automated identification of legacy template patterns within bounded modules.
05Validation of template accessibility and rendering consistency post-migration.
062 GitHub stars
ユースケース
01Modernizing a legacy Angular frontend to utilize the latest native template logic.
02Improving developer experience by reducing template boilerplate in specific feature modules.
03Systematically cleaning up template debt after an Angular version upgrade.