home/categories/framework-internals/reduxjs-redux-toolkit-packages-toolkit-skills-model-redux-state-build-slices-and-selectors-skill-md
framework-internalsdevelopment

model-redux-statebuild-slices-and-selectors

Use this when authoring or refactoring slices with createSlice, selectors, create.asyncThunk, entity adapters, or lazy reducer injection. Covers Immer-backed mutation syntax, slice selectors, getSelectors, injectInto, withLazyLoadedSlices, and current RTK 2 slice patterns.

reduxjs
maintainer
reduxjs
Updated 3/16/2026
Stars
11192
Forks
1262
quick start

Installation and usage

Use this when authoring or refactoring slices with createSlice, selectors, create.asyncThunk, entity adapters, or lazy reducer injection. Covers Immer-backed mutation syntax, slice selectors, getSelectors, injectInto, withLazyLoadedSlices, and current RTK 2 slice patterns.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use model-redux-statebuild-slices-and-selectors