creating-plugins

Scaffold EmDash plugins with hooks, storage, admin UI, API routes, and Portable Text blocks.

11.6k|1.1k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/emdash-cms/emdash --skill creating-plugins-emdash-cms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-plugins
Source: https://github.com/emdash-cms/emdash/tree/main/templates/marketing-cloudflare/.agents/skills/creating-plugins
Command: npx skills add https://github.com/emdash-cms/emdash --skill creating-plugins-emdash-cms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline the process of building EmDash plugins by providing a comprehensive blueprint that covers hooks, storage, settings, admin UI, API routes, and Portable Text block types.

Core Features & Use Cases

  • Scaffold complete EmDash plugins in standard or native formats with clear guidance.
  • Implement core features like content hooks, data storage, admin UI, API routes, and Portable Text blocks.
  • Apply to real-world scenarios such as building a new plugin from scratch or extending an existing plugin with new capabilities.

Quick Start

Create a new EmDash plugin following the standard format to scaffold hooks, storage, API routes, admin UI, and Portable Text blocks.

Frequently Asked Questions about creating-plugins

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold an EmDash plugin with hooks, storage, and API routes?

You can scaffold a complete EmDash plugin by defining the descriptor shape and exports, then implementing content lifecycle hooks, data storage schemas, API routes, admin UI, and Portable Text block types end-to-end.

What is the standard architecture for EmDash plugin development?

The standard EmDash plugin architecture requires a descriptor shape, entrypoints, and exports. It combines content lifecycle hooks, storage access, admin UI, API routes, and Portable Text blocks under trusted or sandboxed execution models.

Can I extend an existing EmDash plugin with new Portable Text block types?

Yes, you can extend an existing EmDash plugin by adding new Portable Text block types. The scaffolding process supports extending current plugins with additional capabilities like custom blocks, API routes, or admin UI pages.

Does EmDash plugin development support sandboxed execution and storage access?

Yes, EmDash plugin development supports both trusted and sandboxed execution environments. The architecture provides specific guidance for storage access and publishing workflows within these execution boundaries.

What's the best way to add admin UI pages and REST endpoints to an EmDash plugin?

The best way to add admin UI pages and REST endpoints is to scaffold them using the standard EmDash plugin format. This ensures proper integration with the plugin's hooks, storage schemas, and overall architecture.

When do I need to use the native format for EmDash plugin scaffolding?

You need the native format when your EmDash plugin requires specific execution constraints or integrations not covered by the standard format. The scaffolding process provides clear guidance for choosing between standard and native formats.