intake-formlisted
Install: claude install-skill spunt/intake-form
# Intake Form
Generate a standalone HTML form by **filling in a JSON spec** inside the canonical template. Do **not** write form HTML by hand.
## How it works (read this once, then never break it)
The skill is template + renderer + spec — single source of truth.
1. `template.html` — canonical shell. **Copy verbatim.** Do not modify any HTML.
2. `ifbase.js` — at runtime, reads `<script id="form-spec">`, builds **both** the wizard layout *and* the grouped layout from it, wires native `<input>` controls, and keeps state in sync between the two views.
3. `ifbase.css` — styles. Untouched by agents.
Your only job is the JSON spec. There is no second copy of the questions to keep in sync — the renderer produces both views from one source. This is the structural fix for the recurring "All sections is empty" bug: previous designs required agents to duplicate every question into two parallel DOM trees, and agents (correctly applying DRY instinct) skipped the duplication. Don't try to "fix" the form by hand-writing HTML — fix the spec.
**Files in the skill** (they all sit together in this skill's install directory):
- Template: `template.html`
- CSS: `ifbase.css`
- JS: `ifbase.js`
A generated form must be able to load `ifbase.css` and `ifbase.js` at runtime, so set the form's `<link rel="stylesheet">` and `<script src>` to resolve them. Two supported ways:
1. **Install-relative reference (default).** Point both tags at this skill's directory on the current machine (the absolute