·link-workspace-packages
</>

link-workspace-packages

nrwl/nx-ai-agents-config

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.

89Installs·7Trend·@nrwl

Installation

$npx skills add https://github.com/nrwl/nx-ai-agents-config --skill link-workspace-packages

SKILL.md

Add dependencies between packages in a monorepo. All package managers support workspaces but with different syntax.

Check whether there's a packageManager field in the root-level package.json.

Uses workspace: protocol - symlinks only created when explicitly declared.

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking. Source: nrwl/nx-ai-agents-config.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/nrwl/nx-ai-agents-config --skill link-workspace-packages
Category
</>Dev Tools
Verified
First Seen
2026-02-14
Updated
2026-02-18

Quick answers

What is link-workspace-packages?

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking. Source: nrwl/nx-ai-agents-config.

How do I install link-workspace-packages?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/nrwl/nx-ai-agents-config --skill link-workspace-packages Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/nrwl/nx-ai-agents-config

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-14