AGENTS.md
Habit tracker app for iOS and Android built with Expo (React Native, TypeScript, Expo Router).
Commands
- Start:
npx expo start - Typecheck:
npx tsc --noEmit; lint:npx expo lint; tests:npx jest - Add a dependency:
npx expo install <package>(keeps versions compatible with the Expo SDK) - Diagnose config:
npx expo-doctor
Rules
- Changing
app.config.ts, adding a config plugin or a package with native code requires a new development build. Say so in your summary. - Store auth tokens with
expo-secure-storeonly.EXPO_PUBLIC_*variables are bundled into the app: never put secrets there. - Long lists use
FlashListorFlatListwith stable keys. - Every screen handles loading, error, empty and offline states.
- Icon-only buttons need
accessibilityLabel; respect the user’s font scale. - Test layout changes on both a small phone and a tablet size.