link-workspace-packages

link workspace packages

nrwl ↓ 2.1k
Claude Code
View source ↗

What it does

  • pnpm-lock.yaml → pnpm
  • yarn.lock → yarn
  • bun.lock / bun.lockb → bun
  • package-lock.json → npm
  • Symlinks appear in <consumer>/nodemodules/@org/<package>
  • Hoisting differs by manager:
  • npm/bun: hoist shared deps to root nodemodules

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

link workspace packages

Source

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

link-workspace-packages FAQ

What does the link-workspace-packages skill do?

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. pnpm-lock.yaml → pnpm yarn.lock → yarn

How do I install link-workspace-packages?

Run: npx -y skills add https://github.com/nrwl/nx-ai-agents-config --skill link-workspace-packages --agent claude-code — the source lives at github.com/nrwl/nx-ai-agents-config.

Maintain link-workspace-packages?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[link-workspace-packages on getagentictools](https://getagentictools.com/skills/nrwl-nx-ai-agents-config-link-workspace-packages?ref=badge)
npx agentictools info skills/nrwl-nx-ai-agents-config-link-workspace-packages

The second line is the CLI lookup for this page — handy in READMEs and docs.