Turborepo monorepo build system with task pipelines, caching, and package management. Triggers on turbo, turbo.json, monorepo.
Configures Turborepo task pipelines with proper dependencies, caching, and outputs. Triggers on turbo.json, build scripts, or when optimizing monorepo performance.
/plugin marketplace add settlemint/agent-marketplace/plugin install devtools@settlemintThis skill inherits all available tools. When active, it can use any tool Claude has access to.
<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({
libraryId: "/vercel/turborepo",
query: "How do I configure tasks with dependsOn, outputs, and inputs?",
});
// Caching
mcp__context7__query_docs({
libraryId: "/vercel/turborepo",
query: "How do I configure cache outputs and remote caching?",
});
// Filtering
mcp__context7__query_docs({
libraryId: "/vercel/turborepo",
query: "How do I filter workspaces and packages?",
});
Note: Context7 v2 uses server-side filtering. Use descriptive natural language queries. </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 - Run build in 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>
<commands> ```bash turbo build # Build all packages turbo build --filter=@org/app # Build specific package turbo build --filter=./apps/* # Build apps only turbo build --filter=...@org/lib # Package and dependents turbo build --force # Ignore cache turbo build --dry-run # Preview what will run ``` </commands> <constraints> **Required:** - Define `outputs` for cacheable tasks - Use `^` prefix for dependency ordering - Set `cache: false` for dev tasks - Use `persistent: true` for long-running tasksBest practices:
inputs specific to avoid cache misses<success_criteria>
dependsOnoutputs defined for cacheable taskscache: falseThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.