Monorepo development guidelines using Tamagui, Turbo, Next.js, Expo, Supabase, and cross-platform best practices.
Install
npx skills add https://github.com/mindrally/skills --skill monorepo-tamaguiSKILL.md
Monorepo using Tamagui
Expert developer guidelines for building cross-platform applications with TypeScript, React, Next.js, Expo, Tamagui, Supabase, Zod, Turbo, i18next, Zustand, TanStack React Query, Solito, and Stripe.
Code Style and Structure
- Write concise TypeScript using functional patterns
- Use descriptive variable names with auxiliary verbs like
isLoading - Structure files with exported components, helpers, and types using named exports
TypeScript and Validation
- Prefer interfaces over types
- Leverage Zod for schema validation
- Use literal types instead of enums
- Build functional components with TypeScript interfaces for props
UI and Styling
- Apply Tamagui for cross-platform components
- Implement mobile-first responsive design
- Maintain styling consistency across web and native
- Utilize Tamagui theming capabilities
State Management
- Use Zustand for state management
- Employ TanStack React Query for data fetching and caching
- Minimize
useEffectusage
Internationalization
- Use i18next and react-i18next for web
- Apply expo-localization for React Native
- Internationalize all user-facing text
Error Handling
- Prioritize edge cases
- Handle errors early with guard clauses
- Implement custom error types for consistency
Performance Optimization
- Optimize both web and native platforms
- Use dynamic imports in Next.js
- Implement lazy loading
- Optimize images with proper formats
Monorepo Structure
- Follow Turbo best practices
- Isolate packages with correct dependency management
- Use shared configurations
- Structure workspace per
package.json
Cross-Platform Development
- Use Solito for navigation
- Create
.native.tsxfiles for platform-specific code - Use SolitoImage for cross-platform image compatibility
Stripe Integration
- Implement payment processing and subscriptions
- Use Stripe Customer Portal
- Handle webhooks for subscription events
- Sync subscription status with Supabase
Related skills
vercel-react-best-practicesvercel-labs751KReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.vercel-composition-patternsvercel-labs361KReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.vercel-react-view-transitionsvercel-labs135KGuide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions viewpick-ui-libraryemilkowalski124KPick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.
