⚙️ Engineering Awaiting Security Review

Turborepo Monorepo

Set up and manage monorepos with Turborepo. Configures task pipelines, remote caching, workspace dependencies, shared packages, and CI/CD optimization that reduces build times by 70-90%.

This skill helps you build and maintain monorepos with Turborepo. It configures turbo.json task pipelines, sets up remote caching for faster CI, creates shared packages (ui, config, tsconfig), manages workspace dependencies, and optimizes GitHub Actions for monorepo builds with proper filtering.

turborepo monorepo workspaces caching build-optimization

When to use

Use when setting up a monorepo for multiple apps and shared packages, optimizing slow CI builds, migrating from a multi-repo setup, or sharing code between frontend, backend, and mobile apps.

Examples

Monorepo from scratch

Set up a full monorepo with shared packages

Create a Turborepo monorepo with a Next.js web app, a React Native mobile app, and shared UI/config/types packages

Optimize CI with caching

Speed up CI builds with remote caching

Configure Turborepo remote caching and GitHub Actions to only build/test packages affected by each PR's changes