turborepo

Originally fromvercel/turborepo
Installation
SKILL.md

Turborepo

Overview

Build system for JavaScript/TypeScript monorepos. Caches task outputs and runs tasks in parallel based on dependency graph. Always create package tasks (not root tasks), use turbo run in scripts, and let dependsOn manage execution order. Configuration uses turbo.json (or turbo.jsonc for comments).

When to use: Monorepo task orchestration, build caching, CI optimization, workspace dependency management, package boundary enforcement.

When NOT to use: Single-package projects, non-JavaScript monorepos, projects without build steps.

Quick Reference

Pattern Syntax Key Points
Schema "$schema": "https://turborepo.dev/schema.json" Always include in turbo.json
Dependency build "dependsOn": ["^build"] Build dependencies first
Same-package task "dependsOn": ["codegen"] Run in same package first
Specific package "dependsOn": ["pkg#task"] Named package's task
Parallel lint/typecheck Transit Nodes pattern Cache invalidation without sequential execution
Related skills
Installs
39
GitHub Stars
11
First Seen
Feb 22, 2026