Skip to main content

css-token-sweep

Statically scan a CSS / single-file HTML / multi-file frontend project for references to undefined CSS custom properties — the silent class of bug where `color: var(--ink-2)` is written but `--ink-2` is never declared in any `:root { ... }` block, and the text renders invisible because `var()` with no fallback resolves to the unset initial value. TRIGGER this skill whenever the user says any of: "css token", "design token", "var(", "custom property", "css variable", "theme variants", "invisible text", "missing token", "lint css", "audit my design system", "check theme", "verify dark mode tokens", "find undefined css vars", "make sure my styles are consistent", "sweep my app", "make sure this doesn't happen again" (in the context of a CSS contrast / visibility bug), or whenever they're adding theme variants / tokens to a Firebase-style single-file HTML app. Also use this proactively after writing new CSS styles in a project that uses CSS custom properties — the safety net is cheap; the silent invisible-text b

跳到安装

来源信息

仓库
tinh2/skills-hub-registry
最近来源活动
2026年5月22日 03:30
检测到的 SKILL.md 语言
英语
星标
15
分支
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。