
Turborepo
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-codeInstalls 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:
- 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.
// 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- Mobile Offline Support412
- Recommendation System412
- Api Versioning Strategy410
- Claude Code Bash Patterns408
- Claude Hook Writer408
- Logging Best Practices408
- Cloudflare Manager407
- Plan Interview406
- Ml Pipeline Automation402
- Nuxt Core401
- Nuxt Data400
- Microservices Patterns398
- Multi Ai Consultant397
- Graphql Implementation393
- Mcp Management393
- Model Deployment393
- Jest Generator391
- Cloudflare Agents389
- Cloudflare Mcp Server388
- Thesys Generative Ui384
- Access Control Rbac381
- Maz Ui380
- React Best Practices380
- Woocommerce Backend Dev379