Optimizes Angular list rendering by adding stable identity tracking via trackBy or @for track, preventing unnecessary DOM recreation and improving performance.
Ships in ngautopilot-angular. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to avoid unnecessary DOM recreation in Angular lists by choosing the correct identity tracking pattern for the detected Angular version.
Use the compatible variant:
*ngFor with trackBy.@for (...; track item.id) for new code, while keeping *ngFor + trackBy as a valid fallback.NgFor usage; prefer @for for new code.Use this skill when:
For Angular 2-16 or legacy templates, use trackBy:
<div *ngFor="let item of items; trackBy: trackById">{{ item.name }}</div>
trackById(_index: number, item: Item): string | number {
return item.id;
}
For Angular 17+ new templates, use @for with track:
@for (item of items; track item.id) {
<div>{{ item.name }}</div>
}
For very large lists, evaluate virtual scrolling after identity tracking is correct.
Avoid missing identity tracking:
<div *ngFor="let item of items">{{ item.name }}</div>
Avoid unstable keys:
@for (item of items; track createRandomId(item)) {
<div>{{ item.name }}</div>
}
Avoid index tracking for lists that reorder, filter, insert, or delete in the middle.
*ngFor or @for.trackBy or @for track using a stable identifier.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--performance--list-rendering-optimizationfrom ngautopilot-angular
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-angular350 skills in this plugin
/angular--ai--angular-v22-agent-skills-integrationAngular v22 Agent Skills IntegrationUse official Angular Agent Skills as reference material without copying them blindly or replacing NgAutoPilot routing. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-ai-tutor-safe-usageAngular v22 AI Tutor Safe UsageUse AI tutor workflows to teach Angular concepts without allowing unsafe code or secret exposure. For Angular 22 projects and 21-to-22 upgrade planning.
/angular--ai--angular-v22-angular-mcp-agent-workflowAngular v22 Angular MCP Agent WorkflowReview the workspace boundary, permissions, and runtime evidence of an Angular MCP integration. For Angular 22 projects and 21-to-22 upgrade planning.
Other plugins' skills for the same job