Angular patterns for signals, control flow, OnPush and zoneless, SSR hydration, sanitization, and 18 to 22 changes. Load before any edit in an Angular app, however small, and for Angular questions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Angular Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ku5ic-angular-patterns)
---
name: angular-patterns
description: Angular patterns for signals, control flow, OnPush and zoneless, SSR hydration, sanitization, and 18 to 22 changes. Load before any edit in an Angular app, however small, and for Angular questions.
---
# Angular patterns
Default assumption: Angular 22.3, per the Angular releases page.
A row applies when the `@angular/core` version in the project's `package.json` and lockfile is at least its version. 22 is active to June 2027, 21 is in LTS to June 2027, and 20's LTS ended on 2026-11-28. TypeScript itself is typescript-patterns.
## Reference files
Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.
| Before | Read |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing Angular code, raising the Angular version, or changing change detection or the builder | [reference/upgrades.md](reference/upgrades.md) |
| Writing, changing, or reviewing Angular code, or rendering it on the server | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing a component, a signal, an effect, an input, a form, an interceptor, or a resolver | [reference/practices.md](reference/practices.md) |
| Configuring or running angular-eslint, `ng lint`, or the compiler's template checks | [reference/tooling.md](reference/tooling.md) |
| Writing or changing a component template, in a `.html` file or a `template:` string | [reference/templates.md](reference/templates.md) |