monorepo
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
Best practices for monorepo development with TypeScript, React, Next.js, Expo, Turbo, and related technologies
4 other projects use a version of this.
Adopted by
Most recently taken up by
- TheBeardedBearSAS/claude-crafttheir own version, first seen Jul 22, 2026
- avibebuilder/claude-primetheir own version, first seen May 10, 2026
- YepAPI/skillstheir own version, first seen Apr 12, 2026
- wpank/aitheir own version, first seen Feb 10, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- avibebuilder/claude-prime★ 120same name
- TheBeardedBearSAS/claude-craft★ 106same name
- wpank/ai★ 11same name
- YepAPI/skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 21 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write concise, technical TypeScript code with accurate examples
- Distinctive: line 13
Use functional and declarative programming patterns.
- Distinctive: line 14
Prefer iteration and modularization over code duplication
- Very specific: line 15
Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
- Very specific: line 18
Use lowercase with dashes for directory names (e.g., components/auth-wizard)
- Distinctive: line 22
Use TypeScript for all code.
- Distinctive: line 24
Avoid enums; use literal types or maps instead
- Distinctive: line 29
Use Zustand for state management
- Distinctive: line 30
Use TanStack React Query for data fetching and caching
- Distinctive: line 36
Follow best practices using Turbo for monorepo management
- Very specific: line 37
Use separate apps and packages directories
- Very specific: line 38
Keep shared configurations in the root configs/ directory
- Distinctive: line 39
Use consistent naming conventions for workspaces
- Distinctive: line 40
Follow the standard Turborepo workspaces directory structure:
- Distinctive: line 46
Use i18next for web internationalization
- Distinctive: line 47
Use expo-localization for React Native internationalization
- Distinctive: line 48
Keep translation files organized by feature or domain
- Distinctive: line 54
Use early returns for error conditions to avoid deeply nested if statements
- Distinctive: line 55
Place the happy path last in the function for improved readability
- Distinctive: line 56
Avoid unnecessary else statements.
- Distinctive: line 57
Use guard clauses to handle preconditions and invalid states early
- Distinctive: line 62
Use dynamic imports for code splitting
- Distinctive: line 69
Use Solito for navigation across web and mobile
- Very specific: line 70
Use .native.tsx files for platform-specific code
- Distinctive: line 75
Use Supabase for authentication and database
- Distinctive: line 77
Use Zod schemas for API validation
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Monorepo Development
You are an expert in TypeScript, React and Next.js, Expo (React Native), Tamagui, Supabase, Zod, Turbo (Monorepo Management), i18next, Zustand, TanStack React Query, Solito, and Stripe.
Code Style and Structure
- Write concise, technical TypeScript code with accurate examples
- Use functional and declarative programming patterns; avoid classes
- Prefer iteration and modularization over code duplication
- Use descriptive variable names with auxiliary verbs (e.g.,
isLoading,hasError) - Structure files with exported components, subcomponents, helpers, static content, and types
- Favor named exports for components and functions
- Use lowercase with dashes for directory names (e.g.,
components/auth-wizard)
TypeScript and Validation
- Use TypeScript for all code; prefer interfaces over types for object shapes
- Utilize Zod for schema validation and type inference
- Avoid enums; use literal types or maps instead
- Implement proper error handling with discriminated unions
State and Data Management
- Use Zustand for state management
- Use TanStack React Query for data fetching and caching
- Minimize
useEffectandsetState; favor derived state - Implement optimistic updates for better UX
Monorepo Structure
- Follow best practices using Turbo for monorepo management
- Use separate
appsandpackagesdirectories - Keep shared configurations in the root
configs/directory - Use consistent naming conventions for workspaces
- Follow the standard Turborepo workspaces directory structure:
apps/for application workspaces (Next.js, Expo apps)packages/for shared package workspaces (UI, utils, configs)
Internationalization
- Use i18next for web internationalization
- Use expo-localization for React Native internationalization
- Keep translation files organized by feature or domain
Error Handling and Validation
- Prioritize error handling and edge cases
- Handle errors and edge cases at the beginning of functions
- Use early returns for error conditions to avoid deeply nested if statements
- Place the happy path last in the function for improved readability
- Avoid unnecessary else statements; use if-return pattern instead
- Use guard clauses to handle preconditions and invalid states early
- Implement proper error logging and user-friendly error messages
Performance Optimization
- Use dynamic imports for code splitting
- Implement lazy loading for non-critical components
- Optimize images: use WebP format, include size data, implement lazy loading
- Minimize the use of 'use client', 'useEffect', and 'setState'
Cross-Platform Development
- Use Solito for navigation across web and mobile
- Use
.native.tsxfiles for platform-specific code - Share business logic and UI components through packages
Backend Integration
- Use Supabase for authentication and database
- Implement Row Level Security (RLS) policies
- Use Zod schemas for API validation
- Handle webhook events properly
Payments
- Implement Stripe integration with proper webhook handlers
- Handle subscription syncing between Stripe and your database
- Implement proper error handling for payment failures
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
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.

