pnpm
Installation
SKILL.md
When to use
Use this skill proactively for:
- Installing dependencies
- Adding or removing packages
- Running scripts
- Any command that involves a package manager
Instructions
Always use pnpm as the package manager. Before running any package manager command, check which package manager the project is already using:
- If
pnpm-lock.yamlexists → use pnpm - If
yarn.lockexists → use yarn - If
package-lock.jsonexists → use npm - If none exist (new project) → use pnpm
Never switch the package manager mid-project. If a project already uses npm, continue with npm throughout. Do not mix package managers in the same project.