turborepo

Configure Turborepo task pipelines, caching, and remote cache for monorepos.

146|12|Updated Jan 30, 2025
One-click install
npx skills add https://github.com/zoonk/zoonk --skill turborepo-zoonk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/zoonk/zoonk/tree/main/.agents/skills/turborepo
Command: npx skills add https://github.com/zoonk/zoonk --skill turborepo-zoonk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure Turborepo workflow orchestration.

Core Features & Use Cases

  • Guidance on configuring tasks, pipelines, caching, and remote cache
  • Best practices for per-package task definitions, outputs, and env handling
  • Real-world workflows for monorepos with apps and packages, CI optimization

Quick Start

Create per-package tasks and a root turbo.json, then run turbo run to orchestrate changes.

Frequently Asked Questions about turborepo

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

FAQPage Schema
How do I configure monorepo task orchestration for faster CI builds?

Monorepo task orchestration accelerates CI builds by defining per-package tasks and a root turbo.json file to optimize execution. You create structured task definitions, specify proper outputs for caching, and run turbo run to orchestrate changes across your apps and packages.

How does caching work in a monorepo workflow?

Caching in a monorepo workflow works by storing the outputs of defined tasks, allowing subsequent runs to skip redundant work. You must configure proper per-package task definitions and declare specific outputs so the orchestration tool can effectively cache and restore previous build results.

What is the best way to set up remote caching for CI pipelines?

The best way to set up remote caching for CI pipelines is to configure your task orchestration tool to share cached outputs across different machines. By defining clear per-package task definitions and outputs in a root configuration file, your CI workflows can retrieve and reuse cached build artifacts remotely.

Do I need per-package task definitions to use monorepo caching?

Yes, per-package task definitions are required to use monorepo caching effectively. The orchestration tool enforces these package-level configurations alongside proper output declarations to determine exactly which tasks can be cached and how dependencies are structured across your monorepo.

Can I optimize task execution for monorepos with multiple apps and packages?

You can optimize task execution for monorepos with multiple apps and packages by applying workflow orchestration to coordinate changes. Establishing a root configuration file and per-package task definitions allows the system to intelligently run only the necessary tasks and leverage caching for faster builds.

Why are my turborepo cached outputs not restoring properly in CI?

Cached outputs fail to restore properly in CI when per-package task definitions lack correct output declarations or environment variable handling. Ensure your root configuration explicitly defines the expected outputs for each task so the workflow orchestration can accurately match, store, and retrieve the cached files.