Skip to content
Back to skills

Angular Ecosystem

ASecurity

Useful Angular libraries, tools, and ecosystem references for Angular development.

  • 225 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
developmentgoreactangularapisecurityperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill angular-ecosystem --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Ecosystem?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular Ecosystem
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-angular-ecosystem/badge)](https://www.skillsdirectory.com/skills/neversight-angular-ecosystem)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: angular-ecosystem
description: Useful Angular libraries, tools, and ecosystem references for Angular development.
version: 1.0.0
tags: [angular, ecosystem]
---

# SKILL: Angular 20+ Ecosystem Master Guide

This master skill document consolidates Angular Core, v20 Control Flow, Signals, CDK, Material 3, Router, Forms, Google Maps, NgRx Signals, and RxJS Patterns into a unified architecture reference.

---

## 🏗️ 1. Core Architecture: Standalone & Zone-less

### Component Standards

- **Standalone components only**: Use `standalone: true`.
- **OnPush Change Detection**: Every component must use `changeDetection: ChangeDetectionStrategy.OnPush`.
- **Signals-first**: Use `input()`, `output()`, `model()`, `viewChild()`, and `contentChild()` (Angular 19+ syntax).
- **Control Flow**: Use `@if`, `@for (item of items; track item.id)`, `@switch`, and `@defer`. Avoid `*ngIf`, `*ngFor`.

### Dependency Injection

- Use `inject(Type)` instead of constructor injection for cleaner, more modern code.
- Provide global services/tokens in `app.config.ts`.

---

## 🚦 2. State Management: NgRx Signals

### The `signalStore` Pattern

- **Centralized State**: Define a single `signalStore` per feature module or bounded context.
- **withState**: Initialize with plain objects (use `null` instead of `undefined`).
- **withComputed**: Derived state should be pure and reactive.
- **withMethods**: Handle business logic and state transitions.

### Async Operations with `rxMethod`

- Use `rxMethod` for async side effects (API calls).
- **Concurrency Control**: Choose the right operator:
  - `switchMap`: For searches, filters (cancels previous).
  - `exhaustMap`: For form submissions (ignores concurrent clicks).
  - `concatMap`: For ordered sequential operations.
  - `mergeMap`: For independent parallel operations.
- Always use `tapResponse` from `@ngrx/operators` for structured error handling.

---

## 🧱 3. UI Component Layer: Angular Material 3 & CDK

### Material Design 3 (M3)

- **Token-based theming**: Use M3 design tokens (`--mat-sys-...`) and CSS variables.
- **Global Styles**: Defined in `styles.scss` using the modern SASS mixins.
- **Forms**: Use `<mat-form-field>` with standard validation patterns.

### Angular CDK (Component Dev Kit)

- **A11y**: Use `A11yModule`, `FocusTrap`, and `LiveAnnouncer` for accessible experiences.
- **Overlays**: Use `OverlayModule` for custom dialogs, tooltips, and floating UI.
- **Virtual Scroll**: Use `CdkVirtualScrollViewport` for large lists (>100 items).
- **Drag & Drop**: Use `@angular/cdk/drag-drop` for list reordering and board layouts.

---

## 🗺️ 4. Navigation & Mapping

### Angular Router

- **Lazy Loading**: Always use `loadChildren: () => import(...)`.
- **Functional Guards**: Replace class-based guards with functions using `inject()`.
- **Reactive Params**: Convert route parameters to signals using `toSignal(route.params)`.

### Google Maps integration

- **Lazy Loading**: Load API script dynamically via a service.
- **API Key Security**: Store keys in `environment.ts` (never hardcode).
- **Marker Clustering**: Required for >50 markers to maintain performance.

---

## 🧪 5. RxJS & Signals Interop

### The Boundary Pattern

- **Infrastructure/Ports**: Return Observables from repositories (for stream-based data).
- **Application/Facade**: Convert to Signals using `toSignal()`.
- **Cleanup**: Use `takeUntilDestroyed()` or `toSignal()` to ensure automatic unsubscription.
- **Expensive Streams**: Use `shareReplay({ bufferSize: 1, refCount: true })`.

---

## 📋 6. Form Handling: Reactive & Typed

- **Strictly Typed**: Use `FormGroup<T>`, `FormControl<T>`.
- **Validation**: Show errors only after `touched`.
- **Signals Sync**: Update the store via `onChanges` or explicit submission methods.

---

## ♿ 7. Accessibility (A11y)

- **WCAG 2.2 Level AA**: Minimum requirement.
- **Semantic HTML**: Prioritize `<nav>`, `<main>`, `<header>`, `<footer>`.
- **Keyboard Navigation**: Ensure `tabindex` and focus management are solid.
- **ARIA**: Use `aria-label`, `aria-describedby`, and `aria-live` where native HTML is insufficient.

---

> **Note**: This document is the source of truth for all Angular-related development in Black-Tortoise. Non-compliant code will be rejected by the CI pipeline.

Files in this skill

  • SKILL.md4.2 KB
  • description_ar.txt115 B
  • description_cn.txt76 B
  • description_de.txt95 B
  • description_en.txt83 B
  • description_es.txt105 B
  • description_fr.txt101 B
  • description_it.txt88 B
  • description_ja.txt108 B
  • description_ko.txt98 B
  • description_ru.txt159 B
  • description_tw.txt76 B
  • stats.json65 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.