h5p-type-scaffold
Installation
SKILL.md
H5P Content Type Scaffolder
Create a modern H5P content type starting from established boilerplates, with a minimal build pipeline and editor semantics.
How It Works
- Choose package intent:
library-install(default) orcontent-import(advanced). - Collect metadata (title, machine name, version, author, license).
- Generate a boilerplate (default: SNORDIAN) that aligns with current H5P best practices.
- Provide starter
library.json,semantics.json, and JS/CSS entrypoints. - Outline build and packaging steps using
h5p-cli.
Concepts
- Content types are runnable libraries under
H5P.*(runnable: 1). - Editor widgets are non-runnable libraries under
H5PEditor.*(runnable: 0). semantics.jsondefines the editor form schema and validation rules.- Non-runnable dependency libraries (often
H5P.*orH5PApi.*) are used as shared building blocks.
Related skills