turborepo

Configure Turborepo tasks, pipelines, caching strategies, and CI optimization across monorepo apps and packages.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/infinite-loop-factory/app-factory --skill turborepo-infinite-loop-factory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/infinite-loop-factory/app-factory/tree/main/.agents/skills/turborepo
Command: npx skills add https://github.com/infinite-loop-factory/app-factory --skill turborepo-infinite-loop-factory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turborepo provides guidance and orchestration for monorepo builds, caching, and CI optimization, helping teams manage complex JavaScript/TypeScript projects with multiple apps and packages.

Core Features & Use Cases

  • Task orchestration across packages using dependsOn, pipelines, and caching strategies.
  • Guidance for configuring per-package tasks, root delegation, and monorepo structure.
  • Use cases include setting up new monorepos, sharing code between apps/packages, and debugging cache behavior.

Quick Start

Install Turborepo in the root, add per-package turbo.json configurations, and create package-specific scripts to enable parallelized builds and caching.

Frequently Asked Questions about turborepo

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

FAQPage Schema
How do I configure Turborepo task pipelines for monorepo builds?

Turborepo task pipelines orchestrate monorepo builds by defining package-level tasks, root delegation rules, and per-package turbo.json configurations to manage dependencies and parallelized script execution.

How does caching work in a Turborepo monorepo?

Caching in a Turborepo monorepo works by storing task outputs locally and remotely, skipping redundant executions across apps and packages when inputs, environment variables, and dependencies remain unchanged.

What is the best way to share code between apps and packages in a monorepo?

Sharing code between apps and packages in a monorepo is managed by structuring internal packages and configuring root delegation rules, allowing task orchestration to handle dependencies and build outputs efficiently.

Can I use per-package turbo.json files for task orchestration?

Per-package turbo.json files enable granular task orchestration by enforcing specific outputs, dependsOn syntax, and environment variable handling for individual packages within a monorepo structure.

Why are my Turborepo cached builds not updating after environment variable changes?

Cached builds fail to update when environment variables are not properly declared in the env configuration, causing Turborepo to incorrectly identify inputs as unchanged and skip necessary task execution.

How do I optimize CI pipelines for a monorepo with multiple apps?

CI pipelines for monorepos are optimized by implementing task caching, configuring dependsOn pipelines for parallelized builds, and enforcing package-level outputs to skip redundant work across apps and packages.