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 creating or editing CSS files (.css, .scss, .sass, .less, .module.css)
- •When applying CSS framework utility classes (Tailwind, Bootstrap, etc.) to components
- •When writing styled-components, CSS-in-JS, or inline styles in component files
- •When maintaining design tokens and design system variables (colors, spacing, typography)
- •When implementing consistent CSS methodology (BEM, utility-first, CSS modules)
- •When avoiding excessive custom CSS by leveraging framework patterns and utilities
- •When ensuring CSS performance through purging unused styles and tree-shaking
- •When adding responsive styling and breakpoint-specific styles
- •When working with global stylesheets or component-scoped styles
- •When refactoring to reduce custom CSS and align with framework conventions
- •When setting up CSS configuration files (tailwind.config.js, postcss.config.js)
Instructions
For details, refer to the information provided in this file: frontend CSS