/fde-migration:dependency-upgradefrom fde-migration
Guides systematic dependency upgrades driven by EOL, major-version jumps, or security bumps. Builds a compatibility matrix, cuts over incrementally, and distinguishes real breakage from warnings.
Ships in fde-migration. 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.
None: SKILL.md is the whole skill.
Work where you don't get to choose the scope or the date.
EOL-driven work — a runtime going out of support, a framework major version, a database version, an expiring vendor contract — is an enormous share of enterprise IT and it behaves unlike feature work in three ways:
Planned like a feature, it goes wrong predictably: an estimate based on the direct change, then weeks of cascading incompatibilities nobody sized. The work isn't the upgrade. It's the fallout.
The compensating advantage: it's unusually amenable to systematic treatment. The compatibility matrix is knowable up front, and most of the pain comes from not building one.
refactor-seams or a migrationResolve <workspace> before reading or writing artifacts: use FDE_WORKSPACE if set (report an unavailable explicit path rather than falling back), otherwise the charter's recorded Location (look in .fde/ and ../*-fde/), then an existing .fde/ or ../<repo>-fde/. If none exists, run core fde-orient; do not create a second workspace. All artifact paths below use that location. Follow core workspace conventions for headers; preserve existing sections when appending.
<workspace>/02-system-map.md<workspace>/01-environment.md — you need a working build before changing what it builds withcharacterization-tests where coverage is thin. An upgrade with no tests is a rewrite you can't verify."End of life" means different things and the difference matters enormously to how much leverage you have:
Also find out whether extended support can be bought. It frequently can, it frequently isn't considered, and it converts an impossible deadline into a budget conversation. That's worth raising even if the answer is no — see escalation-and-renegotiation.
The step that determines whether this goes well.
List every dependency, its current version, the version required for the target, and whether that version exists. You are looking specifically for blockers: dependencies with no compatible version, abandoned libraries, and internal shared libraries owned by another team.
# Use the tree command for the stack you detected (see fde-core stack-detection
# if that pack is installed). Do not run every ecosystem's tool.
If you cannot find the tree command, record the direct dependencies from the manifest and tag transitives [unverified].
Three findings matter most:
The matrix is the single most useful artifact this skill produces, and it turns an unbounded upgrade into a bounded list.
Rarely a single jump. Sequence matters:
That last point catches people out constantly. An upgrade where the tests won't run has removed the only mechanism for verifying it.
Two very different kinds of change, and they should be different commits:
Semantic changes are where upgrades break in production. Read the release notes and the migration guide specifically for behavior changes, not just for API changes. A method that kept its signature and changed what it does is the worst case, and it will pass compilation.
Upgrades generate enormous noise: deprecation warnings, new lint failures, changed log formats, stricter compiler checks. Most of it doesn't matter now.
Triage explicitly:
The discipline is scope control. An EOL upgrade that also fixes four hundred deprecation warnings is unreviewable, and the review is where a semantic break would have been caught.
A big-bang upgrade of every module at once maximizes blast radius. Where the codebase permits, upgrade module by module, shipping each.
Where it doesn't — a runtime version usually applies to everything at once — you can still stage the rollout: one instance, then a percentage, then all, watching for the semantic differences that tests didn't catch. See deploy-runbook.
An upgrade that compiles and passes tests can still be wrong, because the tests were written against the old behavior and may assert things that are no longer correct.
Highest-value checks: run the characterization tests, compare outputs before and after on real inputs, and watch the semantic-change list from step 4 specifically. A parallel run — see refactor-seams — is unusually valuable here, because the two implementations are supposed to be identical, so any divergence is a finding.
Write to <workspace>/05c-upgrade-matrix.md:
# Upgrade — <from> → <to>
**Engagement:** <name> · **Date:** <YYYY-MM-DD>
**Deadline:** <date> · **What happens after:** no further security patches — hard for PCI scope
**Extended support available:** yes, ~<cost> — raised with <name> on <date>
**Author:** FDE
**Status:** draft
**Source revision:** <repo>@<short SHA>, or "no repository yet"
**Confidence:** <what is confirmed, inferred, or unverified>
## Compatibility matrix
| Dependency | Current | Needed | Available? | Status |
|---|---|---|---|---|
| framework-core | 2.7 | 3.2 | yes | direct upgrade |
| internal-auth-lib | 1.4 | 2.0 | **not yet** | **blocked — Team Platform, ETA <date>** |
| legacy-xml-parser | 1.1 | — | **abandoned 2019** | **replacement needed — size separately** |
| test-framework | 4.x | 5.x | yes | **do first — else upgrading blind** |
## Blockers
| # | Blocker | Impact | Plan | Owner |
|---|---|---|---|---|
| 1 | `legacy-xml-parser` abandoned | Used in 6 places | Replace with <x> — separate work item | FDE |
| 2 | `internal-auth-lib` not ready | Hard blocker | Team Platform; chase weekly | FDE |
## Order
1. Test framework 4 → 5 *(so we can verify anything)*
2. Replace `legacy-xml-parser`
3. Wait on `internal-auth-lib`
4. framework-core 2.7 → 3.0 → 3.2 *(intermediate has migration tooling)*
5. Module-by-module cutover
## Semantic changes to verify
| Change | Where it bites | Verified |
|---|---|---|
| Default date parsing now strict | 4 endpoints accept loose ISO | ⏳ |
| Map iteration order no longer insertion-ordered | Report generation | ⏳ |
## Deferred
<Deprecation warnings recorded, not fixed. Next upgrade's work.>
Planning it like feature work. Fixed scope, external deadline, transitive risk. Different shape.
Estimating the direct change. The work is the fallout, and the matrix is how you size it.
Not building the matrix. Turns a bounded list into an unbounded series of surprises.
Upgrading before the test framework. You've removed the only way to verify anything.
Missing abandoned dependencies. Each is a replacement project hiding inside the upgrade.
Fixing every deprecation warning. Makes the change unreviewable, which is where a semantic break would have been caught.
Confusing "test asserted old behavior" with "behavior is now wrong." Identical symptoms, opposite meanings.
Trusting compilation. Semantic changes keep the signature and change the meaning.
Not asking about extended support. Frequently available, rarely considered, converts a deadline into a budget question.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rpraharaj/forward-deployed-engineer --plugin fde-migration4 skills in this plugin
/cutover-planPlan the moment two systems swap - data migration and backfill, dual-run and reconciliation, the consistency window, traffic shifting, the point of no return, and what abort means at each stage. Use for any migration or replatform where data moves and both systems briefly coexist, when a legacy system is being replaced, or when a go-live has a defined switchover moment. The hardest artifact in the portfolio, because unlike a deploy the thing being changed is state, and state does not roll back cleanly./decommission-planTurn a system off safely - proving there are no remaining consumers, which is much harder than it sounds, then data retention and archival obligations, a staged darkening sequence, and how long to keep the ability to reverse. Use when a system is being retired, after a migration leaves the old system idle, when someone asks whether something can be switched off, or when a service appears unused. Consumer discovery is the whole job; the switching off is trivial by comparison./refactor-seamsChange code that must change but is not safely changeable - find the seams that let you alter behavior without rewriting, using branch-by-abstraction, strangler fig, and adapter insertion, always leaving the system releasable at every step. Use when extracting from a monolith, when a component must be replaced incrementally, when a refactor is too large to do in one change, or when someone proposes a rewrite. Every step ships independently, because a long-lived refactor branch is how refactors die.Other plugins' skills for the same job