Angular v22 Zone Boundaries
Use this skill when an Angular 22 app still depends on Zone.js behavior or needs to make change-detection boundaries explicit.
SKILL.mdskills/angular/zone/angular-v22-zone-boundaries/SKILL.md
GitHubAngular v22 Zone Boundaries
Purpose
Use this skill when an Angular 22 app still depends on Zone.js behavior or needs to make change-detection boundaries explicit.
When to Use
Use this skill when:
- The project still has significant Zone.js assumptions.
- You need to preserve or replace the previous default change-detection behavior.
- A third-party library still depends on zone-driven updates.
When Not to Use
Do not use this skill when:
- The project is already in zoneless mode.
- The issue is only a template compile problem.
- No zone-related behavior is involved.
Required Inputs
- zone-heavy code
- event handling
- component changeDetection settings
- third-party dependencies
Procedure
- Find the code that still depends on implicit zone updates.
- Make the change-detection intent explicit where v22 changed defaults.
- Check whether the third-party library needs a compatibility wrapper.
- Validate that UI updates still happen when expected.
Do
- Keep change-detection intent explicit.
- Document any reliance on Zone.js.
- Validate the interaction path, not just compilation.
Do Not
- Do not assume implicit zone updates are still the right default.
- Do not remove zone support without checking dependencies.
- Do not blur zone behavior with pure performance tuning.
Review Checklist
- The zone dependency is understood.
- Change detection is explicit.
- The interactive behavior was validated.
Expected Output
- A zone-boundary summary.
- The explicit change-detection choice.
- Any remaining third-party risk.