.agents/skills/pnpm-upgrade-package/SKILL.md
Use this skill for interactive dependency bumps in Langfuse.
node .agents/skills/pnpm-upgrade-package/scripts/check-release-age-window.mjs <package> [targetVersion]pnpm why -r <package> to find which direct dependency brings it in, then
inspect whether the current top-level parent already allows the requested
transitive version via its dependency range.overrides entry in pnpm-workspace.yaml may be used as a temporary
resolution tool. Before finishing, prove whether the override is still
required: remove it, run pnpm install, then run pnpm dedupe. Inspect the
diff after each generated change. If the target version remains without the
override, do not keep the override; keep or restore it only when pnpm reverts
or drifts from the requested version without it.pnpm-lock.yaml; regenerate lockfile changes with
pnpm commands only. If a lockfile-only refresh causes unrelated churn,
adjust the pnpm command and rerun instead of patching the lockfile by hand.pnpm dedupe. Always inspect the
diff after dedupe and revert that generated attempt if it introduces
unrelated churn.minimumReleaseAge window.minimumReleaseAgeExclude entries for the target package,
exact dependency companions from dependencies or optionalDependencies, or
locally installed exact peer dependencies.pnpm why -r <package> to confirm that only the intended version
remains in the workspace.