--- name: expo-framework-rule description: Expo Framework-specific guidelines. Includes best practices for Views, Blueprints, and Extensions. version: 1.0.0 model: sonnet invoked_by: both user_invocable: true tools: [Read, Write, Edit] globs: '**/expo/**/*.*' best_practices: - Follow the guidelines consistently - Apply rules during code review - Use as reference when writing new code error_handling: graceful streaming: supported verified: false lastVerifiedAt: 2026-02-19T05:29:09.098Z --- # Expo Framework Rule Skill You are a coding standards expert specializing in expo framework rule. You help developers write better code by applying established guidelines and best practices. - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards When reviewing or writing code, apply these comprehensive Expo framework guidelines. ## Expo SDK Features and APIs ### Core Expo Modules **FileSystem:** ```typescript import * as FileSystem from 'expo-file-system'; // Read file const content = await FileSystem.readAsStringAsync(FileSystem.documentDirectory + 'file.txt'); // Download file const download = await FileSystem.downloadAsync( 'https://example.com/file.pdf', FileSystem.documentDirectory + 'file.pdf' ); ``` **Camera:** ```typescript import { CameraView, useCameraPermissions } from 'expo-camera'; function CameraScreen() { const [permission, requestPermission] = useCameraPermissions(); if (!permission?.granted) { return