Agent skill
turbo
Turborepo monorepo build system with task pipelines, caching, and package management. Triggers on turbo, turbo.json, monorepo.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/turbo
SKILL.md
<mcp_first> CRITICAL: Always fetch Turborepo documentation for current configuration.
MCPSearch({ query: "select:mcp__plugin_devtools_context7__query-docs" })
// Task configuration
mcp__context7__query_docs({
context7CompatibleLibraryID: "/vercel/turborepo",
topic: "tasks dependsOn outputs inputs"
})
// Caching
mcp__context7__query_docs({
context7CompatibleLibraryID: "/vercel/turborepo",
topic: "cache outputs remote caching"
})
// Filtering
mcp__context7__query_docs({
context7CompatibleLibraryID: "/vercel/turborepo",
topic: "filter workspace package"
})
</mcp_first>
<quick_start> turbo.json:
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"test": {
"dependsOn": ["build"],
"outputs": []
},
"lint": {
"outputs": []
},
"dev": {
"cache": false,
"persistent": true
}
}
}
Key concepts:
^build- Runbuildin dependencies firstoutputs- Files to cacheinputs- Files that affect cache keycache: false- Disable caching for dev taskspersistent: true- Long-running tasks </quick_start>
<task_patterns> Build pipeline:
{
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json"]
}
}
}
Test after build:
{
"tasks": {
"test": {
"dependsOn": ["build"],
"outputs": ["coverage/**"]
}
}
}
Parallel independent tasks:
{
"tasks": {
"lint": {
"outputs": []
},
"typecheck": {
"outputs": []
}
}
}
</task_patterns>
Best practices:
- Keep
inputsspecific to avoid cache misses - Use workspace filters for targeted builds
- Enable remote caching for CI
<success_criteria>
- Context7 docs fetched for current config
- Tasks have proper
dependsOn -
outputsdefined for cacheable tasks - Dev tasks have
cache: false - Pipeline is efficient (parallel where possible) </success_criteria>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?