turborepo

|

antfu ↓ 12k
Claude Code
View source ↗

What it does

  • run: turbo run build --affected
  • run: turbo build --affected
  • run: turbo run build --affected
  • Add the dependency to package.json: "@repo/types": "workspace:"
  • Then remove the prebuild script
  • globalEnv / globalDependencies - affects ALL tasks, use for truly shared config
  • Task-level env / inputs - use when only specific tasks need it

Requirements & configuration

  • "I need to configure a task"
  • ├─ Need to debug hash inputs → Use --summarize or --dry
  • "I need to set up CI"
  • "I need to create/structure a package"
  • However, the fix depends on whether workspace dependencies are declared:

Configuration: TURBO_DEFAULTTURBO_ROOTTURBO_EXTENDS

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

|

Source

Repository: https://github.com/antfu/skills

turborepo FAQ

What does the turborepo skill do?

| Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. run: turbo run build --affected run: turbo build --affected

What does turborepo require?

"I need to configure a task" ├─ Need to debug hash inputs → Use --summarize or --dry "I need to set up CI" "I need to create/structure a package" However, the fix depends on whether workspace dependencies are declared: Configuration keys: TURBO_DEFAULT, TURBO_ROOT, TURBO_EXTENDS.

How do I install turborepo?

Run: npx -y skills add https://github.com/antfu/skills --skill turborepo --agent claude-code — the source lives at github.com/antfu/skills.

Maintain turborepo?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

turborepo on getagentictools
[![turborepo on getagentictools](https://getagentictools.com/badge/skills/antfu-skills-turborepo.svg)](https://getagentictools.com/skills/antfu-skills-turborepo?ref=badge)
npx agentictools info skills/antfu-skills-turborepo

The second line is the CLI lookup for this page — handy in READMEs and docs.