Agent skill
ngrx-store-patterns
Project-specific NgRx Signals Store patterns for this Angular 21 DDD application. Activates when code involves signalStore, withEntities, rxMethod, patchState, tapResponse, or any NgRx signals state management.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ngrx-store-patterns
SKILL.md
NgRx Signals Store Patterns (Project-Specific)
For complete store patterns, read .github/instructions/ngrx-signals.instructions.md.
For store testing, read .github/instructions/ngrx-signals-testing.instructions.md.
Quick Reference
- Store location:
src/app/features/{domain}/data/state/{domain}-store.ts - Reference:
src/app/features/tasks/data/state/task-store.ts
Key Rules
signalStore({ providedIn: 'root' })for all storeswithState→withEntities→withComputed→withMethodsorderrxMethod+tapResponsefor async operationspatchStatefor all state updates — never mutate directly- Always include
loading: booleananderror: string | nullin state - Entity ops:
setAllEntities,addEntity,updateEntity,removeEntity tapResponsefrom@ngrx/operators, NOT@ngrx/component-store
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?