lint-rule-development

Generate Biome lint-rule scaffolds with templates, tests, and documentation guidelines.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/qdhenry/Foundry-OSS --skill lint-rule-development-qdhenry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-rule-development
Source: https://github.com/qdhenry/Foundry-OSS/tree/main/.agents/skills/lint-rule-development
Command: npx skills add https://github.com/qdhenry/Foundry-OSS --skill lint-rule-development-qdhenry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps developers create and implement lint rules for Biome's analyzer, providing scaffolding, implementation patterns, testing workflows, and documentation guidelines.

Core Features & Use Cases

  • Scaffolding commands to generate rule skeletons (Rust, TypeScript, and multiple language variants) and starter tests.
  • Practical implementation patterns for common lint rules (binding analysis, diagnostics, and code actions) with examples.
  • Comprehensive documentation guidelines and templates to standardize rule development across teams.
  • Use Case: A developer adds a new lint rule to enforce a stylistic constraint and ensures it has tests, docs, and merge behavior.

Quick Start

Create a complete lint-rule scaffold for Biome using the provided scaffold commands and templates.

Frequently Asked Questions about lint-rule-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new lint rule in Biome?

You can scaffold a Biome lint rule by using provided scaffold commands to generate rule skeletons in Rust or TypeScript and starter tests. This creates the foundational analyzer rule structure needed for development.

What patterns are used for implementing Biome analyzer rules?

Implementation patterns for Biome analyzer rules cover binding analysis, diagnostics, and code actions. These patterns provide structured logic for detecting violations and suggesting automated fixes within the analyzer.

How do I write tests for a custom Biome lint rule?

You write tests for a custom Biome lint rule using generated test scaffolds provided during the scaffolding phase. These starter tests standardize validation across rule development workflows to ensure accurate diagnostics.

What documentation guidelines should I follow for Biome lint rules?

Documentation guidelines for Biome lint rules involve using standardized templates to ensure consistency across teams. This standardizes rule development by providing clear formats for explaining rule behavior and merge constraints.

Can I enforce a stylistic constraint using a Biome lint rule?

Yes, you can enforce a stylistic constraint by implementing a custom Biome lint rule. The Skill provides scaffolding, testing, and documentation workflows to ensure your new stylistic rule has proper diagnostics and code actions.