monorepo-management

Create scalable monorepos with Turborepo, Nx, and pnpm workspaces.

1|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/mohamed-g-shoaib/forge --skill monorepo-management-mohamed-g-shoaib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monorepo-management
Source: https://github.com/mohamed-g-shoaib/forge/tree/main/.agents/skills/monorepo-management
Command: npx skills add https://github.com/mohamed-g-shoaib/forge --skill monorepo-management-mohamed-g-shoaib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build efficient, scalable monorepos that enable code sharing, consistent tooling, and atomic changes across multiple packages and applications.

Core Features & Use Cases

  • Setting up new monorepo projects and migrating from multi-repo to monorepo
  • Optimizing build and test performance and managing shared dependencies
  • Setting up CI/CD and versioning/publishing packages

Quick Start

Create a new monorepo using Turborepo, Nx, and pnpm workspaces, then structure it with apps/ and packages/ and configure basic tooling

Frequently Asked Questions about monorepo-management

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

FAQPage Schema
How do I set up a monorepo with Turborepo and pnpm workspaces?

To set up a monorepo with Turborepo and pnpm workspaces, you structure your project with dedicated apps/ and packages/ directories, then configure workspace definitions and Turborepo pipelines to enable code sharing and consistent tooling across multiple packages.

What is the best way to migrate multiple repositories into a single monorepo?

Migrating multiple repositories into a monorepo involves consolidating existing multi-repo setups into a unified pnpm workspace structure, allowing you to manage shared dependencies and apply consistent tooling across all previously separate packages and applications.

How do I configure CI/CD pipelines and package versioning in a monorepo?

Configuring CI/CD pipelines and package versioning in a monorepo requires integrating tooling within your Turborepo or Nx setup to automate publishing workflows and maintain consistent version updates across all shared workspace packages.

Does Nx work with pnpm workspaces for managing scalable monorepos?

Yes, Nx works with pnpm workspaces to establish scalable monorepos, providing advanced tooling integration for code sharing, build optimization, and consistent task execution across multiple packages and applications.

Why use pnpm workspaces for monorepo dependency management?

Using pnpm workspaces for monorepo dependency management allows you to hoist shared packages efficiently, ensuring consistent tooling and atomic changes across multiple applications while optimizing local disk space and installation speed.