audit_template_patterns
Audit Vue overlay and modal templates for common design drift: missing backdrop click .self, unteleported overlays, missing headings, and excessive z-index. Get per-component signals and synthesized findings.
Instructions
Repo-wide template-layer design-drift audit for Vue overlays/modals — the one-call replacement for grepping overlay classes, backdrop @click handlers, Teleport, z-index, and header markup. Returns per-component signals (overlays + whether the backdrop click uses .self, Teleport target, z-index values, headings) plus synthesized findings: backdrop-click-missing-self, overlay-not-teleported, modal-no-heading, zindex-exceeds-max (only when templatePatterns.maxZIndex is configured), and more. Raw per-component signals are also on get_component_detail.templatePatterns. Vue only. Pass file to scope by path substring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional path substring — only audit components whose path matches. |