wordpress-theme-to-emdash
What it does
This skill recreates the look and page layouts of a WordPress theme as a modern website built on Astro and EmDash. It is for designers and developers moving a WordPress site to EmDash while keeping its appearance.
When to use it
- ✓When you want to move a WordPress theme's design to an EmDash site.
- ✓When you have a live demo or screenshots that the new site should match.
- ✓When a theme's page templates need converting into Astro layouts.
Skill link
https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-theme-to-emdash/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you rebuild my WordPress theme's look as an EmDash site, matching the demo on desktop and mobile?”
5 new skills a week. 1 minute to read.
How it works
The agent reviews the theme's files, demo pages or screenshots, and maps its templates to Astro layouts and components. It compares the result with the reference in a browser at desktop and mobile sizes.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Port a WordPress theme to EmDash
Recreate the theme's relevant layouts and interactions as an Astro site backed by EmDash. Preserve the user's requested visual fidelity and feature scope; do not assume every WordPress template or demo feature belongs in the port.
Load building-emdash-site for current EmDash schema, query, rendering, caching, and seed patterns. When a live reference site is available, use the agent-browser CLI for rendered comparison; run agent-browser skills get core --full for its command reference.
Choose the evidence
Use the best available sources in this order:
- theme source and
theme.json, stylesheets, templates, andfunctions.php; - a live demo at representative desktop and mobile viewports;
- screenshots or design files supplied by the user;
- explicit design decisions where the source is ambiguous.
Do not infer that demo content or images share the theme code's license. Reuse an asset only when its license or the user's rights permit it; otherwise use a clearly licensed substitute with similar dimensions and visual weight.
Plan the port
Inventory only the page types, components, responsive states, and interactions needed for the requested site. Map WordPress responsibilities before implementing:
- PHP templates become Astro routes, layouts, and components.
- Custom post types, metadata, and taxonomies become EmDash collections, fields, and taxonomies.
- Theme Customizer values become site settings or explicit project configuration.
- Menu locations become named EmDash menus queried by templates.
- Sidebars and widgets become widget areas or ordinary Astro components.
- Shortcodes and plugin-owned behavior may require a separate plugin migration.
Read WordPress theme concept mapping when translating template hierarchy, functions.php registrations, template tags, hooks, widgets, or reusable blocks.
Dynamic EmDash content routes must remain server-rendered. Use the EmDash Image component for EmDash media fields; ordinary theme assets can use Astro's asset handling.
Work in scoped phases
Read a phase file only when that phase applies:
- Discovery and reference capture
- Design extraction
- Template conversion
- Dynamic EmDash features
- Schema and seed data
- Rendered verification
When creating a standalone theme project, start from the repository's current site template or the user's existing project. Confirm the destination before writing and do not replace an existing site structure without explicit direction.
Verify the result
Build the site and exercise each in-scope page and interaction. Compare matched viewports against the reference, including responsive navigation, content with long and missing values, RTL when admin or theme behavior depends on direction, and relevant empty or error states.
Capture before-and-after or reference-and-result screenshots when visual fidelity is part of acceptance. Report deliberate deviations, missing source evidence, unsupported WordPress behavior, and asset substitutions.
Licensing and attribution
Inspect the source theme's actual license and notices. Preserve required copyright and attribution, include the applicable license text for reused code, and identify third-party assets separately. Do not label a port GPL-2.0-or-later merely because the source is a WordPress theme.
FAQ
Will demo images be copied too?
Only if their license allows it. Otherwise a clearly licensed substitute with similar size is used.
Does it copy every demo feature?
No. It includes only the pages and interactions the user asks for.
Does it handle WordPress plugin features?
No. Plugin behavior is covered by a separate migration approach.
Details
Original description by the author
Port a WordPress theme's design and template behavior to an EmDash-powered Astro site. Use for theme migrations, design matching, PHP-template conversion, and CMS wiring. Do not use for WordPress plugin behavior that does not affect the site theme.
repo: emdash-cms/emdash
Popularity
- GitHub stars
- 14k
- Ranking position
- #11251
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
adversarial-reviewer
14kHelps your agent hunt for hidden bugs and unsafe assumptions in a code change, going beyond an ordinary review when you ask for it.
agent-browser
14kLets your agent test a web page in a real browser, check what users see, verify actions and capture screenshots as evidence.
building-emdash-site
14kHelps your agent build the site side of an EmDash CMS project on Astro, covering content, schema, menus, taxonomies and deployment.
creating-plugins
14kHelps your agent build a plugin for the EmDash CMS, with safe hooks, routes, storage and an admin interface.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.