cyberneticlibrary

Enhance UI progressively with CSS

enhancing-progressivelyskillsetup L1381
majiayu000/claude-skill-registry
What it does

Use CSS before JavaScript

Best for

When layout or styling can be achieved without JS, reducing bundle size and runtime complexity.

Inputs
  • · Layout description
  • · Component requirements
Outputs
  • · CSS implementation
  • · Simpler HTML/JS
Preconditions
  • · Layout challenge is visual-only (no complex behavior)
Failure modes
  • · Complex state logic forces JavaScript anyway
  • · Browser compatibility gaps in CSS feature
Trust signals
  • · Triggers listed for recognized CSS patterns (Grid, Flexbox, :has(), transforms)
  • · Reference doc linked