Optimizes Angular data transformations by choosing between pure pipes, computed signals, memoization, and precomputed view models. Useful for reducing repeated calculation cost in templates.
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 reduce repeated data transformation cost by choosing the right tool: pure pipe, computed signal, memoized function, or precomputed view model.
Use the compatible variant:
Do not assume a pipe is always faster. The decision depends on purity, input stability, calculation cost, reuse, and readability.
Use this skill when:
Use a pure pipe for deterministic reusable formatting:
@Pipe({
name: "totalPrice",
pure: true,
})
export class TotalPricePipe implements PipeTransform {
transform(items: readonly Item[]): number {
return items.reduce((sum, item) => sum + item.price, 0);
}
}
Use computed signals for local reactive derivation when supported:
readonly filteredItems = computed(() =>
this.items().filter((item) => item.active),
);
Use a view model mapper for API data:
this.viewModel = response.items.map((item) => ({
id: item.id,
label: `${item.code} - ${item.name}`,
}));
Avoid impure pipes without strong reason:
@Pipe({
name: "expensiveFilter",
pure: false,
})
export class ExpensiveFilterPipe implements PipeTransform {}
Avoid HTTP calls, service mutations, or side effects in pipes.
Avoid memoization when the cache invalidation rules are unclear or memory growth is unbounded.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-angular:angular--performance--pipes-and-memoizationfrom 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