lint-rule-development
Installation
SKILL.md
Lint Rule Development
Follow the current analyzer architecture in crates/biome_analyze/CONTRIBUTING.md. Read only the sections relevant to the rule rather than loading the entire guide by default.
Workflow
- Find two or three current rules in the same language and group with a similar query or action.
- Generate the matching lint-rule or assist scaffolding when adding analyzer behavior.
- Implement the narrowest query and state needed to decide whether to signal.
- Add a diagnostic and, when safe, an action.
- Add focused valid and invalid fixtures, then inspect snapshots.
- Run required analyzer codegen and the narrowest tests.
Scaffolding commands: