mcpField
P
pnpm

pnpm

github.com/christopher-bussDevelopment865 installsUpdated 4w ago
Repository

About pnpm

A pnpm 10.x skill for coding agents working with pnpm projects. It covers command usage, configuration, workspaces, package storage, and operational practices.

Key features

  1. 01Install and package commands
  2. 02Workspace and configuration guidance
  3. 03Content-addressable package store
  4. 04Catalogs, overrides, and patches
  5. 05Dependency and CI best practices

Use cases

  1. 01Inspect workspace settings before making changes
  2. 02Choose pnpm commands for package tasks
  3. 03Configure monorepo dependencies
  4. 04Set up frozen-lockfile CI installs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/christopher-buss/skills --skill pnpm

After installing, type/pnpmin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
references/
best-practices-ci.md
best-practices-migration.md
best-practices-performance.md
core-cli.md
core-config.md
core-store.md
core-workspaces.md
features-aliases.md
features-catalogs.md
features-hooks.md
features-overrides.md
features-patches.md
features-peer-deps.md

Details

From the project README

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

TopicDescriptionReference
CLI CommandsInstall, add, remove, update, run, exec, dlx, and workspace commandscore-cli
Configurationpnpm-workspace.yaml, .npmrc settings, and package.json fieldscore-config
WorkspacesMonorepo support with filtering, workspace protocol, and shared lockfilecore-workspaces
StoreContent-addressable storage, hard links, and disk efficiencycore-store

Features

TopicDescriptionReference
CatalogsCentralized dependency version management for workspacesfeatures-catalogs
OverridesForce specific versions of dependencies including transitivefeatures-overrides
PatchesModify third-party packages with custom fixesfeatures-patches
AliasesInstall packages under custom names using npm: protocolfeatures-aliases
HooksCustomize resolution with .pnpmfile.cjs hooksfeatures-hooks
Peer DependenciesAuto-install, strict mode, and dependency rulesfeatures-peer-deps

Best Practices

TopicDescriptionReference
CI/CD SetupGitHub Actions, GitLab CI, Docker, and caching strategiesbest-practices-ci
MigrationMigrating from npm/Yarn, handling phantom deps, monorepo migrationbest-practices-migration
PerformanceInstall optimizations, store caching, workspace parallelizationbest-practices-performance

Comments

Markdown supported