Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
pnpm 10.x reference skill covering workspaces, catalogs, patches, peer deps, overrides, and CI/CD caching strategies.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: pnpm3description: Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.4metadata:5author: Anthony Fu6version: "2026.1.28"7source: Generated from https://github.com/pnpm/pnpm, scripts located at https://github.com/antfu/skills8---910pnpm 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.1112**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.1314> The skill is based on pnpm 10.x, generated at 2026-01-28.1516## Core1718| Topic | Description | Reference |19|-------|-------------|-----------|20| CLI Commands | Install, add, remove, update, run, exec, dlx, and workspace commands | [core-cli](references/core-cli.md) |21| Configuration | pnpm-workspace.yaml, .npmrc settings, and package.json fields | [core-config](references/core-config.md) |22| Workspaces | Monorepo support with filtering, workspace protocol, and shared lockfile | [core-workspaces](references/core-workspaces.md) |23| Store | Content-addressable storage, hard links, and disk efficiency | [core-store](references/core-store.md) |2425## Features2627| Topic | Description | Reference |28|-------|-------------|-----------|29| Catalogs | Centralized dependency version management for workspaces | [features-catalogs](references/features-catalogs.md) |30| Overrides | Force specific versions of dependencies including transitive | [features-overrides](references/features-overrides.md) |31| Patches | Modify third-party packages with custom fixes | [features-patches](references/features-patches.md) |32| Aliases | Install packages under custom names using npm: protocol | [features-aliases](references/features-aliases.md) |33| Hooks | Customize resolution with .pnpmfile.cjs hooks | [features-hooks](references/features-hooks.md) |34| Peer Dependencies | Auto-install, strict mode, and dependency rules | [features-peer-deps](references/features-peer-deps.md) |3536## Best Practices3738| Topic | Description | Reference |39|-------|-------------|-----------|40| CI/CD Setup | GitHub Actions, GitLab CI, Docker, and caching strategies | [best-practices-ci](references/best-practices-ci.md) |41| Migration | Migrating from npm/Yarn, handling phantom deps, monorepo migration | [best-practices-migration](references/best-practices-migration.md) |42| Performance | Install optimizations, store caching, workspace parallelization | [best-practices-performance](references/best-practices-performance.md) |43