Codex Lint Published Static .NET HTML with HTMLHint
Run a static tag and attribute check against built HTML files from a .NET project.
中文Install in Codex
Use the project's Node toolchain, HTMLHint configuration, and generated local HTML.
- Copy the pinned `.codex/skills/dotnet-htmlhint/` directory into `.agents/skills/dotnet-htmlhint/` in the project.
- Point Codex at the local static output directory and confirm the project script and `.htmlhintrc`.
Example task
Put a duplicate attribute in a local `dist/` HTML fixture. With HTMLHint already installed, run `npx htmlhint "dist/**/*.html"` and record the matching rule.What to check
The report identifies file, line, and rule. After fixing source and rebuilding, the same check passes.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I lint Razor source directly?
Render pages with server directives first and apply HTMLHint to the generated HTML.