link-workspace-packages

Link workspace packages across a monorepo by wiring dependencies between consumer and provider packages.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/yunusgungor/agent-skeleton --skill link-workspace-packages-yunusgungor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: link-workspace-packages
Source: https://github.com/yunusgungor/agent-skeleton/tree/main/.kiro/skills/link-workspace-packages
Command: npx skills add https://github.com/yunusgungor/agent-skeleton --skill link-workspace-packages-yunusgungor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Link workspace packages in a monorepo by wiring dependencies between consumer and provider packages, reducing manual edits to tsconfig paths or package.json and avoiding resolution errors.

Core Features & Use Cases

  • Detects the active package manager and applies the correct workspace syntax for pnpm, yarn, npm, and bun.
  • Identifies consumer and provider packages and updates manifests to establish dependencies with workspace:* or equivalent.
  • Verifies symlinks in node_modules and ensures cross-package import resolution across projects.

Quick Start

From the consumer package, run the workspace command for your package manager to link a provider package into the consumer's dependencies.

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 packages in a monorepo to fix resolution errors?

To link workspace packages in a monorepo and resolve resolution errors, you need to wire dependencies between consumer and provider packages using your package manager's workspace commands to update manifests and create symlinks.

Does workspace linking work with pnpm, npm, yarn, and bun?

Yes, workspace linking works with pnpm, npm, yarn, and bun by detecting the active package manager and applying the correct workspace syntax to establish dependencies and ensure cross-package import resolution.

What's the best way to wire dependencies between consumer and provider packages in a monorepo?

The best way to wire dependencies between consumer and provider packages is to run the workspace command from the consumer package, which updates manifests with workspace:* or equivalent syntax to establish correct dependencies.

Why does my monorepo show resolution errors for workspace packages after importing them?

Resolution errors for workspace packages occur when dependencies between consumer and provider packages are not properly wired, requiring you to update manifests and verify symlinks in node_modules for correct inter-package resolution.

How does workspace-aware linking verify symlinks in node_modules?

Workspace-aware linking verifies symlinks in node_modules by checking that the package manager's workspace commands have correctly established dependencies, ensuring cross-package import resolution across all projects in the monorepo.

Do I need to manually edit package.json and tsconfig paths when linking workspace packages?

No, you do not need to manually edit package.json or tsconfig paths when linking workspace packages, because the process automatically updates manifests using the package manager's workspace syntax to establish dependencies.