What problem does it solve?
Teams building features in ledger-live-desktop and ledger-live-mobile need consistent architectural rules so new TypeScript and React Native code follows the MVVM pattern instead of scattering logic across views, hooks, and Redux calls.
Core Features & Use Cases
- Folder Structure Standards: Defines the src/mvvm/ layout with features, screens, components, hooks, and utils directories plus mandatory integrations test folders.
- ViewModel Pattern Enforcement: Requires Container → ViewModel → View separation where Views receive props only and ViewModels own useSelector, useNavigation, and RTK Query calls.
- Code Review Checklist: Provides a violation checklist to flag Views importing react-redux, @react-navigation, or RTK Query hooks directly.
- Use Case: When adding a new UserProfileScreen to the mobile app, use this Skill to scaffold the screen folder with index.tsx and useUserProfileScreenViewModel.ts, wire data through RTK Query, and add the required integration test.
Quick Start
Ask the AI to create a new feature screen in src/mvvm following the MVVM architecture rules with a ViewModel hook and integration test.