Webhint

From managedcode/dotnet-skills · View interactive version

Webhint is an AI agent skill from the GitHub repository managedcode/dotnet-skills. Use webhint in .NET repositories that ship browser-facing frontends. Use when a repo needs CLI audits for accessibility, performance, security headers, PWA signals, SEO, or runtime page quality against a. USE FOR: the repo ships a browser-facing site and the user asks about accessibility, performanc

How to use this skill

Skill file

webhint for Browser-Facing Frontends in .NET Repositories

Trigger On

Do Not Use For

Inputs

Workflow

  1. Choose the audit surface deliberately:
  1. Prefer repo-local installation and a checked-in .hintrc.
  2. Start from a documented preset such as web-recommended, then customize only for real repo requirements.
  3. Add repeatable scripts to package.json, for example:
  1. Keep runtime prerequisites explicit:
  1. Treat findings as categorized work:
  1. Re-run the audit after fixes on the same URL or build output so results are comparable.

Bootstrap When Missing

  1. Detect current state:
  1. Prefer a repo-local install:
  1. Create or refine .hintrc with a known baseline such as web-recommended.
  2. Add repeatable commands to AGENTS.md and package.json, then verify with:
  1. Return status: configured if the repo now has a working site-audit gate, or status: improved if the baseline was tightened.
  2. Return status: not_applicable when the repo does not expose a stable browser-facing surface that can be audited in the current task.

Handle Failures

Deliver

Validate

Ralph Loop

  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.

Required Result Format

Example Requests

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.