cube-css

Installation
SKILL.md

CUBE CSS Methodology

Distilled working notes on the CUBE CSS methodology (Andy Bell / Set Studio, source: https://cube.fyi). CUBE is a thinking and organizational methodology for CSS, not a framework: there is nothing to install and no required tooling. The four layers (Composition, Utility, Block, Exception) extend CSS rather than reinvent it. This skill tells you how to apply the layers when writing or auditing CSS; the reference files carry the full per-topic detail.

When to Use

  • Writing or refactoring CSS for a project and choosing where each rule belongs
  • The user asks about CUBE CSS, "BEM alternatives", or utility-vs-component tradeoffs
  • Auditing CSS that fights the cascade, over-uses !important, or has bloated component files
  • Generating utility classes from design tokens (JSON/Sass token pipelines)
  • Deciding whether a variant should be an exception or a new block

Core Mental Models

Installs
1
GitHub Stars
11
First Seen
14 days ago