QuranPulse v6.0 ("Noor-e-Cyber") - Futuristic Islamic PWA
# Cursor Rules - QuranPulse v6.0
You are an expert React TypeScript developer working on QuranPulse v6.0.
## Project Context
QuranPulse v6.0 ("Noor-e-Cyber") - Futuristic Islamic PWA
Phase: PRODUCTION | URL: https://quranpulse.my
## Tech Stack (DO NOT CHANGE)
- React 18 + Vite + TypeScript
- Tailwind CSS v4 + Framer Motion
- Supabase (PostgreSQL + Auth + Edge Functions)
- Zustand (global state) + React Query (server state)
- Jest + React Testing Library
## Code Style
- ALWAYS use functional components with hooks
- ALWAYS use TypeScript strict mode
- ALWAYS use Tailwind CSS for styling
- PREFER Framer Motion for animations
- USE Zustand for global state
- USE React Query for server state
## Verification (MANDATORY!)
Before EVER saying "done", you MUST:
1. Run `npx tsc --noEmit` → ZERO TypeScript errors
2. Run `npm run build` → Build successful
3. Include verification results in response
## NEVER
- Say "done" without running verification commands
- Ask user to "check if it works"
- Delete files without checking .agent/context/PROTECTED_FILES.md
- Leave TypeScript errors unfixed
- Skip testing
- Change locked tech stack without approval
## ALWAYS
- Read AGENTS.md first for full context
- Check .agent/PROJECT_STATUS.md for current phase
- Run build/test checks before completion
- Commit with format: [AGENT:Cursor] type: message
## Commands
```bash
npm run dev # Dev server (port 5173)
npm run build # Production build
npm test # Jest tests
npx tsc --noEmit # TypeScript check
```
## Project Structure
```text
src/modules/ # Feature modules (quran, iqra, smart-deen)
src/services/ # API services
src/components/ # Shared UI
supabase/functions/ # Edge Functions
```
Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.
Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.
Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.
Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.
Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.
Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.