pnpm

Fast, disk-efficient Node.js package manager with strict dependency resolution and monorepo support. Enforces strict dependency resolution by default, preventing phantom dependencies; uses content-addressable storage to deduplicate packages across projects Supports monorepo workspaces with filtering, shared lockfiles, and workspace protocol; configuration via pnpm-workspace.yaml Includes advanced dependency management: catalogs for centralized version control, overrides to force specific versions, and patches to modify third-party packages Provides peer dependency auto-install, custom resolution hooks via .pnpmfile.cjs , and package aliases using the npm: protocol Use --frozen-lockfile in CI environments; check pnpm-workspace.yaml and .npmrc files to understand project configuration

INSTALLATION
npx skills add https://github.com/antfu/skills --skill pnpm
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

Topic

Description

Reference

Catalogs

Centralized dependency version management for workspaces

features-catalogs

Overrides

Force specific versions of dependencies including transitive

features-overrides

Patches

Modify third-party packages with custom fixes

features-patches

Aliases

Install packages under custom names using npm: protocol

features-aliases

Hooks

Customize resolution with .pnpmfile.cjs hooks

features-hooks

Peer Dependencies

Auto-install, strict mode, and dependency rules

features-peer-deps

Best Practices

Topic

Description

Reference

CI/CD Setup

GitHub Actions, GitLab CI, Docker, and caching strategies

best-practices-ci

Migration

Migrating from npm/Yarn, handling phantom deps, monorepo migration

best-practices-migration

Performance

Install optimizations, store caching, workspace parallelization

best-practices-performance

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card