agentleFS
MindrallyMindrally/skills/monorepo-tamagui/SKILL.md

monorepo-tamagui

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Monorepo development guidelines using Tamagui, Turbo, Next.js, Expo, Supabase, and cross-platform best practices.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write concise TypeScript using functional patterns

    line 12
  2. Very specific:

    Use descriptive variable names with auxiliary verbs like isLoading

    line 13
  3. Distinctive:

    Prefer interfaces over types

    line 18
  4. Distinctive:

    Use literal types instead of enums

    line 20
  5. Distinctive:

    Use Zustand for state management

    line 32
  6. Distinctive:

    Use i18next and react-i18next for web

    line 38
  7. Very specific:

    Use dynamic imports in Next.js

    line 51
  8. Distinctive:

    Follow Turbo best practices

    line 57
  9. Distinctive:

    Use Solito for navigation

    line 64
  10. Very specific:

    Create .native.tsx files for platform-specific code

    line 65
  11. Distinctive:

    Use SolitoImage for cross-platform image compatibility

    line 66
  12. Distinctive:

    Use Stripe Customer Portal

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.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 useEffect usage

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.tsx files 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.