RuleMembers

React Native Expo Router Cursor rules for Windows

This Cursor rule file covers React Native apps built with Expo, Expo Router and TypeScript on a Windows machine. It is for mobile developers who want Cursor to follow Expo conventions and run project commands in PowerShell, with known package version conflicts already worked out.

What it does

It lists practices such as functional components with hooks, Expo Router navigation, SecureStore for sensitive data, offline support, OTA updates and NativeWind styling, plus a folder layout with app/_layout.tsx. It pins nativewind 2.0.11 with tailwindcss 3.3.2 and says nativewind/babel must come before the react-native-reanimated plugin.

How to use it

Cursor uses PowerShell commands such as Get-ChildItem and Move-Item to inspect and reorganise files.

Requirements and limits

The version pins reflect a specific NativeWind release and may be outdated for newer setups.

More in Rules and the Cursor library.

The full text is in the members library

Book a call and we will give you access to the full Cursor library: every entry in full, search by meaning, copy and download.

Source and license

Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/react-native-expo-router-typescript-windows-cursorrules-prompt-file.mdc

Author: PatrickJS, Awesome cursorrules. License: CC0-1.0.

Related entries