Metalint

From managedcode/dotnet-skills · View interactive version

Metalint is an AI agent skill from the GitHub repository managedcode/dotnet-skills. Use Metalint in .NET repositories that ship Node-based frontend assets and want one CLI entrypoint over several underlying linters. USE FOR: unified frontend lint commands; combined ESLint, Stylelint, HTMLHint, or similar checks; CI orchestration over multiple frontend linters. DO NOT USE FOR: simpl

How to use this skill

Skill file

Metalint for Aggregated Frontend Linting in .NET Repositories

Trigger On

Do Not Use For

Inputs

Workflow

  1. Define underlying ownership first:
  1. Use Metalint only after those owners are explicit.
  2. Keep all wrapper configuration under .metalint/ and keep the delegated configs reviewable.
  3. Add package scripts such as:
  1. Treat formatter overlap carefully. If delegated tools can all fix files, define which ones are allowed to mutate which globs.
  2. Use Metalint in CI when the repo benefits from a single frontend lint step and formatter output such as GitHub annotations.
  3. Re-run the underlying owners directly when debugging Metalint issues so failures stay attributable.

Current Upstream Notes

Bootstrap When Missing

  1. Detect current state:
  1. Prefer a repo-local install:
  1. Install the delegated linters the repo actually needs; Metalint does not replace them.
  2. Create .metalint/metalint.config.js plus delegated config files under .metalint/ only when the repo wants that consolidated layout.
  3. Verify with:
  1. Return status: configured if the repo now has a working aggregated entrypoint, or status: improved if orchestration was tightened.
  2. Return status: not_applicable when the repo intentionally stays with direct linter commands and does not want the wrapper layer.

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.