apify-upgrade-migration
Skill by jeremylongshore
Guides safe upgrades of the apify, apify-client, and crawlee npm packages, including the Apify SDK v2 to v3 migration. Aimed at developers who maintain Apify scraping projects and need to handle breaking changes.
Install apify-upgrade-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/apify-upgrade-migration ~/.claude/skills/apify-upgrade-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install apify-upgrade-migration in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/apify-upgrade-migration ~/.gemini/antigravity-cli/skills/apify-upgrade-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install apify-upgrade-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides upgrades of the apify, apify-client, and crawlee npm packages. It covers routine version bumps and the larger Apify SDK v2 to v3 migration, which moved crawling functionality into the crawlee package. The steps check installed and latest versions, create a git branch, install new versions, and list code changes such as renaming handlePageFunction to requestHandler.
After the changes, the skill runs the test suite and a build, then a verification script that checks imports, the API connection, and crawler instantiation. If a check fails, it points to a rollback procedure that restores the previous versions. It is written for developers using Claude Code who maintain projects built on these Apify packages.
Written from the project's SKILL.md and checked against it.
What it can do
- Check versionsLists installed, latest, and outdated apify, apify-client, and crawlee packages.
- Create upgrade branchCreates a dedicated git branch so a bad upgrade can be reverted cleanly.
- Upgrade packagesInstalls the latest or a specific version of the Apify and Crawlee packages.
- Apply v2 to v3 changesGuides renaming Apify.* call sites and crawler options such as handlePageFunction.
- Verify upgradeRuns a verification script that checks imports, the API connection, and crawler setup.
- Roll backFollows a procedure to restore previous package versions when a check fails.
What you need
- Node.js and npm
- Git
- A test suite (npm test) and build step (npm run build)
- APIFY_TOKEN environment variable for the API connection check
Try asking
- Upgrade my apify and crawlee packages safely on a new git branch
- Migrate my Apify SDK v2 crawler code to v3 with crawlee
- Run the post-upgrade verification checks for my Apify project
Good to know
- The API connection check needs APIFY_TOKEN in the environment.
- The v2 to v3 rename steps apply only when crossing that major version boundary.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/apify-upgrade-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(npx:*)Bash(git:*)Grep
-
SKILL.md6 KB -
references/v2-to-v3-migration.md3 KB -
references/verify-and-rollback.md2 KB
Alternatives to apify-upgrade-migration
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
apify-upgrade-migration: common questions
What is the biggest change in the Apify v2 to v3 migration?
The source says v3 split crawling functionality into the crawlee package. The skill lists renames such as handlePageFunction becoming requestHandler.
Can I undo a failed Apify package upgrade?
Yes. The skill includes a rollback procedure in verify-and-rollback.md that restores the previous versions if a check fails.
What does the post-upgrade verification check?
It checks that imports resolve, the client connects, and a crawler instantiates. The API connection check requires APIFY_TOKEN.
How do I install apify-upgrade-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is apify-upgrade-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is apify-upgrade-migration safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to apify-upgrade-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
