General skillFrontend development

layout-discipline

Standardize typography, spacing, cards, and color tokens in AI-generated HTML.

Stars
3
Forks
0
License
MIT
Updated
Updated Jul 6, 2026

Checking live repository facts…

Project overview

Layout Discipline gives Claude and other agents a fixed set of typography, 4-pixel spacing, alignment, card, color-token, and vertical-rhythm rules for generated web pages and HTML demos. A zero-dependency checker can flag off-grid spacing, unsupported font sizes, and raw hex colors by line before delivery. Because it scans text rather than parsing a full CSS syntax tree, hex values in documentation can produce false positives.

Repository facts

Primary language
Python
License
MIT
Repository updated
Jul 6, 2026
Default branch
main

Resource types

General skill

Use cases

Frontend developmentDesign and creative work

Platforms

Claude Code, Codex, and more

Related projects

Browse more similar projects