mcpbeat Sign in

Pnpm Upgrade Package Agent Skill

>- direct/transitive bumps, release-age checks, temporary overrides, minimumReleaseAgeExclude, lockfile/dedupe verification.

6k tokens
context cost
the whole folder, loaded on every use
4
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
32482
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/langfuse/langfuse --skill pnpm-upgrade-package

What comes with it

18 840 bytes besides the instruction
agents/openai.yaml
scripts/check-release-age-window.mjs
scripts/lib/workspace-utils.mjs

The instruction itself

4 sections, as written by the author

PNPM Upgrade Package

Use this skill for interactive dependency bumps in Langfuse.

Read Order

  • Use this SKILL.md for the end-to-end workflow.
  • Run the main helper once at the start of the upgrade:

node .agents/skills/pnpm-upgrade-package/scripts/check-release-age-window.mjs <package> [targetVersion]

Apply This Skill

  • Ask for the package name if the user did not provide one.
  • Ask for the target version if the user did not provide one.
  • Run the main helper once as the first analysis step and use that single

output for scope, exclusion decisions, and the final bump.

  • If the target package is not directly declared anywhere, run

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.

  • If the current parent range already covers the requested transitive version,

prefer a lockfile refresh / reinstall path over bumping the parent manifest.

  • If the current parent range does not cover the requested transitive version,

upgrade that parent dependency instead of adding the target package directly

unless the user explicitly wants that.

  • If pnpm will not move an already-allowed transitive version, a scoped

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.

  • Never manually edit 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.

  • After fixing or upgrading a package, run pnpm dedupe. Always inspect the

diff after dedupe and revert that generated attempt if it introduces

unrelated churn.

  • Resolve the registry latest version, but do not silently upgrade to latest

unless the user asked for latest.

  • Compare the target version with the latest version installable under the

current minimumReleaseAge window.

  • Before generating lockfile changes, run

pnpm install --dry-run --ignore-scripts to catch resolver and policy

failures without writing pnpm-lock.yaml or node_modules.

  • Inspect any dry-run "would make changes" output as baseline resolver drift

before deciding which write command is safe.

  • Ask before adding minimumReleaseAgeExclude entries for the target package,

exact dependency companions from dependencies or optionalDependencies, or

locally installed exact peer dependencies.

  • Finish with pnpm why -r <package> to confirm that only the intended version

remains in the workspace.

  • In the final response, include a copy-pasteable human commit command using

the resolved package name and target version. Use a branch-safe package slug

for scoped packages, but keep the exact package name in the commit message:

git switch -C deps/bump-<package-slug>-to-<version> && git commit -m "chore(deps): bump <package> to <version>" --no-verify

Quick Commands

  • Analysis pass:

node .agents/skills/pnpm-upgrade-package/scripts/check-release-age-window.mjs <package> <targetVersion>

  • Transitive provenance / final graph verification:

pnpm why -r <package>

  • Inspect a current parent manifest on the registry:

npm view <parent>@<installedVersion> dependencies peerDependencies optionalDependencies --json

  • Preflight resolver/policy check:

pnpm install --dry-run --ignore-scripts

  • Optional lockfile cleanup:

pnpm dedupe

  • Bump in the root workspace:

pnpm -w up <package>@<version>

  • Bump in one workspace:

pnpm --filter web up <package>@<version>

  • Bump everywhere that should move together:

pnpm -r up <package>@<version>

  • Verify temporary override removal:

remove the override, then run pnpm install and pnpm dedupe

  • Human commit helper:

git switch -C deps/bump-<package-slug>-to-<version> && git commit -m "chore(deps): bump <package> to <version>" --no-verify

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take langfuse/pnpm-upgrade-package from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm. Without those the skill loads but fails at the first command.