thedaviddias/Front-End-Checklist / skills/styles-lint
styles-lint
VerifiedUse when reviewing stylesheets, component styles, and responsive behavior related to Lint CSS and SCSS files. Check the rendered layout across breakpoints and interaction states before proposing a fix.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
| references/rule.md | markdown | 22.3 KB |
SKILL.md
View on GitHub---
name: styles-lint
description: "Use when reviewing stylesheets, component styles, and responsive behavior related to Lint CSS and SCSS files. Check the rendered layout across breakpoints and interaction states before proposing a fix."
metadata:
category: css
priority: medium
difficulty: beginner
estimatedTime: "20"
source: frontendchecklist.io
url: https://frontendchecklist.io/rules/css/styles-lint
---
# Lint CSS and SCSS files
CSS linting catches syntax errors, enforces consistent coding standards, and prevents maintainability issues before they reach production.
## Quick Reference
- Install Stylelint with stylelint-config-standard
- Add SCSS support with stylelint-config-standard-scss
- Enable auto-fix in your IDE and pre-commit hooks
- Include in CI/CD pipeline to catch issues early
## Check
Set up CSS/SCSS linting tools like Stylelint to automatically detect syntax errors, enforce coding standards, and maintain consistent code quality.
## Fix
Configure Stylelint with appropriate rules and integrate it into your build process and code editor for real-time error detection and fixing.
## Explain
Explain how CSS linting prevents errors, enforces consistent coding standards, and improves maintainability of stylesheets across the team.
## Code Review
Review stylesheets, component styles, and responsive states related to Lint CSS and SCSS files. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.
---
For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.
Rule page: https://frontendchecklist.io/rules/css/styles-lint
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |