{
  "enabledRules": [
    "claude-prompting-fundamentals",
    "claude-development-workflow",
    "claude-communication-rules",
    "task-management-todos",
    "makerkit-framework-integration",
    "makerkit-package-discovery",
    "makerkit-component-patterns",
    "makerkit-auth-implementation",
    "testing-standards",
    "typescript-build-integrity",
    "security-standards",
    "code-review-standards",
    "github-integration",
    "shared-packages-cortex",
    "markdown-optimization-ai",
    "rule-addition-guidelines"
  ],
  "customSections": [
    {
      "title": "📱 Cross-Platform Architecture",
      "order": 1,
      "content": "This project combines MakerKit (Next.js SaaS framework) for web with Flutter for mobile, sharing a common Supabase backend.\n\n**Web Platform**: MakerKit framework with Next.js 15, shadcn/ui, TanStack Query\n**Mobile Platform**: Flutter with Supabase integration\n**Shared Backend**: Supabase PostgreSQL with Row Level Security\n**Authentication**: Supabase Auth across both platforms\n**Data Sync**: Real-time synchronization via Supabase subscriptions"
    },
    {
      "title": "🔄 Development Workflow",
      "order": 2,
      "content": "**MANDATORY**: Always check both MakerKit web components and Flutter patterns before building custom solutions.\n\n**Web Development**:\n1. Use MCP server for MakerKit discovery: `get_components`, `components_search`\n2. Check @kit/ packages for existing patterns\n3. Follow MakerKit multi-tenant architecture\n\n**Mobile Development**:\n1. Check existing Flutter widgets and state management\n2. Ensure API consistency with web implementation\n3. Follow Material Design patterns\n4. Maintain offline-first capabilities"
    },
    {
      "title": "🔗 Shared Data Patterns",
      "order": 3,
      "content": "**API Consistency**: Both platforms use identical Supabase RPC calls and table structures\n**Type Safety**: Shared TypeScript/Dart type definitions for API contracts\n**Authentication**: Same user accounts, roles, and permissions across platforms\n**State Management**: TanStack Query (web) + Riverpod/Bloc (mobile) with shared data models\n**Real-time**: Supabase subscriptions for live updates on both platforms"
    }
  ],
  "variables": {
    "package.file": "package.json",
    "makerkit.location": "../makerkit",
    "mobile.platform": "Flutter",
    "mobile.commands": "flutter run\\nflutter test\\nflutter build apk",
    "dev.command": "pnpm dev",
    "build.command": "pnpm build",
    "test.command": "pnpm test",
    "lint.command": "pnpm lint",
    "typecheck.command": "pnpm typecheck",
    "state.library": "TanStack Query",
    "auth.system": "Supabase Auth",
    "ui.library": "@kit/ui",
    "database.client": "Supabase",
    "translation.function": "t"
  }
}