Chalk Labs
Need help deploying turborepo?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/primer-turborepo
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
turborepo- Description
- 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.
- License
- MIT
- Metadata
- version: 2.10.13 · github-ref: refs/tags/v2.10.13 · github-path: skills/turborepo · github-repo: https://github.com/vercel/turborepo · github-tree-sha: 7dabe3f09db5162b79c3514936c638b770d4ddf9
- Instructions
- 938 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 938 lines (spec recommends under 500)
Files (26)
- SKILL.md
- turborepo.md · command/
- RULE.md · references/best-practices/
- dependencies.md · references/best-practices/
- packages.md · references/best-practices/
- structure.md · references/best-practices/
- RULE.md · references/boundaries/
- RULE.md · references/caching/
- gotchas.md · references/caching/
- remote-cache.md · references/caching/
- RULE.md · references/ci/
- github-actions.md · references/ci/
- patterns.md · references/ci/
- vercel.md · references/ci/
- RULE.md · references/cli/
- commands.md · references/cli/
- RULE.md · references/configuration/
- global-options.md · references/configuration/
- gotchas.md · references/configuration/
- tasks.md · references/configuration/
- RULE.md · references/environment/
- gotchas.md · references/environment/
- modes.md · references/environment/
- RULE.md · references/filtering/
- patterns.md · references/filtering/
- RULE.md · references/watch/
SKILL.md (first lines)
# 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
**Prefer package tasks over Root Tasks.**
When creating tasks/scripts/pipelines, you MUST default to package tasks:
1. Add the script to each relevant package's `package.json`
2. Register the task in root `turbo.json`
3. Root `package.json` only delegates via `turbo run <task>`
**DO NOT** put task logic in root `package.json` when it can live in packages. This defeats Turborepo's parallelization.
```json
// 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" } }
```
```json
// turbo.json - register tasks
{
"tasks": {
"build": { "dependsOn": ["^build"], "outputs": ["dist/**"] },
"lint": {},
"test": { "dependsOn": ["build"] }
}
}
```
```json
// Root package.json - ONLY delegates, no task logic
{
"scripts": {
"build": "turbo run build",
"lint": "turbo run lint",
"test": "turbo run test"
}
}
```
```json
// DO NOT DO THIS - defeats parallelization
// Root package.json
{
"scripts": {
"build": "cd apps/web && next build && cd ../api && tsc",
"lint": "eslint apps/ packages/",
"test": "vitest"
}
}
```
Root Tasks (`//#taskname`) are ONLY for tasks that truly cannot exist in packages, such as Vitest Projects' `//#test`, repo-wide release scripts, or tooling that does not invoke `turbo` itself.
## Secondary Rule: `turbo run` vs `turbo`
**Always use `turbo run` when the command is written into code:**
```json
// package.json - ALWAYS "turbo run"
{
"scripts": {
"build": "turbo run build"
}
}
```
```yaml
# CI workflows - ALWAYS "turbo run"
- run: turbo run build --affected
```
**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
### "I need to configure a task"
```
Configure a task?
├─ Define task dependencies → references/configuration/tasks.md
├─ Lint/check-types (parallel + caching) → Use Transit Nodes pattern (see below)
├─ Specify build outputs → references/configuration/tasks.md#outputs
├─ Handle environment variables → references/environment/RULE.md
├─ Set up dev/watch tasks → references/configuration/tasks.md#persistent
├─ Package-specific config → references/configuration/RULE.md#package-configurations
└─ Global settings (cacheDir, daemon) → references/configuration/global-options.md
```
### "My cache isn't working"
```
Cache problems?
├─ Tasks run but outputs not restored → Missing `outputs` key
├─ Cache misses unexpectedly → references/caching/gotchas.md
├─ Need to debug hash inputs → Use --summarize or --dry
├─ Want to skip cache entirely → Use --force or cache: false
├─ Remote cache not working → references/caching/remote-cache.md
└─ Environment causing misses → references/environment/gotchas.md
```
### "I want to run only changed packages"
```
Run only what changed?
├─ Changed packages + dependents (RECOMMENDED) → turbo run build --affected
├─ Custom base branch → TURBO_SCM_BASE=origin/develop turbo run build --affected
├─ Manual git comparison → --filter=...[origin/main]
└─ See all filter options → references/filtering/RULE.md
```From primer/agent-eval, MIT.
More from primer/agent-eval
- 0.603score
agent-eval-investigate
primer
Use when investigating model behavior in agent-eval experiment or benchmark results, explaining why an agent did or did not call a tool, follow an…
SkillAFreshness: A★ 2Claude Code +9 - 0.594score
changesets
primer
Use when changing public APIs or behavior, deprecating usage, recommending replacements, or preparing releases; maintain changesets and versioned migration…
SkillAFreshness: A★ 2Claude Code +9 - 0.594score
write-skill
primer
Use when creating, updating, or reviewing agent skills
SkillAFreshness: A★ 2Claude Code +9 - 0.593score
agent-eval
primer
Use when installing or using @primer/agent-eval, designing agent evaluations, creating benchmarks, experiments, scenarios, checks, judges, or treatments, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.589score
ui
primer
Use to understand how to build and verify UI-related work
SkillAFreshness: A★ 2Claude Code +9 - 0.573score
testing
primer
Use when adding, updating, or reviewing tests in agent-eval, choosing test coverage, organizing Vitest tests, or isolating filesystem, Docker, and other…
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 16
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
- Last release
- Oct 21, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.10.13
- License
- MIT
- Repository
- github.com/primer/agent-eval
- Website
- primer.github.io/agent-eval/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.779score
turborepo
yamcodes
Turborepo monorepo build system guidance.
SkillAFreshness: A★ 147Claude Code +9 - 0.312score
turborepo
marcioaltoe
Turborepo monorepo build system guidance.
SkillBFreshness: BClaude Code +9 - 0.279score
turborepo
ShadReyes
Turborepo monorepo build system guidance.
SkillCFreshness: CClaude Code +9
More from primer
- 0.603score
agent-eval-investigate
primer
Use when investigating model behavior in agent-eval experiment or benchmark results, explaining why an agent did or did not call a tool, follow an…
SkillAFreshness: A★ 2Claude Code +9 - 0.594score
changesets
primer
Use when changing public APIs or behavior, deprecating usage, recommending replacements, or preparing releases; maintain changesets and versioned migration…
SkillAFreshness: A★ 2Claude Code +9 - 0.594score
write-skill
primer
Use when creating, updating, or reviewing agent skills
SkillAFreshness: A★ 2Claude Code +9 - 0.593score
agent-eval
primer
Use when installing or using @primer/agent-eval, designing agent evaluations, creating benchmarks, experiments, scenarios, checks, judges, or treatments, and…
SkillAFreshness: A★ 2Claude Code +9 - 0.589score
ui
primer
Use to understand how to build and verify UI-related work
SkillAFreshness: A★ 2Claude Code +9 - 0.573score
testing
primer
Use when adding, updating, or reviewing tests in agent-eval, choosing test coverage, organizing Vitest tests, or isolating filesystem, Docker, and other…
SkillAFreshness: A★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get turborepo running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
turborepo skill. Agent Mart. https://agentmart.dev/skills/primer-turborepo (last updated 2026-10-24)