Turborepo

From InugamiDev/ultrathink-oss · View interactive version

Turborepo is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. High-performance monorepo build system with intelligent caching and task orchestration

How to use this skill

Skill file

Turborepo

Purpose

Configure and optimize Turborepo for monorepo build orchestration — pipeline definitions, caching strategies, workspace filtering, and environment variable handling.

Key Patterns

Pipeline Configuration (turbo.json)

Caching and Hashing

Filtering and Workspace Management

Internal Packages Pattern

Anti-Patterns

| Anti-Pattern | Fix |

|---|---|

| Missing outputs in cacheable tasks | Always declare output directories for cache restoration |

| Secrets in globalEnv | Use passThroughEnv — secrets shouldn't bust cache |

| No --filter in CI | Filter by changed packages to avoid rebuilding everything |

| Circular dependsOn | Map dependency graph carefully; turbo will error on cycles |

| Caching deploy/publish tasks | Set "cache": false on side-effectful tasks |

| Ignoring --dry for debugging | Use turbo run build --dry=json to inspect task graph and cache status |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.