HOW-TO GUIDE

How to pick the next safe step when modernizing a legacy app such as an ERP

Based on a guide by Sam Quakenbush on the GitHub Blog · Nov 25, 2026

You'll end with: An evidence inventory, a choice per component to keep, upgrade, swap, wrap, or rewrite, and one approved experiment for a legacy app.

Why it's worth having: On PiggyMetrics, one broken test dependency, not the architecture, failed nine tests, so the plan fixed the tests before touching the stack.

At a glance

WHO IT'S FOR
IT leads, software engineers, and architects who own legacy business apps such as ERP systems.
LEVEL
Advanced
COST
Free to read. The doc-and-modernize skill is public; running it needs GitHub Copilot.
YOU NEED
One legacy app and its repo · Build and test commands you have run · GitHub Copilot for the agent skill

The method, in short

  1. 1List manifests, build and test commands, runtime pins, contracts, and end-of-life parts, each marked documented, inferred, or unverified.
  2. 2Decide per component in order: keep, upgrade, swap, wrap, rewrite, and move down the list only when the evidence calls for it.
  3. 3Run a time-boxed feasibility check, then capture behavior and upgrade if the old code runs, or build a small modern slice if not.
  4. 4Name the safety level from L0 to L4, and package the steps as a Copilot agent skill with a SKILL.md under .github/skills.

The post walks through PiggyMetrics, BrowserQuest, DOOM, and ADempiere ERP, with the skill layout.