This skill handles Turborepo configuration and monorepo management, triggering on turbo.json, task pipelines, caching, and the turbo CLI. It's opinionated about the right way to structure tasks: always define scripts in individual packages and register them in turbo.json, never put task logic in the root package.json. The documentation is thorough on decision trees for common scenarios like debugging cache misses, running only changed packages with the --affected flag, and setting up CI. One thing worth noting is it enforces using "turbo run" in scripts and CI rather than the shorthand, which makes sense for consistency even if it feels verbose. Good for teams serious about proper monorepo hygiene.

skills.sh installs
414
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill turborepo --agent claude-code

Installs into .claude/skills of the current project.

Files

Turborepo Skill

Build system for JavaScript/TypeScript monorepos. Turborepo caches task outputs and runs tasks in parallel based on dependency graph.

IMPORTANT: Package Tasks, Not Root Tasks

DO NOT create Root Tasks. ALWAYS create package tasks.

When creating tasks/scripts/pipelines, you MUST:

  1. Add the script to each relevant package's package.json
  2. Register the task in root turbo.json
  3. Root package.json only delegates via turbo run <task>

DO NOT put task logic in root package.json. This defeats Turborepo's parallelization.

// DO THIS: Scripts in each package
// apps/web/package.json
{ "scripts": { "build": "next build", "lint": "eslint .", "test": "vitest" } }

// apps/api/package.json
{ "scripts": { "build": "tsc", "lint": "eslint .", "test": "vitest" } }

// packages/ui/package.json
{ "scripts": { "build": "tsc", "lint": "eslint .", "test": "vitest" } }
// turbo.json - register tasks
{
  "tasks": {
    "build": { "dependsOn": ["^build"], "outputs": ["dist/**"] },
    "lint": {},
    "test": { "dependsOn": ["build"] }
  }
}

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
DevOps & CI/CD, CLI & Terminal
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1davila7 avatarshopify-developmentdavila7/claude-code-templatesBuild Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. TRIGGER: "shopify", "shopify app", "checkout extension", "a411skills.sh installs
2alirezarezvani avatarcto-reviewalirezarezvani/claude-skills/cs:cto-review <plan> — Architecture and scaling interrogation. Tech debt, scaling cliffs, team scaling, build-vs-buy. Use when committing to an architecture, p410skills.sh installs
3martinholovsky avatarwake-word-detectionmartinholovsky/claude-skills-generatorExpert skill for implementing wake word detection with openWakeWord. Covers audio monitoring, keyword spotting, privacy protection, and efficient always-listeni410skills.sh installs
4anthropics avataruser-research-synthesisanthropics/knowledge-work-pluginsSynthesize qualitative and quantitative user research into structured insights and opportunity areas. Use when analyzing interview notes, survey responses, supp409skills.sh installs
5jezweb avatarcloudflare-d1jezweb/claude-skillsBuild with D1 serverless SQLite database on Cloudflare's edge. Use when: creating databases, writing SQL migrations, querying D1 from Workers, handling relation408skills.sh installs
6dpearson2699 avatarrealitykit-ardpearson2699/swift-ios-skillsBuild augmented reality experiences with RealityKit and ARKit on iOS. Use when adding 3D content with RealityView, loading entities and models, placing objects 407skills.sh installs