Evaluates Angular change detection performance and applies OnPush, signals, async pipe, or immutable state patterns only when compatible and justified.
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 evaluate and improve Angular rendering behavior through ChangeDetectionStrategy.OnPush, immutable updates, async, signals, and careful manual change detection only when needed.
Use the compatible variant:
OnPush, immutable inputs, async, ChangeDetectorRef.markForCheck, and careful detectChanges.computed can complement OnPush when the project already supports them.OnPush, signals, and modern template control flow when appropriate.detectChanges unless the component has high-frequency rendering pressure and clear evidence.Use this skill when:
OnPush, markForCheck, signals, or rendering behavior.Apply OnPush when data flow is explicit:
@Component({
selector: "app-orders-summary",
templateUrl: "./orders-summary.component.html",
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class OrdersSummaryComponent {
readonly orders$ = this.ordersService.orders$;
}
Prefer immutable updates:
this.items = [...this.items, newItem];
Use computed state when signals are available and already used:
readonly total = computed(() =>
this.items().reduce((sum, item) => sum + item.price, 0),
);
Use markForCheck only when an external imperative callback updates component state outside the normal Angular update path.
Avoid mutating input state under OnPush:
this.items.push(newItem);
Avoid using detectChanges as a default fix:
this.changeDetectorRef.detectChanges();
Avoid recommending OnPush as a magic solution for unclear state ownership or broken data flow.
async when practical.OnPush only when data flow supports it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--performance--change-detection-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