A
angular-best-practices-ngrx
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
- 01Global state management rules
- 02Keep reducers pure
- 03Move side effects to Effects
- 04Use feature selectors
- 05Manage collections with @ngrx/entity
Use cases
- 01Adding or changing NgRx stores
- 02Writing reducers and Effects
- 03Selecting state for components
- 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-ngrxAfter installing, type/angular-best-practices-ngrxin Claude Code to confirm it loaded.
Bundled filesAGENTS.md
Details
From the project READMEAngular 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
| Rule | Impact | Description |
|---|---|---|
| Keep Reducers Pure | HIGH | No side effects in reducers; move HTTP calls to Effects |
| Use Feature Selectors | MEDIUM | Memoized selectors that recompute only when inputs change |
Install
Install from skills.sh/alfredoperez/angular-best-practices:
- Core skill: angular-best-practices
- This add-on: angular-best-practices-ngrx
Comments
Markdown supported