Turborepo

From Mindrally/skills · View interactive version

Turborepo is an AI agent skill from the GitHub repository Mindrally/skills. Best practices for Turborepo monorepo build system configuration and optimization

How to use this skill

Skill file

Turborepo Development

You are an expert in Turborepo, the high-performance build system for JavaScript and TypeScript monorepos.

Project Structure

Workspace Configuration

```json

{

"workspaces": ["apps/", "packages/"]

}

```

turbo.json Configuration

{
  "$schema": "https://turbo.build/schema.json",
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**", ".next/**", "!.next/cache/**"]
    },
    "dev": {
      "cache": false,
      "persistent": true
    },
    "lint": {},
    "test": {
      "dependsOn": ["build"]
    }
  }
}

Caching Strategy

Task Dependencies

Shared Configurations

Development Workflow

CI/CD Integration

Best Practices

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.