Port WordPress themes to EmDash CMS. Use when asked to convert, migrate, or port a WordPress theme to EmDash, or when creating an EmDash site that should match an existing WordPress site's design. Handles design extraction, template conversion, and EmDash-specific features like menus, taxonomies, and widgets.
Port WordPress themes to EmDash in six phases. Read the phase file before starting each phase.
scaffold/ from this skillgetSiteSettings() for title/tagline, getMenu() for navigationgetStaticPaths() for EmDash contentClientRouter not ViewTransitions, Zod 4 syntax, Node 22+| Phase | File | Summary |
|---|---|---|
| 1 |
phases/1-discovery.md |
| Download theme, screenshot demo, capture images |
| 2 | phases/2-design.md | Extract CSS variables, fonts, colors |
| 3 | phases/3-templates.md | Convert PHP templates to Astro |
| 4 | phases/4-dynamic.md | Site settings, menus, taxonomies, widgets |
| 5 | phases/5-seed.md | Create seed file with demo content |
| 6 | phases/6-verify.md | Screenshot, compare, iterate, build |
scaffold/ to new theme directory. Unless otherwise specified by the user, make this a subdirectory of themes/ and name it after the WordPress theme (e.g., themes/twentytwentyfour/).package.jsonpnpm builddiscovery/ folder created with screenshots/, images/, notes.mdglobal.cssemdash seed --validatepnpm buildreferences/astro-essentials.md - Astro 6 patternsreferences/template-patterns.md - PHP → Astro conversionreferences/concept-mapping.md - WP → EmDash conceptsreferences/emdash-api.md - Full API referencereferences/design-extraction.md - CSS extraction techniques