creating-plugins

Scaffold EmDash plugins with hooks, routes, and storage.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ahliweb/awcms-micro-sman2pangkalanbun --skill creating-plugins-ahliweb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-plugins
Source: https://github.com/ahliweb/awcms-micro-sman2pangkalanbun/tree/main/templates/marketing-cloudflare/.agents/skills/creating-plugins
Command: npx skills add https://github.com/ahliweb/awcms-micro-sman2pangkalanbun --skill creating-plugins-ahliweb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and standardize EmDash CMS plugins by providing a complete guide to building plugins with hooks, storage, settings, admin UI, API routes, and Portable Text block types. Use this skill when asked to build, scaffold, or implement an EmDash plugin, or when creating plugin features like custom block types, admin pages, or content hooks.

Core Features & Use Cases

  • Scaffolding a standard plugin structure with descriptor and sandbox entrypoints.
  • Guiding the implementation of plugin features like hooks, routes, storage, admin pages, and portable text blocks.
  • Use cases include building new plugins, extending admin UI, or scaffolding plugin features for a project.

Quick Start

Create a new plugin by defining a standard plugin with a descriptor, sandbox entry, and optional admin and site components as described in the skill.

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, routes, and storage?

To scaffold an EmDash plugin, define the SKILL.md frontmatter, create a src/index.ts descriptor, add a sandbox entry, and include optional admin and Astro components. This generates a complete standard plugin with hooks, routes, and storage.

What is the standard structure for an EmDash CMS plugin?

The standard EmDash plugin structure requires a descriptor in src/index.ts, a sandbox entry, and optional admin or Astro components. Proper package exports must also be configured to ensure the plugin functions correctly within the CMS.

Can I add custom admin UI pages and Portable Text blocks to an EmDash plugin?

Yes, you can extend an EmDash plugin by adding optional admin and Astro components. The scaffolding process guides the implementation of custom admin UI pages and Portable Text block types alongside standard hooks and storage.

Does building an EmDash plugin require TypeScript?

Building an EmDash plugin uses TypeScript for the descriptor and component definitions. You need to accurately define the SKILL.md frontmatter and src/index.ts descriptor to establish the plugin's standard or native format.

When should I build a native EmDash plugin instead of a standard one?

The scaffolding process applies to building both standard and native EmDash plugins. You choose the format based on whether your project requires standard hooks and routes or native integrations with admin UI and Portable Text blocks.