npm-scripts

Orchestrate npm, yarn, and pnpm scripts across monorepo workspaces.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill npm-scripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npm-scripts
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/npm-scripts
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill npm-scripts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

npm, yarn, and pnpm package management, scripts, workspaces, and publishing. Use when user asks to "run npm script", "setup package.json", "publish package", "manage dependencies", "npm workspaces", "monorepo setup", or package manager operations.

Core Features & Use Cases

  • Dependency management: Install, update, and remove dependencies across single or multiple packages.
  • Workspace orchestration: Manage workspaces and monorepos, run scripts across packages, and coordinate versions.
  • Publishing & tooling: Prepare and publish packages, manage version bumps, and configure package metadata.

Quick Start

Run a quick workspace-wide lint and build sequence across all packages.

Frequently Asked Questions about npm-scripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run npm scripts across all packages in a monorepo?

Running npm scripts across a monorepo requires workspace orchestration to coordinate deterministic script execution. This Skill automates workspace-wide sequences like lint and build across all packages using npm, yarn, or pnpm.

Does this Skill work with pnpm and yarn workspaces, or only npm?

This Skill works with pnpm and yarn workspaces alongside npm. It orchestrates workflow management across all three package managers for monorepos with workspaces, scripts, and publishing needs.

How do I publish packages and manage version bumps in a multi-package repository?

Publishing packages in a multi-package repository involves strict validation of package.json structures and versioning. This Skill automates version bumps, metadata configuration, and package publishing across monorepo workspaces.

What's the best way to manage dependencies across multiple packages in a monorepo?

Managing dependencies across multiple packages requires scripted updates and strict package.json validation. This Skill enables deterministic dependency installation, updates, and removal across single or multiple monorepo packages.

Why do my workspace scripts fail when running across different package managers?

Workspace scripts fail across package managers when deterministic execution and workspace coordination are missing. This Skill applies strict validation for package.json structures to ensure reliable script execution across npm, yarn, and pnpm environments.

Can I use npm-scripts to set up package.json and coordinate versions in a new monorepo?

You can use this Skill to set up package.json and coordinate versions in a new monorepo. It handles workspace orchestration, package metadata configuration, and deterministic script execution for monorepo initialization.