turborepo

Installation
Summary

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 --filter for custom package selection
  • Configures tasks in turbo.json with dependsOn, outputs, inputs, and env keys; supports package-specific overrides via Package Configurations
  • Enforces monorepo structure best practices: scripts in each package's package.json, root package.json delegates via turbo 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
SKILL.md

Turborepo Skill

Build system for JavaScript/TypeScript monorepos. Turborepo caches task outputs and runs tasks in parallel based on dependency graph.

IMPORTANT: Package Tasks, Not Root Tasks

Prefer package tasks over Root Tasks.

When creating tasks/scripts/pipelines, you MUST default to package tasks:

  1. Add the script to each relevant package's package.json
  2. Register the task in root turbo.json
  3. Root package.json only delegates via turbo run <task>

DO NOT put task logic in root package.json when it can live in packages. This defeats Turborepo's parallelization.

Related skills
Installs
37.5K
GitHub Stars
30.5K
First Seen
Jan 22, 2026
turborepo — vercel/turborepo