vscode-monorepo-forge

Generates VS Code workspace, debug, task, and Turborepo pipeline configurations for monorepos.

1|Updated May 4, 2026
One-click install
npx skills add https://github.com/Scardubu/SwarmXQ --skill vscode-monorepo-forge-scardubu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vscode-monorepo-forge
Source: https://github.com/Scardubu/SwarmXQ/tree/main/.ai/skills/vscode-monorepo-forge
Command: npx skills add https://github.com/Scardubu/SwarmXQ --skill vscode-monorepo-forge-scardubu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up VS Code for a monorepo involves hand-writing many interlocking configuration files — .code-workspace files, launch.json debug configs, tasks.json, per-package settings, and turbo.json pipelines — and small mistakes cause broken debugging, noisy search results, or ESLint resolution failures. ## Core Features & Use Cases - Multi-root workspace generation: Produces a complete .code-workspace file with folder entries, file/watcher/search exclusions, workspace TypeScript version pinning, and recommended extensions. - Cross-package debugging: Generates launch.json configurations for Next.js, Fastify, Jest, and Prisma plus compound configs that attach to multiple apps simultaneously. - Task and pipeline automation: Creates tasks.json entries for turbo dev/build/typecheck and Prisma commands, plus a turbo.json pipeline with caching and dependency rules. - Use Case: A developer with a pnpm + Turborepo monorepo containing a Next.js web app and Fastify API asks for a VS Code setup, and receives ready-to-use workspace, debug, task, and per-package settings files adapted to their actual directory structure. ## Quick Start Ask the assistant to set up VS Code for your monorepo and share your directory structure or package.json so it can generate the workspace, launch, tasks, and turbo configuration files.

Frequently Asked Questions about vscode-monorepo-forge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up VS Code for a monorepo?

Create a multi-root .code-workspace file listing each package as a folder, then add settings for file exclusions, the workspace TypeScript version, and ESLint working directories. Open the workspace file with 'code my-project.code-workspace' rather than opening a single folder.

How do I debug multiple packages at once in VS Code?

Define a launch.json configuration per app, such as one for Next.js and one for Fastify, then add a compound configuration that references both by name. Starting the compound attaches the debugger to all listed apps simultaneously with stopAll to halt them together.

Does this work with pnpm workspaces and Turborepo?

Yes, the generated tasks.json runs commands like 'pnpm turbo dev' and 'pnpm turbo build', and turbo.json defines the build, dev, typecheck, lint, and test pipeline tasks. The workspace settings also exclude .turbo and node_modules from search and the file watcher.

Why does VS Code search show results from node_modules?

Search includes node_modules when search.exclude and files.exclude settings are missing or overridden. Add explicit exclusions for node_modules, dist, .next, .turbo, and lockfiles in the workspace settings to keep results clean.

Why does ESLint fail to resolve config in monorepo packages?

ESLint fails when it runs from the wrong working directory and cannot find the per-package config. Set eslint.workingDirectories to auto mode at the workspace root, or use a per-package settings.json with changeProcessCWD enabled.