Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sets spacing scales, vertical rhythm, and alignment for AI-generated UI and written documents.
57% 87%+30 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 13 of 23 without it.
In a React dashboard, a component sets style={{ gridTemplateColumns: '2fr 1fr' }} inline on a container div. Responsive media queries in CSS trying to collapse this grid to 1 column on mobile screens are being ignored. Output the corrected React component markup and CSS class.
Assign a custom property (such as --split-main) in the inline style attribute instead of gridTemplateColumns.
This test ran on v10. v12 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Core rules and reference map. Section numbers remain stable across the skill.
Stated at DENSITY 4 / SPACING_STEP 8 (baseline 8/4/7). Every value is a step multiple. As DENSITY rises, compress in this order: block inset → inline inset → sibling gap → icon/label gap → touch target (never). Nav and modals lag the curve; tables lead it.
| Gap role | D1–2 | D4 | D6–7 | D8–10 | Floor |
|---|---|---|---|---|---|
| Inner inset (block) | 24–32 | 16 | 12 | 8→4 | 4 |
| Inner inset (inline) | 24–40 | 24 | 16 | 12→8 | 8 |
| Icon ↔ label | 12 | 8 | 8 | 4 | 4 |
| Label ↔ control | 8 | 8 | 6 | 4 | 4 |
| Sibling controls in a row | 16–24 | 12 | 8 | 4 | 4 |
| Stacked fields / list rows | 24–32 | 16 | 12 | 8→4 | 4 |
| Card ↔ card (gutter) | 32–48 | 24 | 16 | 8 | 8 |
| Section padding-block | 96–160 | 64 | 40 | 24 | 24 |
| Tap target (mobile) | 48 | 48 | 44 | 44 | 44 hard |
Compression curve when no row covers a case: gap(D) ≈ baseline × 0.85^(D−4), snapped to the scale, clamped to the floor.
height.label↔field < field↔field.currentColor only for monochrome glyphs (§7.G). On touch, use 44–48 minimum targets (48 fits STEP 8), with a scale-based gap such as 8–16 between target boxes, and 24–32 from the row to adjacent content. The visible icon gap includes the targets' internal padding: do not size the row from artwork alone. Use a wrapping flex row, let its parent own the outer gap, and keep focus rings unclipped. Never shrink targets to force the row onto one line.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.