migrate-ycode
Installation
SKILL.md
Ycode → Next.js
Ycode publishes Next.js + Tailwind v4. That makes it the easiest platform to migrate faithfully: the HTML already
carries the exact classes, so conversion is literally copying classes into JSX. Follow the migrate skill for the
method; this file holds what is specific to Ycode. Proven on a 107-route bilingual site (424 measurements at 0
divergent properties).
Markers and config
#ybody (root, display: contents), data-layer-id on every layer, <style id="ycode-styles">, assets under
/a/<id>/<name>?width=&quality=, fonts often as OTF on *.supabase.co, payload in self.__next_f.push.
Config: "platform": "ycode" (preset: rootSelector #ybody, idAttribute data-layer-id).