用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/G1Joshi/Agent-Skills --skill angular命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | angular |
| description | Angular TypeScript framework with dependency injection and RxJS. Use for enterprise SPAs. |
Angular is a platform for building mobile and desktop web applications. Angular 19 (2025) has completely reinvented itself with Signals, Standalone Components, and optional Zone.js.
import { Component, signal, computed } from "@angular/core";
@Component({
selector: "app-counter",
standalone: true,
template: `
<p>Count: {{ count() }}</p>
<p>Double: {{ double() }}</p>
<button (click)="increment()">Increment</button>
`,
})
export class CounterComponent {
count = signal(0);
double = computed(() => this.count() * 2);
increment() {
this.count.update((c) => c + 1);
}
}
The new reactivity primitive. Fine-grained reactivity that allows Angular to drop Zone.js and only update the exact text node that changed.
No more NgModule. Components import their dependencies directly.
@defer)Built-in syntax to lazy-load parts of templates.
@defer (on viewport) {
<heavy-chart />
} @placeholder {
<p>Loading...</p>
}
Do:
signal() over BehaviorSubject for component state.inject(): Prefer the inject(Service) function over constructor dependency injection.provideExperimentalZonelessChangeDetection() for better performance.Don't:
NgModule: Unless maintaining legacy code.CommonModule: Use new control flow syntax (@if, @for) instead of *ngIf, *ngFor.