layout-grid
Installation
SKILL.md
Layout grid
Agents guess numbers. A guessed Margin="13" looks almost right and makes
the whole app feel slightly off. This skill replaces guessing with one
scale and three checks that fail when something is off. Windows itself
lays out on a 4 epx grid, so the scale matches every WinUI control.
The template has everything in place: src/<App>/UI/Space.xaml,
UI/Grid.cs, and tools/. For an app made before this skill, copy those
two files, tools/grid-lint.ps1, and tools/check-layout.ps1 from the
new-windows-app skill's template, and the GridProbes.Write line from
its Snapshot.cs.