react-native-architecture

Installation
SKILL.md

React Native Architecture

Priority: P0 (CRITICAL)

Organize by Feature

  • Feature-First: Organize by feature/module, not by type.
  • Colocation: Keep related files together (screens, components, hooks within feature).
  • Separation: UI (screens/components) separate from logic (hooks/services).

See folder structure reference for full directory tree and path alias configuration.

  • Atomic Components: Reusable components in /components. Feature-specific in feature folder.
  • Absolute Imports: Configure tsconfig.json paths for clean imports.
  • Single Responsibility: Each file one clear purpose.
  • Expo vs CLI: Structure works for both. Expo uses app.json, CLI uses index.js.

Anti-Patterns

Installs
2
GitHub Stars
570
First Seen
Sep 18, 2026