Expo Cursor Rules Starter (Free)

Three Expo rules that fix the mistakes agents make most often, ready to drop into .cursor/rules/, plus a linter.

Expo Cursor Rules Starter (Free) cover

What it is

3 Cursor project rules for Expo (React Native) you can drop into a repo today, plus lint_rules.py, which tells you why a Cursor rule isn't loading.

What you get

The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 5 tests OK on Python 3.13 and 3.10.

Real terminal output from Expo Cursor Rules Starter: demo and passing tests

The rules (in .cursor/rules/)

RuleLoadsFirst instruction
expo-overview.mdcalwaysCheck the expo version in package.json first
expo-router.mdcby file (app//*.tsx, app//*.ts, src/app/)Routes are files in app/: _layout.tsx for Stack/Tabs (NativeTabs for system tab bars), [id].tsx for dynamic...
expo-config-env.mdcby file (app.json, app.config.ts, app.config.js, eas.json, .env*, plugins/)EXPO_PUBLIC_* variables are inlined into the app bundle and visible to anyone

Install

Copy .cursor/rules/ into your project root (keep the .mdc extension). Then check them against your code:

python3 tools/lint_rules.py .cursor/rules --project .
./tools/demo.sh        # copies the rules into examples/sample-app and lints them
./run_tests.sh

Honest limits

  • Rules guide the model; they don't enforce anything.
  • Check version-specific advice against your installed versions.

Format and license

Zip, 11 KB, v1.0, 20 files. Free to use, modify and share for any purpose, including commercial work, as long as this notice stays in copies. Not affiliated with or endorsed by Cursor (Anysphere) or Expo.

FAQ

Which SDK?
Written against SDK 58 (Oct 2026) and SDK 57; the overview rule tells the agent to check the expo version and use npx expo install.
Is it really free?
Yes, free to use, change and share.
What's in the paid pack?
6 rules: Expo Router, config and EXPO_PUBLIC_ env vars, components and lists, secure storage and data, testing and EAS release.
How do I get the files?
Click Download free. The zip downloads straight away: no checkout, no account.
Do I have to sign up for the newsletter?
No. The form is optional and the download works without it.

Get Expo Cursor Rules Starter (Free)

Free Expo Cursor rules in .mdc format, checked against current Expo docs, plus a linter that shows why a rule isn't applying.

Pairs well with

Download$19

Claude Code Subagents Pack

10 Claude Code subagents (reviewer, security, tests, debugger, migrations, upgrades, docs, PRs, performance, refactors) plus a linter. $19 once.

View Claude Code Subagents Pack
DownloadFree

Claude Code Subagents Starter (Free)

3 free Claude Code subagent examples (code reviewer, test writer, debugger) and a linter that shows why a subagent file isn't loading.

View Claude Code Subagents Starter (Free)
Download$19

CSV & Excel MCP Server

Read-only MCP server for CSV, TSV and Excel: describe columns, SQL joins across files and sheets, column stats. No uploads, no dependencies. $19 once.

View CSV & Excel MCP Server

Related