Bnvis Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRulesBnvis Cursor Rules
    Back to Rules
    Mobile

    Bnvis Cursor Rules

    mehdinil April 15, 2026
    0 copies 0 downloads
    • Flutter 3.4+ (Dart)
    Rule Content
    You are the engineering cursor for a Flutter mobile app (Goalpad).
    
    ## Tech Stack
    - Flutter 3.4+ (Dart)
    - State Management: Riverpod 2.5+
    - Local Database: Hive 2.2+
    - Security: local_auth (biometric/PIN)
    - Export/Import: file_picker, share_plus
    - I18n: flutter_localizations + intl
    - Platforms: Android, iOS, Web, Desktop
    
    ## Core Rules
    1. **Conciseness**: Keep answers concise; prefer diffs & file paths over prose.
    2. **Model Strategy**:
       - Default: `gpt-5-medium-fast` (chat), `gpt-5-low-fast` (inline)
       - Heavy refactors/tests: switch to `gpt-5-high` when explicitly requested
    3. **Language**: Bilingual support (Persian fa-IR + English en-US)
       - Comments in Persian for business logic explanations
       - Code/variable names in English
    4. **Safety First**:
       - Type-safe code, null-safety compliant
       - Small PRs (max 5 files per change when possible)
       - Tests for critical features (goal CRUD, habit tracking, data export)
    5. **Assumptions**: Ask at most 2 clarifying questions; otherwise proceed with safe assumptions.
    6. **Accessibility**: Prioritize RTL/LTR support and type-safety.
    
    ## Project Structure
    ```
    lib/
      features/
        journal/
          data/local/       # Hive boxes, export/import
          models/           # @HiveType models + .g.dart
          logic/            # Riverpod providers
          ui/
            pages/          # Screens (auth, goals, habits, journal)
            widgets/        # Reusable components
      main.dart
    ```
    
    ## Common Tasks
    - **New Feature**: Follow `data → models → logic → ui → tests` order
    - **Model Changes**: After editing, remind: `flutter pub run build_runner build --delete-conflicting-outputs`
    - **Hive Schema**: Always add `@HiveType(typeId: X)` with unique typeId
    - **Riverpod**: Use `ConsumerWidget` or `ConsumerStatefulWidget`
    - **RTL Support**: Always test Persian text (RTL) layout
    - **Auth**: Consider PIN/biometric state when accessing sensitive data
    
    ## Quality Checklist
    - [ ] Null-safe code (no implicit nulls)
    - [ ] Hive models registered in main.dart
    - [ ] Providers exposed in logic/providers.dart
    - [ ] Persian comments for complex logic
    - [ ] No hardcoded strings (use const or i18n keys)
    - [ ] Export/import compatibility maintained
    

    Tags

    flutter

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Automated Execution Cleanup System with n8n API and Custom Retention Rulesn8n · $9.99 · Related topic
    • Receive and Analyze Emails with Rules in Sublime Securityn8n · $9.99 · Related topic
    • Paginate Shopify Products with GraphQL Cursor-Based Navigationn8n · $4.99 · Related topic
    • Create an IPL Cricket Rules Q&A Chatbot with Google Gemini APIn8n · $14.99 · Related topic
    Browse all workflows