wordpress-theme-to-emdash
Что он делает
Скилл воссоздаёт внешний вид и макеты страниц темы WordPress в виде современного сайта на Astro и EmDash. Он нужен дизайнерам и разработчикам, которые переносят сайт WordPress на EmDash и хотят сохранить его внешний вид.
Когда использовать
- ✓Когда вы хотите перенести дизайн темы WordPress на сайт EmDash.
- ✓Когда у вас есть живое демо или скриншоты, которым должен соответствовать новый сайт.
- ✓Когда шаблоны страниц темы нужно переделать в макеты Astro.
Ссылка на скилл
https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-theme-to-emdash/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Можешь воссоздать внешний вид моей темы WordPress как сайт на EmDash, чтобы он совпадал с демо на компьютере и телефоне?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент изучает файлы темы, демо-страницы или скриншоты и сопоставляет её шаблоны с макетами и компонентами Astro. Он сравнивает результат с эталоном в браузере при размерах для компьютера и телефона.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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.
Частые вопросы
Копируются ли и демо-изображения?
Только если это позволяет их лицензия. В противном случае используется заменитель с понятной лицензией и похожим размером.
Копирует ли он все функции демо?
Нет. Он включает только те страницы и взаимодействия, которые просит пользователь.
Обрабатывает ли он функции плагинов WordPress?
Нет. Поведение плагинов описывается отдельным подходом к миграции.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 14k
- Место в рейтинге
- #11251
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
adversarial-reviewer
14kПомогает агенту искать скрытые баги и небезопасные допущения в изменении кода, выходя за рамки обычного ревью, когда вы этого просите.
agent-browser
14kПозволяет агенту тестировать веб-страницу в настоящем браузере, проверять, что видит пользователь, подтверждать действия и делать скриншоты как доказательства.
building-emdash-site
14kПомогает агенту создать сайт-часть проекта EmDash CMS на Astro: контент, схему, меню, таксономии и развёртывание.
creating-plugins
14kПомогает агенту создать плагин для EmDash CMS с безопасными хуками, маршрутами, хранилищем и административным интерфейсом.
Похожие скиллы
angular-developer
280kПомогает агенту писать код на Angular и советовать по структуре проекта. Полезен для новых проектов, создания частей кода и улучшения производительности.
frontend-a11y
280kПомогает агенту делать веб-интерфейсы доступными для всех, чтобы сайты и приложения работали с программами чтения с экрана и клавиатурой.
frontend-patterns
280kАгент применяет современные паттерны фронтенд-разработки: оптимизирует производительность, управляет состоянием и следует практикам React и Next.js.