Skip to main content

Conversion

Three skills that convert artifacts between formats, each a deterministic Node pipeline.

SkillDescription
convert-md-to-htmxConvert a Markdown document into a self-contained branded HTMX artifact via the deterministic markdown-it pipeline, with frontmatter support, semantic HTML wrapping, and brand-CSS injection.
convert-htmx-reactConvert an HTMX + Alpine.js HTML artifact into a React TSX component ready for the scaffold-react-vite pipeline. Mechanical transforms run via a Node script; HTMX/Alpine constructs requiring judgment are surfaced as a sidecar markdown file for review.
convert-htmx-pdfConvert a branded HTML/HTMX artifact into a paginated, print-correct PDF via headless Chromium — with embedded fonts, a running header and page numbers, pagination discipline that prevents orphaned pages and split components, and a verification loop that proves the output before it ships.

Pipeline order​

The natural chain through these three skills plus artifact refinement is:

Markdown --(convert-md-to-htmx)--> HTMX artifact --(refine-ui / convert-htmx-react)--> React TSX
|
+--(convert-htmx-pdf)--> paginated PDF

See also​