pnpm
Installation
SKILL.md
pnpm
- Always
pnpm. Never npm/npx. pnpm execorpnpxto run project tools, notnpx.- Before installing, check the package with the
agent:socketprocedure. Then install withpnpm add. - Always use official migration/upgrade tools when they exist (e.g.
pnpx @astrojs/upgrade,pnpx svelte-migrate,pnpx @next/codemod). Never manually edit version numbers in package.json when a migration CLI is available. - Test/validate script layout varies by project — read
package.jsonscripts before running tests, and run the script the user named rather than guessing its parts (seeagent:obey). Concrete example (JS/TS stack):pnpm test= vitest + e2e run concurrently;pnpm test:unit= vitest only;pnpm test:e2e= Playwright only;pnpm validate= vitest + eslint + oxlint + typecheck + knip + stylelint (+ svelte-check for Svelte projects).