Off by 2px. Felt by everyone.
Pages built section by section drift: one padded 30px, the next 32, the one after 34. Nobody can see the numbers; everyone feels the page is crooked. The skill measures where every block starts, draws it over the page, and puts the layout back on one container and one rhythm.
npx skills add c0le0ni/skills --skill coleoni-layout
Four pixels outside the column.
I ran it on Loaders, my library of loading animations, at 390, 700, 768 and 1280px. The engine flagged one thing: a centered footer line 2px off the card at 390px, a coincidence I left alone. Loaders is mostly divs and buttons, so the engine sees few edges; I applied the same rule (an edge 1 to 6px from a more used one) to every visible box with a small measuring script. That found the selected color ring 4px outside the column, the header leaving the margin between 640 and 767px and 8px between the npm command and the card on the phone. By eye, past the rule: GitHub ending 10px before the edge. Four lines fixed it, in a local copy.
# top-bar.tsx · header, one margin switch - px-3 sm:px-5 + px-3 md:px-5 # top-bar.tsx · GitHub, on the edge - h-8 gap-1.5 px-2.5 + -mr-2.5 h-8 gap-1.5 px-2.5 # color-picker.tsx · selected ring, inside - 0_0_0_2px_var(--pulse-surface), 0_0_0_4px_var(--pulse-foreground) + inset_0_0_0_2px_var(--pulse-foreground), inset_0_0_0_4px_var(--pulse-surface) # app.tsx · npm command, 12px to the card - px-3 pb-2 lg:hidden + px-3 pb-3 md:px-5 lg:hidden
What it measures.
Room for translations and long content belongs to /coleoni-break; spacing inside components to /coleoni-polish.
| Check | What counts as a problem |
|---|---|
| Alignment | A left edge 1 to 6px from a more used one |
| Rhythm | Gaps between sections close but different |
| Grouping | A heading with as much space below as above |
| Widths | Sideways scroll at 390 or 768px |
One command, any agent.
The only package is playwright-core. Part of the interface family with polish, type and color.
npx skills add c0le0ni/skills --skill coleoni-layout
/coleoni-layout https://yoursite.com
-g-a claude-code-a codexnpx skills add c0le0ni/skillsWhen something feels off.
It shows the overlay first.
Draw the grid a page really has.
/coleoni-layout https://yoursite.com
Put it on one container.
/coleoni-layout the landing page, one container and one rhythm
Check the phone.
/coleoni-layout why does it scroll sideways on my phone
The engine, from the terminal.
node layout.mjs https://yoursite.com --out layout-report
| Option | What it does |
|---|---|
--select "main" | Only one part of the page |
--width 1280 | Desktop width |
--lang en|pt | Language of the report |
Straight edges, steady rhythm.
npx skills add c0le0ni/skills --skill coleoni-layout