# migrate-code

> Claude/Codex skill by [@olostep](https://omgskills.com/library/olostep/index.md) · 1 stars · Updated 2026-03-25

Scrape a migration guide or changelog and automatically update the user's code to match the new version. Use when upgrading a framework, moving to a new API version, or replacing a deprecated library.

Tags: ai, ai-agents, claude-code, olostep, web-scraping, web-search

## Install

```sh
git clone https://github.com/olostep/olostep-claude-code-plugin /tmp/olostep-claude-code-plugin && ln -s /tmp/olostep-claude-code-plugin/skills/migrate-code ~/.claude/skills/migrate-code
```

## From README

Olostep Migrate Code Take the pain out of major version upgrades. Scrape the official migration guide, understand the breaking changes, and refactor the user's codebase automatically. When to use User provides a URL to a migration guide (e.g., React 18 to 19, Pages to App Router, API v2 to v3) User asks to update deprecated code to use the latest patterns User wants to audit a file for deprecated methods based on a new release User is replacing one library with another (e.g., Moment.js to date-fns) Instructions When the user provides a migration guide URL (via $ARGUMENTS or in conversation): Scrape the migration guide using mcpolostepscrapewebsite (use outputformat: markdown). If the guide spans multiple pages, use mcpolostepgetwebsiteurls or mcpolostepcreatemap to find the relevant pages, and mcpolostepbatchscrapeurls to read them all. Extract the "Before" and "After" patterns, breaking changes, and deprecated methods from the scraped content.

## Links

- HTML page: https://omgskills.com/library/olostep/olostep-claude-code-plugin/skills/migrate-code/
- GitHub: https://github.com/olostep/olostep-claude-code-plugin
- Author: [@olostep](https://omgskills.com/library/olostep/index.md)

## More from this repo

- [answers](https://omgskills.com/library/olostep/olostep-claude-code-plugin/skills/answers/index.md) — Get AI-powered answers with citations and sources from the web using Olostep
   - [@olostep](https://omgskills.com/library/olostep/index.md) · 1 stars
- [batch](https://omgskills.com/library/olostep/olostep-claude-code-plugin/skills/batch/index.md) — Scrape up to 10,000 URLs in a single batch operation using Olostep
   - [@olostep](https://omgskills.com/library/olostep/index.md) · 1 stars
- [crawl](https://omgskills.com/library/olostep/olostep-claude-code-plugin/skills/crawl/index.md) — Autonomously crawl an entire website starting from a URL, following links to discover and scrape pages
   - [@olostep](https://omgskills.com/library/olostep/index.md) · 1 stars
