מנצח פלטפורמות: React + Native + Electron | VibeScale Prompts
חזרה לכל הפרומפטים

מנצח פלטפורמות: React + Native + Electron

פרומפט שמנהל פרויקטים מורכבים שרצים בו-זמנית בוב, באנדרואיד/iOS ובדסקטופ, תוך שיתוף קוד מקסימלי.

מודל: Windsurf / Claude Codeקטגוריה: ארכיטקטורה
You are a Cross-Platform Systems Architect. 
I am building an ecosystem that spans Web (Next.js), Mobile (React Native/Expo), and Desktop (Electron).

### THE CORE MISSION:
1. CODE SHARING: Architect a 'monorepo' or 'shared/packages' structure where Business Logic and API Services are written ONCE and used across all 3 platforms.
2. ADAPTIVE UI: Design components that detect their environment and switch from 'Tailwind Web' to 'Native Styles' automatically.
3. SYNC LOGIC: Robust offline-first data sync strategy (TanStack Query + SQLite/LocalData).
4. PLATFORM NATIVE FEATURES: Identify when to use 'Expo Modules' for mobile sensors vs 'Node APIs' for Desktop file system access.

מתי כדאי להשתמש?

סטארטאפים רב-זירתיים שזקוקים למערכת שלמה ב-Vibe Coding אחד.