{"id":"bf283052-7b63-405e-a47b-dd3df757827f","shortId":"hFQFVR","kind":"skill","title":"Pnpm","tagline":"Skills skill by Antfu","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"],"capabilities":["skill","source-antfu","category-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/antfu/skills/pnpm","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under antfu/skills","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T23:40:16.941Z","embedding":null,"createdAt":"2026-04-18T20:25:19.078Z","updatedAt":"2026-04-23T23:40:16.941Z","lastSeenAt":"2026-04-23T23:40:16.941Z","tsv":"'-01':96 '-28':97 '10':91 '2026':95 'across':25 'action':243 'add':105 'address':20,146 'agent':63 'alias':197,208 'alway':77 'antfu':5 'auto':223 'auto-instal':222 'base':88 'best':235,251,265,277 'best-practices-ci':250 'best-practices-migr':264 'best-practices-perform':276 'cach':248,273 'catalog':161,170 'category-skills' 'central':162 'check':65 'ci':83,245,253 'ci/cd':240 'cli':102,116 'command':103,113 'config':127 'configur':45,76,118 'content':19,145 'content-address':18,144 'core':98,115,126,140,154 'core-c':114 'core-config':125 'core-stor':153 'core-workspac':139 'custom':191,201,211 'dedupl':23 'default':41 'dep':233,261 'depend':38,44,163,177,221,228 'descript':100,159,238 'disk':10,33,151 'dlx':110 'docker':246 'effici':12,152 'enforc':36 'environ':84 'exec':109 'fast':9 'featur':157,169,181,194,207,217,231 'features-alias':206 'features-catalog':168 'features-hook':216 'features-overrid':180 'features-patch':193 'features-peer-dep':230 'field':124 'file':70 'filter':133 'fix':192 'forc':173 'frozen':80 'frozen-lockfil':79 'generat':93 'github':242 'gitlab':244 'handl':259 'hard':148 'hook':210,215,218 'import':57 'includ':178 'instal':104,198,224,270 'link':149 'lockfil':81,138 'machin':30 'manag':14,165 'migrat':255,256,263,267 'mode':226 'modifi':185 'monorepo':130,262 'name':202 'npm':204 'npm/yarn':258 'npmrc':69,120 'optim':271 'overrid':172,182 'packag':13,24,189,199 'package.json':123 'parallel':275 'parti':188 'patch':184,195 'peer':220,232 'perform':269,279 'phantom':43,260 'place':49 'pnpm':1,6,35,54,61,90 'pnpm-specif':53 'pnpm-workspace.yaml':51,67,119 'pnpmfile.cjs':214 'practic':236,252,266,278 'prefer':47 'prevent':42 'project':27,62 'protocol':135,205 'refer':101,160,239 'references/best-practices-ci.md':254 'references/best-practices-migration.md':268 'references/best-practices-performance.md':280 'references/core-cli.md':117 'references/core-config.md':128 'references/core-store.md':156 'references/core-workspaces.md':142 'references/features-aliases.md':209 'references/features-catalogs.md':171 'references/features-hooks.md':219 'references/features-overrides.md':183 'references/features-patches.md':196 'references/features-peer-deps.md':234 'remov':106 'resolut':39,212 'rule':229 'run':108 'save':31 'set':56,121 'setup':241 'share':137 'signific':32 'skill':2,3,86 'source-antfu' 'space':11,34 'specif':55,174 'storag':147 'store':21,143,155,272 'strategi':249 'strict':37,225 'structur':74 'support':131 'third':187 'third-parti':186 'topic':99,158,237 'transit':179 'understand':72 'updat':107 'use':16,78,203 'version':164,175 'work':59 'workspac':73,112,129,134,141,167,274 'x':92","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-04-23T18:53:29.467Z"},{"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-04-23T23:40:16.941Z"}],"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","source":"skills_sh","category":"skills","skills_sh_url":"https://skills.sh/antfu/skills/pnpm"},"updatedAt":"2026-04-23T23:40:16.941Z"}}