cursor-rules / rules
Cursor rule8 starsChanged 19 months agoMITView on GitHub
Expo Development Standards
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository17 other files it gives its agents.
- .cursor/rules/aws-bedrock.mdcCursor rule
- .cursor/rules/aws-cloudformation.mdcCursor rule
- .cursor/rules/aws-dynamodb.mdcCursor rule
- .cursor/rules/aws-eventbridge.mdcCursor rule
- .cursor/rules/aws-gamelift.mdcCursor rule
- .cursor/rules/aws-iam.mdcCursor rule
- .cursor/rules/aws-lambda.mdcCursor rule
- .cursor/rules/aws-sagemaker.mdcCursor rule
- .cursor/rules/aws-sam.mdcCursor rule
- .cursor/rules/aws-vpc.mdcCursor rule
- .cursor/rules/base.mdcCursor rule
- .cursor/rules/docs-structure.mdcCursor rule
- .cursor/rules/nextjs.mdcCursor rule
- .cursor/rules/react.mdcCursor rule
- .cursor/rules/react-native.mdcCursor rule
- .cursor/rules/readme-documentation.mdcCursor rule
- .cursor/rules/typescript.mdcCursor rule
The file
Show its rules and text
We split this expo.mdc into the rules it gives an agent
45 rules. About 0 are common, 44 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈44
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Use app.json/app.config.js for configuration
- Distinctive: line 27
Use Expo CLI for development
- Distinctive: line 30
Use Expo Go for rapid development
- Distinctive: line 32
Create custom development clients when needed
- Distinctive: line 33
Use proper publishing workflows
- Distinctive: line 37
Use EAS Build for production builds
- Distinctive: line 41
Use EAS Submit for store submissions
- Distinctive: line 44
Use EAS Metadata for store listings
- Distinctive: line 47
Use Expo SDK modules appropriately
- Distinctive: line 49
Use Expo Router for navigation when appropriate
- Distinctive: line 51
Use Expo's notification system properly
- Distinctive: line 54
Use Expo's asset system for resources
- Distinctive: line 58
Use Expo Auth Session appropriately
- Distinctive: line 61
Create proper authentication state management
- Distinctive: line 64
Create proper authentication UI flows
- Distinctive: line 67
Use Expo Router or React Navigation
- Distinctive: line 72
Use proper stack management
- Distinctive: line 73
Create appropriate transition animations
- Distinctive: line 77
Use Expo's asset system for images and fonts
- Distinctive: line 80
Create proper asset preloading
- Distinctive: line 81
Use Expo Image for optimized images
- Distinctive: line 84
Use asset bundling appropriately
- Distinctive: line 88
Use Hermes engine for improved performance
- Distinctive: line 90
Create optimized list rendering
- Distinctive: line 91
Use proper image optimization
- Distinctive: line 94
Use performance monitoring tools
- Distinctive: line 99
Create proper version management
- Distinctive: line 100
Use proper update rollout strategies
- Distinctive: line 103
Create appropriate user communication for updates
- Distinctive: line 104
Use proper update event handling
- Distinctive: line 108
Create appropriate sync mechanisms
- Distinctive: line 109
Use proper conflict resolution strategies
- Distinctive: line 112
Use proper network state detection
- Distinctive: line 113
Create resilient API interactions
- Distinctive: line 117
Use Expo's testing tools
- Distinctive: line 119
Create component tests with Testing Library
- Distinctive: line 120
Use Jest for test running
- Distinctive: line 122
Create proper test fixtures
- Distinctive: line 123
Use proper mocking strategies
- Distinctive: line 127
Use proper versioning for releases
- Distinctive: line 131
Create proper release notes
- Distinctive: line 134
Use proper release management workflows
- Distinctive: line 138
Use secure storage for sensitive data
- Distinctive: line 141
Create appropriate permission handling
- Distinctive: line 142
Use proper certificate pinning
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Expo Development Standards globs: alwaysApply: false --- --- Description: Expo Development Standards Globs: **/*.tsx, **/*.jsx, **/*.ts, **/*.js, **/expo.config.js, **/app.json --- # Expo Development Standards @base.mdc @typescript.mdc @react-native.mdc ## Project Configuration - Use app.json/app.config.js for configuration - Implement proper versioning strategy - Configure proper app identifiers - Set up splash screen and app icon properly - Configure proper orientation settings - Implement proper permissions handling - Set up proper navigation structure - Configure build settings appropriately ## Expo Workflow - Use Expo CLI for development - Implement proper environment variables - Configure development build correctly - Use Expo Go for rapid development - Implement proper production builds - Create custom development clients when needed - Use proper publishing workflows - Implement proper version control with Expo ## EAS (Expo Application Services) - Use EAS Build for production builds - Implement EAS Update for over-the-air updates - Configure proper EAS profiles - Set up appropriate build triggers - Use EAS Submit for store submissions - Implement proper environment secrets - Configure proper build cache settings - Use EAS Metadata for store listings ## Expo Libraries - Use Expo SDK modules appropriately - Implement proper module version compatibility - Use Expo Router for navigation when appropriate - Implement proper media handling with Expo - Use Expo's notification system properly - Implement proper authentication with Expo Auth - Configure Expo FileSystem for storage - Use Expo's asset system for resources ## Authentication - Implement secure authentication flows - Use Expo Auth Session appropriately - Configure proper auth providers - Implement secure token storage - Create proper authentication state management - Implement proper session management - Configure proper authentication error handling - Create proper authentication UI flows ## Navigation - Use Expo Router or React Navigation - Implement proper deep linking - Configure proper navigation state persistence - Create type-safe navigation - Implement proper navigation guards - Use proper stack management - Create appropriate transition animations - Implement proper navigation context ## Asset Management - Use Expo's asset system for images and fonts - Implement proper asset caching - Configure appropriate asset loading strategies - Create proper asset preloading - Use Expo Image for optimized images - Implement proper image resizing - Configure proper font loading - Use asset bundling appropriately ## Performance - Optimize JavaScript bundle size - Use Hermes engine for improved performance - Implement proper memory management - Create optimized list rendering - Use proper image optimization - Implement appropriate caching strategies - Configure proper native module optimization - Use performance monitoring tools ## Over-the-Air Updates - Implement proper OTA update strategies - Configure update channels appropriately - Create proper version management - Use proper update rollout strategies - Implement proper update testing - Configure proper rollback mechanisms - Create appropriate user communication for updates - Use proper update event handling ## Offline Support - Implement proper offline data storage - Create appropriate sync mechanisms - Use proper conflict resolution strategies - Implement proper offline UI states - Configure appropriate retry mechanisms - Use proper network state detection - Create resilient API interactions - Implement proper error handling for offline scenarios ## Testing - Use Expo's testing tools - Implement unit tests for business logic - Create component tests with Testing Library - Use Jest for test running - Implement end-to-end tests - Create proper test fixtures - Use proper mocking strategies - Implement proper CI/CD for testing ## Publishing - Use proper versioning for releases - Implement appropriate release channels - Configure proper production builds - Use EAS Submit for store submissions - Create proper release notes - Implement appropriate store listing assets - Configure proper beta testing - Use proper release management workflows ## Security - Implement proper environment variable handling - Use secure storage for sensitive data - Configure proper API security - Implement proper authentication - Create appropriate permission handling - Use proper certificate pinning - Implement security monitoring - Configure proper data encryption
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

