# Turborepo Caching

> Configure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines, or implementing distributed caching.

- Skill: `dokhacgiakhoa/turborepo-caching` (Agent Skill, multi-file: 12 files)
- Install (CLI): `npx skillmds@latest add dokhacgiakhoa/turborepo-caching`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dokhacgiakhoa/turborepo-caching/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Dokhacgiakhoa (https://skillmd.com/u/dokhacgiakhoa)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/dokhacgiakhoa/turborepo-caching

---


# Turborepo Caching

Production patterns for Turborepo build optimization.

## Do not use this skill when

- The task is unrelated to turborepo caching
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Use this skill when

- Setting up new Turborepo projects
- Configuring build pipelines
- Implementing remote caching
- Optimizing CI/CD performance
- Migrating from other monorepo tools
- Debugging cache misses

## Core Concepts

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Turborepo Architecture](./sub-skills/1-turborepo-architecture.md)
### 2. [2. Pipeline Concepts](./sub-skills/2-pipeline-concepts.md)
### 3. [Template 1: turbo.json Configuration](./sub-skills/template-1-turbojson-configuration.md)
### 4. [Template 2: Package-Specific Pipeline](./sub-skills/template-2-package-specific-pipeline.md)
### 5. [Template 3: Remote Caching with Vercel](./sub-skills/template-3-remote-caching-with-vercel.md)
### 6. [Template 4: Self-Hosted Remote Cache](./sub-skills/template-4-self-hosted-remote-cache.md)
### 7. [Template 5: Filtering and Scoping](./sub-skills/template-5-filtering-and-scoping.md)
### 8. [Template 6: Advanced Pipeline Configuration](./sub-skills/template-6-advanced-pipeline-configuration.md)
### 9. [Template 7: Root package.json Setup](./sub-skills/template-7-root-packagejson-setup.md)
### 10. [Do's](./sub-skills/dos.md)
### 11. [Don'ts](./sub-skills/donts.md)

