link-workspace-packages

Automate workspace dependency wiring across npm, yarn, pnpm, and bun monorepos.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/012e/thesis --skill link-workspace-packages-012e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: link-workspace-packages
Source: https://github.com/012e/thesis/tree/main/.gemini/skills/link-workspace-packages
Command: npx skills add https://github.com/012e/thesis --skill link-workspace-packages-012e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Link workspace dependencies between packages in a monorepo across npm, yarn, pnpm, and bun, ensuring correct wiring without manual package.json edits.

Core Features & Use Cases

  • Automates linking between consumer and provider packages in a monorepo using the project’s workspace protocol.
  • Supports pnpm, yarn, npm, and bun workflows with correct syntax.
  • Diagnoses and fixes resolution errors for workspace packages.
  • Use Case: When you add a new internal library, link it to apps that consume it.

Quick Start

From the consumer package, run the appropriate workspace command to add the provider package and then verify the symlinks in node_modules.

Frequently Asked Questions about link-workspace-packages

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

FAQPage Schema
How do I link workspace dependencies between packages in a monorepo?

Link workspace dependencies by running the appropriate workspace command from the consumer package to add the provider, which automatically applies the correct workspace protocol and generates symlinks without manual package.json edits.

Why does my monorepo package resolution fail to find internal workspace packages?

Monorepo package resolution fails when workspace dependencies are not properly wired using the project's workspace protocol. Diagnosing and fixing resolution errors involves applying the correct syntax and verifying symlinks in the consumer node_modules directory.

Does this workspace linking approach support pnpm, yarn, npm, and bun?

Yes, workspace linking supports pnpm, yarn, npm, and bun workflows. It automatically detects the active package manager and applies the correct workspace syntax to wire dependencies between consumer and provider packages across these tools.

What is the best way to add a new internal library to monorepo consumer apps?

The best way to add a new internal library is to run the workspace command from the consumer package to add the provider package. This applies the correct workspace protocol and verifies symlinks in node_modules to ensure proper linking.

When do I need to use workspace protocols for linking monorepo packages?

You need workspace protocols when adding new internal libraries, importing existing packages, or fixing resolution errors in a monorepo. They ensure correct wiring between consumer and provider packages without requiring manual package.json dependency edits.