What problem does it solve?
Layout complexity and inconsistent CSS practices lead to brittle UIs. This Skill provides a design-system-driven framework to replace card-heavy patterns, improper 2D layouts, and wrapper abuse with scalable, token-based rules.
Core Features & Use Cases
- Eight Rules: a practical guide to modern CSS layout decisions (grid for 2D, flex for 1D, token reuse, no dead wrappers, correct viewport units, and a structured z-index system).
- Design Tokens & Grid Strategy: encourages token-based design and grid-based layouts to ensure consistency across components and breakpoints.
- Practical Guidelines: real-world anti-patterns, common pitfalls, and refactoring steps to align existing components with the system.
- Use Case: you are refactoring a component library to remove wrapper bloat and switch from height: 100vh to min-height: 100dvh.
Quick Start
Audit your current CSS and apply token-based rules to align with the eight layout principles.