migrate-content
Installation
SKILL.md
CMS content stage
Runs after the visual stage, when pages already render the content as fixed JSON mocks. The job: replace the mocks with real, editable content, keeping the same rendering (and therefore the same pixels).
1. Ask (once)
- Where will content live? Use the stack chosen at intake (
stackinmigrate.config.json, see themigrateskill'sreferences/stack.md): Payload + PostgreSQL by default; Sanity, Contentful, Strapi, MDX/JSON files in the repo, or WordPress headless; for another stack the normalizedcontent/*.jsonis the hand-off format and the importer is written for that stack. - Which collections are in scope (posts, case studies, team, jobs…), and which are out (shop orders, users, comments)?
- Locales and fallback rules.
- Where the source is: platform skill decides (Ycode
.ycodebackup, Webflow token or CSV, Framer CSV, WordPress folder /.sql/ REST). - Database for imports: a dev branch or dev database only. Never production. Confirm before any write.
2. Export to the normalized format
Copy the tools into the project if they aren't there yet (the visual stage already copied the core ones):