aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging,…
Use HTMLHint in .NET repositories that ship static HTML output or standalone frontend templates. USE FOR: static HTML files; generated frontend output; standalone templates under wwwroot, dist, or other web folders; HTML structure checks. DO NOT USE FOR: raw .cshtml or .razor
Claude Code
$ npx -y skills add managedcode/dotnet-skills --skill htmlhint --agent claude-code
Codex
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a codex -y
Cursor
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a cursor -y
Gemini CLI
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a gemini-cli -y
GitHub Copilot
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a github-copilot -y
OpenCode
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a opencode -y
Windsurf
$ npx skills add managedcode/dotnet-skills --skill htmlhint -a windsurf -y
name: htmlhint description: "Use HTMLHint in .NET repositories that ship static HTML output or standalone frontend templates. USE FOR: static HTML files; generated frontend output; standalone templates under wwwroot, dist, or other web folders; HTML structure checks. DO NOT USE FOR: raw .cshtml or .razor source with server-side directives; JavaScript or TypeScript linting. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made." compatibility: "Requires a .NET repository with static HTML assets or generated frontend output; use on rendered output rather than raw Razor or Blazor source files."
1. Choose the right target first:
2. Prefer repo-local installation and checked-in config for repeatable runs. 3. Keep HTMLHint focused on static HTML correctness and lightweight policy. 4. Add narrow scripts to `package.json`, for example:
5. If the repo has templating syntax that confuses the parser, lint the rendered output instead of forcing source templates through the tool. 6. Use rule overrides deliberately for real project conventions; do not disable broad classes of checks just to make a noisy first pass green. 7. Rerun the publish or frontend build flow if fixes touched generated or packaged HTML sources.
1. Detect current state:
2. Prefer a repo-local install:
3. Add or refine `.htmlhintrc` only after confirming the actual target files. 4. Add repeatable commands to `AGENTS.md` and `package.json`, then verify with:
5. Return `status: configured` if HTMLHint now owns a clear static-HTML gate, or `status: improved` if the existing setup was tightened. 6. Return `status: not_applicable` when the repo's HTML is primarily server-rendered templates that should be validated after rendering instead.
1. Plan: analyze current state, target outcome, constraints, and risks. 2. Execute one step and produce a concrete delta. 3. Review the result and capture findings. 4. Apply fixes in small batches and rerun checks. 5. Update the plan after each iteration. 6. Repeat until outcomes are acceptable. 7. If a dependency is missing, bootstrap it or return `status: not_applicable` with a reason.
Stop explaining .NET to your AI. Start building. We've all been there: asking Claude to use Entity Framework, only to get EF6 patterns in a .NET 8 project. Explaining to Copilot that Blazor Server and Blazor WebAssembly aren't the same thing.
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging,…
Build, upgrade, and operate Aspire 13.5.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults,…
Build and debug Avalonia 11/12 .NET applications with XAML, compiled bindings, MVVM, custom controls, desktop lifetimes, and…
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable…
Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design,…
Maintain or migrate EF6-based applications with realistic guidance on what to keep, what to modernize, and when EF Core is or is…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.