Mobile Framework Guidelines
Framework-specific guidelines for mobile development across React Native, Flutter, Swift, and Kotlin.
Mobile Framework Guidelines
This section provides cursor rules and guidelines specific to popular mobile development frameworks. Learn how to effectively use cursor rules to enhance your development workflow across different mobile platforms.
Available Frameworks
React Native
Discover cursor rules tailored for React Native development:
- Component and native module navigation
- Platform-specific code handling
- Native bridge integration
- Learn More
Flutter
Explore cursor rules designed for Flutter development:
- Widget tree navigation
- State management patterns
- Platform channels handling
- Learn More
Swift
Learn cursor rules for iOS native development:
- SwiftUI component patterns
- UIKit integration
- iOS lifecycle management
- Learn More
Kotlin
Master cursor rules for Android development:
- Jetpack Compose navigation
- Kotlin coroutines handling
- Android architecture patterns
- Learn More
Common Features
Cross-Platform Navigation
- Navigate between platform-specific code
- Smart component/widget traversal
- State and prop management
- Native module integration
Code Manipulation
- Framework-specific refactoring
- Smart component generation
- Native bridge handling
- Platform-specific optimizations
Best Practices
-
Platform-Specific Patterns
- Use platform-aware navigation
- Handle native integrations properly
- Follow platform conventions
- Implement proper error handling
-
Performance Optimization
- Optimize rendering performance
- Handle memory efficiently
- Consider battery impact
- Implement proper caching
-
Development Experience
- Streamlined workflow
- Quick platform switching
- Enhanced productivity
- Proper debugging support
-
Testing Strategy
- Unit test components
- Integration test flows
- Platform-specific testing
- End-to-end validation
Benefits
- Consistent development patterns
- Improved code quality
- Better performance
- Easier maintenance
- Enhanced team collaboration
- Streamlined platform handling
Whether you're developing with React Native, Flutter, Swift, or Kotlin, these framework-specific guidelines will help you maintain consistent patterns and best practices across your mobile development workflow.
Related Articles
AI Rules for Elixir
Guide for effective AI interaction patterns when working with Elixir code.
What are AI Rules in Modern IDEs?
AI rules are custom instructions that help tailor AI assistants' behavior in modern code editors. While initially popularized by Cursor, similar functionality exists in other AI-powered IDEs like Windsurf, making it a broader ecosystem feature rather than being Cursor-specific.
AI Rules for Ruby
Guide for effective AI interaction patterns when working with Ruby code.