Skip to content
Kitbay
Skill

lint-creator

NOASSERTIONUpdated on Nov 11, 202694,739GitHub stars

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

What the skill teaches

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.

Capabilities

Not stated in its documentation