Files
pbakaus_impeccable/tests/fixtures/antipatterns/partial-component.html
T
Paul BakausandClaude Opus 4.6 d8803c8151 Fix browser script serving: run build after skill sync, serve via /js/
The skill sync wipes .claude/skills/ and re-copies from dist, deleting
the generated browser script. Moved build-browser-detector.js to run
AFTER the sync. Dev server's /js/* route now falls through to
.claude/skills/critique/scripts/ for built artifacts. All fixture HTML
references use /js/detect-antipatterns-browser.js (clean URL).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:26:51 -07:00

12 lines
619 B
HTML

<!-- This is a partial/component — no DOCTYPE, no <html>, no <head> -->
<!-- Page-level checks (flat hierarchy, single font) should NOT run -->
<!-- But element-level border checks SHOULD still run -->
<div class="card" style="font-family: 'Inter', sans-serif;">
<div style="font-size: 14px; border-left: 4px solid #3b82f6; border-radius: 8px; padding: 1rem; background: white;">
<h3 style="font-size: 16px; font-weight: 600;">Card Title</h3>
<p style="font-size: 15px; color: #6b7280;">Card description with close font sizes.</p>
</div>
</div>
<script src="/js/detect-antipatterns-browser.js"></script>