$npx skillfedfor your agent

pnpm

pnpm is a high-performance package manager that streamlines dependency installation and management for Node.js projects. It uses a content-addressable storage model to minimize disk usage while maintaining compatibility with npm and yarn ecosystems. Ideal for teams seeking faster builds and more efficient resource utilization across development environments.

pnpm is a high-performance package manager that streamlines dependency installation and management for Node.js projects. Unlike npm, pnpm uses a content-addressable storage model to minimize disk usage while maintaining compatibility with npm and yarn ecosystems. This approach makes pnpm ideal for teams seeking faster builds and more efficient resource utilization across development environments.

AI-generated summary based on this skill's SKILL.md

951 109 MITupdated by sanity-io

Decision gist · record as of 2026-07-27

pnpm is a high-performance package manager that streamlines dependency installation and management for Node.js projects. Unlike npm, pnpm uses a content-addressable storage model to minimize disk usage while maintaining compatibility with npm and yarn ecosystems. This approach makes pnpm ideal for teams seeking faster builds and more efficient resource utilization across development environments.

manual: git clone https://github.com/sanity-io/next-sanity → cp -r next-sanity/.agents/skills/pnpm ~/.claude/skills/pnpm
.agents/skills/pnpm/SKILL.md · version 065a94a3

Use it when

  • pnpm handles dependency installation through its core intent to install and manage Node.js project dependencies with pnpm.
  • pnpm excels at configuring and running monorepo workspaces through its workspace.yaml configuration file.

Verify before relying

Read SKILL.md below before installing (15 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

sanity-io/next-sanity/pnpm · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is pnpm and how does it differ from npm?

pnpm is a high-performance package manager that streamlines dependency installation and management for Node.js projects. Unlike npm, pnpm uses a content-addressable storage model to minimize disk usage while maintaining compatibility with npm and yarn ecosystems. This approach makes pnpm ideal for teams seeking faster builds and more efficient resource utilization across development environments.

How do I use pnpm to install dependencies?

pnpm handles dependency installation through its core intent to install and manage Node.js project dependencies with pnpm. After installing pnpm, you can run `pnpm install` in your project directory to fetch and set up all dependencies listed in your package.json. pnpm's strict dependency resolution prevents phantom dependencies, ensuring only explicitly declared packages are accessible to your code.

How can pnpm workspace setup and monorepo configuration be achieved?

pnpm excels at configuring and running monorepo workspaces through its workspace.yaml configuration file. You define your workspace structure in pnpm-workspace.yaml, specifying which directories contain individual packages. pnpm then manages dependencies across all packages in your monorepo, allowing shared dependencies to be hoisted intelligently while maintaining strict isolation between workspace packages.

What are pnpm catalogs and overrides, and how do I apply patches to third-party packages?

pnpm provides multiple mechanisms to control dependency versions: catalogs centralize version definitions across your monorepo, overrides enforce specific versions globally, and patches allow you to modify third-party packages without forking them. These features work together to give you fine-grained control over your dependency tree, ensuring consistency and enabling quick fixes for upstream issues.

How does pnpm optimize disk space and CI/CD performance?

pnpm optimizes disk space and CI/CD performance through its content-addressable store and hard links strategy. Instead of duplicating packages, pnpm stores each dependency version once and uses hard links to reference it across projects. For CI/CD, you can use `pnpm install --frozen-lockfile` to ensure reproducible builds and faster installation times by preventing dependency resolution during the build process.

How do I migrate from npm to pnpm?

Migrating to pnpm from npm is straightforward: install pnpm, then run `pnpm install` in your project directory. pnpm reads your existing package.json and package-lock.json, creating its own pnpm-lock.yaml lockfile. The main adjustment is understanding pnpm's strict dependency resolution and phantom dependency prevention—only packages explicitly listed in your package.json are accessible, which may require adding missing direct dependencies that npm's flattening previously made available.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

pnpm is a fast, disk space efficient package manager. It uses a content-addressable store to deduplicate packages across all projects on a machine, saving significant disk space. pnpm enforces strict dependency resolution by default, preventing phantom dependencies. Configuration should preferably be placed in pnpm-workspace.yaml for pnpm-specific settings.

Important: When working with pnpm projects, agents should check for pnpm-workspace.yaml and .npmrc files to understand workspace structure and configuration. Always use --frozen-lockfile in CI environments.

> The skill is based on pnpm 10.x, generated at 2026-01-28.

Core

| Topic | Description | Reference | | ------------- |

(truncated - see the full file via the links below)

File tree — 15 files
.agents/skills/pnpm/GENERATION.md
.agents/skills/pnpm/SKILL.md
.agents/skills/pnpm/references/best-practices-ci.md
.agents/skills/pnpm/references/best-practices-migration.md
.agents/skills/pnpm/references/best-practices-performance.md
.agents/skills/pnpm/references/core-cli.md
.agents/skills/pnpm/references/core-config.md
.agents/skills/pnpm/references/core-store.md
.agents/skills/pnpm/references/core-workspaces.md
.agents/skills/pnpm/references/features-aliases.md
.agents/skills/pnpm/references/features-catalogs.md
.agents/skills/pnpm/references/features-hooks.md
.agents/skills/pnpm/references/features-overrides.md
.agents/skills/pnpm/references/features-patches.md
.agents/skills/pnpm/references/features-peer-deps.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Install and manage Node.js project dependencies with pnpm”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

pnpm
by hairyf · hairyf/skills

pnpm is a high-performance package manager designed for Node.js projects that prioritizes speed and storage efficiency. It streamlines dependency installation and management through innovative linking strategies, making it ideal for monorepos and large-scale development environments. Integrate pnpm into your workflow to reduce disk usage and accelerate build times across your projects.

MITupdated Jun 2026
★ 24repo stars
pnpm
by antfu · antfu/skills

This skill enables agents to handle Node.js package installation and dependency management through pnpm, a performant alternative to traditional package managers. Leverage pnpm's speed and storage efficiency to streamline your project's dependency lifecycle.

MITupdated Jun 2026
★ 5,665repo stars
Pnpm
by onmax · onmax/nuxt-skills

This skill equips AI coding assistants with pnpm package management capabilities, enabling streamlined dependency installation and updates across Vue, Nuxt, and NuxtHub environments. Leverage pnpm's efficient workspace handling and disk-space optimization to keep your project dependencies lean and maintainable.

no license declared → metadata onlyupdated Jul 2026
★ 691repo stars
pnpm
by Mindrally · Mindrally/skills

Master pnpm setup and configuration tailored for monorepo workflows. This skill brings battle-tested practices from the Cursor rules community, helping you optimize package management across complex project structures with confidence and efficiency.

Apache-2.0updated Jun 2026
★ 202repo stars
check-npm
by grafana · grafana/skills

check-npm helps you systematically review package manager settings across npm, yarn, and pnpm to strengthen your project's supply-chain defenses. By analyzing configuration files and dependency practices, it surfaces misconfigurations that could expose your codebase to security risks. Use this skill to enforce hardening best practices and maintain a resilient software supply chain.

Apache-2.0updated Jul 2026
★ 203repo stars
Pnpm Workspace
by oakoss · oakoss/agent-skills

This skill teaches you how to build and manage pnpm workspaces, enabling efficient monorepo development across multiple interconnected packages. You'll master workspace configuration, dependency management, and best practices for scaling projects with pnpm's lightweight approach.

no license declared → metadata onlyupdated Mar 2026
★ 13repo stars

More skills monorepo-setup (MIT) · monorepo-management (MIT) · npm-helper (MIT)

Tags
monorepo-managementdependency-deduplicationstrict-resolutionworkspace-protocolci-cd-integrationdisk-optimizationversion-catalogstransitive-overridespackage-patching