Перейти к содержанию
Skillpedia
API и серверы (бэкенд)14k · #11250

wordpress-plugin-to-emdash

Что он делает

Скилл помогает перенести поведение плагина WordPress, типы контента и сохранённые данные в систему управления контентом EmDash. Он нужен владельцам сайтов и разработчикам, которые переходят с WordPress на EmDash.

Когда использовать

  • ✓Когда вы переносите сайт с WordPress на EmDash и функции плагина должны перейти вместе с ним.
  • ✓Когда нужно решить, относится ли функция к схеме сайта, его коду или плагину.
  • ✓Когда плагин WordPress хранит данные, которые нужно сохранить при переносе.

Ссылка на скилл

https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-plugin-to-emdash/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-plugin-to-emdash/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Можешь помочь перенести мой плагин событий для WordPress, включая его пользовательский тип записей и форму бронирования, на EmDash?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент изучает функции, данные, хуки и экраны администрирования плагина, а затем распределяет каждую обязанность по нужному месту в EmDash. Он отмечает потребности в данных, правах и миграциях до написания любого кода.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Port a WordPress plugin to EmDash

Preserve the plugin's user-visible behavior and data model without translating PHP line by line. WordPress and EmDash divide responsibilities differently, so first decide whether each feature belongs in site schema, Astro code, a sandboxed plugin, or a trusted native plugin.

Load creating-plugins before implementing plugin code. Load building-emdash-site when the port changes collections, seeds, queries, or frontend templates. Those skills define the current APIs; this skill covers migration decisions.

Understand the source

Inspect the plugin source, installation behavior, database changes, hooks, REST endpoints, scheduled work, admin screens, shortcodes or blocks, frontend output, permissions, and external services. Identify behavior that users rely on separately from WordPress-specific implementation.

Record:

  • required content and configuration data;
  • actions that mutate or publish data;
  • authorization and trust boundaries;
  • background or retry behavior;
  • frontend and administrator interactions;
  • import, migration, and rollback needs;
  • license obligations for copied assets or code.

If the source, expected behavior, or target EmDash environment is missing, report the gap instead of inventing an equivalent.

Assign each responsibility

WordPress responsibility EmDash destination
Custom post type, taxonomy, or metadata Collection, taxonomy, and fields created through the site schema or seed
Site-wide presentation setting Site setting read by Astro templates
Plugin-owned user settings ctx.settings; declare credentials as encrypted secret fields
Plugin-owned cursors, caches, or internal state Plugin-scoped ctx.kv
Plugin-owned queryable records Declared ctx.storage.<collection> storage
Content discovery, translation, or publication Capability-gated ctx.content and ctx.schema; policy hooks and actions have separate authority
Runtime taxonomy or redirect management ctx.taxonomies or ctx.redirects with narrow read/write capability
Comment administration ctx.comments; reads expose personal data and moderation uses expected status
WordPress REST endpoint Declared plugin route with explicit methods, inputs, headers, and response mode
Scheduled event cron hook and ctx.cron scheduling
Admin page or form Block Kit for sandboxed plugins; React only for a trusted native plugin
Post editor metabox or saved-entry action admin.editorPanels or admin.editorActions on private routes
User or author lookup ctx.users with users:read
Outbound HTTP request ctx.http.fetch() with network:request and an allowedHosts entry
Media operation Separate metadata, byte-read, metadata-write, and upload/delete authorities
WP_Query or template tag EmDash content API in Astro site code
Shortcode or editor block Existing Portable Text content where possible; a custom Portable Text block requires a trusted native plugin
Raw head markup or sc
Частые вопросы

Переводит ли он PHP построчно?

Нет. Он сосредоточен на сохранении видимого пользователю поведения и данных, потому что WordPress и EmDash делят работу по-разному.

Что если лицензия плагина запрещает копирование?

Скилл включает проверку обязательств по лицензии для скопированного кода или ресурсов.

Охватывает ли он и визуальные темы?

Нет. Перенос визуальных тем — отдельная задача, а этот скилл относится к функциям плагинов.

Подробности

Оригинальное описание автора

Analyze and port WordPress plugin behavior, custom post types, shortcodes, admin workflows, and stored data to current EmDash extension points. Use for WordPress-plugin migrations or when deciding which behavior belongs in an EmDash plugin, site schema, seed, or Astro code. Do not use for visual theme ports without plugin functionality.

repo: emdash-cms/emdash

Популярность

Звёзды на GitHub
14k
Место в рейтинге
#11250
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы