turborepo
Monorepo build system with intelligent task caching, parallel execution, and dependency graph orchestration.
- Caches task outputs and runs tasks in parallel based on declared dependencies; supports remote caching for CI/CD workflows
- Filters and runs only changed packages with
--affected, or use--filterfor custom package selection - Configures tasks in
turbo.jsonwithdependsOn,outputs,inputs, andenvkeys; supports package-specific overrides via Package Configurations - Enforces monorepo structure best practices: scripts in each package's
package.json, rootpackage.jsondelegates viaturbo run, and internal packages for shared code - Includes watch mode (
turbo watch) for development, environment variable hashing, and boundary enforcement to prevent unwanted cross-package imports
Turborepo
The complete Turborepo documentation ships inside the installed turbo package. Do not rely on this skill for framework guidance. Always read the bundled docs, which match the installed version exactly.
Start with:
node_modules/turbo/docs/README.md
Use that task index to choose the smallest relevant documentation page. Read it before changing Turborepo configuration, package scripts, or CI workflows.
If the package manager uses a non-flat node_modules layout or a workspace link, resolve the package location first:
node -p "require.resolve('turbo/package.json')"
Then read docs/README.md relative to the resolved package directory.
More in Next.js
vercel-react-best-practices
69 prioritized React and Next.js performance rules across 8 categories
vercel-labs/agent-skillsvercel-composition-patterns
Composable component architecture patterns for scalable Next.js apps
vercel-labs/agent-skillsnext-best-practices
File conventions, RSC boundaries, data patterns, async APIs, and metadata
vercel-labs/next-skillsdeploy-to-vercel
Deploy Next.js apps to Vercel with correct config and environment setup
vercel-labs/agent-skillsnext-cache-components
PPR, use cache directive, cacheLife, cacheTag, and revalidateTag
vercel-labs/next-skills