angular-architect

Generates Angular 17+ standalone components, NgRx stores, routing, and tests.

1|Updated Aug 18, 2026
One-click install
npx skills add https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent --skill angular-architect-scsm-unrestrict
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-architect
Source: https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent/tree/main/frontend-engineer/skills/angular-architect
Command: npx skills add https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent --skill angular-architect-scsm-unrestrict

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building enterprise Angular applications requires coordinating standalone components, signals, RxJS streams, NgRx state, lazy-loaded routing, and test coverage, and mistakes in any layer cause memory leaks, stale state, or bundle bloat. ## Core Features & Use Cases - Standalone Components & Signals: Generate Angular 17+ components using signal inputs, computed state, OnPush change detection, and the new @if/@for control flow. - NgRx State Management: Scaffold actions, reducers with entity adapters, selectors, effects, and facades for predictable application state. - Routing & RxJS Patterns: Configure lazy loading, functional guards, resolvers, and subscription-safe reactive streams with takeUntilDestroyed. - Use Case: When building a user management dashboard, generate the container and presentational components, an NgRx feature store with CRUD effects, guarded lazy routes, and TestBed unit tests targeting over 85% coverage. ## Quick Start Ask the agent to build an Angular 17 feature with standalone components, an NgRx store, lazy-loaded routes, and unit tests for a given domain such as user management.

Frequently Asked Questions about angular-architect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create standalone components with signals in Angular 17?

Define a component with standalone: true, use signal() and computed() for reactive state, and declare inputs with input.required() and outputs with output(). Combine with ChangeDetectionStrategy.OnPush and the new @if/@for template control flow.

How to set up NgRx store with effects in Angular?

Register reducers with provideStore and effects with provideEffects in app.config.ts. Define actions via createActionGroup, reducers with createReducer and entity adapters, selectors with createSelector, and side effects with createEffect using ofType and switchMap or exhaustMap.

Should I use switchMap, mergeMap, concatMap, or exhaustMap in RxJS?

Use switchMap for search typeaheads to cancel stale requests, mergeMap for independent concurrent calls, concatMap when order matters, and exhaustMap to ignore repeated triggers such as double-clicked form submissions.

Does Angular 17 still require NgModules?

No. Angular 17 defaults to standalone components that import their own dependencies directly. NgModules are only needed for legacy compatibility, and routing uses loadComponent and loadChildren for lazy loading.

How do I prevent memory leaks from RxJS subscriptions in Angular?

Use takeUntilDestroyed from @angular/core/rxjs-interop, the async pipe in templates, or a destroy$ Subject with takeUntil. The modern inject(DestroyRef) approach cleans up subscriptions automatically when the component is destroyed.

How do I test Angular components using NgRx store?

Use provideMockStore with an initial state and MockStore.overrideSelector to control selector outputs, then spy on store.dispatch to verify actions. Effects are tested with provideMockActions and marble diagrams via jasmine-marbles.