{"id":"bf283052-7b63-405e-a47b-dd3df757827f","shortId":"hFQFVR","kind":"skill","title":"pnpm","tagline":"Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.","description":"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.\n\n**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.\n\n> The skill is based on pnpm 10.x, generated at 2026-01-28.\n\n## Core\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| CLI Commands | Install, add, remove, update, run, exec, dlx, and workspace commands | [core-cli](references/core-cli.md) |\n| Configuration | pnpm-workspace.yaml, .npmrc settings, and package.json fields | [core-config](references/core-config.md) |\n| Workspaces | Monorepo support with filtering, workspace protocol, and shared lockfile | [core-workspaces](references/core-workspaces.md) |\n| Store | Content-addressable storage, hard links, and disk efficiency | [core-store](references/core-store.md) |\n\n## Features\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Catalogs | Centralized dependency version management for workspaces | [features-catalogs](references/features-catalogs.md) |\n| Overrides | Force specific versions of dependencies including transitive | [features-overrides](references/features-overrides.md) |\n| Patches | Modify third-party packages with custom fixes | [features-patches](references/features-patches.md) |\n| Aliases | Install packages under custom names using npm: protocol | [features-aliases](references/features-aliases.md) |\n| Hooks | Customize resolution with .pnpmfile.cjs hooks | [features-hooks](references/features-hooks.md) |\n| Peer Dependencies | Auto-install, strict mode, and dependency rules | [features-peer-deps](references/features-peer-deps.md) |\n\n## Best Practices\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| CI/CD Setup | GitHub Actions, GitLab CI, Docker, and caching strategies | [best-practices-ci](references/best-practices-ci.md) |\n| Migration | Migrating from npm/Yarn, handling phantom deps, monorepo migration | [best-practices-migration](references/best-practices-migration.md) |\n| Performance | Install optimizations, store caching, workspace parallelization | [best-practices-performance](references/best-practices-performance.md) |","tags":["pnpm","skills","antfu","agent-skills"],"capabilities":["skill","source-antfu","skill-pnpm","topic-agent-skills","topic-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/antfu/skills/pnpm","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add antfu/skills","source_repo":"https://github.com/antfu/skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 4987 github stars · SKILL.md body (2,576 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:45.639Z","embedding":null,"createdAt":"2026-04-18T20:25:19.078Z","updatedAt":"2026-05-18T18:52:45.639Z","lastSeenAt":"2026-05-18T18:52:45.639Z","tsv":"'-01':115 '-28':116 '10':110 '2026':114 'across':44 'action':262 'add':124 'address':39,165 'agent':82 'alias':216,227 'alway':96 'auto':242 'auto-instal':241 'base':107 'best':254,270,284,296 'best-practices-ci':269 'best-practices-migr':283 'best-practices-perform':295 'cach':267,292 'catalog':21,180,189 'central':181 'check':84 'ci':102,264,272 'ci/cd':259 'cli':121,135 'command':14,122,132 'config':146 'configur':15,64,95,137 'content':38,164 'content-address':37,163 'core':117,134,145,159,173 'core-c':133 'core-config':144 'core-stor':172 'core-workspac':158 'custom':210,220,230 'dedupl':42 'default':60 'dep':252,280 'depend':7,19,57,63,182,196,240,247 'descript':119,178,257 'disk':29,52,170 'dlx':129 'docker':265 'effici':31,171 'enforc':55 'environ':103 'exec':128 'fast':28 'featur':176,188,200,213,226,236,250 'features-alias':225 'features-catalog':187 'features-hook':235 'features-overrid':199 'features-patch':212 'features-peer-dep':249 'field':143 'file':89 'filter':152 'fix':211 'forc':192 'frozen':99 'frozen-lockfil':98 'generat':112 'github':261 'gitlab':263 'handl':278 'hard':167 'hook':229,234,237 'import':76 'includ':197 'instal':123,217,243,289 'link':168 'lockfil':100,157 'machin':49 'manag':4,18,33,184 'migrat':274,275,282,286 'mode':245 'modifi':204 'monorepo':149,281 'name':221 'node.js':2 'npm':223 'npm/yarn':277 'npmrc':88,139 'optim':290 'overrid':24,191,201 'packag':3,32,43,208,218 'package.json':142 'parallel':294 'parti':207 'patch':22,203,214 'peer':239,251 'perform':288,298 'phantom':62,279 'place':68 'pnpm':1,12,25,54,73,80,109 'pnpm-specif':72 'pnpm-workspace.yaml':70,86,138 'pnpmfile.cjs':233 'practic':255,271,285,297 'prefer':66 'prevent':61 'project':46,81 'protocol':154,224 'refer':120,179,258 'references/best-practices-ci.md':273 'references/best-practices-migration.md':287 'references/best-practices-performance.md':299 'references/core-cli.md':136 'references/core-config.md':147 'references/core-store.md':175 'references/core-workspaces.md':161 'references/features-aliases.md':228 'references/features-catalogs.md':190 'references/features-hooks.md':238 'references/features-overrides.md':202 'references/features-patches.md':215 'references/features-peer-deps.md':253 'remov':125 'resolut':8,58,231 'rule':248 'run':11,127 'save':50 'set':75,140 'setup':260 'share':156 'signific':51 'skill':105 'skill-pnpm' 'source-antfu' 'space':30,53 'specif':13,74,193 'storag':166 'store':40,162,174,291 'strategi':268 'strict':6,56,244 'structur':93 'support':150 'third':206 'third-parti':205 'topic':118,177,256 'topic-agent-skills' 'topic-skills' 'transit':198 'understand':91 'updat':126 'use':9,35,97,222 'version':183,194 'work':78 'workspac':16,92,131,148,153,160,186,293 'x':111","prices":[{"id":"16801e78-a2ac-43d4-8e66-6d35c3c7cb95","listingId":"bf283052-7b63-405e-a47b-dd3df757827f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"antfu","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:19.078Z"}],"sources":[{"listingId":"bf283052-7b63-405e-a47b-dd3df757827f","source":"github","sourceId":"antfu/skills/pnpm","sourceUrl":"https://github.com/antfu/skills/tree/main/skills/pnpm","isPrimary":false,"firstSeenAt":"2026-04-18T21:53:48.272Z","lastSeenAt":"2026-05-18T18:52:45.639Z"},{"listingId":"bf283052-7b63-405e-a47b-dd3df757827f","source":"skills_sh","sourceId":"antfu/skills/pnpm","sourceUrl":"https://skills.sh/antfu/skills/pnpm","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:19.078Z","lastSeenAt":"2026-05-07T22:40:16.309Z"}],"details":{"listingId":"bf283052-7b63-405e-a47b-dd3df757827f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"antfu","slug":"pnpm","github":{"repo":"antfu/skills","stars":4987,"topics":["agent-skills","skills"],"license":"mit","html_url":"https://github.com/antfu/skills","pushed_at":"2026-05-01T16:46:24Z","description":"Anthony Fu's curated collection of agent skills.","skill_md_sha":"9b28506b3e3c31d8a4a07bb8e7e7420e75db07d2","skill_md_path":"skills/pnpm/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/antfu/skills/tree/main/skills/pnpm"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"pnpm","description":"Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides."},"skills_sh_url":"https://skills.sh/antfu/skills/pnpm"},"updatedAt":"2026-05-18T18:52:45.639Z"}}