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

    next_gen Cursor Rules

    sakshamsri4 April 15, 2026
    0 copies 0 downloads

    project_type: "flutter"

    Rule Content
    # Next Gen Project - Cursor Rules Configuration
    # This file defines safe boundaries for AI operations
    
    # Project Information
    project_type: "flutter"
    architecture: "very_good_core"
    state_management: ["bloc", "getx"]
    backend: "firebase"
    
    # Protected Paths (Never Auto-Modify)
    protected_paths:
      - "pubspec.yaml"
      - "pubspec.lock"
      - ".dart_tool/"
      - "android/"
      - "ios/"
      - "macos/"
      - "windows/"
      - "web/"
      - ".github/"
      - "firebase.json"
      - "*.rules"
      - "*.indexes.json"
      - ".firebaserc"
      - "analysis_options.yaml"
      - "l10n.yaml"
      - "lib/firebase_options.dart"
      - "lib/generated/"
      - "lib/l10n/"
    
    # Auto-Run Configuration
    auto_run:
      allowed_operations:
        - "Format Dart code"
        - "Fix linter issues"
        - "Add documentation comments"
        - "Create new Dart files in lib/"
        - "Extract widgets to reduce nesting"
        - "Implement error handling"
        - "Add const constructors"
        - "Create unit tests"
    
      requires_confirmation:
        - "File deletion or renaming"
        - "Firebase configuration changes"
        - "Package version updates"
        - "Large refactoring operations"
        - "Database schema changes"
        - "Security rule modifications"
        - "Test configuration changes"
        - "State management pattern changes"
    
      never_allowed:
        - "Modify generated files"
        - "Change version numbers"
        - "Edit platform-specific code"
        - "Modify Firebase options"
        - "Change package dependencies"
        - "Edit CI/CD workflows"
        - "Modify git configuration"
        - "Change security rules"
    
    # Command Configuration
    commands:
      allowlist:
        - "format"
        - "analyze"
        - "create_file"
        - "read_file"
        - "codebase_search"
        - "grep_search"
    
      denylist:
        - "delete_file"
        - "rm"
        - "git"
        - "flutter pub"
        - "firebase"
        - "flutterfire"
    
    # File Structure Rules
    structure:
      lib:
        - "core/"
        - "features/"
        - "shared/"
        - "utils/"
        - "models/"
        - "services/"
        - "widgets/"
    
    # Code Style Rules
    style:
      dart:
        - "Use const constructors where possible"
        - "Break down widgets over 100 lines"
        - "Implement proper error handling"
        - "Add documentation for public APIs"
        - "Follow very_good_analysis rules"
    
      firebase:
        - "Use service layer for Firebase operations"
        - "Implement proper error handling"
        - "Never expose Firebase instances directly"
        - "Use proper security rules"
    
    # Safety Settings
    safety:
      delete_protection: true
      mcp_tools_protection: true
      auto_apply_outside_context: false
      large_context: false
    
    # Documentation Requirements
    documentation:
      required_for:
        - "Public APIs"
        - "Complex widgets"
        - "Service methods"
        - "State management classes"
        - "Firebase operations"
    

    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
    • Sync Linear Project and Issue Updates to Productboard with Slack Notificationsn8n · $14.99 · Related topic
    Browse all workflows