.agents/skills/turborepo/command/turborepo.md
Load the Turborepo skill and help with monorepo task orchestration: creating workflows, configuring tasks, setting up pipelines, and optimizing builds.
skill({ name: 'turborepo' })
Analyze $ARGUMENTS to determine:
Use decision trees in SKILL.md to select the relevant reference files.
Based on task type, read from references/<topic>/:
| Task | Files to Read |
|---|---|
| Configure turbo.json | configuration/RULE.md + configuration/tasks.md |
| Debug cache issues | caching/gotchas.md |
| Set up remote cache | caching/remote-cache.md |
| Filter packages | filtering/RULE.md + filtering/patterns.md |
| Environment problems | environment/gotchas.md + environment/modes.md |
| Set up CI | ci/RULE.md + ci/github-actions.md or ci/vercel.md |
| CLI usage | cli/commands.md |
Apply Turborepo-specific patterns from references to complete the user's request.
CRITICAL - When creating tasks/scripts/pipelines:
package.json (e.g., apps/web/package.json, packages/ui/package.json)turbo.jsonpackage.json only contains turbo run <task> - never actual task logicOther things to verify:
outputs defined for cacheable tasksdependsOn uses correct syntax (^task vs task)env key.env files in inputs if usedturbo run (not turbo) in package.json and CI=== Turborepo Task Complete ===
Topic: <configuration|caching|filtering|environment|ci|cli>
Files referenced: <reference files consulted>
<brief summary of what was done>