basecoat_quality_inspector
Audit HTML/Astro markup to generate a quality report with score, syntax and accessibility/ARIA violations, and auto-fix suggestions for Basecoat UI code.
Instructions
[STAGE 4: QUALITY AUDIT] Audit HTML/Astro markup and return a structured quality report with Score (0-100), Syntax Violations, Accessibility/ARIA omissions, and Auto-Fix suggestions. Final quality gate for all generated Basecoat UI code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alternative component identifier alias to inspect. | |
| code | No | HTML/component markup string to inspect for syntax violations, a11y omissions, and quality metrics. | |
| html | No | Alternative parameter alias for the code string to inspect. | |
| name | No | Alternative component identifier alias to inspect. | |
| markup | No | Alternative parameter alias for the markup snippet to inspect. | |
| enforceFsm | No | Whether to strictly enforce FSM data-state bindings and field-group hierarchies on interactive controls. | |
| componentId | No | Alternative component identifier alias to inspect. | |
| environment | No | Target environment for inspection (defaults to html). | |
| densityProfile | No | Density profile context: "comfortable" (standard rhythm) or "compact" (dense micro-spacing allowed). | |
| semanticProfile | No | Semantic token rhythm profile to validate against (defaults to "default"). |