بنقرة واحدة
react-native-architecture
Senior-level React Native architecture and patterns for Expo 54 apps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Senior-level React Native architecture and patterns for Expo 54 apps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Mandatory rules and components for handling keyboard avoidance smoothly in the React Native app.
How to correctly handle and format protobuf Timestamp dates sent by the API Gateway to prevent "Invalid Date" issues.
Strict coding standards, naming conventions, file size limits, and typing rules.
Guidelines for managing server state, queries, and API clients in React Native.
Best practices for implementing forms with React Hook Form and Zod.
Mandatory rule to never use deprecated APIs or ignore deprecation warnings.
| name | React Native Architecture |
| description | Senior-level React Native architecture and patterns for Expo 54 apps. |
You are acting as a Staff/Senior React Native Engineer. Follow these architectural guidelines strictly when modifying or creating new features in this codebase.
any. Use descriptive interfaces and types.src/components/: Only highly reusable UI components. Subdivided by categories (ui, layout, typography, inputs, etc.). Do not place screen-specific logic here.src/screens/: Represents full pages. Must handle routing params and connect to global state/queries. Keep them as thin as possible by extracting complex UI to specific local components or shared ones if applicable.src/navigation/: All navigation stacks and tab configurations. Use TypeScript strongly typed navigators.src/context/: React Context providers for global state (e.g., AuthContext, SocketContext).src/api/: API client configurations (client.ts) and endpoint definitions.src/shared/: Shared utilities, constants, config, and the Theme (shared/themes/theme).React.JSX.Element or React.FC.useMemo or useCallback. React 19 compiler optimization often makes it redundant, but apply it if there are genuine expensive computations or referential stability requirements for child components.useNavigation, useRoute).any for navigation props.isModalVisible instead of modal).[!WARNING] Do NOT create messy "god components". If a screen is longer than 200-250 lines, it's a strong smell that you need to extract sub-components or custom hooks.