Pular para o conteúdo
Kitbay
Skill

lint-creator

NOASSERTIONAtualizado em 11 de nov. de 202694.739Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

Não informado na documentação