turborepo

Automates monorepo task orchestration with Turborepo pipelines and caching.

Updated Jan 23, 2024
One-click install
npx skills add https://github.com/TeamMagicOfConch/conch --skill turborepo-teammagicofconch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turborepo
Source: https://github.com/TeamMagicOfConch/conch/tree/main/.agents/skills/turborepo
Command: npx skills add https://github.com/TeamMagicOfConch/conch --skill turborepo-teammagicofconch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turborepo simplifies coordinating complex monorepo builds by providing a centralized task graph, caching, and cross-package orchestration to speed up development and CI.

Core Features & Use Cases

  • Define per-package tasks with dependsOn, outputs, and inputs to enable parallel caching and selective execution.
  • Use package configurations to tailor framework-specific rules (e.g., Next.js, Vite) close to the code they affect.
  • Optimize CI with --affected, remote caching, and filtered package selection to validate changes efficiently.

Quick Start

Create a root turbo.json and per-package turbo.json overrides, then run a cross-package build with turbo run build --affected to validate the workflow across apps and packages.

Frequently Asked Questions about turborepo

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

FAQPage Schema
How do I orchestrate monorepo tasks and configure caching across multiple apps and packages?

Monorepo task orchestration is automated by defining a centralized task graph with turbo.json, configuring per-package tasks, and enabling parallel caching to speed up development and CI.

How do I configure per-package task dependencies and outputs in a monorepo?

Per-package configurations are defined by setting dependsOn, outputs, and inputs within turbo.json overrides, tailoring framework-specific rules close to the code they affect.

What is the best way to optimize CI for a monorepo with only affected packages?

CI optimization is achieved by using --affected flags, remote caching, and filtered package selection to validate changes efficiently without rebuilding the entire workspace.

Can I define framework-specific build rules for Next.js or Vite within a monorepo?

Framework-specific rules for Next.js or Vite are defined using package configurations, allowing tailored task definitions to sit close to the code they affect.

How do I set up environment variables and handle task dependencies correctly in turbo.json?

Correct turbo.json structure is enforced by defining proper task dependencies and environment handling, ensuring cross-package orchestration runs without missing variable errors.