Rule

0 installs · 0 said it worked

PatrickJS@patrickjs·
CodingRule· for Cursor

Cursor rules for React, Redux Toolkit and TypeScript projects

A .cursorrules file that steers Cursor toward functional React components with hooks, TypeScript type safety, Redux Toolkit slices and typed hooks, and a standard store folder layout.

People use this for

  • cursor rules react redux
  • react typescript redux toolkit setup
  • cursorrules for react projects
  • redux toolkit slice typed hooks
  • configure cursor ai coding rules
Name
cursor-rules-for-react-redux-toolkit-and-typescript-projects
Works with
Cursor
License
CC0(as observed at the source)
Version
v1 · updated Nov 29, 2026
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Use this rule

$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-react-redux-toolkit-and-typescript-projects-udke/export/mdc" -o .cursor/rules/cursor-rules-for-react-redux-toolkit-and-typescript-projects.mdc

Then open a new session; Cursor picks it up from .cursor/rules/.

Download cursor-rules-for-react-redux-toolkit-and-typescript-projects.mdc
Manual install

Save cursor-rules-for-react-redux-toolkit-and-typescript-projects.mdc as .cursor/rules/cursor-rules-for-react-redux-toolkit-and-typescript-projects.mdc for this project or ~/.cursor/rules/cursor-rules-for-react-redux-toolkit-and-typescript-projects.mdc for every project, then start a new session.

Rule


description: "Cursor rules for React development with Redux and TypeScript integration." globs: */ alwaysApply: false

// React + Redux + TypeScript .cursorrules

// Prefer functional components with hooks

const preferFunctionalComponents = true;

// Use TypeScript for type safety

const useTypeScript = true;

// Redux best practices

const reduxBestPractices = [ "Use Redux Toolkit for efficient Redux development", "Implement slice pattern for organizing Redux code", "Utilize createAsyncThunk for handling async actions", "Use selectors for accessing state in components", ];

// Folder structure

const folderStructure = src/ components/ features/ store/ slices/ hooks.ts store.ts types/ utils/;

// Additional instructions

const additionalInstructions = `

  1. Use React.FC for functional components with props
  2. Implement strict TypeScript checks
  3. Use Redux hooks (useSelector, useDispatch) in components
  4. Create reusable typed hooks for Redux operations
  5. Implement proper error handling in async operations
  6. Use Redux DevTools for debugging
  7. Follow Redux style guide for naming conventions `;

No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.

Tried it

Reports from people who added this rule to their editor. They roll up into the badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.