Agent Skill to Angular 22
Agent Skill to Angular 22 is a verified SKILL blueprint on Promptally in Fullstack & Backend Engineering optimized for leading AI models. Angular 22+ modern architecture: Zoneless apps, Signals-first state, Control Flow, LinkedSignal, and Resource API. Use when the app targets Angular 22+ or uses cutting-edge reactivity and async resources. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SKILL (Fullstack & Backend Engineering) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 738 |
| Source file | SKILL.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
---
name: angular-22
description: 'Angular 22+ modern architecture: Zoneless apps, Signals-first state, Control Flow, LinkedSignal, and Resource API. Use when the app targets Angular 22+ or uses cutting-edge reactivity and async resources.'
version: 22.0.0
last_updated: 2026-08-01
---
# 🅰️ Angular 22+ Engineering Guide
This skill provides expert patterns for developing modern Angular applications using modern Signals, Zoneless change detection, and standalone components.
## 🚀 Core Architectural Rules
### 1. Zoneless Change Detection
All Angular 22+ apps must be bootstrapped without Zone.js:
```typescript
import { provideExperimentalZonelessChangeDetection } from '@angular/core';
export const appConfig: ApplicationConfig = {
providers: [
provideExperimentalZonelessChangeDetection(),
provideRouter(routes),
provideHttpClient()
]
};
```
### 2. Signals-First State Management
- Prefer native Signals (`signal()`, `computed()`, `linkedSignal()`) over RxJS BehaviorSubjects.
- Use `linkedSignal()` to create signals that automatically reset or derive default state when a source signal changes:
```typescript
import { signal, computed, linkedSignal } from '@angular/core';
// Primary input signal
const selectedCategoryId = signal<string>('cat-1');
// Derived signal linked to category changes
const selectedItemId = linkedSignal({
source: selectedCategoryId,
computation: (catId) => defaultItemIdForCategory(catId)
});
```
### 3. Async Resource API (`resource` / `rxResource`)
Use Angular's native `resource()` API for async data fetching without RxJS subscriptions or async pipes:
```typescript
import { resource } from '@angular/core';
export class UserProfileComponent {
userId = input.required<string>();
userResource = resource({
request: () => ({ id: this.userId() }),
loader: async ({ request, abortSignal }) => {
const res = await fetch(`/api/users/${request.id}`, { signal: abortSignal });
return await res.json();
}
});
// Accessing values:
// userResource.value()
// userResource.isLoading()
// userResource.error()
}
```
### 4. Modern Control Flow & Signal Inputs
Use native block syntax and signal inputs:
```html
@if (userResource.isLoading()) {
<app-spinner />
} @else if (userResource.value(); as user) {
<div class="user-card">
<h2>{{ user.name }}</h2>
@for (role of user.roles; track role.id) {
<span class="badge">{{ role.name }}</span>
} @empty {
<p>No roles assigned</p>
}
</div>
}
```
### 5. Signal Inputs, Outputs, and Models
```typescript
@Component({
selector: 'app-counter',
standalone: true,
template: `<button (click)="value.set(value() + 1)">Count: {{ value() }}</button>`
})
export class CounterComponent {
// Two-way binding signal model
value = model<number>(0);
// Standard signal input
label = input<string>('Default Label');
// Signal output
valueChange = output<number>();
}
```
How to use this skill
- Review the pre-filled example and source files above.
- Copy the template or download
SKILL.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Agent Skill to Angular 22?
Open the skill on Promptally, review the pre-filled example, then copy the template or download SKILL.md and paste it into your model, IDE or workflow tool. Agent Skill to Angular 22 is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Agent Skill to Angular 22 free?
Yes. Agent Skill to Angular 22 is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Agent Skill to Angular 22 need?
Agent Skill to Angular 22 is a static blueprint with no dynamic variables. Copy it and use it as-is.