Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects.

MITAuto-check: notesDevelopment

Install Turborepo Monorepo

skills CLI
$ npx skills add giuseppe-trisciuoglio/developer-kit --skill turborepo-monorepo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install giuseppe-trisciuoglio/developer-kit turborepo-monorepo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/developer-kit-typescript/skills/turborepo-monorepo .claude/skills/turborepo-monorepo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
turborepo-monorepo
GitHub stars
357
Token cost
~2.3k tokens
SKILL.md length
568 words
Files
7 (incl. references)
Skills in repo
115
Repo updated
First seen
Licence
MIT

At a glance

Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects.

  • Works in 5 steps: Create a new workspace → Initialize in existing project → Create turbo.json in root (minimal config) → …
  • Creating Turborepo workspaces
  • SKILL.md covers Overview, When to Use, Instructions and Task Properties Reference, plus 5 more sections
  • Calls turbo, pnpm and npx; reaches turborepo.dev

What it does

Turborepo Monorepo is an agent skill from giuseppe-trisciuoglio/developer-kit. Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects. Use when creating Turborepo workspaces, configuring turbo.json tasks, setting up Next.js/NestJS apps, managing test pipelines (Vitest/Jest), configuring CI/CD, implementing remote caching, or optimizing build performance in monorepos

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/ci-cd.md`, `references/nestjs-config.md` and `references/nextjs-config.md`).

It sits in Development, covering Monorepo tooling and Unit testing. It works with Turborepo, Next.js, NestJS and Vitest. The repository describes itself as: Modular plugin marketplace for Claude Code and agentic CLIs, with validated, spec-driven skills, agents, commands, and workflows for Java, TypeScript, Python, PHP, AWS, and AI. The licence is MIT.

When your agent uses it

  • Creating Turborepo workspaces
  • Configuring turbo.json tasks
  • Setting up Next.js/NestJS apps
  • Managing test pipelines (Vitest/Jest)

Example prompts

  • “Use the turborepo-monorepo skill to provide comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects”
  • “/turborepo-monorepo”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Create a new workspace
  2. Initialize in existing project
  3. Create turbo.json in root (minimal config)
  4. Add scripts to root package.json
  5. Validate task graph before CI

What it can do on your machine

Read from SKILL.md and the folder at commit fe73fb3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • turbo
    • pnpm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • turborepo.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Turborepo Monorepo loads about 2.3k tokens when it runs, and up to ~7.5k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 568 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from giuseppe-trisciuoglio/developer-kit at commit fe73fb3, republished under its MIT licence (© giuseppe-trisciuoglio). 568 words, ~2,344 tokens.

Download SKILL.mdSave it as .claude/skills/turborepo-monorepo/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
turborepo-monorepo
description
Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects. Use when creating Turborepo workspaces, configuring turbo.json tasks, setting up Next.js/NestJS apps, managing test pipelines (Vitest/Jest), configuring CI/CD, implementing remote caching, or optimizing build performance in monorepos
allowed-tools
Read, Write, Edit, Bash, Glob, Grep

Turborepo Monorepo

Overview

Provides guidance for Turborepo monorepo management: workspace creation, turbo.json task configuration, Next.js/NestJS integration, testing pipelines (Vitest/Jest), CI/CD setup, and build performance optimization.

When to Use

  • Create or initialize Turborepo workspaces
  • Configure turbo.json tasks with dependencies and outputs
  • Set up Next.js/NestJS apps in monorepo structure
  • Configure Vitest/Jest test pipelines
  • Build CI/CD workflows (GitHub Actions, GitLab CI)
  • Implement remote caching with Vercel Remote Cache
  • Optimize build times and cache hit ratios
  • Debug task dependency or cache issues
  • Migrate from other monorepo tools to Turborepo

Instructions

Workspace Creation
  1. Create a new workspace:

    bash
    pnpm create turbo@latest my-workspace
    cd my-workspace
  2. Initialize in existing project:

    bash
    pnpm add -D -w turbo
  3. Create turbo.json in root (minimal config):

    json
    {
      "$schema": "https://turborepo.dev/schema.json",
      "pipeline": {
        "build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] },
        "lint": { "outputs": [] },
        "test": { "dependsOn": ["build"], "outputs": ["coverage/**"] }
      }
    }
  4. Add scripts to root package.json:

    json
    { "scripts": { "build": "turbo run build", "dev": "turbo run dev", "lint": "turbo run lint", "test": "turbo run test", "clean": "turbo run clean" } }
  5. Validate task graph before CI:

    bash
    turbo run build --dry-run --filter=...  # Verify task execution order
Task Configuration
  1. Configure tasks in turbo.json:

    json
    { "pipeline": { "build": { "dependsOn": ["^build"], "outputs": ["dist/**"] }, "test": { "dependsOn": ["build"], "outputs": ["coverage/**"] }, "lint": { "outputs": [] } } }
  2. Run tasks:

    bash
    turbo run build                      # All packages
    turbo run lint test build           # Multiple tasks
    turbo run build --filter=web       # Specific package
  3. Parallel type checking (use transit nodes to avoid cache issues):

    json
    { "pipeline": { "transit": { "dependsOn": ["^transit"] }, "typecheck": { "dependsOn": ["transit"] } } }
  4. Validate before committing:

    bash
    turbo run build --dry-run  # Check task order and affected packages
Framework Integration

Next.js: outputs ".next/**" and env ["NEXT_PUBLIC_*"] - See references/nextjs-config.md

NestJS: outputs "dist/**", dev tasks with cache: false, persistent: true - See references/nestjs-config.md

Testing Setup
  1. Vitest configuration:

    json
    {
      "pipeline": {
        "test": {
          "outputs": [],
          "inputs": ["$TURBO_DEFAULT$", "vitest.config.ts"]
        },
        "test:watch": {
          "cache": false,
          "persistent": true
        }
      }
    }
  2. Run affected tests:

    bash
    turbo run test --filter=[HEAD^]

    See references/testing-config.md for complete testing setup.

Package Configurations
  1. Create package-specific turbo.json:
    json
    {
      "extends": ["//"],
      "tasks": {
        "build": {
          "outputs": ["$TURBO_EXTENDS$", ".next/**"]
        }
      }
    }
    See references/package-configs.md for detailed package configuration patterns.
CI/CD Setup
  1. GitHub Actions with validation checkpoints:

    yaml
    - name: Install dependencies
      run: pnpm install
    
    - name: Validate affected packages (dry-run)
      run: pnpm turbo run build --filter=[HEAD^] --dry-run
      # VALIDATE: Review output to confirm only expected packages will build
    
    - name: Run tests
      run: pnpm run test --filter=[HEAD^]
    
    - name: Build affected packages
      run: pnpm run build --filter=[HEAD^]
    
    - name: Verify cache hits
      run: pnpm turbo run build --filter=[HEAD^] --dry-run | grep "Cache"
      # VALIDATE: Confirm cache hits for unchanged packages
  2. Remote cache setup:

    bash
    # Login to Vercel
    npx turbo login
    
    # Link repository
    npx turbo link

    See references/ci-cd.md for complete CI/CD setup examples.

Task Properties Reference

PropertyDescriptionExample
dependsOnTasks that must complete first["^build"] - dependencies first
outputsFiles/folders to cache["dist/**"]
inputsFiles for cache hash["src/**/*.ts"]
envEnvironment variables affecting hash["DATABASE_URL"]
cacheEnable/disable cachingtrue or false
persistentLong-running tasktrue for dev servers
outputLogsLog verbosity"full", "new-only", "errors-only"
Show full SKILL.md (306 more words)Show less
Dependency Patterns
  • ^task - Run task in dependencies first (topological order)
  • task - Run task in same package first
  • package#task - Run specific package's task
Filter Syntax
FilterDescription
webOnly web package
web...web + all dependencies
...webweb + all dependents
...web...web + deps + dependents
[HEAD^]Packages changed since last commit
./apps/*All packages in apps/

Best Practices

Performance Optimization
  1. Use specific outputs - Only cache what's needed
  2. Fine-tune inputs - Exclude files that don't affect output
  3. Transit nodes - Enable parallel type checking
  4. Remote cache - Share cache across team/CI
  5. Package configurations - Customize per-package behavior
Caching Strategy
json
{
  "pipeline": {
    "build": {
      "outputs": ["dist/**"],
      "inputs": ["$TURBO_DEFAULT$", "!README.md", "!**/*.md"]
    }
  }
}
Task Organization
  • Independent tasks - No dependsOn: lint, format, spellcheck
  • Build tasks - dependsOn: ["^build"]: build, compile
  • Test tasks - dependsOn: ["build"]: test, e2e
  • Dev tasks - cache: false, persistent: true: dev, watch

Common Issues

Tasks not running in order

Problem: Tasks execute in wrong order

Solution: Check dependsOn configuration

json
{
  "build": {
    "dependsOn": ["^build"]
  }
}
Cache misses on unchanged files

Problem: Cache invalidating unexpectedly

Solution: Review globalDependencies and inputs

json
{
  "globalDependencies": ["tsconfig.json"],
  "pipeline": {
    "build": {
      "inputs": ["$TURBO_DEFAULT$", "!*.md"]
    }
  }
}
Type errors after cache hit

Problem: TypeScript errors not caught due to cache

Solution: Use transit nodes for type checking

json
{
  "transit": { "dependsOn": ["^transit"] },
  "typecheck": { "dependsOn": ["transit"] }
}

Examples

Example 1: Create New Workspace

Input: "Create a Turborepo with Next.js and NestJS"

bash
pnpm create turbo@latest my-workspace
cd my-workspace

# Add Next.js app
pnpm add next react react-dom -F apps/web

# Add NestJS API
pnpm add @nestjs/core @nestjs/common -F apps/api
Example 2: Configure Testing Pipeline

Input: "Set up Vitest for all packages"

json
{
  "pipeline": {
    "test": {
      "dependsOn": ["build"],
      "outputs": ["coverage/**"],
      "inputs": ["$TURBO_DEFAULT$", "vitest.config.ts"]
    },
    "test:watch": {
      "cache": false,
      "persistent": true
    }
  }
}
Example 3: Run Affected Tests in CI

Input: "Only test changed packages in CI"

bash
pnpm run test --filter=[HEAD^]
Example 4: Debug Cache Issues

Input: "Why is my cache missing?"

bash
# Dry run to see what would be executed
turbo run build --dry-run --filter=web

# Show hash inputs
turbo run build --force --filter=web

Constraints and Warnings

  • Node.js 18+ is required for Turborepo
  • Package manager field required in root package.json
  • Outputs must be specified for caching to work
  • Persistent tasks cannot have dependents
  • Windows: WSL or Git Bash recommended
  • Remote cache requires Vercel account or self-hosted solution
  • Large monorepos may need increased concurrency settings

Reference Files

For detailed guidance on specific topics, consult:

TopicReference File
turbo.json templatereferences/turbo.json
Next.js integrationreferences/nextjs-config.md
NestJS integrationreferences/nestjs-config.md
Vitest/Jest/Playwrightreferences/testing-config.md
GitHub/CircleCI/GitLab CIreferences/ci-cd.md
Package configurationsreferences/package-configs.md

© giuseppe-trisciuoglio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in plugins/developer-kit-typescript/skills/turborepo-monorepo of giuseppe-trisciuoglio/developer-kit.

  • SKILL.md
  • references/ci-cd.md
  • references/nestjs-config.md
  • references/nextjs-config.md
  • references/package-configs.md
  • references/testing-config.md
  • references/turbo.json

Open the folder on GitHubat commit fe73fb3

Compare with similar skills

Turborepo Monorepo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Turborepo Monorepo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Turborepo Monorepo this skillgiuseppe-trisciuoglio/developer-kit357—~2.3kAutomated safety check: NotesMIT
Ever Worksever-works/ever-works162—~2.2kAutomated safety check: PassAGPL-3.0
Vitest Skillsickn33/agentic-awesome-skills47k1 repos~1.2kAutomated safety check: PassMIT
Jest Testingaiskillstore/marketplace433—~4.1kAutomated safety check: NotesNone
Nextjs TestingHoangNguyen0403/agent-skills-standard572—~768Automated safety check: PassMIT
Typescript Rulessoftspark/ai-toolkit179—~2.7kAutomated safety check: NotesApache-2.0

Similar skills

  • Ever Works

    ever-works/ever-works

    Repo-specific guide to the Ever Works monorepo (ever-works/ever-works) — its pnpm + Turborepo layout, the per-workspace test runners (Jest vs Vitest vs Playwright), file-naming and import-alias…

    162 GitHub stars~2.2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Vitest Skill

    sickn33/agentic-awesome-skills

    Generates Vitest tests in JavaScript/TypeScript with Vite-native speed.

    47k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Jest Testing

    aiskillstore/marketplace

    Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config..

    433 GitHub stars~4.1k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Nextjs Testing

    HoangNguyen0403/agent-skills-standard

    Write Jest or Vitest unit tests with React Testing Library and Playwright E2E tests for Next.js projects.

    572 GitHub stars~768 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Typescript Rules

    softspark/ai-toolkit

    TypeScript/JavaScript coding rules: style, patterns, security, testing.

    179 GitHub stars~2.7k tokensUpdated 3 days ago
    Testing & QAAuto-check: notes
  • Local development guide for the Happy pnpm monorepo: install, build, test and run the CLI, server, Expo app and Tauri desktop packages.

    24k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed

More from giuseppe-trisciuoglio/developer-kit

All 115 skills in this repo
  • Nestjs Drizzle Crud Generator

    giuseppe-trisciuoglio/developer-kit

    Generates complete CRUD modules for NestJS applications with Drizzle ORM.

    357 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check: notes
  • Spring Boot Actuator

    giuseppe-trisciuoglio/developer-kit

    Provides patterns to configure Spring Boot Actuator for production-grade monitoring, health probes, secured management endpoints, and Micrometer metrics across JVM services.

    357 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Spring Boot Crud Patterns

    giuseppe-trisciuoglio/developer-kit

    Provides and generates complete CRUD workflows for Spring Boot 3 services.

    357 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • Spring Boot Security JWT

    giuseppe-trisciuoglio/developer-kit

    Provides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based…

    357 GitHub stars~3.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • AWS CLI Beast

    giuseppe-trisciuoglio/developer-kit

    Provides advanced AWS CLI patterns for managing EC2, Lambda, S3, DynamoDB, RDS, VPC, IAM, and CloudWatch.

    357 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check: notes
  • PR Review Comments

    giuseppe-trisciuoglio/developer-kit

    Posts review findings from a JSON file as inline comments on a GitHub Pull Request, attaching each comment to its file and line.

    357 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check: notes

Categories

Questions about Turborepo Monorepo

What does Turborepo Monorepo do?

Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects. Turborepo Monorepo is an agent skill from giuseppe-trisciuoglio/developer-kit. Provides comprehensive Turborepo monorepo management guidance for TypeScript/JavaScript projects.

When should I use Turborepo Monorepo?

Turborepo Monorepo fits situations like: creating Turborepo workspaces; configuring turbo.json tasks; setting up Next.js/NestJS apps; managing test pipelines (Vitest/Jest).

How do I install Turborepo Monorepo in Claude Code?

Run `npx skills add giuseppe-trisciuoglio/developer-kit --skill turborepo-monorepo -a claude-code`. Or copy the skill folder (plugins/developer-kit-typescript/skills/turborepo-monorepo in giuseppe-trisciuoglio/developer-kit) into .claude/skills/turborepo-monorepo in your project. Claude Code loads it when a task matches its description.

How do I install Turborepo Monorepo in Codex?

Run `npx skills add giuseppe-trisciuoglio/developer-kit --skill turborepo-monorepo -a codex`. Or copy the skill folder (plugins/developer-kit-typescript/skills/turborepo-monorepo in giuseppe-trisciuoglio/developer-kit) into .agents/skills/turborepo-monorepo in your project. Codex loads it when a task matches its description.

Can I use Turborepo Monorepo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add giuseppe-trisciuoglio/developer-kit --skill turborepo-monorepo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/turborepo-monorepo, .gemini/skills/turborepo-monorepo, .github/skills/turborepo-monorepo and .opencode/skills/turborepo-monorepo in your project.

What does Turborepo Monorepo need to run?

Going by SKILL.md and its folder, Turborepo Monorepo needs the command-line tools its instructions call (turbo, pnpm and npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep.

Does Turborepo Monorepo access the network?

SKILL.md names 1 domain. In commands or code: turborepo.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Turborepo Monorepo safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Turborepo Monorepo use?

Turborepo Monorepo is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Turborepo Monorepo use?

About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Turborepo Monorepo?

Skills that share tags, products or a category with Turborepo Monorepo: Ever Works (ever-works/ever-works, 162 stars), Vitest Skill (sickn33/agentic-awesome-skills, 47k stars), Jest Testing (aiskillstore/marketplace, 433 stars) and Nextjs Testing (HoangNguyen0403/agent-skills-standard, 572 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Turborepo Monorepo?

giuseppe-trisciuoglio (a GitHub user) maintains it in giuseppe-trisciuoglio/developer-kit, which has 357 GitHub stars. The repository holds 115 skills in this directory. The repository was last updated on September 10, 2026.

Source: giuseppe-trisciuoglio/developer-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.