Mk angular
Skill ngocsangyem/MeowKit/packages/mewkit/src/migrate/modules/codex/root/.agents/skills/mk-angular
Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).From its SKILL.md
npx -y skills add ngocsangyem/MeowKit --skill mk-angularAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.0 KB, 637 tokens by cl100k_base, as published. Nobody here has run it
Angular
Angular v20+ patterns — 10 topics consolidated with progressive disclosure.
v20+ Modern Defaults (apply always)
- Standalone components are default — no NgModule needed
- Signal-based inputs/outputs — use
input(),input.required(),output()(not@Input/@Output) - Signal-based state — use
signal(),computed(),linkedSignal()(not BehaviorSubject) - inject() function — use
inject()in field initializers (not constructor injection) - Native control flow — use
@if,@forwithtrack,@switch(not*ngIf/*ngFor) - OnPush change detection — always set
changeDetection: ChangeDetectionStrategy.OnPush - Functional guards/resolvers — use functions (not class-based guards)
- resource() / httpResource() — prefer over manual HttpClient subscribe for data loading
When to Read Each Reference
| Task involves | Read |
|---|---|
| Components, templates, host bindings, content projection | references/component.md |
| signal(), computed(), linkedSignal(), effect(), reactive state | references/signals.md |
| inject(), providers, injection tokens, services | references/di.md |
| Custom directives, DOM manipulation, host listeners | references/directives.md |
| Forms, validation, signal forms API | references/forms.md |
| HTTP calls, resource(), httpResource(), interceptors | references/http.md |
| Routes, lazy loading, guards, resolvers, navigation | references/routing.md |
| SSR, hydration, prerendering, browser-only APIs | references/ssr.md |
| Unit tests, integration tests, TestBed, Vitest | references/testing.md |
| Angular CLI, schematics, build config, project setup | references/tooling.md |
Read multiple references when task spans topics (e.g., component + signals + forms).
Gotchas (top 5 — most common Codex mistakes)
- Using @Input/@Output decorators: deprecated in v20+ → use
input(),output()signal functions - **Using ngIf/ngFor: deprecated template syntax → use
@if,@forwithtrackexpression - Constructor injection: outdated pattern → use
inject()in field initializers - BehaviorSubject for component state: over-complex → use
signal()+computed() - Class-based guards/interceptors: deprecated → use functional
CanActivateFn,HttpInterceptorFn
Full list: references/gotchas.md
Workflow Integration
Auto-activates during Phase 3 (Build) when Angular project detected (angular.json or @angular/core in package.json). Loaded by developer agent alongside mk:typescript.
What ships with it: 11 files
92.2 KB alongside SKILL.md
references/
- component.md6.2 KB
- di.md7.7 KB
- directives.md10.2 KB
- forms.md10.0 KB
- gotchas.md4.2 KB
- http.md8.2 KB
- routing.md8.4 KB
- signals.md6.9 KB
- ssr.md10.5 KB
- testing.md10.9 KB
- tooling.md9.1 KB