link-workspace-packages

Automate linking workspace package dependencies in npm, yarn, pnpm, and bun monorepos.

3|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/whimzyLive/nightshift-ai --skill link-workspace-packages-whimzylive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: link-workspace-packages
Source: https://github.com/whimzyLive/nightshift-ai/tree/main/.opencode/skills/link-workspace-packages
Command: npx skills add https://github.com/whimzyLive/nightshift-ai --skill link-workspace-packages-whimzylive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the linking of workspace packages in monorepos, solving the issue of dependency resolution errors and manual package.json edits.

Core Features & Use Cases

  • Automated Dependency Linking: Automatically link dependencies between packages in a monorepo.
  • Supports Multiple Package Managers: Works with npm, yarn, pnpm, and bun.
  • Use Case: When you have a monorepo with multiple packages and need to add a dependency from a sibling package, this Skill can automate the process.

Quick Start

Use the link-workspace-packages skill to link the 'ui' package as a dependency in the 'app' package.

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 dependency resolution errors?

To fix dependency resolution errors, link workspace packages in a monorepo by automating dependency additions between sibling packages. This requires running package manager specific commands to establish the necessary links without manual package.json edits.

Can I use this monorepo package linking approach with npm, yarn, pnpm, and bun?

Yes, monorepo package linking supports npm, yarn, pnpm, and bun. It works by resolving dependency resolution errors across these package managers, requiring specific commands for each to properly link sibling package dependencies.

What is the best way to add a dependency from a sibling package in a monorepo?

The best way to add a sibling package dependency in a monorepo is to automate the linking process. This resolves dependency errors by automatically configuring the workspace package links, eliminating the need for manual package.json modifications.

How to automate dependency linking between packages in a monorepo?

Automate dependency linking between monorepo packages by executing package manager specific commands. This automatically establishes links for sibling packages, resolving workspace dependency issues without requiring manual edits to configuration files.

Why do I get dependency resolution errors when adding sibling packages in my monorepo?

Dependency resolution errors occur in monorepos when sibling package links are missing or manually misconfigured. Automating the workspace package linking process using the correct package manager commands resolves these errors and ensures proper dependency tracking.

Do I need to manually edit package.json to set up local workspace dependencies?

No, you do not need to manually edit package.json to set up local workspace dependencies. Automating the package linking process handles these configurations directly, preventing manual editing errors and ensuring accurate dependency resolution across the monorepo.