
Pnpm
Anthony Fu's pnpm skill gives Claude solid knowledge of pnpm's workspace management, catalogs, and dependency resolution quirks. It knows to check for pnpm-workspace.yaml files, use --frozen-lockfile in CI, and handle the workspace protocol syntax. The skill covers pnpm's unique features like patches for modifying third-party packages and overrides for forcing dependency versions. Based on pnpm 10.x, it's comprehensive enough for monorepo setups and migration scenarios. Good reference material if you're dealing with pnpm's stricter dependency model compared to npm or Yarn.
- skills.sh installs
- 22.9K
- GitHub stars
- 6.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add antfu/skills --skill pnpm --agent claude-codeInstalls into .claude/skills of the current project.
Files
pnpm is a fast, disk space efficient package manager. It uses a content-addressable store to deduplicate packages across all projects on a machine, and enforces strict dependency resolution by default, preventing phantom dependencies.
pnpm v12 is a Rust rewrite of v11: stable, and keeps v11's commands, flags, settings, and lockfile format — so most guidance here applies to both. A handful of v12 behaviors differ (git deps resolve via HTTPS, project-aware global bins, other package managers, packageImportMethod: auto hardlinks first on Linux) — see best-practices-migration.
Configuration model (important): pnpm settings live in pnpm-workspace.yaml (and the global config.yaml) using camelCase keys. .npmrc is used only for authentication/registry credentials, and the pnpm field of package.json is no longer read. When working in a pnpm project, check pnpm-workspace.yaml for settings/workspace structure and .npmrc only for auth. Always use --frozen-lockfile (or pnpm ci) in CI.
Sponsors
Details
- Repository
- github.com/antfu/skills