Use this checklist when adapting a PPT skill or HTML slide generator to HTMLSlide.
- Generate one complete HTML document per slide.
- Save slides as
slides/slide_001.html,slides/slide_002.html, etc. - Put all local assets under
assets/. - Rewrite slide references to relative paths.
- Write
htmlslide.json. - Validate the package.
- Zip the package contents.
slides/slide_001.html
slides/slide_002.html
slides/slide_003.html
assets/cover.jpg
assets/chart.svg
assets/brand.css
Use stable filenames. Avoid spaces and non-portable characters in generated paths.
If your existing output is one index.html with repeated sections:
<section class="slide">...</section>
<section class="slide">...</section>The export step should:
- Extract each slide section.
- Wrap it with the original shared
<head>styles. - Save each wrapped result as a full document.
- Copy linked assets.
- Rebase local URLs from
assets/x.pngto../assets/x.png.
{
"version": "1.0",
"title": "Generated Deck",
"aspectRatio": "16:9",
"width": 1280,
"height": 720,
"sourceSkill": {
"name": "my-ppt-skill",
"url": "https://github.com/example/my-ppt-skill"
},
"slides": [
{
"id": "slide-001",
"title": "Slide 1",
"src": "slides/slide_001.html"
}
]
}From this repository:
node scripts/validate.mjs examples/basic-deckFor your own output:
node scripts/validate.mjs /path/to/my-decknode scripts/pack.mjs /path/to/my-deck dist/my-deck.htmlslide.zipThe resulting zip can be uploaded to Tosea HTML Presenter.