Skip to content
Skillv1.0.0

angular-best-practices-ngrx

NgRx state management best practices for Angular. Covers pure reducers, action groups, entity adapter, selectors, and signal-based selection. Activates when working with @ngrx/store, @ngrx/effects, an

by alfredoperez(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from alfredoperez/angular-best-practices (skills/angular-best-practices-ngrx/SKILL.md) via skills.sh. Install upstream with npx skills add alfredoperez/angular-best-practices --skill angular-best-practices-ngrx. Copyright stays with the author (MIT).

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

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:

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/alfredoperez-angular-best-practices-angular-best-practices-ngrx/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

alfredoperez-angular-best-practices-angular-best-practices-ngrx.ocm.jsonjson
{
  "ocm": "1",
  "id": "alfredoperez-angular-best-practices-angular-best-practices-ngrx",
  "kind": "skill",
  "name": "angular-best-practices-ngrx",
  "description": "NgRx state management best practices for Angular. Covers pure reducers, action groups, entity adapter, selectors, and signal-based selection. Activates when working with @ngrx/store, @ngrx/effects, and @ngrx/entity. Do not use for Akita, NGXS, or standalone signal-based state. Install alongside angular-best-practices for full coverage.",
  "publisher": "alfredoperez",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "angular",
      "ngrx",
      "state-management",
      "redux",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "NgRx state management best practices for Angular. Covers pure reducers, action groups, entity adapter, selectors, and signal-based selection. Activates when working with @ngrx/store, @ngrx/effects, and @ngrx/entity. Do not use for Akita, NGXS, or standalone signal-based state. Install alongside angular-best-practices for full coverage."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/alfredoperez/angular-best-practices",
      "path": "skills/angular-best-practices-ngrx/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/alfredoperez/angular-best-practices/angular-best-practices-ngrx",
      "key": "alfredoperez/angular-best-practices/skills/angular-best-practices-ngrx/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Angular NgRx Best Practices\n\nNgRx state management rules for global state with actions, reducers, effects, and selectors. Use with the core\n[angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)\nskill for comprehensive Angular coverage.\n\n## Links\n\n- [Core Skill: angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)\n- [Browse All Skills](https://skills.sh/alfredoperez/angular-best-practices)\n- [GitHub Repository](https://github.com/alfredoperez/angular-best-practices)\n\n## When to Apply\n\n- Adding or",
  "cost": {
    "context_tokens": 343
  }
}

Fetch it by URL: GET /api/v1/registry/alfredoperez-angular-best-practices-angular-best-practices-ngrx/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.