pin-exact-nodejs-dependencies

Installation
SKILL.md

Pin exact dependencies

Recipe: prevent ^ / ~ in dependencies and devDependencies.

Detect package manager

Prefer in order:

  1. packageManager field in package.json (e.g. bun@…, pnpm@…, npm@…)
  2. Lockfile: bun.lock / bun.lockb → bun; pnpm-lock.yaml → pnpm; yarn.lock → yarn; package-lock.json → npm
  3. Default: bun

Use that PM for all install / script commands below. Map:

Action bun pnpm npm yarn
Add dev dep bun add -d <pkg> pnpm add -D <pkg> npm i -D <pkg> yarn add -D <pkg>
Run script bun run <script> pnpm run <script> npm run <script> yarn <script>
Installs
1
First Seen
Jul 28, 2026
pin-exact-nodejs-dependencies — lichens-innovation/ai-dev-tools