mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 00:26:41 +03:00
The generated browser detector now lives alongside the CLI script in .claude/skills/critique/scripts/ — clearly a build artifact, not a hand-maintained source file in public/js/. - build-browser-detector.js outputs to .claude/ instead of public/js/ - Dev server serves .claude/skills/* for local testing - All fixture and antipattern-example HTML files updated to new path - Puppeteer detectUrl reads browser script from same directory - Browser parity test server updated to serve from .claude/ - Deleted public/js/detect-antipatterns-browser.js Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
648 B
HTML
12 lines
648 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="/.claude/skills/critique/scripts/detect-antipatterns-browser.js"></script>
|