Redux Slice Generator
Generates Redux slice code automatically, streamlining development and reducing boilerplate for predictable state management.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add redux-slice-generator npx -- -y @trustedskills/redux-slice-generator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"redux-slice-generator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/redux-slice-generator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill generates Redux slice code based on a provided description. It automates the creation of reducers, actions, and initial state for managing application data within a React/Redux environment. The generated code is designed to be easily integrated into existing projects, reducing boilerplate and development time.
When to use it
- You're starting a new React project that uses Redux.
- You need to add a new feature to an existing Redux application and want to quickly generate the corresponding slice of code.
- You’re refactoring or reorganizing your Redux state management logic.
- You want to standardize the way you create Redux slices across multiple projects.
Key capabilities
- Generates reducer functions.
- Creates action creators.
- Defines initial state for a slice of application data.
- Automates boilerplate code generation.
Example prompts
- "Create a Redux slice for managing user authentication, with an initial state indicating whether the user is logged in and storing their profile information."
- "Generate a Redux slice to handle product search results, including fields for query term, results array, and total count."
- "I need a Redux slice for managing shopping cart items. Include actions for adding, removing, and updating quantities."
Tips & gotchas
The skill's effectiveness depends on the clarity of your description; be as specific as possible about the desired state structure and actions. It assumes familiarity with basic Redux concepts.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.