SKILL

vibe-shop-normalizer

Normalizes messy vibe-coded e-commerce HTML/CSS/JS storefronts into clean, light-themed, responsive Zero-CLS production sites with verified catalog imagery and passing DOM tests. Use when cleaning up multi-iteration storefront code and fixing layout shifts.

原文 · 译文尚未补齐

适用对象:软件开发与测试。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Vibe-Coded Storefront & Zero-CLS Normalizer
  • Quick Start
  • When to Use
  • Best Practices
  • Dependencies
  • Examples
  • Step-by-Step
  • Validation

Turning tangled multi-pass HTML/CSS/JS shop files into crisp, light-themed, Zero-CLS storefronts that pass every test. A single-file or static HTML/CSS/JS storefront has accumulated duplicate navbars, conflicting dark/light overrides, or leaked ${...} literals Product cards jump or shift horizontally/vertically across mobile (320px), tablet (768px), and desktop (1024px+) viewports Converting an inconsistent dark/neon draft into a clean commercial light theme (#F4F5F7 canvas, #FFFFFF surfaces, #141619 primary actions) Synchronizing static storefront files (index.html, public/index.html) while keeping 100% of existing DOM unit tests green Audit existing unit tests (tests/.test.js) before touching markup so required IDs, hash routes (#/catalog, #/p/:id), and price classes stay intact. Strip leaked JavaScript template expressions (${...}) outside tags and remove duplicate or modal containers. Lock card aspect ratios (aspect-ratio: 1 / 1), title heights (min-height: 38px), spec heights (min-height: 32px), and button heights (h-10). Use font-variant-numeric: tabular-nums on all price, discount, and cart badge counters so digit updates never shift layout. Always call .unref() on recurring

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
ssrjkk/agent-skills
源文件
.claude/skills/frontend/vibe-shop-normalizer/SKILL.md
固定版本
868975614072b553f929cb32c52c5e7dc4ba8734
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:ssrjkk/agent-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-11T03:01:42.701Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。