Codex .NET Stylelint for wwwroot CSS and SCSS
Set up repeatable stylesheet checks for a .NET web project. Define ownership for selector, property, naming, and duplicate-style rules.
中文Install in Codex
Codex with a .NET checkout that contains CSS or SCSS. Use its existing Node tooling and Stylelint configuration.
- Copy the entire pinned `.codex/skills/dotnet-stylelint/` directory to `.agents/skills/dotnet-stylelint/` in the target checkout.
- Open Codex in that checkout and invoke `$dotnet-stylelint` with the example task and desired output.
Example task
Invoke `$dotnet-stylelint` on a practice project to lint hand-written styles under wwwroot/css/. Ask the workflow to preserve the existing generated-output exclusions.What to check
The project has a repeatable lint command and explicit configuration. Results cover the target source styles and identify violations of the selected rules.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why does an SCSS file report Unknown word?
Confirm that the file is in scope, then check whether the configuration uses a syntax parser that supports SCSS.