basecoat_rules_enforcer
Retrieve indexed Basecoat UI rules and audit HTML/markup snippets for Tailwind v4 syntax, FSM contracts, tokens, and semantic HTML compliance.
Instructions
[STAGE 2: RULES & RHYTHM] Retrieve indexed technical implementation constraints covering strict Tailwind CSS v4 syntax, mandatory FSM data-state contracts, semantic CSS variable tokens, and semantic HTML landmarks. Next step: Call basecoat_creative_director or basecoat_component_syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Rule ID or component ID to inspect. | |
| code | No | HTML/markup snippet to audit against the indexed technical constraints. | |
| html | No | Alternative alias for the code parameter to audit against constraints. | |
| name | No | Rule or component name alias. | |
| query | No | Search query to match against rule IDs, titles, forbidden patterns, or required syntax. | |
| category | No | Filter rules by technical domain: "tailwind-v4", "fsm-contracts", "tokens", "semantic-html", "dashboard-patterns", or "all". | |
| componentId | No | Component ID alias to filter relevant rules. | |
| environment | No | Target output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html". |