home / skills / jeremylongshore / claude-code-plugins-plus-skills / supabase-upgrade-migration
/plugins/saas-packs/supabase-pack/skills/supabase-upgrade-migration
This skill analyzes and migrates Supabase SDK upgrades, detects breaking changes, runs tests, and documents rollback steps to ensure safe upgrades.
npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill supabase-upgrade-migrationReview the files below or copy the command above to add this skill to your agents.
---
name: supabase-upgrade-migration
description: |
Execute analyze, plan, and execute Supabase SDK upgrades with breaking change detection.
Use when upgrading Supabase SDK versions, detecting deprecations,
or migrating to new API versions.
Trigger with phrases like "upgrade supabase", "supabase migration",
"supabase breaking changes", "update supabase SDK", "analyze supabase version".
allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(git:*)
version: 1.0.0
license: MIT
author: Jeremy Longshore <[email protected]>
---
# Supabase Upgrade Migration
## Prerequisites
- Current Supabase SDK installed
- Git for version control
- Test suite available
- Staging environment
See `{baseDir}/references/implementation.md` for detailed implementation guide.
## Output
- Updated SDK version
- Fixed breaking changes
- Passing test suite
- Documented rollback procedure
## Error Handling
See `{baseDir}/references/errors.md` for comprehensive error handling.
## Examples
See `{baseDir}/references/examples.md` for detailed examples.
## Resources
- [Supabase Changelog](https://github.com/supabase/sdk/releases)
- [Supabase Migration Guide](https://supabase.com/docs/migration)
This skill automates analysis, planning, and execution of Supabase SDK upgrades while detecting breaking changes and deprecations. It guides upgrades from initial assessment through tests and a safe rollout, producing an upgraded SDK, applied fixes, and rollback documentation. Use it to reduce manual effort and risk when moving between Supabase SDK versions.
The skill inspects the current project for Supabase SDK usage, dependency constraints, and call sites. It runs a compatibility analysis against the target SDK changelog to identify breaking changes and deprecated APIs, then generates a concrete migration plan with code modifications and test updates. Finally, it applies changes in a feature branch, runs the test suite in staging, and produces a rollback procedure if failures occur.
What prerequisites are required to run this skill?
You need the current Supabase SDK installed in the project, Git access, a reliable test suite, and a staging environment.
Does it automatically push changes to production?
No. It creates a feature branch, applies changes, and runs tests in staging. Production deployment should follow your standard release process.