Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when reviewing stylesheets, component styles, and responsive behavior related to Use relative units for responsive layouts. Check the rendered layout across breakpoints and interaction states before proposing a fix.
.claude/skills/thedaviddias-responsive-units/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 24 |
| gemini-3.1-pro-preview | 100% | 1 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 4% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 17% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 20% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 4% | 0% |
Fixed pixel values override user browser preferences, making your site inaccessible to users who increase their default font size (a common accommodation for low vision). Relative units also reduce the number of breakpoints needed — elements naturally adapt to available space rather than requiring explicit overrides at every viewport width.
Find all px-based font-size, width, and padding values in this CSS file that should use relative units instead.
Convert fixed px font sizes to rem equivalents and replace fixed widths with percentage or relative alternatives.
Explain the difference between rem, em, %, vw, and vh, and when to use each one.
Review stylesheets, component styles, and responsive states related to Use relative units for responsive layouts. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/css/responsive-units
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 14,266 | 10,376 | -27% | 1 | 1 | 0% | 3,018 | 2,234 | -26% | 0 | 0 | — |
case-02 | pass→pass | 7,485 | 6,465 | -14% | 1 | 1 | 0% | 1,659 | 1,727 | +4% | 0 | 0 | — |
case-03 | pass→pass | 5,693 | 5,460 | -4% | 1 | 1 | 0% | 1,224 | 1,427 | +17% | 0 | 0 | — |
case-04 | pass→pass | 5,049 | 4,906 | -3% | 1 | 1 | 0% | 995 | 1,198 | +20% | 0 | 0 | — |
case-05 | pass→pass | 16,275 | 14,769 | -9% | 1 | 1 | 0% | 3,097 | 3,218 | +4% | 0 | 0 | — |
case-06 | pass→pass | 10,834 | 8,831 | -18% | 1 | 1 | 0% | 2,062 | 1,975 | -4% | 0 | 0 | — |
case-07 | fail→fail | 6,122 | 4,697 | -23% | 1 | 1 | 0% | 1,184 | 1,327 | +12% | 0 | 0 | — |
case-08 | pass→pass | 12,853 | 7,001 | -46% | 1 | 1 | 0% | 2,435 | 1,550 | -36% | 0 | 0 | — |
case-09 | pass→pass | 5,828 | 6,900 | +18% | 1 | 1 | 0% | 1,118 | 1,815 | +62% | 0 | 0 | — |
case-10 | pass→pass | 8,568 | 7,550 | -12% | 1 | 1 | 0% | 1,794 | 1,744 | -3% | 0 | 0 | — |
case-11 | pass→pass | 5,937 | 5,860 | -1% | 1 | 1 | 0% | 1,131 | 1,379 | +22% | 0 | 0 | — |
case-12 | pass→pass | 2,881 | 3,271 | +14% | 1 | 1 | 0% | 576 | 882 | +53% | 0 | 0 | — |
case-13 | pass→pass | 7,419 | 7,682 | +4% | 1 | 1 | 0% | 1,568 | 1,900 | +21% | 0 | 0 | — |
case-14 | pass→pass | 12,153 | 12,654 | +4% | 1 | 1 | 0% | 2,015 | 2,461 | +22% | 0 | 0 | — |
case-15 | pass→pass | 13,634 | 11,547 | -15% | 1 | 1 | 0% | 2,403 | 2,296 | -4% | 0 | 0 | — |
case-16 | pass→pass | 8,118 | 6,780 | -16% | 1 | 1 | 0% | 1,527 | 1,677 | +10% | 0 | 0 | — |
case-17 | pass→pass | 6,244 | 4,527 | -27% | 1 | 1 | 0% | 1,292 | 1,251 | -3% | 0 | 0 | — |
case-18 | fail→fail | 9,300 | 7,836 | -16% | 1 | 1 | 0% | 1,841 | 1,851 | +1% | 0 | 0 | — |
case-19 | pass→pass | 15,270 | 10,000 | -35% | 1 | 1 | 0% | 2,778 | 2,147 | -23% | 0 | 0 | — |
case-20 | pass→pass | 11,142 | 10,035 | -10% | 1 | 1 | 0% | 2,116 | 2,224 | +5% | 0 | 0 | — |
case-21 | pass→pass | 11,173 | 7,754 | -31% | 1 | 1 | 0% | 2,141 | 1,873 | -13% | 0 | 0 | — |
case-22 | pass→pass | 11,468 | 7,685 | -33% | 1 | 1 | 0% | 2,136 | 1,631 | -24% | 0 | 0 | — |
case-23 | pass→pass | 11,797 | 8,570 | -27% | 1 | 1 | 0% | 2,296 | 2,204 | -4% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +4 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.