creating-plugins

Scaffolds EmDash plugins with descriptor, sandbox entry, and exports.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/nanasi-apps/nanasi-apps-blog-emdash --skill creating-plugins-nanasi-apps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-plugins
Source: https://github.com/nanasi-apps/nanasi-apps-blog-emdash/tree/main/.agents/skills/creating-plugins
Command: npx skills add https://github.com/nanasi-apps/nanasi-apps-blog-emdash --skill creating-plugins-nanasi-apps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create EmDash plugins quickly by scaffolding standard structures (hooks, storage, admin UI, API routes, and Portable Text support) so developers can focus on feature work rather than boilerplate.

Core Features & Use Cases

  • Descriptor + entrypoint scaffolding for standard and native plugins.
  • Storage + KV patterns with example configurations to persist data.
  • Admin UI and API routes guidance to expose plugin capabilities and data.
  • Real-world scenario: rapidly prototype a plugin that handles content submissions with admin pages and REST endpoints.

Quick Start

Create a new plugin scaffold using the provided factory to generate a standard EmDash plugin skeleton.

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 TypeScript?

Scaffolding an EmDash plugin generates a standard TypeScript skeleton including descriptor, sandbox entry, and exports. This setup skips manual boilerplate configuration and lets developers focus on building extension features.

What is the difference between standard and sandboxed EmDash plugin modes?

Standard EmDash plugins use native entrypoints, while sandboxed plugins restrict execution to isolated environments. The scaffolding process guides end-to-end creation for both trusted and sandboxed modes to enforce packaging best practices.

How do I add admin UI and API routes to an EmDash plugin?

Adding admin UI and API routes to an EmDash plugin involves using the scaffold's built-in guidance to expose plugin capabilities. It provides patterns to rapidly prototype admin pages and REST endpoints for data interaction.

Can I persist data in an EmDash plugin using storage and KV patterns?

Yes, you can persist data in an EmDash plugin using storage and KV patterns. The scaffold includes example configurations and standard structures to help developers set up data persistence quickly.

Does EmDash plugin scaffolding support Portable Text?

Yes, EmDash plugin scaffolding supports Portable Text. The generated standard structures include hooks and configurations necessary to handle Portable Text alongside storage and admin UI components.