lint-rule-development

Official

Develop Biome lint rules

Authorbiomejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of creating, implementing, and testing new lint rules within the Biome codebase, significantly reducing the boilerplate and complexity involved in contributing to the project.

Core Features & Use Cases

  • Scaffolding: Quickly generate the necessary file structure and boilerplate code for new lint rules across different languages.
  • Implementation Guidance: Provides code examples and patterns for writing rule logic, including handling AST nodes and semantic analysis.
  • Testing Workflows: Details methods for both quick, iterative testing and comprehensive snapshot testing.
  • Configuration: Guides on adding configurable options to rules for greater flexibility.
  • Use Case: A developer wants to add a new lint rule to Biome that flags the use of a deprecated JavaScript API. They can use this Skill to generate the rule's files, implement the detection logic, write tests, and ensure it's configurable.

Quick Start

Generate a new JavaScript lint rule named 'noDeprecatedApi' using the provided scaffolding commands.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lint-rule-development
Download link: https://github.com/biomejs/biome/archive/main.zip#lint-rule-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.