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

Zur Installation springen

Quellinformationen

Repository
tinh2/skills-hub-registry
Letzte Quellaktivität
22. Mai 2026 um 03:30
Erkannte Sprache von SKILL.md
Englisch
Sterne
15
Forks
4

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.