Skip to content
Back to skills

Upgrade

ASecurity

Check what changed in an npm package since your training data before using or upgrading it. Use when writing code against a package version newer than you know, when upgrading a dependency, or when TypeScript reports a missing export, an unknown option or a wrong argument count for a library API.

  • 96 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentstypescriptapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add Umair/stalemap --skill upgrade --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Upgrade?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Upgrade
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/umair-upgrade/badge)](https://www.skillsdirectory.com/skills/umair-upgrade)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Check what changed in an npm package since your training data before using or upgrading it. Use when writing code against a package version newer than you know, when upgrading a dependency, or when TypeScript reports a missing export, an unknown option or a wrong argument count for a library API.
---

Your knowledge of a library's API stops at your training cutoff. Before you write or fix code that uses a package that may be newer than that:

1. Call the `search_changes` tool from the stalemap MCP server with what you are about to do, in your own words (old API names are fine), and `package` if you know which one. It searches the installed versions' type changes, release notes and upgrade guides.
2. For a whole package's changes, call `package_changes` with `name`, the pinned `version` (from `package.json` or the lockfile) and, in `apis`, the exports you are about to use.
3. Follow what they say over your memory: they come from the package's published type declarations, changelog and upgrade guides for the installed version.

When upgrading a dependency, call `package_changes` with the target version first, then update call sites for every removed, renamed or changed API it lists. Run the type checker afterwards.

If the tool isn't available, run `npx -y stalemap@0.4.1 scan` in the project root and read the block it prints.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.