Marketplace

turbo

Turborepo monorepo build system with task pipelines, caching, and package management. Triggers on turbo, turbo.json, monorepo.

$ Instalar

git clone https://github.com/settlemint/agent-marketplace /tmp/agent-marketplace && cp -r /tmp/agent-marketplace/devtools/skills/turbo ~/.claude/skills/agent-marketplace

// tip: Run this command in your terminal to install the skill


name: turbo description: Turborepo monorepo build system with task pipelines, caching, and package management. Triggers on turbo, turbo.json, monorepo. triggers: ["turbo", "turbo\.json", "monorepo", "workspace"]

<mcp_first> CRITICAL: Always fetch Turborepo documentation for current configuration.

MCPSearch({ query: "select:mcp__plugin_devtools_context7__query-docs" })
// Task configuration
mcp__context7__query_docs({
  libraryId: "/vercel/turborepo",
  query: "How do I configure tasks with dependsOn, outputs, and inputs?",
});

// Caching
mcp__context7__query_docs({
  libraryId: "/vercel/turborepo",
  query: "How do I configure cache outputs and remote caching?",
});

// Filtering
mcp__context7__query_docs({
  libraryId: "/vercel/turborepo",
  query: "How do I filter workspaces and packages?",
});

Note: Context7 v2 uses server-side filtering. Use descriptive natural language queries. </mcp_first>

<quick_start> turbo.json:

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

Key concepts:

  • ^build - Run build in dependencies first
  • outputs - Files to cache
  • inputs - Files that affect cache key
  • cache: false - Disable caching for dev tasks
  • persistent: true - Long-running tasks </quick_start>

<task_patterns> Build pipeline:

{
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**"],
      "inputs": ["src/**", "package.json", "tsconfig.json"]
    }
  }
}

Test after build:

{
  "tasks": {
    "test": {
      "dependsOn": ["build"],
      "outputs": ["coverage/**"]
    }
  }
}

Parallel independent tasks:

{
  "tasks": {
    "lint": {
      "outputs": []
    },
    "typecheck": {
      "outputs": []
    }
  }
}

</task_patterns>

Best practices:

  • Keep inputs specific to avoid cache misses
  • Use workspace filters for targeted builds
  • Enable remote caching for CI

<success_criteria>

  • Context7 docs fetched for current config
  • Tasks have proper dependsOn
  • outputs defined for cacheable tasks
  • Dev tasks have cache: false
  • Pipeline is efficient (parallel where possible) </success_criteria>