cui-css

Standardize CSS authoring with BEM, custom properties, and PostCSS tooling.

1|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/cuioss/cui-llm-rules --skill cui-css
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cui-css
Source: https://github.com/cuioss/cui-llm-rules/tree/main/claude/marketplace/bundles/cui-frontend-expert/skills/cui-css
Command: npx skills add https://github.com/cuioss/cui-llm-rules --skill cui-css

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes modern CSS practices across CUI projects, from fundamentals to responsive design, performance, accessibility, and tooling.

Core Features & Use Cases

  • CSS Essentials: Modern properties, Grid/Flexbox, BEM naming, design tokens.
  • Responsive Design: Mobile-first patterns, container queries, fluid typography.
  • Quality & Tooling: Performance-aware coding, accessibility, PostCSS/Stylelint/Prettier setup, and build pipeline integration.

Quick Start

Apply the CSS standards to a project by wiring in PostCSS, Stylelint, and Prettier in your build process.

Frequently Asked Questions about cui-css

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement responsive CSS for mobile-first design?

Mobile-first responsive design starts with styles for mobile devices, then uses media queries to enhance layouts for larger screens. This Skill covers mobile-first patterns, container queries, and fluid typography to build adaptive UIs across all device sizes.

What CSS naming convention should I use for maintainability?

BEM (Block Element Modifier) naming provides a scalable, predictable convention that reduces specificity conflicts and improves code readability. This Skill enforces BEM naming alongside CSS custom properties and low-specificity selectors for modular, maintainable stylesheets.

How do I set up CSS linting and formatting in my build pipeline?

CSS linting and formatting integrate through PostCSS, Stylelint, and Prettier in your CI/CD pipeline to enforce quality standards automatically. This Skill covers tooling setup, build process integration, and quality enforcement across your project.

Can I ensure accessibility compliance while writing CSS?

Accessibility compliance in CSS includes color contrast, focus states, responsive text sizing, and semantic structure. This Skill standardizes accessibility practices alongside responsive layout, dark mode support, and performance optimization.

What's the best way to manage design tokens and variables in CSS?

CSS custom properties (variables) store design tokens centrally for consistent theming, dark mode, and dynamic runtime changes. This Skill standardizes custom property usage alongside component architecture and design-system creation.

How do I optimize CSS performance and bundle size?

Performance-aware CSS coding reduces unused styles, eliminates redundancy, and leverages modern properties efficiently. This Skill covers performance optimization techniques, modular file structure, and PostCSS integration to minimize impact.