frontend-css
CSS best practices for this static website. Use this skill when writing or modifying CSS in css/styles.css, applying consistent styling patterns, managing design tokens, or ensuring performance. Apply when working on visual styling, layout, responsive design, or maintaining the design system.
When & Why to Use This Skill
This Claude skill optimizes frontend development by enforcing CSS best practices, ensuring consistent styling patterns, and managing design tokens. It streamlines the process of writing maintainable, high-performance CSS for static websites while maintaining strict adherence to established design systems and responsive design principles.
Use Cases
- Refactoring legacy CSS to eliminate redundancy and improve long-term code maintainability.
- Implementing responsive web design and media queries to ensure visual consistency across mobile and desktop devices.
- Defining and applying design tokens such as color palettes, spacing, and typography to maintain brand integrity.
- Optimizing CSS performance by minimizing file size and following efficient styling patterns for faster page loads.
- Ensuring visual consistency across multiple pages like index and winners pages by adhering to a unified design system.
| name | Frontend CSS |
|---|
When to use this skill
- When editing css/styles.css for styling updates
- When applying consistent CSS methodology and design patterns across the site
- When defining or using design tokens (colors, spacing, typography)
- When optimizing CSS for performance and minimizing file size
- When implementing responsive layouts and media queries
- When ensuring visual consistency across pages (index.html, winners.html)
- When refactoring CSS to reduce duplication and improve maintainability
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.
Instructions
For details, refer to the information provided in this file: frontend CSS