ditto190/crispy-nextjs-turborepo-monorepo/global-state-management-redux

Claude Code and agent skill by ditto190/crispy-nextjs-turborepo-monorepo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Imported TRAE skill from frontend/Global_State_Management_Redux.md

Install

npx vskill@latest install ditto190/crispy-nextjs-turborepo-monorepo/global-state-management-redux

SKILL.md

The same SKILL.md was published earlier as ditto190/crispy-nextjs-turborepo-monorepo/global-state-management-redux.

Skill: Global State Management (Redux Toolkit)

Purpose

To manage shared state across the application predictably, avoiding "prop drilling" and complex context hierarchies.

When to Use

  • When state is needed by many components at different nesting levels (e.g., User, Theme, Cart).
  • When state logic is complex (many actions updating same data).

Procedure

  1. Create Slice: Define a "slice" using createSlice.
  • Name the slice.
  • Define initialState.
  • Define reducers (functions to mutate state).
  1. Configure Store: Use configureStore to combine slice reducers.
  2. Provide Store: Wrap the root App component with <Provider store={store}>.
  3. Consume State: Use useSelector to read data: const user = useSelector(state => state.user).
  4. Dispatch Actions: Use useDispatch to trigger changes: dispatch(increment()).

Constraints

  • Do not put everything in Redux. Local UI state (like form inputs, modal open/close) should often stay local.
  • Keep state serializable (no functions or classes in store).

Expected Output

A Redux store setup with typed slices, actions, and selectors ready for consumption by components.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ditto190/crispy-nextjs-turborepo-monorepo/global-state-management-redux/badge)](https://verified-skill.com/skills/ditto190/crispy-nextjs-turborepo-monorepo/global-state-management-redux)

Something wrong with this skill or its page? Tell us.