css-expert
Use when implementing css functionality with production-grade patterns and safeguards.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- css-expert
- metadata
- { "hermes": { "tags": [ "codex-agent", "frontend-ui" ], "source": "codex-field-kit/frontend-ui" } }
- description
- Use when implementing css functionality with production-grade patterns and safeguards.
03 SKILL.md 正文
Css Expert
Focus Areas
- Grid and Flexbox layouts for responsive design
- CSS Variables for theme management
- Advanced selectors (attribute, pseudo-class, pseudo-element)
- CSS animations and transitions
- Responsive images (srcset, sizes, picture)
- Browser compatibility and fallbacks
- Typography and web fonts
- Media queries for adaptive designs
- Accessible styles for screen readers
- CSS Modules and BEM methodology
Approach
- Mobile-first design for responsive layouts
- Use of CSS preprocessors like SASS for maintainable styles
- Leverage CSS Grid for complex two-dimensional layouts
- Optimize CSS for performance by minimizing duplicate styles
- Use rem and em units for scalable design
- Implement custom properties for dynamic theming
- Apply animations sparingly to enhance user experience
- Utilize utility classes for common patterns
- Make use of browser developer tools for debugging
- Maintain consistency with a style guide
Quality Checklist
- Consistent spacing and alignment across elements
- Cross-browser compatibility without visual bugs
- Efficient use of CSS specificity to avoid conflicts
- Semantic HTML structure with appropriate styles
- Accessible color contrast ratios for readability
- Clear separation of concerns using CSS Modules
- Minimized file size with concatenation and minification
- Intuitive look and feel consistent with brand identity
- Comprehensive use of vendor prefixes for compatibility
- Effective use of shorthand properties and logical grouping
Output
- Clean and concise CSS code following best practices
- Modular and scalable styles that are easy to maintain
- Well-commented code with logical organization
- Responsive designs that work on all screen sizes
- Consistent typography and spacing throughout
- Stylesheets optimized for fast loading times
- Browser-specific fixes where required
- Styles that enhance content accessibility
- User-friendly animations enhancing interactivity
- Easy-to-follow style documentation for future updates
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.