React Native Expo Ignite .cursorrules prompt file
About .cursorrules prompt file
What you can build
Expo-based App Template Generator: A web application that automatically generates a React Native app template using Expo and Ignite, following the best practices and folder structure specified in the Cursor AI file. Users can customize components, screens, and configurations.
Mobile App Development Best Practices Platform: A knowledge-sharing website where developers can find and share React Native Expo Ignite best practices, tips, guidelines, and sample code snippets, enhancing their productivity and app quality.
Real-time Code Review Tool for React Native Projects: A tool that integrates with GitHub to provide instant feedback on commits and pull requests, ensuring compliance with React Native Expo Ignite best practices and specific project rules set forth in the Cursor AI guidelines.
Interactive Learning Environment for React Native with Expo: An app or platform that offers guided tutorials and interactive coding exercises focused on implementing apps using React Native, Expo, and Ignite, adhering to the suggested best practices and folder structures.
Expo Ignite Project Onboarding App: A desktop app designed to onboard new developers to a project following the React Native Expo Ignite setup, including walkthroughs of folder structures, state management, and established patterns for creating screens and components.
Automated Testing Suite for React Native Ignite Applications: A service that automatically runs tests for new functionalities in React Native apps developed with Expo and Ignite, ensuring adherence to the testing practices outlined in the Cursor AI file.
Expo Ignite Code Linter and Formatter: A tool that suggests improvements and automatically formats code according to the project-specific rules, additional instructions, and best practices for React Native Expo Ignite projects.
Secure Data Access Layer for React Native: A utility library for secure data storage and retrieval in React Native projects using Expo's SecureStore, pre-configured to work seamlessly with the folder structure and utilities outlined in the Cursor AI rules.
Customizable Navigation Setup Tool for React Native Apps: A UI-based tool for configuring and generating navigation setups for new app initiatives, built on React Navigation, as recommended in the Cursor AI Expo Ignite best practices.
React Native Component Marketplace: An online marketplace offering components designed to conform to the recommended structures and themes of React Native Expo Ignite projects, facilitating easy and standardized integration into existing projects.
Benefits
- Emphasizes using functional components and hooks with extensive use of Expo SDK, MobX State Tree, and React Navigation for a modern React Native architecture.
- Provides a well-defined folder structure and specific rules, guiding consistent development practices, styling, and error handling.
- Encourages robust code with TypeScript, internationalization, and test coverage while recommending optimized components for UI consistency.
Synopsis
Mobile app developers using React Native and Expo can build scalable, maintainable, and consistent applications by adhering to the outlined coding standards and project structure.
Overview of .cursorrules prompt
The .cursorrules file establishes a comprehensive set of guidelines and best practices for developing a React Native project using Expo and Ignite. It emphasizes the use of functional components, Expo SDKs, and React Navigation for creating app features. The file outlines a specific folder structure for organizing code, encourages the use of TypeScript, and stresses consistent styling with a theming system. It also includes instructions for handling sensitive data, making API calls, implementing internationalization, and managing application state using MobX State Tree. Specific project rules are provided to ensure uniformity in component usage, error handling, list rendering, form creation, and global state management. Additionally, it promotes the use of Expo's over-the-air updates for efficient deployment and mandates testing for new functionalities.