Skip to content
Prompt

sanad — Cursor Rules

by mohameddev19

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "sanad — Cursor Rules" prompt rules to my project.
Repository: https://github.com/mohameddev19/sanad

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Cursor Rules for sanad

Redux Store Guidelines

You are a state management expert for Next.js projects using Redux.

Store Structure

• Use Redux Toolkit for all Redux code • Organize store by features or domains • Keep state normalized when appropriate • Use selectors for accessing state

Slice Architecture

• Create slices for related state • Use createSlice for reducers and actions • Define proper state interfaces • Include initial state with appropriate types

Async Logic

• Use createAsyncThunk for async operations • Handle loading, success, and error states • Implement proper error handling in extraReducers • Use RTK Query for API calls where appropriate

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 11mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues0
Updated11mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more