Skip to content
Content
Skill

/wordpress-plugin-to-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

From plugin
emdash
15k10 skills1 MCP

Claude Code

$ npx -y skills add emdash-cms/emdash --skill wordpress-plugin-to-emdash --agent claude-code

SKILL.md

wordpress-plugin-to-emdash.SKILL.md
name: wordpress-plugin-to-emdash
description: 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.

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](../creating-plugins/SKILL.md) before implementing plugin code. Load [building-emdash-site](../building-emdash-site/SKILL.md) 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 scripts | Trusted native `page:fragments`; registry-installed plugins can contribute validated `page:metadata` only |

Do not create collections or taxonomies by reaching into EmDash system tables. Use the public schema, seed, CLI, or admin boundary. Do not use internal REST routes to imitate a sandbox API that does not exist.

Keep authorities separate: reading media metadata does not grant bytes, moderation does not grant deletion, publication policy does not grant publication actions, and content restore does not grant ordinary content reads.

Choose the plugin format

Use a sandboxed plugin by default. It supports portable hooks, routes, declared storage, media, network access, MCP tools, and Block Kit admin UI through an install-time trust contract.

Use a trusted native plugin only when the feature requires host-process access, React admin code, Astro rendering components, raw page fragments, or custom Portable Text block definitions. State the extra authority and distribution limitation in the migration plan.

Some WordPress plugins do not need an EmDash plu

Read more
@emdash-cms
Ships withemdash

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.

15k10 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
14.6k
Star history of emdash-cms/emdash on GitHub, a chart by star-history.com

Other skills on emdash.

adversarial-reviewer

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly…

@emdash-cms@emdash-cmsInstall Skill
agent-browser

agent-browser

Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state, verify interactions, and capture…

@emdash-cms@emdash-cmsInstall Skill
building-emdash-site

building-emdash-site

Build the site-facing parts of an EmDash CMS project on Astro, including schema and seeds, content queries, Portable Text…

@emdash-cms@emdash-cmsInstall Skill
creating-plugins

creating-plugins

Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP tools, and declarative admin UI, or…

@emdash-cms@emdash-cmsInstall Skill
emdash-cli

emdash-cli

Use the EmDash CLI to inspect and manage an EmDash instance from the command line, including content, schema, media, taxonomies,…

@emdash-cms@emdash-cmsInstall Skill
upgrading-emdash

upgrading-emdash

Upgrade an existing EmDash project with upgrade-emdash, interpret .emdash/UPGRADE.md, apply required project changes, and verify…

@emdash-cms@emdash-cmsInstall Skill

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

@iofficeai@iofficeaiInstall Skill

Questions about wordpress-plugin-to-emdash.

Which coding agents can use wordpress-plugin-to-emdash?
wordpress-plugin-to-emdash installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.