lovable-to-nextjs
Installation
SKILL.md
Lovable to Next.js 16 Migration Engine
Migrate a Lovable project to Next.js 16 App Router in the same Git repo. Move a file, normalize a file — no second pass.
Core Principle
Migration = Transport + Normalization. Not "migrate first, clean later" — that doubles the cost. Every file you move is a refactoring window. Move it, clean it, move on.
Two responsibilities, equally important:
| Responsibility | Description |
|---|---|
| Transport | Page content, copy, interactions, visuals stay 1:1. What the user sees does not change. |
| Normalization | Hardcoded values → tokens, large files → split components, missing types → added, flat directories → organized. Visual output unchanged, code quality upgraded. |
Next.js 16 Key Differences from 15
Next.js 16 ships with React 19 as default. Critical migration implications: