formatter-development

Official

Implement Biome formatting rules

Authorbiomejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide for developers contributing to Biome's formatting capabilities, enabling them to implement new formatting rules and ensure code consistency.

Core Features & Use Cases

  • IR-based Formatter Infrastructure: Understand and utilize Biome's Intermediate Representation (IR) for defining formatting logic.
  • Comment Handling: Learn strategies for correctly managing comments within the formatted output.
  • Prettier Comparison: Integrate Prettier for robust validation of Biome's formatting output across various languages.
  • Use Case: A developer needs to add support for formatting a new JavaScript syntax feature in Biome. They would use this skill to understand how to define the FormatNodeRule, generate boilerplate, and test their implementation against Prettier.

Quick Start

Use the formatter-development skill to generate boilerplate for a new HTML formatter rule.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: formatter-development
Download link: https://github.com/biomejs/biome/archive/main.zip#formatter-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.