mcpField
A
angular-best-practices-ngrx

angular-best-practices-ngrx

github.com/alfredoperezDevelopment36596 installsUpdated 31w ago
Repository

About angular-best-practices-ngrx

A NgRx state-management skill for Angular developers, focused on rules for global state. It covers pure reducers, handling side effects in Effects, and feature selectors, as an add-on to angular-best-practices.

Key features

  1. 01Global state management rules
  2. 02Keep reducers pure
  3. 03Move side effects to Effects
  4. 04Use feature selectors
  5. 05Manage collections with @ngrx/entity

Use cases

  1. 01Adding or changing NgRx stores
  2. 02Writing reducers and Effects
  3. 03Selecting state for components
  4. 04Managing @ngrx/entity collections

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-ngrx

After installing, type/angular-best-practices-ngrxin Claude Code to confirm it loaded.

Bundled filesAGENTS.md

Details

From the project README

Angular NgRx Best Practices

NgRx state management rules for global state with actions, reducers, effects, and selectors. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Adding or modifying NgRx stores, reducers, or effects
  • Writing selectors for state selection in components
  • Managing collections with @ngrx/entity

Rules

RuleImpactDescription
Keep Reducers PureHIGHNo side effects in reducers; move HTTP calls to Effects
Use Feature SelectorsMEDIUMMemoized selectors that recompute only when inputs change

Install

Install from skills.sh/alfredoperez/angular-best-practices:

Comments

Markdown supported