model-redux-state/design-state-ownership
Skill by reduxjs
Guides an AI assistant on whether data belongs in Redux, component state, router state, or another external source. Written for developers building apps with Redux Toolkit.
Install model-redux-state/design-state-ownership
Built from the published package, never by AI.
git clone --depth 1 https://github.com/reduxjs/redux-toolkit /tmp/redux-toolkit && mkdir -p ~/.claude/skills && cp -r /tmp/redux-toolkit/packages/toolkit/skills/model-redux-state/design-state-ownership ~/.claude/skills/model-redux-state-design-state-ownershipRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install model-redux-state/design-state-ownership in Claude Code
git clone --depth 1 https://github.com/reduxjs/redux-toolkit /tmp/redux-toolkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/redux-toolkit/packages/toolkit/skills/model-redux-state/design-state-ownership ~/.gemini/antigravity-cli/skills/model-redux-state-design-state-ownershipAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install model-redux-state/design-state-ownership in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill helps an AI assistant decide where data should live in a Redux Toolkit app: Redux, component state, router state, or another external source. It covers state ownership, authority boundaries, slice sizing, and when to move or split data as the app evolves. The file includes setup code, core patterns, and common mistakes with wrong and correct examples.
Its guidance includes keeping editable form state local until the user commits it, keeping URL state with the router instead of syncing it into Redux, and naming store keys after data or domain concepts rather than components. It also advises reducers to own the slice shape instead of spreading payloads into state. The skill is aimed at developers using React and Redux Toolkit who need to decide where state belongs.
Written from the project's SKILL.md and checked against it.
What it can do
- Keep form state localKeep editable form state local until the user commits it, instead of dispatching every keystroke.
- Keep URL state with the routerRead URL state from the router and combine it in selectors or components rather than syncing it into Redux.
- Re-size slices over timeRevisit slice size as access patterns change, splitting unrelated data or merging data used together.
- Name store keys by domainName Redux store keys after data or domain concepts, not the components that display them.
- Keep reducers in charge of shapeHave reducers own the slice shape instead of spreading action payloads into state.
What you need
- Redux Toolkit (@reduxjs/toolkit)
- React
- react-router-dom (used in router examples)
Try asking
- Should this form draft live in Redux or in component state?
- Where should the current search filter be stored in my React app?
- Help me decide whether to split my posts and auth data into separate slices.
Good to know
- Points to a references file on state ownership heuristics that is not included in the source.
- Code samples are short fragments meant to illustrate patterns.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/toolkit/skills/model-redux-state/design-state-ownership/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/state-ownership.md1 KB
Alternatives to model-redux-state/design-state-ownership
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
model-redux-state/design-state-ownership: common questions
Should form input state go in Redux?
The source advises keeping editable form state local until the user commits it. Dispatching every keystroke adds global complexity for data that usually lives in one component tree.
Should URL query parameters be copied into Redux?
No. The source says URL state already has an authoritative owner, and duplicating it into Redux creates two sources of truth.
How should Redux store keys be named?
Keys should describe data or domain concepts, such as auth or posts. They should not reflect the current component tree.
How do I install model-redux-state/design-state-ownership?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is model-redux-state/design-state-ownership free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is model-redux-state/design-state-ownership safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to model-redux-state/design-state-ownership?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
