本文へ移動
cccskills
無料GitHub で公開

ngrx

Use when implementing or modifying NgRx state management in Angular applications, especially state slices, events, reducers, effects, selectors, and store registration.

インストール方法を見る

含まれるファイル(11)

  • SKILL.md2.2 KB
  • ngrx-skill.jpg300.6 KB
  • references/architecture.md1.4 KB
  • references/consuming-observable-data-sources.md2.3 KB
  • references/effects.md8.6 KB
  • references/reducers.md1.1 KB
  • references/router-store.md3.7 KB
  • references/selectors.md2.4 KB
  • references/state-modeling.md2.0 KB
  • references/state-slice.md6.9 KB
  • references/store.md1.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

NgRx

Use this skill for NgRx state management work in Angular applications.

General

  • Immutable updates: always update state immutably. Re-create objects and arrays when they change, never mutate them at any level of nesting. Prefer the JavaScript ... spread operator and immutable array methods such as map(), filter(), and reduce().

References

  • For the state management architecture and read/write boundaries, read architecture.md.
  • For state serializability, persistent state, client state, transient state, local UI state, and error modeling, read state-modeling.md.
  • For registering and configuring runtime checks for the global store, read store.md.
  • For creating state slices, sharing existing state slices between isolated lazy features by extracting them to core, and splitting state slices, read state-slice.md.
  • For creating or changing selectors, consuming state in container components, and testing selectors, read selectors.md.
  • For implementing reducers, handling events in isolated handlers versus a single handler, and testing reducers, read reducers.md.
  • For side effects such as backend requests, navigation, deep linking, reflecting and consuming state from the URL, scrolling, loading data based on URL path parameters, and testing effects, read effects.md.
  • For reading router state with NgRx router-store, registering router-store, or creating router selector factories, read router-store.md.
  • For consuming observable data sources, for example from services outside our control, and exposing the data through selectors so it is composable with the rest of the application state, read consuming-observable-data-sources.md.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when designing, reviewing, refactoring, or enforcing Angular application architecture with isolated lazy features, eager core/layout, reusable ui/pattern architecture building blocks, one-way dependency graphs, eslint-plugin-boundaries rules, or folder placement decisions. This skill takes precedence over angular-developer when architecture rules conflict with general Angular advice.

日本語の概要は準備中です。原文の説明を表示しています。

angular-experts-io/ax-skills142026年5月21日 更新

angular-experts-io のスキルをすべて見る

このスキルの問題を報告する