Upgrade Radar — Development skill for Claude Code
upgrade-radar: shows which lines of your code break when you bump a Python dependency.
How to install Upgrade Radar
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open japan-ai-tools/upgrade-radar and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Upgrade Radar does
upgrade-radar: shows which lines of your code break when you bump a Python dependency. Diffs two versions' public API with ast (nothing imported or run) and reports only call sites that really break. Agent Skill + CLI, Python stdlib only.
Alternatives in Development
- Agent Skill — A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstr 851 ★
- Migrate Component — Migrate a docs component from rST/Snooty AST to MDX 775 ★
- Bump Plugin Version — Detect changed plugins and bump their versions along with the marketplace version 684 ★
README
upgrade-radar
**Which lines of your code break when you bump a Python dependency.**
$ python3 scripts/upgrade_radar.py check demo-1.0-py3-none-any.whl demo-2.0.tar.gz --repo .
removed demo.legacy (module): removed
signature demo.client.connect (function) [also demo.connect]: positional parameter 2 was 'timeout', now 'verify'; positional parameter 3 was 'verify', now 'timeout'
signature demo.client.Client (class) [also demo.Client]: 'timeout' became keyword-only; new required parameter 'token'
app.py:5:1 breaks demo.legacy: module removed
app.py:7:5 breaks demo.connect: positional argument 2 now binds to 'verify' (was 'timeout')
app.py:9:5 breaks demo.util.slugify: keyword 'sep' is not accepted any more
app.py:11:10 breaks demo.Client: passes 2 positional arguments, new version accepts 1; required argument 'token' is not passed
app.py:13:5 review demo.connect: called with *args/**kwargs; check by hand
(Lines from the real output for the test fixture in `tests/`, shortened. A test checks that every line above appears in the actual output.) `ok = connect("https://x", timeout=5)` on line 8 of the same file is not reported: it still binds correctly.
- Reads both versions with Python's
astmodule. Nothing from the package is imported or run. - Reports only the calls that actually break:
connect(url, timeout=5)is not flagged whentimeoutmerely moved;connect(url, 5)is, because5now lands in another parameter. - Python 3.9+ standard library only. No dependencies. Network only for the
pypi:form. - Works as an Agent Skill (
SKILL.md) for Claude Code, Codex, Gemini CLI and Cursor, or as a plain CLI.
Install
As a skill (Claude Code):
git clone https://github.com/japan-ai-tools/upgrade-radar ~/.claude/skills/upgrade-radar
Other agents: clone anywhere and point the agent at `SKILL.md`, or just run the script.
Use
# API differences only
python3 scripts/upgrade_radar.py diff pypi:NAME==O
Related Skills
Version Bump
Bump versions across the monorepo during release process
Update Version
Bump semver versions for changed plugins and marketplace based on main diff
Odoo Plugins
Comprehensive Odoo ERP upgrade skill for Claude Code - Automates migrations between Odoo versions 14-19 with p
Deps Upgrade
Get upgrade recommendations for current dependencies with versions
TYPO3 Extension Upgrade Skill
Systematic extension upgrades to newer LTS versions
TYPO3 Project Upgrade Skill
TYPO3 project instance upgrades across major LTS versions
Related Agents
Hatch3r Dependency Drafter
Dependency-analysis specialist who drafts version-bump and dependency-change proposals — assesses upgrade impa
Ff Persistence
Flapforge persistence engineer: the save schema, migrations, atomic writes and profile reconciliation — anythi
Dependency Upgrader
Dependency upgrade and remediation specialist. Use proactively when a user needs to update dependencies, bump