LogoClawIndex
CasesSkillsAbout
LogoClawIndex

static-spa-conversion - Convert Markdown course content into a vanilla JS single-page app

Converts chapter-based markdown content into a framework-free HTML+JS single-page app that persists state in localStorage and serves via npx serve.

Tags

Updated: 2026-06-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • generate index.html SPA scaffold
  • generate course-data.js schema object
  • map material URLs to files
  • migrate markdown to course-data.js
  • set up localStorage persistence layer
  • create package.json serve script

Inputs

  • Chapter-based markdown course content
  • Course outline markdown files
  • Course content markdown files
  • Image and illustration assets
  • Material files (PDF, MD, etc.)
  • Design system CSS tokens

Outputs

  • index.html single-page app file
  • course-data.js data file
  • package.json with serve script
  • Assets directory structure

Requirements

  • Node.js and npx for local serving
  • Browser with localStorage support
  • HTTP server required (file:// blocks localStorage)

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
static site generator
vanilla JS
single-page app
markdown to HTML
course website
no-framework
localStorage
generate index.html SPA scaffold
generate course-data.js schema object
map material URLs to files
migrate markdown to course-data.js
Chapter-based markdown course content
Course outline markdown files
Course content markdown files
index.html single-page app file
course-data.js data file
package.json with serve script