supabase-upgrade-migration
Skill by jeremylongshore
Upgrades Supabase SDK and CLI versions with breaking-change detection and code migration. It is for developers moving @supabase/supabase-js from v1 to v2, or updating the Supabase CLI or Python SDK.
Install supabase-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/supabase-upgrade-migration ~/.claude/skills/supabase-upgrade-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install supabase-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/supabase-upgrade-migration ~/.gemini/antigravity-cli/skills/supabase-upgrade-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-upgrade-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an assistant through upgrading @supabase/supabase-js, the Supabase CLI, and the Python supabase package. It starts by checking installed versions and finding every Supabase import in the codebase. It then lists v1 to v2 breaking changes, such as auth method renames, the realtime channel API, and the extra destructuring level in onAuthStateChange.
The skill runs the upgrade on a new git branch, applies auth and error-handling code migrations, and regenerates TypeScript types. It ends with type checking, tests, a manual smoke test list, and a rollback plan that pins the previous version or reverts the branch. It is aimed at developers maintaining Supabase projects, including Next.js apps using @supabase/ssr.
Written from the project's SKILL.md and checked against it.
What it can do
- Version auditChecks installed JS, CLI and Python Supabase package versions and finds Supabase import sites.
- Breaking-change tableMaps v1 auth, data and realtime patterns to their v2 replacements.
- Auth code migrationRewrites session, user and signIn calls to getSession, getUser and signInWithPassword, OAuth or OTP methods.
- Realtime migrationConverts .on() table subscriptions to the channel-based postgres_changes API.
- Type regenerationRegenerates TypeScript database types from the linked Supabase project.
- Verification and rollbackRuns type checks and tests, lists smoke tests, and documents version pinning or branch revert.
What you need
- Node.js 22+ for current JS SDK releases
- Python 3.9+ for the Python SDK
- Git with a clean working tree
- A test suite for post-upgrade verification
Try asking
- Upgrade @supabase/supabase-js to v2 and migrate my auth calls
- Find all v1 realtime .on() subscriptions in src and convert them
- Show the breaking changes for my Supabase SDK upgrade
Good to know
- Requires a clean git working tree before starting.
- Type checking does not prove the migration is complete.
- Version diagnostic commands are only run when requested, not on load.
- ESM and CommonJS errors need manual inspection of the installed setup.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/supabase-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(pip:*)Bash(supabase:*)
Alternatives to supabase-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
supabase-upgrade-migration: common questions
Does this skill cover upgrading from Supabase v1 to v2?
Yes. The source covers the v1 to v2 migration path, including auth method renames, data and error destructuring, and the realtime API overhaul.
Can it upgrade the Supabase CLI and Python SDK too?
The source says it covers CLI updates via npm and Python SDK upgrades with pip install --upgrade supabase.
How do I roll back if the upgrade breaks my app?
The skill suggests pinning the previous package version with npm or pip, or stashing changes and reverting the upgrade branch.
How do I install supabase-upgrade-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-upgrade-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-upgrade-migration safe to use?
It scores 76 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 supabase-upgrade-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
