frontend-css

adigunners 的头像作者 adigunners

本静态网站的CSS最佳实践。在编写或修改css/styles.css中的CSS、应用一致的样式模式、管理设计令牌或确保性能时使用此技能。在处理视觉样式、布局、响应式设计或维护设计系统时应用。

📖 中文导读:本静态网站的CSS最佳实践。在编写或修改css/styles.css中的CSS、应用一致的样式模式、管理设计令牌或确保性能时使用此技能。在处理视觉样式、布局、响应式设计或维护设计系统时应用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: Frontend CSS description: 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 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