frontend-css

coreyja's avatarfrom coreyja

Write maintainable CSS following the project's established methodology, whether using Tailwind utility classes, BEM naming, CSS modules, or styled-components. Use this skill when styling UI components or pages with CSS, applying design system tokens for colors and spacing, or working with CSS frameworks. When writing utility classes, custom styles, or responsive design rules. When working with .css, .scss, .module.css files, or inline styles in JSX/templates. When establishing or maintaining design tokens for consistent styling. When optimizing CSS for production builds with purging or tree-shaking unused styles.

⭐6stars🔀1forks📁View on GitHub🕐Updated Nov 19, 2025

When & Why to Use This Skill

This Claude skill streamlines frontend development by providing expert guidance on writing maintainable, high-performance CSS. It ensures adherence to modern methodologies such as Tailwind CSS, BEM, and CSS modules, while integrating design system tokens for visual consistency and optimizing styles for production-ready builds.

Use Cases

  • Developing responsive UI components and pages using utility-first frameworks like Tailwind or traditional CSS modules.
  • Applying and maintaining design system tokens to ensure consistent use of colors, spacing, and typography across the codebase.
  • Implementing complex responsive design rules and media queries to ensure cross-device compatibility.
  • Refactoring or migrating existing styles to modern CSS methodologies like BEM or CSS-in-JS solutions (styled-components, emotion).
  • Optimizing frontend performance by purging unused CSS and implementing tree-shaking for smaller, faster production bundles.
nameFrontend CSS
descriptionWrite maintainable CSS following the project's established methodology, whether using Tailwind utility classes, BEM naming, CSS modules, or styled-components. Use this skill when styling UI components or pages with CSS, applying design system tokens for colors and spacing, or working with CSS frameworks. When writing utility classes, custom styles, or responsive design rules. When working with .css, .scss, .module.css files, or inline styles in JSX/templates. When establishing or maintaining design tokens for consistent styling. When optimizing CSS for production builds with purging or tree-shaking unused styles.

Frontend CSS

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend CSS.

When to use this skill

  • When styling UI components or pages with CSS, Tailwind, or other styling approaches
  • When applying design system tokens for colors, spacing, typography, or shadows
  • When working with CSS files (.css, .scss, .sass, .less, .module.css)
  • When writing utility classes or custom CSS styles
  • When implementing responsive design rules with media queries or breakpoints
  • When working with CSS-in-JS solutions (styled-components, emotion, CSS modules)
  • When applying Tailwind utility classes or customizing Tailwind configuration
  • When following BEM naming conventions or other CSS methodologies
  • When optimizing CSS bundle size with purging or tree-shaking
  • When avoiding framework style overrides and working with framework patterns

Instructions

For details, refer to the information provided in this file: frontend CSS