franky47/dotfiles/turborepo
Claude Code and agent skill by franky47/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
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. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
Install
npx vskill@latest install franky47/dotfiles/turborepoSKILL.md
The same SKILL.md was published earlier as franky47/dotfiles/turborepo.
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:
- Add the script to each relevant package's
package.json - Register the task in root
turbo.json - Root
package.jsononly delegates viaturbo run <task>
DO NOT put task logic in root package.json. This defeats Turborepo's parallelization.
Root Tasks (//#taskname) are ONLY for tasks that truly cannot exist in packages (rare).
Secondary Rule: turbo run vs turbo
Always use `turbo run` when the command is written into code:
The shorthand turbo <tasks> is ONLY for one-off terminal commands typed directly by humans or agents. Never write turbo build into package.json, CI, or scripts.
Quick Decision Trees
| Question | Solution | |
|---|---|---|
| Configure task dependencies | configuration/tasks.md | |
| Lint/type-check in parallel | Use Transit Nodes (task-configurations.md) | |
| Missing cache outputs | Add outputs key to task | |
| Cache debug | Use --summarize or --dry flags | |
| Run only changed packages | turbo run build --affected | |
| Custom base branch | --affected --affected-base=origin/develop | |
| Env vars not available | Add to env or globalEnv | |
| .env not invalidating cache | Add .env to inputs | |
| Set up CI | ci/github-actions.md | |
| Watch for changes | turbo watch dev | |
| Create internal package | best-practices/packages.md | |
| Enforce boundaries | turbo boundaries → boundaries/README.md |
Critical Anti-Patterns
See references/anti-patterns.md for: using turbo shorthand, root scripts bypassing turbo, prebuild scripts, missing outputs, env vars not hashed, root .env files, and more.
Common Task Configurations
Ready-to-use patterns at references/task-configurations.md: standard build pipeline, dev task with ^dev pattern, transit nodes, lint/type-check setup, test pipeline with coverage.
Reference Index
| Category | Files | |
|---|---|---|
| Configuration | tasks · global-options · gotchas | |
| Caching | remote-cache · gotchas | |
| Environment | gotchas | |
| Filtering | patterns | |
| CI/CD | github-actions · vercel | |
| Best Practices | packages · structure · dependencies · boundaries |
Source Documentation
- Source:
docs/site/content/docs/in the Turborepo repository - Live: https://turborepo.dev/docs
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdot-config/opencode/skills/turborepo/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/franky47/dotfiles/turborepo)