/fullstack-skills:migration-upgradefrom fullstack-skills
Use this skill when upgrading framework versions, updating dependencies, migrating tech stacks, handling breaking changes, performing data migrations, or planning version transitions. Triggers on requests about upgrading, updating packages, handling deprecations, breaking changes, migration planning, or switching technologies.
Ships in fullstack-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when upgrading framework versions, updating dependencies, migrating tech stacks, handling breaking changes, performing data migrations, or planning version transitions.
../../../RULES.md when available and apply it as the behavior, safety, validation, and communication baseline.Before touching anything:
Current state audit
npm ls, composer show).Target state research
Risk assessment
| Risk Factor | Low | Medium | High |
|---|---|---|---|
| Version gap | 1 minor | 1 major | 2+ major |
| Breaking changes | 0-2 | 3-10 | 10+ |
| Test coverage | > 80% | 40-80% | < 40% |
| Custom patches | None | Few | Many |
| Dependency conflicts | None | Some | Many |
| Data migration | None | Simple | Complex |
Create a migration plan:
## Upgrade Plan: [Library] v[current] → v[target]
### Prerequisites
- [ ] Backup database
- [ ] Tag current release
- [ ] All tests passing on current version
- [ ] CI/CD pipeline verified
### Steps
1. [ ] Update config/settings for new version
2. [ ] Update dependency version
3. [ ] Fix breaking changes (list each one)
4. [ ] Replace deprecated features
5. [ ] Update related dependencies
6. [ ] Run tests — fix failures
7. [ ] Run static analysis — fix issues
8. [ ] Test in staging
9. [ ] Deploy to production
10. [ ] Monitor for issues
### Rollback Plan
Steps to revert if upgrade fails.
### Timeline
Estimated time for each phase.
package-lock.json, composer.lock).1. Framework core FIRST (Laravel, Next.js, Svelte)
2. Framework official plugins/packages
3. Third-party dependencies (check compatibility)
4. Dev dependencies (testing, linting, building)
5. Custom code changes for breaking APIs
6. Configuration file updates
7. Database migrations (if required)
Post-upgrade checklist:
Per-framework upgrade checklists and common breaking-change areas (Laravel, Next.js,
SvelteKit, Node.js) are in references/framework-upgrade-guides.md — load it when
upgrading one of those stacks. They are version-agnostic: per ../../../RULES.md §10,
always read the framework's official upgrade guide for the actual source and target
versions before acting. The framework-agnostic upgrade process above is the source of
truth.
| Frequency | What | How |
|---|---|---|
| Weekly | Security patches | npm audit fix / composer audit |
| Monthly | Minor versions | Update, test, deploy |
| Quarterly | Major versions | Plan, assess breaking changes, upgrade |
| Yearly | Framework major | Dedicated upgrade sprint |
1. Identify the conflict (which packages need incompatible versions)
2. Check if newer versions of conflicting packages resolve it
3. Check for alternative packages if one is unmaintained
4. As last resort, use resolution overrides (package.json resolutions)
5. Document any forced resolutions with reason and review date
| Signal | Risk | Action |
|---|---|---|
| Last publish > 2 years | High | Find alternative |
| Open security advisory | Critical | Update immediately |
| Deprecated package | High | Plan migration |
| < 100 weekly downloads | Medium | Evaluate alternatives |
| No TypeScript types | Low | Add @types or consider alternative |
| Many open issues | Medium | Check if actively triaged |
When an upgrade forces schema or data changes (ORM/framework changes, column type
changes, data reshaping), the migration-safety matrix, the higher-risk data-migration
table (change format / merge-split / move database), and the universal rules are the
pack-wide canonical source: ../database-performance/references/migration-safety.md —
use it, do not restate it here.
Upgrade-context additions on top of that:
../../../RULES.md §10).Phase 1: New system handles new features
Phase 2: Gradually migrate existing features
Phase 3: Old system handles only legacy features
Phase 4: Complete migration, decommission old system
| Type | Strategy |
|---|---|
| Removed method/class | Find replacement in migration guide |
| Changed method signature | Update all call sites |
| Changed default behavior | Explicitly set the old default or adapt |
| Removed config option | Find replacement config |
| Changed data format | Write transformer/adapter |
| New required dependency | Install and configure |
## Breaking Change: [Description]
**What changed**: Brief description of the change.
**Why it changed**: Reason for the breaking change.
**What to do**: Step-by-step migration instructions.
**Timeline**: When this change takes effect.
**Impact**: Who/what is affected.
**Rollback**: How to revert if needed.
# Migration Report
## Current State
Current versions, test status, known issues.
## Target State
Target versions, expected improvements.
## Breaking Changes Identified
For each:
- Change description
- Impact on our codebase
- Required code changes
- Effort estimate
## Migration Plan
Numbered steps with checkpoints.
## Risk Assessment
| Risk | Likelihood | Impact | Mitigation |
## Rollback Plan
Steps to revert if migration fails.
## Verification
- [ ] All tests pass
- [ ] Build succeeds
- [ ] Critical flows verified
- [ ] Performance acceptable
- [ ] No new deprecation warnings
## Post-Migration Tasks
Cleanup, documentation updates, monitoring.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (korwlik23/ai-skills) — no native marketplace selected
npx claudepluginhub p/korwlik23-fullstack-skills81 skills in this plugin
/ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./ad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see ads. For landing page copy, see copywriting./adsWhen the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,' 'LinkedIn ads,' 'ad budget,' 'cost per click,' 'ad spend,' or 'should I run ads.' Use this for campaign strategy, audience targeting, bidding, and optimization. For bulk ad creative generation and iteration, see ad-creative. For landing page optimization, see cro./ai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' 'optimize for Claude/Gemini,' 'llms.txt,' 'OKF,' 'Open Knowledge Format,' 'knowledge bundle,' or 'agent-readable site.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema./analyticsWhen the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For A/B test measurement, see ab-testing./asoWhen the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.