Recipe
A unit of code transformation — the building block of Migration Engineering.
What is it?
A Recipe is a self-contained, composable instruction for transforming source code. Recipes can be declarative (YAML configuration combining existing recipes), imperative (Java code operating on the LST), or Refaster-based (template-driven pattern matching). They are versioned, tested, and distributed like any other software artifact.
Why does it matter?
Recipes are the checklists of Migration Engineering. Instead of documenting migration steps in a wiki and hoping developers follow them, you encode the steps as executable, testable recipes. One recipe can run across 500 repositories with identical results. That’s what makes migration scalable.
Go deeper
More in the Manual
Want to go deeper on this topic?
I cover these concepts in my talks and workshops — from 30-minute keynotes to half-day hands-on sessions.
Book a Session