Audit UI code against the Mediatheca design system. Checks F# (Fable/Feliz) view files and CSS for violations of paper-overlay rules, typography hierarchy, theme tokens, DesignSystem.fs usage, 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 paper overlay", or any request to verify UI code follows the design system.
75
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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 8 rule categories:
Report findings in this format:
## Design Check Report
### <filename>
**Pass** / **X violation(s) found**
| # | Rule | Line(s) | Issue | Fix |
|---|------|---------|-------|-----|
| 1 | Paper Overlay | 42 | `backdrop-blur-sm` on dropdown | Use `DesignSystem.paperDropdown` (`.rating-dropdown`) |
### Summary
- Files checked: N
- Violations: N (X critical, Y minor)
- Critical = backdrop-filter/backdrop-blur present anywhere, translucent overlay background, hardcoded colors
- Minor = missing DesignSystem helper, non-standard animation durationOffer to fix. After reporting, ask if the user wants violations auto-fixed.
backdrop-filter/backdrop-blur anywhere in the codebase, translucent (non-opaque) backgrounds on a dropdown/popover/modal/floating panel, hardcoded hex/rgb colorsf69ac15
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.