Skip to content
Skillpedia
APIs & servers (backend)14k · #11250

wordpress-plugin-to-emdash

What it does

This skill helps move a WordPress plugin's behavior, content types and stored data to the EmDash content management system. It is for site owners and developers leaving WordPress for EmDash.

When to use it

  • ✓When you are moving a site from WordPress to EmDash and a plugin's features need to carry over.
  • ✓When you need to decide whether a feature belongs in the site's schema, its code or a plugin.
  • ✓When a WordPress plugin stores data that must be kept during the move.

Skill link

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

Copy 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

Use this skill to help me: https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-plugin-to-emdash/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you help me move my WordPress events plugin, including its custom post type and booking form, over to EmDash?”

5 new skills a week. 1 minute to read.

How it works

The agent inspects the plugin's features, data, hooks and admin screens, then assigns each responsibility to the right place in EmDash. It notes data, permission and migration needs before any code is written.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

Does it translate PHP line by line?

No. It focuses on preserving user-visible behavior and data, since WordPress and EmDash divide the work differently.

What if the plugin's license restricts copying?

The skill includes a check for license obligations on copied code or assets.

Does it cover visual themes too?

No. Visual theme ports are a separate task, and this skill is for plugin functionality.

Details

Original description by the author

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

Popularity

GitHub stars
14k
Ranking position
#11250
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills