본문으로 건너뛰기
cccskills
무료GitHub에 공개

metalint

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: simple repos where Biome already covers the required surface; teams that have not decided which underlying linters own each file type. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.4 KB
  • manifest.json55 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Metalint for Aggregated Frontend Linting in .NET Repositories

Trigger On

  • the repo wants one command to run several frontend linters together
  • the user asks for a unified lint entrypoint over ESLint, Stylelint, HTMLHint, or similar tools
  • the repo already has multiple linters and the problem is orchestration rather than choosing a single owner

Do Not Use For

  • simple repos where one tool such as Biome already covers the required surface
  • teams that have not decided which underlying linters own JS, CSS, and HTML yet
  • replacing the underlying linter configs with one vague wrapper config

Inputs

  • the nearest AGENTS.md
  • package.json
  • existing linter configs
  • any .metalint/ directory already checked in

Workflow

  1. Define underlying ownership first:
    • ESLint for JS or TS
    • Stylelint for CSS or SCSS
    • HTMLHint for static HTML
    • other delegated linters only when the repo really uses them
  2. Use Metalint only after those owners are explicit.
  3. Keep all wrapper configuration under .metalint/ and keep the delegated configs reviewable.
  4. Add package scripts such as:
    • lint: metalint
    • lint:fix: metalint --fix
  5. Treat formatter overlap carefully. If delegated tools can all fix files, define which ones are allowed to mutate which globs.
  6. Use Metalint in CI when the repo benefits from a single frontend lint step and formatter output such as GitHub annotations.
  7. Re-run the underlying owners directly when debugging Metalint issues so failures stay attributable.

Current Upstream Notes

  • Metalint v0.22.1 keeps the Bun, Deno, JSR, and npm-check-updates 21 support from v0.22.0 and fixes the formatter so console output preserves the intended column order. Re-run snapshot or parser tests for any CI integration that consumes Metalint's human-readable output.
  • Secretlint now ignores .gitignore. Re-run secret scanning against representative ignored and tracked fixtures after upgrading so the wrapper's effective file scope remains intentional.

Bootstrap When Missing

  1. Detect current state:
    • rg --files -g 'package.json' -g '.metalint/**' -g 'eslint.config.*' -g 'stylelint.config.*' -g '.htmlhintrc*'
    • rg -n '"metalint"|"eslint"|"stylelint"|"htmlhint"' --glob 'package.json' .
  2. Prefer a repo-local install:
    • npm install --save-dev metalint
  3. Install the delegated linters the repo actually needs; Metalint does not replace them.
  4. Create .metalint/metalint.config.js plus delegated config files under .metalint/ only when the repo wants that consolidated layout.
  5. Verify with:
    • npx metalint
    • npx metalint --fix
  6. Return status: configured if the repo now has a working aggregated entrypoint, or status: improved if orchestration was tightened.
  7. Return status: not_applicable when the repo intentionally stays with direct linter commands and does not want the wrapper layer.

Handle Failures

  • If Metalint says a delegated linter is missing, install that linter or remove it from the wrapper config; Metalint cannot invent the underlying tool.
  • If fix mode causes conflicting rewrites, split ownership by glob instead of letting several tools mutate the same files blindly.
  • If the wrapper becomes harder to understand than direct commands, the repo probably does not need Metalint.
  • Debug noisy failures by running the delegated linter directly first, then come back to Metalint integration.

Deliver

  • one repeatable frontend lint entrypoint
  • explicit delegated-tool ownership
  • wrapper config that stays readable and attributable

Validate

  • each delegated linter is actually installed and configured
  • fix ownership is explicit across file types
  • CI output remains attributable to the right underlying tool
  • Metalint reduced operational friction instead of hiding the real owners

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

  • status: complete | clean | improved | configured | not_applicable | blocked
  • plan: concise plan and current step
  • actions_taken: concrete changes made
  • verification: commands, checks, or review evidence
  • remaining: unresolved items or none

Example Requests

  • "Give this repo one frontend lint command."
  • "Wrap ESLint, Stylelint, and HTMLHint under Metalint."
  • "Use Metalint in GitHub Actions for frontend checks."

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

Use a repo-root `.editorconfig` to configure free .NET analyzer and style rules. Use when a .NET repo needs rule severity, code-style options, section layout, or analyzer ownership made explicit. USE FOR: the repo needs a root .editorconfig; analyzer severity and style ownership are unclear; the team wants one source of truth for rule configuration. DO NOT USE FOR: choosing analyzers with no config change; formatting-only execution with no config ownership question. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java/Kotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift/Objective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

Design or review .NET solution architecture across modular monoliths, clean architecture, vertical slices, microservices, DDD, CQRS, and cloud-native boundaries without over-engineering. USE FOR: .NET architecture choices; layer and domain boundary review; service decomposition; clean architecture, vertical slice, DDD, CQRS, and modular monolith decisions. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

managedcode/dotnet-skills4902026년 10월 17일 업데이트

managedcode의 스킬 모두 보기

이 스킬의 문제 신고