adversarial-reviewer
Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure…
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.
$ npx -y skills add emdash-cms/emdash --skill wordpress-theme-to-emdash --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/wordpress-theme-to-emdashContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: wordpress-theme-to-emdash description: 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.
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](../building-emdash-site/SKILL.md) 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.
Use the best available sources in this order:
1. theme source and `theme.json`, stylesheets, templates, and `functions.php`; 2. a live demo at representative desktop and mobile viewports; 3. screenshots or design files supplied by the user; 4. 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.
Inventory only the page types, components, responsive states, and interactions needed for the requested site. Map WordPress responsibilities before implementing:
Read [WordPress theme concept mapping](references/concept-mapping.md) 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.
Read a phase file only when that phase applies:
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.
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.
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.
A full-stack TypeScript CMS built on Astro. EmDash takes the ideas that made WordPress dominant -- extensibility, admin UX, a plugin ecosystem -- and rebuilds them on serverless, type-safe foundations.
Repo: emdash-cms/emdash
Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure…
Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state,…
Build the site-facing parts of an EmDash CMS project on Astro, including schema and seeds,…
Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP…
Use the EmDash CLI to inspect and manage an EmDash instance from the command line, including…
Upgrade an existing EmDash project with upgrade-emdash, interpret .emdash/UPGRADE.md, apply…