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.
auto hack)Use a 12-column grid (divisible by 2/3/4/6) when content must align across rows of differing components. Gutters and page margins are fixed per breakpoint; column widths are fluid (%/fr). Material 3 reference: 16dp margins at compact, 24dp gutters + margins at the tablet range.
| Viewport | Columns | Gutter | Page margin |
|---|---|---|---|
| Mobile (<600) | 4 | 16 | 16 |
| Tablet (600–1024) | 8 | 24 | 24 |
| Desktop (>1024) | 12 | 24–32 | clamp, see 4.B |
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
Use minmax(0, 1fr) for fluid tracks so a long unbroken string can't blow out a column and break the gap; reach for fit-content/min-content where a track should hug its content. This also protects the §9.D reflow guarantee.
Unbounded text on wide viewports destroys readability. Cap the measure at 45–75 characters (~66 ideal). Use ch for prose so the measure holds across font sizes; center the block with margin-inline:auto, keep page margins as padding-inline so text never kisses the edge.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.