General
563 installs
Turborepo Skill
by antfu/skills
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI…
Skill content
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 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: - Add the script to each relevant package's package.json - Register the task in root turbo.json - Root package.json only delegates via turbo run <task> DO NOT put task logic in root package.json. This defeats Turborepo's parallelization.