Back to Skills

turborepo

verified

Turborepo high-performance monorepo build system. Use for monorepo setup, build optimization, task pipelines, caching strategies, or multi-package orchestration.

View on GitHub

Marketplace

claude-skills

secondsky/claude-skills

Plugin

turborepo

tooling

Repository

secondsky/claude-skills
28stars

plugins/turborepo/skills/turborepo/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/secondsky/claude-skills/blob/main/plugins/turborepo/skills/turborepo/SKILL.md -a claude-code --skill turborepo

Installation paths:

Claude
.claude/skills/turborepo/
Powered by add-skill CLI

Instructions

# Turborepo Skill

Turborepo is a high-performance build system optimized for JavaScript and TypeScript monorepos, written in Rust. It provides intelligent caching, task orchestration, and remote execution capabilities to dramatically speed up development workflows.

**Official Reference**: <https://turborepo.com/llms.txt>

---

## Quick Start (5 Minutes)

### Create New Monorepo

```bash
# Create new turborepo
bunx create-turbo@latest my-monorepo
cd my-monorepo

# Install dependencies
bun install

# Run all builds
bun run build

# Start dev servers
bun run dev
```

### Add to Existing Monorepo

```bash
# Install Turborepo
bun add turbo --dev

# Create turbo.json (see templates/turbo-basic.json)
# Copy templates/turbo-basic.json to ./turbo.json

# Run builds
bunx turbo run build
```

**Templates**: See `templates/` directory for ready-to-use configurations.

**Need Help?**: See `references/troubleshooting.md` for common issues.

---

## When to Use This Skill

### Primary Use Cases

- Setting up monorepos with 2+ packages/apps
- Optimizing CI/CD build times (50-90% reduction typical)
- Migrating from Lerna or Nx to Turborepo
- Implementing remote caching for teams
- Building full-stack applications with shared code

### Common Scenarios

- "Set up turborepo for Next.js + shared UI library"
- "Configure remote caching with Vercel"
- "Optimize monorepo builds for GitHub Actions"
- "Create Docker builds with turbo prune"
- "Migrate Lerna monorepo to Turborepo"
- "Build only changed packages in CI"

**Keywords**: monorepo, turborepo, build system, caching, task pipeline, workspace, incremental builds, remote cache, vercel, next.js monorepo, pnpm workspace, yarn workspace, npm workspace, bun workspace

---

## Core Concepts

### 1. Monorepo Architecture

Turborepo organizes code into packages within a single repository:

- **Root Package**: Contains workspace configuration
- **Internal Packages**: Shared libraries, utilities, configs
- **Applications**: Frontend apps, ba

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
12311 chars