Skills 2026-04-20 07:49 UTC
claude-code-design
Committed by bluzir. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(pipeline): cache-bust, smarter deck audit filter, headroom warnings. This update resolves known runtime errors and enhances system reliability.
CommitRaw commit message
fix(pipeline): cache-bust, smarter deck audit filter, headroom warnings Three systemic gaps caught while shipping a real deck: 1. /preview and /done now append ?v=<epoch> cache-bust and hard-reload with ignoreCache. Browsers were serving stale CSS after Edit, so screenshots and measurements disagreed with on-disk HTML. 2. Deck overflow audit no longer filters ALL position:absolute elements — meaningful content (save-cta, footer-row, inter-card arrows) is often absolute. Replaced blanket filter with an isDecorative() predicate that only skips glows, chrome, and low-opacity no-text elements. 3. Audit now reports headroom thresholds: FAIL on overflow>0, WARN on headroom<40 (font-metric variance can still clip), OK at ≥40. Aim for ≥60 in writing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>