pnpm-upgrade-package
Skill by langfuse
Upgrades pnpm workspace dependencies in the Langfuse repository to a target or latest version. Built for interactive dependency bumps, with release-age checks, lockfile verification and temporary overrides.
Install pnpm-upgrade-package
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langfuse/langfuse /tmp/langfuse && mkdir -p ~/.claude/skills && cp -r /tmp/langfuse/.agents/skills/pnpm-upgrade-package ~/.claude/skills/pnpm-upgrade-packageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langfuse/langfuse /tmp/langfuse && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/langfuse/.agents/skills/pnpm-upgrade-package ~/.gemini/antigravity-cli/skills/pnpm-upgrade-packageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install pnpm-upgrade-package in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through upgrading pnpm workspace dependencies in the Langfuse repository to a target or latest version. It covers direct and transitive bumps. It starts with a helper script that checks the release-age window for the package, then uses pnpm why to find which direct dependency brings in a transitive package and whether that parent's range already allows the requested version.
When pnpm will not move an already allowed version, the skill may add a scoped overrides entry in pnpm-workspace.yaml as a temporary tool, then tests whether it is still needed. It requires a dry run before writing the lockfile, forbids hand edits to pnpm-lock.yaml, and asks before adding minimumReleaseAgeExclude entries. It is meant for interactive dependency bumps inside Langfuse.
Written from the project's SKILL.md and checked against it.
What it can do
- Release-age checkRuns a helper script that compares the target version with the latest version under the minimumReleaseAge window.
- Transitive provenanceUses pnpm why to find which direct dependency brings in a transitive package.
- Parent manifest probeInspects the parent package's dependency ranges on the registry before choosing what to upgrade.
- Temporary overridesAdds a scoped overrides entry in pnpm-workspace.yaml when pnpm will not move an allowed version, then checks if it is still needed.
- Preflight dry runRuns pnpm install with --dry-run and --ignore-scripts to catch resolver and policy failures before writing changes.
- Scoped bump commandsGuides bumps in the root workspace, in one filtered workspace, or across all workspaces with pnpm up.
- Final graph verificationFinishes with pnpm why to confirm only the intended version remains in the workspace.
- Commit commandProvides a copy-pasteable git switch and commit command using the resolved package name and version.
What you need
- pnpm
- Node.js
- git
Try asking
- Upgrade the zod package to its latest version in this workspace
- Bump the transitive package minimatch to 9.0.5 and check why it is pulled in
- Check the release-age window before upgrading @langfuse/core to 4.0.0
Good to know
- Asks before adding minimumReleaseAgeExclude entries for the target or its companions.
- Does not manually edit pnpm-lock.yaml; lockfile changes come only from pnpm commands.
- Stops and treats the change as a major migration when a fixed version falls outside the parent's declared major.
- Written for the Langfuse repository and its workspace layout.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/pnpm-upgrade-package/SKILL.md, .agents/skills/pnpm-upgrade-package/scripts/check-release-age-window.mjs, .agents/skills/pnpm-upgrade-package/scripts/lib/workspace-utils.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
agents/openai.yaml267 B -
scripts/check-release-age-window.mjs12 KB -
scripts/lib/workspace-utils.mjs6 KB
Alternatives to pnpm-upgrade-package
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pnpm-upgrade-package: common questions
Does this skill edit the pnpm lockfile by hand?
No. The skill says to never manually edit pnpm-lock.yaml and to regenerate lockfile changes with pnpm commands only.
What happens if a transitive package is pinned to a vulnerable version?
The skill first checks whether the latest parent version allows a non-vulnerable version. If not, it may add a scoped overrides entry as a workaround and says so in the final response.
Does the skill upgrade to the latest version by default?
No. It resolves the registry latest version but does not upgrade to latest unless the user asks for it.
How do I install pnpm-upgrade-package?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pnpm-upgrade-package free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is pnpm-upgrade-package safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pnpm-upgrade-package?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
