What problem does it solve?
Managing and scoping operations in pnpm monorepos is error-prone: accidental registry installs, broad recursive runs, and unclear package boundaries can mutate the wrong packages or produce inconsistent builds. This Skill provides clear patterns and tooling to constrain actions to the intended package set and to prefer local workspace resolution.
Core Features & Use Cases
- Scoped package targeting using pnpm filter selectors to include a package, its dependencies, or its dependents.
- Safe dependency linking with the workspace: protocol to avoid unintended registry fallbacks and to control injected dependency behavior.
- Recursive execution patterns and validations for running scripts across a workspace while preserving topological order or running in parallel when safe.
- Use Case: Add a local UI package to a web package with workspace:* while limiting the change to only the affected packages and verifying the workspace globs are correct.
Quick Start
Ask the AI to run the manage-workspace script with an action like list, run, add-workspace-dep, why, or validate and include appropriate filter selectors to restrict the target packages.