Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorRulesaiverse-platform-data-fabric Cursor Rules
    Back to Rules
    Backend

    aiverse-platform-data-fabric Cursor Rules

    drav-ai April 15, 2026
    0 copies 0 downloads

    - ALL execution units MUST be stateless

    Rule Content
    # AIVerse Data Fabric Domain - Cursor Rules
    
    ## Domain Constraints
    
    ### Stateless Execution (CRITICAL)
    - ALL execution units MUST be stateless
    - NO internal caching, sessions, or accumulated state
    - Units can be terminated at ANY point with NO side effects
    - Use Protocol-based dependency injection for all external dependencies
    
    ### No Orchestration (CRITICAL)
    - Execution units MUST NOT call other execution units
    - NO loops, retries, or conditionals within units
    - MCOP handles all scheduling and sequencing
    - NO workflow logic in this domain
    
    ### Domain Independence (CRITICAL)
    - This domain can be FULLY REMOVED without breaking the Control Plane
    - NO cross-domain imports (model, agent, business, etc.)
    - ALL interactions via published Control Plane interfaces only
    - NO direct Kubernetes or cluster references
    
    ## Code Style
    
    ### Python
    - Use Python 3.11+ features (type hints, dataclasses, etc.)
    - All dataclasses should be frozen=True for immutability
    - Use Protocol classes for dependency injection
    - Document failure modes in docstrings
    
    ### File Organization
    - Execution units: `execution_units/eu_XX_<name>.py`
    - Registry cards: `registry_cards/eu_XX_<name>_card.json`
    - Feedback signals: `feedback_signals/<type>_<name>.json`
    - Contracts: `schemas/contracts.py`
    
    ## Testing
    
    - Mock ALL Protocol dependencies in unit tests
    - Verify failure modes produce correct error codes
    - DO NOT test orchestration (there is none)
    - Integration tests verify registry card registration
    
    ## Forbidden Patterns
    
    1. `import kubernetes` or `from kubernetes import` - Use MCOP adapter
    2. `@retry` or retry loops - MCOP handles retries
    3. `asyncio.gather` for parallel EU calls - No orchestration
    4. Direct SQL/database access - Use Registry/Ledger protocols
    5. Environment-specific code (cluster IDs, hardware specs)
    6. Cross-domain imports (aiverse_platform_training, etc.)
    
    ## ADR Reference
    
    Always consult `docs/adr/PHASE3-DATA-FABRIC-PLUGIN-SPEC.md` for authoritative definitions.
    
    ## Git Workflow
    
    - Feature branches from develop
    - Commit frequently with descriptive messages
    - Push immediately after commits
    - PR to merge feature -> develop -> main
    

    Tags

    python

    Comments

    More Rules

    View all
    Web Development

    Next.js 15 + TypeScript Cursor Rules

    Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.

    C
    Community
    Backend Development

    Python FastAPI Best Practices Rules

    Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.

    C
    Community
    Frontend Development

    React + TypeScript Component Rules

    Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.

    C
    Community
    AI/ML

    Cursor Agent Mode Configuration

    Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.

    C
    Cursor Team
    Frontend Development

    Tailwind CSS + shadcn/ui Rules

    Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.

    C
    Community
    Backend Development

    Go Backend Service Rules

    Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.

    C
    Community

    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.

    aiverse-platform-data-fabric Cursor Rules — Cursor Rules | Neura Market