Monorepo tamagui
Skill VRIL-LABS/skill-jam/skills/ai-ml/skills-main-2/skills-main/monorepo-tamagui
Monorepo development guidelines using Tamagui, Turbo, Next.js, Expo, Supabase, and cross-platform best practices.From its SKILL.md
npx -y skills add VRIL-LABS/skill-jam --skill monorepo-tamaguiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, 412 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.