GraphQL Schema Patterns Core Rules 1. NEVER inline literals - Create files 2. ALWAYS run codegen after creating/modifying files 3. ALWAYS add handler to mutations 4. Use generated hooks - Never write raw Apollo hooks File Structure Creating a Query Step 1: Create .gql file Step 2: Run codegen Step 3: Import and use generated hook Creating a Mutation Step 1: Create .gql file Step 2: Run codegen Step 3: Use with REQUIRED error handling Mutation UI Requirements CRITICAL: Every mutation trigger must: 1. Be disabled during mutation - Prevent double-clicks 2. Show loading state - Visual feedback 3.…