Zum Inhalt springen
Kitbay
Skill

lint-creator

NOASSERTIONAktualisiert am 11. Nov. 202694.739GitHub-Sterne

A contributor skill in the Zed repository for writing, changing or debugging custom Rust lints built with dylint in Zed's tooling/lints crate.

Was der Skill vermittelt

A contributor skill in the Zed repository for writing, changing or debugging custom Rust lints built with dylint in Zed's tooling/lints crate. The agent first checks whether Clippy already has the lint, then gives each lint its own module, registers it in two places and copies the layout of a named template lint. Diagnostics must only flag problems, never suggest automatic fixes, and must skip macro-generated code. Every lint needs UI tests with cases that should and should not fire, using a fake copy of Zed's gpui crate, run with cargo test on the crate's pinned nightly toolchain. It ends by adding the lint to the README and trying it on the real codebase with a helper script.

Funktionen

In der Dokumentation nicht angegeben