pnpm skill (Anthony Fu): pnpm commands, workspaces and settings for your agent
A pnpm reference skill that makes your agent use pnpm commands, workspace settings and CI setups correctly.
- Installs
- 22.6K
- on skills.sh
- Stars
- 6K
- on GitHub
- Files
- 20
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
This skill gives your agent a pnpm reference to read before it runs pnpm commands or edits pnpm-workspace.yaml. It triggers when you work with workspaces, catalogs, patches, overrides, config dependencies or the global virtual store.
The SKILL.md is an index of 19 reference files. Its key advice is that pnpm settings live in pnpm-workspace.yaml with camelCase keys, .npmrc is only for registry credentials, and CI should use --frozen-lockfile or pnpm ci. The SKILL.md says it is based on pnpm 12.x and was generated on 2026-09-25 from the pnpm docs.
Good for
- Developers working in pnpm projects and monorepos
- Teams moving from npm or Yarn to pnpm
- Anyone setting up pnpm in CI or Docker
Install pnpm
Claude Code
- 1
Copy this prompt.
Install the pnpm skill in Claude Code. Run this command: npx skills add https://github.com/antfu/skills --skill pnpm Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces via pnpm-workspace.yaml, or managing dependencies with catalogs, patches, overrides, config dependencies, or the global virtual store.
Sections in SKILL.md
- Core
- Features
- Best Practices
Key facts
- Repository
- antfu/skills (skills/pnpm)
- Installs on skills.sh
- 22,611 as of 2026-11-02
- License
- MIT (as detected by GitHub)
- Last commit to the repo
- 2026-10-30
What it includes
CLI commands, configuration, workspaces and the store
core-cli, core-config, core-workspaces and core-store cover install, add, run, dlx, filtering, pnpm-workspace.yaml settings, the content-addressable store and linker modes.
Try: “Add a catalog to this pnpm workspace and move the shared dependency versions into it.”
Read ·
Core referencesCatalogs, overrides, patches, hooks, peers, task orchestration
Twelve files: catalogs, overrides, patches, aliases, hooks (.pnpmfile.mjs), peer dependencies, config dependencies, global virtual store, supply-chain security, task orchestration, release management and multi-ecosystem support.
Read ·
Feature referencesCI/CD, migration from npm or Yarn, performance
best-practices-ci covers GitHub Actions, GitLab, Docker and store caching. best-practices-migration covers moving from npm and Yarn and upgrading from pnpm v10 to v12. best-practices-performance covers install speed.
Read ·
Best-practice referencesSome references show install and cleanup commands
The references show commands such as pnpm store prune, pnpm audit, pnpm self-update, rm -rf node_modules, corepack enable and the get.pnpm.io install script. The agent can run these if you ask.
Delete ·
Commands in the references
From the official docs
Permissions
Low risk
The skill is reference text, but it shows commands that delete node_modules or install pnpm. Read each command before you approve it.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Cleanup commands delete node_modules
The migration and CI references show rm -rf node_modules (and lockfile removal) steps. Commit your work first and read the command before you approve it.
A reference shows a piped install script
best-practices-ci lists curl -fsSL https://get.pnpm.io/install.sh | sh - as an install route. Check the command before you approve it.
Technical details
| Talks to | npm registry and get.pnpm.io when the agent runs the shown install commands |
|---|---|
| Scopes |
|
Questions
What does the pnpm skill do?
It gives your agent a pnpm reference. The agent uses it for commands, workspace settings in pnpm-workspace.yaml, catalogs, overrides, patches, CI setup and migration from npm or Yarn.
How do I install it in Claude Code, the Claude app or Codex?
Use the install box at the top of this page. The antfu/skills README documents the skills CLI and a skills pack route, and does not name specific clients for this skill.
Does it work with an older pnpm version?
The SKILL.md says it is based on pnpm 12.x and covers v11 and v12 behavior. A few v12 differences are flagged in best-practices-migration. For older versions, check the commands against your installed pnpm.
Does it need an API key or any tools?
No key is mentioned in the SKILL.md. The skill bundles no scripts. It expects pnpm to be installed in your project.
Is it safe to install?
The skill is markdown only and bundles no scripts, but its references show commands that delete or change things, such as rm -rf node_modules, pnpm store prune and pnpm self-update. Read each command the agent proposes before you approve it, and keep your work committed.
Was it written by the pnpm team?
No. The SKILL.md metadata names Anthony Fu as author and says it was generated from the pnpm repository with scripts in antfu/skills. The README says the skills are generated from official docs and fine-tuned by Anthony.
Information
updated Nov 2, 2026
- Repository
- antfu/skills
- Folder
skills/pnpm
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- pnpm SKILL.md · github.com
- antfu/skills README · github.com
- core-cli.md · github.com
- best-practices-ci.md · github.com
- best-practices-migration.md · github.com