turborepo

Configure Turborepo task orchestration and caching for monorepos.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/workleap/wl-agents-code-review-poc --skill turborepo-workleap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/workleap/wl-agents-code-review-poc/tree/main/.agents/skills/turborepo
Command: npx skills add https://github.com/workleap/wl-agents-code-review-poc --skill turborepo-workleap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turborepo provides a structured approach to monorepo build orchestration, caching, and task dependencies across multiple apps and packages.

Core Features & Use Cases

  • Centralized task orchestration and caching guidance for monorepos
  • Guidance on package-level turbo.json configurations, outputs, and env handling
  • Use cases: setting up root and package turbo.json configurations, enabling CI optimization with --affected, and applying advanced features like transit nodes and package configurations

Quick Start

  • Create a root turbo.json with basic tasks and add per-package turbo.json in packages
  • Add package tasks to apps/web and packages/ui and reference root turbo.json
  • Run turbo run <task> with --affected in CI to optimize builds

Frequently Asked Questions about turborepo

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

FAQPage Schema
How do I configure a monorepo build pipeline with task dependencies?

Design root and per-package turbo.json files to configure a monorepo build pipeline, defining task inputs, outputs, and environment variables to establish a dependency-aware task graph.

What is the best way to optimize CI builds in a monorepo?

The best way to optimize CI builds in a monorepo is to run turbo run <task> with the --affected flag, which limits task execution to only the packages impacted by recent changes, leveraging caching to skip redundant work.

How does monorepo caching work for task inputs and outputs?

Monorepo caching works by matching declared task inputs and environment variables against cached outputs, skipping redundant task execution across apps and libraries when the underlying dependency graph and inputs remain unchanged.

Can I apply package-specific configurations across apps and libraries?

Yes, you can apply package-specific configurations by adding per-package turbo.json files within apps and libraries, overriding or extending the root configuration to handle individual package boundaries and custom task requirements.

When do I need advanced features like transit nodes in Turborepo?

You need advanced features like transit nodes in Turborepo when managing complex codebases that require precise dependency-aware task graphing across package boundaries, ensuring correct build order for interconnected apps and libraries.