One-click install
npx skills add https://github.com/adacosdev/plan-eat --skill turborepo-adacosdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/adacosdev/plan-eat/tree/main/.agents/skills/turborepo
Command: npx skills add https://github.com/adacosdev/plan-eat --skill turborepo-adacosdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turborepo orchestration helps teams manage and optimize cross-package builds, caches, and pipelines in a single monorepo to speed development and CI.

Core Features & Use Cases

  • Centralized task orchestration across apps and packages with per-package turbo.json configurations
  • Parallel execution with accurate cache invalidation using dependsOn, outputs, and inputs
  • CI optimization and selective builds using --affected and --filter patterns

Quick Start

Run a quick end-to-end build across all packages with turbo run build to see Turbo in action.

Frequently Asked Questions about turborepo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize monorepo builds and caching across multiple packages?

Optimizing monorepo builds involves coordinating tasks and caching across apps and packages using per-package turbo.json configurations. This enables parallel execution, accurate cache invalidation through dependsOn, outputs, and inputs, and selective builds using --affected and --filter patterns.

How does monorepo task caching work with hash inputs and outputs?

Monorepo task caching requires explicit hash inputs including outputs, environment variables, and inputs defined per-package. This ensures deterministic caching, so unchanged packages skip rebuilds during pipeline execution.

How do I run selective builds for affected packages in a CI pipeline?

Selective builds in a CI pipeline use --affected and --filter patterns to execute tasks only for changed packages. This requires defined task graphs and per-package configurations to accurately identify and build affected dependencies.

Do I need per-package configurations to orchestrate tasks in a multi-package repo?

Yes, per-package turbo.json configurations are required to orchestrate tasks in a multi-package repo. You must define task graphs, dependencies, and explicit hash inputs to ensure deterministic caching and correct parallel execution.

What is the best way to coordinate cross-package builds in a monorepo?

The best way to coordinate cross-package builds is using centralized task orchestration with defined task graphs. This approach manages dependencies across apps and libraries, applying parallel execution and accurate cache invalidation to accelerate pipelines.

Why does monorepo caching fail when environment variables are not declared as inputs?

Monorepo caching requires explicit hash inputs including environment variables to ensure deterministic results. When environment variables are not declared in per-package configurations, the cache cannot accurately detect changes, leading to stale or incorrect build outputs.