turborepo

Orchestrate per-package tasks and caching across multi-project repositories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jasonviipers/okx-trading --skill turborepo-jasonviipers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/jasonviipers/okx-trading/tree/main/.trae/skills/turborepo
Command: npx skills add https://github.com/jasonviipers/okx-trading --skill turborepo-jasonviipers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turborepo Skill enables orchestration of per-package tasks and caching across a multi-project repository, enabling fast, reliable builds.

Core Features & Use Cases

  • Centralized task orchestration across apps and packages using root or package configurations.
  • Per-package task execution with proper caching and selective scope via turbo.json and package configurations.
  • CI optimization by running only affected packages and leveraging remote caching.

Quick Start

Example commands:

  • turbo run build
  • turbo run build --affected
  • Create package-specific turbo.json overrides under apps/ or packages/ to customize outputs and rules

Frequently Asked Questions about turborepo

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

FAQPage Schema
How do I optimize monorepo build pipelines to run only affected packages in CI?

Monorepo CI optimization is achieved by configuring turbo.json with selective task execution and remote caching to run only affected packages. This enforces proper inputs, outputs, and dependency syntax to parallelize builds efficiently across your repository.

What is the correct way to define dependsOn syntax and env variables in turbo.json?

Correct turbo.json configuration requires specifying dependsOn syntax and env variables to define task dependencies and environment inputs for accurate caching. This enforces proper conventions for outputs and inputs, preventing stale cache hits during monorepo task orchestration.

How do I create package-specific turbo.json overrides for multi-project repositories?

Package-specific turbo.json overrides are created by placing configuration files under apps/ or packages/ directories to customize task outputs and rules. This provides granular control over per-package task execution and caching behaviors within the monorepo.

Why are my Turborepo cached outputs not updating when environment variables change?

Turborepo cached outputs fail to update when environment variables are not declared in the turbo.json env array, preventing cache invalidation. Properly configuring env variables as task inputs ensures the cache invalidates correctly when those specific values change.

Can I use Turborepo for centralized task orchestration across independent apps and shared libraries?

Turborepo supports centralized task orchestration across apps and shared libraries using root or package-level turbo.json configurations. It coordinates per-package task execution with proper caching and selective scope to enable fast, reliable builds across multi-project repositories.