Sign inGet started
–

Guides creation, registration, and testing of custom dylint lints in the tooling/lints crate, including UI test conventions, stderr snapshots, and validating lints against the real codebase.

Lift · GLM-5.3-flash—not yet benchmarked
78
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Add, modify, or test a custom dylint lint in `tooling/lints`. Covers the module/registration layout, UI test conventions (including negative tests and the gpui test fixture), how to run tests with the crate's pinned nightly and update `.stderr` files, and how to validate a lint against the real codebase with `single-lint`. Use whenever the user asks to write a new lint or debug an existing one.

#code-quality#dylint#linting#rust#static-analysis#testing

Quality judgment

completeness
8.5/10
clarity
9.0/10
trigger quality
8.0/10
examples
6.0/10
structure
8.0/10
overall
8.0/10

Highly specific, actionable guidance with concrete file paths, commands, and anti-patterns to avoid. Lacks a full worked code example but compensates with a template reference and precise conventions.

Files (1)

SKILL.md · 3.4 KB