Audit UI code against the Mediatheca design system. Checks F# (Fable/Feliz) view files and CSS for violations of glassmorphism rules, typography hierarchy, theme tokens, DesignSystem.fs usage, backdrop-filter nesting, spacing/layout conventions, animation standards, and DaisyUI 5 patterns. Use when the user asks to "design check", "check design", "audit styles", "review UI code", "check glassmorphism", or any request to verify UI code follows the design system.
99
100%
Does it follow best practices?
Impact
99%
2.82xAverage score across 3 eval scenarios
Passed
No known issues
Audit UI source files against the Mediatheca design system conventions.
Identify target files. If the user specifies files, use those. Otherwise, scan recently changed view files:
git diff --name-only HEAD~3 -- 'src/Client/**/*.fs' 'src/Client/**/*.css'Focus on Views.fs, component files, and index.css.
Load design rules. Read references/design-rules.md for the full rule set.
Read the current DesignSystem.fs (src/Client/DesignSystem.fs) to know which helpers exist.
Read each target file and check against all 9 rule categories:
Report findings in this format:
## Design Check Report
### <filename>
**Pass** / **X violation(s) found**
| # | Rule | Line(s) | Issue | Fix |
|---|------|---------|-------|-----|
| 1 | Glassmorphism | 42 | Opaque `bg-base-200` on dropdown | Use `DesignSystem.glassDropdown` or `bg-base-200/60 backdrop-blur-[24px]` |
### Summary
- Files checked: N
- Violations: N (X critical, Y minor)
- Critical = glassmorphism missing on overlay, backdrop-filter nesting, hardcoded colors
- Minor = missing DesignSystem helper, non-standard animation durationOffer to fix. After reporting, ask if the user wants violations auto-fixed.
38245b8
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.