turborepo

Originally fromvercel/turborepo
Installation
Summary

Monorepo build system with intelligent task caching and parallel execution based on dependency graphs.

  • Caches task outputs and orchestrates execution order using turbo.json configuration; supports remote caching for CI/CD pipelines
  • Filters and runs only affected packages with --affected flag; enables selective builds across monorepos with multiple apps and libraries
  • Enforces package-level task definitions (not root-level) to maximize parallelization; provides dependsOn syntax for declaring task dependencies and outputs for cache invalidation
  • Includes environment variable hashing, watch mode for development, and package 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

DO NOT create Root Tasks. ALWAYS create package tasks.

When creating tasks/scripts/pipelines, you MUST:

  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. This defeats Turborepo's parallelization.

// DO THIS: Scripts in each package
// apps/web/package.json
Related skills
Installs
8.0K
Repository
antfu/skills
GitHub Stars
4.9K
First Seen
Jan 28, 2026