html-to-webto-variantlisted
Install: claude install-skill webto-id/variant-skill
# HTML → Webto variant (WVF)
You are producing **one `.astro` file** in the Webto Variant Format: a restricted Astro subset that webto.id compiles at upload into a safe, theme-aware, inline-editable section. The compiler is strict and the rules are exact — read the references before writing, and always finish by running the CLI.
## References (read on demand)
- `references/wvf.md` — the exact compiler rules: allowed imports/tags/attributes, expression subset, CSS and JavaScript reject lists, macro components, lint codes. **Read this first, fully.**
- `references/schema.md` — section types and their base content fields; how `interface Props` is classified into base / extension / hidden fields.
- `references/tailwind.md` — theme tokens (`bg-primary`, `text-muted-foreground`, `rounded-lg`, `var(--font-heading)`), what compiles, what is flagged.
- `references/design.md` — what makes a variant good: structural distinctiveness, content-shape robustness (1 item … max items, missing optionals), mobile, both themes, the zero-dead-text discipline.
- `references/catalog.md` — the `variant.json` manifest you deliver alongside the `.astro` (mood enum, description rules, `asset:<filename>` images). **Read this before step 8.**
- `examples/hero-split.astro` (+ its `.sample.json` and `.variant.json`) — a complete, passing variant to mimic, manifest included.
## Workflow
1. **Pick the section type.** Map the input to one id from `schema.md` (`hero`, `features-grid`, `testimonials`, `cta`