validate_markup
Statically validates HTML or Astro source against Basecoat rules, catching migration errors, spacing, hierarchy, and binding issues before you fix diagnostics.
Instructions
[STAGE 4: QUALITY AUDIT] Alias of validate_composition. Statically check HTML/Astro source for Basecoat migration errors, semantic rhythm, FSM bindings, missing scripts, nested cards, spacing and hierarchy issues. Next step: Fix any errors/warnings reported in the diagnostic output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | HTML or Astro source code to validate statically against Basecoat rules and tokens. | |
| html | No | Alias for code parameter. Pass either code or html. | |
| densityProfile | No | Optical spacing density profile ("comfortable" or "compact"). | |
| semanticProfile | No | Semantic rhythm profile ID (e.g., "default", "dashboard"). Defaults to "default". |