Styles Lint
Testing & Qualitystyles-lintStyles Lint is an Agent Skill for testing & quality published in the thedaviddias/Front-End-Checklist repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/thedaviddias/Front-End-Checklist/blob/HEAD/skills/styles-lint/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/styles-lint, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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/en/rules/css/styles-lint