void-turbo-pipeline-tuning

Configure turbo.json tasks with correct dependsOn, outputs, cache keys, and remote cache settings.

Updated May 29, 2026
One-click install
npx skills add https://github.com/voidcorp-core/void-harness --skill void-turbo-pipeline-tuning-voidcorp-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: void-turbo-pipeline-tuning
Source: https://github.com/voidcorp-core/void-harness/tree/main/packages/cli/core-assets/packs/pack-monorepo/skills/void-turbo-pipeline-tuning
Command: npx skills add https://github.com/voidcorp-core/void-harness --skill void-turbo-pipeline-tuning-voidcorp-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Misconfigured Turborepo pipelines cause stale caches, wrong task ordering, and slow builds. This Skill guides correct configuration of turbo.json so incremental caching works as intended instead of silently serving stale outputs. ## Core Features & Use Cases - Task Configuration: Set dependsOn, outputs, inputs, and cache flags correctly for build, test, lint, and dev tasks. - Cache Debugging: Diagnose common failures like stale downstream imports, changing cache keys, and full CI rebuilds using a symptom-to-fix table. - Remote Cache Guidance: Decide when Vercel Remote Cache is worth the setup based on team size, CI frequency, and build duration. - Use Case: Your monorepo's CI rebuilds everything on every run. Use this Skill to verify outputs declarations, add missing ^build dependencies, and enable remote caching to restore incremental builds. ## Quick Start Ask the agent to review your turbo.json task definitions and fix any caching or dependency-ordering problems. ## Quick Start Review my turbo.json and fix the task configuration so builds cache correctly in CI.

Frequently Asked Questions about void-turbo-pipeline-tuning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure turbo.json outputs for caching?

List every directory a task writes, such as dist/** or .next/**, in the outputs array. For tasks that write nothing like typecheck or lint, explicitly set outputs to an empty array so Turbo does not cache the whole package.

What is the difference between ^build and build in dependsOn?

The caret form ^build waits for the build task of upstream workspace dependencies, while bare build waits for the build task in the same package. Most tasks need ^build so dependencies compile before consumers.

When should I set up Turborepo remote cache?

Remote cache pays off with teams of three or more developers, CI running ten or more times daily, or builds over one minute. Solo developers with local caching should skip it since setup overhead exceeds the benefit.

Why does Turborepo keep rebuilding everything in CI?

Full rebuilds usually mean no remote cache is configured, or build artifacts are gitignored but missing from outputs. Verify outputs match what tasks actually write and pass TURBO_TOKEN and TURBO_TEAM to CI.

When should I override the inputs field in turbo.json?

Override inputs only when a task reads files outside its package or should ignore changes to files like README.md. Over-restricting inputs is the top cause of stale-cache bugs, so omit it when in doubt.