# Stylelint

> Use this skill when the user wants to lint CSS, SCSS, or Less stylesheets for errors, best practices, and consistent formatting.

- Skill: `javimosch/stylelint` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/stylelint`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/stylelint/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/stylelint

---


# stylelint Plugin

stylelint checks stylesheets for errors and consistent formatting.

## Usage Examples

- "lint styles.css for errors"
- "check all SCSS files for best practices"
- "auto-fix style violations"
- "lint with custom stylelint config"

## Installation

```bash
npm install -g stylelint
```

## Key Features
- CSS, SCSS, Less, SugarSS support
- 170+ built-in rules
- Auto-fix support
- Custom plugin ecosystem
- JSON output for CI
- Consistent formatting enforcement
- Custom syntax support

