write-demos

Community

Create ready-to-run element demos for cem serve.

Authorbennypowers
Version1.0.0
Installs0

System Documentation

## What problem does it solve? Write demos are essential for testing and showcasing custom elements with cem serve, while keeping demos lightweight and isolated from a full HTML document.

## Core Features & Use Cases

  • Index demos: minimal demos that render an element without full page scaffolding.
  • Feature demos: one feature per file with a small script importing the element and its dependencies.
  • Multi-element demos: demo-for metadata to associate demos with multiple elements.
  • Validation: ensure demos contain no DOCTYPE or html, head, or body tags and import maps resolve correctly.

### Quick Start Place a minimal index demo HTML in the element's demo directory following the partials guideline.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-demos
Download link: https://github.com/bennypowers/cem/archive/main.zip#write-demos

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.