·formatter-development
</>

formatter-development

Guide for implementing formatting rules using Biome's IR-based formatter infrastructure. Use when working on formatters for JavaScript, CSS, JSON, HTML, or other languages. Examples:<example>User needs to implement formatting for a new syntax node</example><example>User wants to handle comments in formatted output</example><example>User is comparing Biome's formatting against Prettier</example>

42Installs·3Trend·@biomejs

Installation

$npx skills add https://github.com/biomejs/biome --skill formatter-development

How to Install formatter-development

Quickly install formatter-development AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/biomejs/biome --skill formatter-development
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: biomejs/biome.

SKILL.md

View raw

Use this skill when implementing or modifying Biome's formatters. It covers the trait-based formatting system, IR generation, comment handling, and testing with Prettier comparison.

This generates FormatNodeRule implementations for all syntax nodes. Initial implementations use formatverbatimnode (formats code as-is).

Leading and trailing comments are handled automatically by the formatter infrastructure.

Guide for implementing formatting rules using Biome's IR-based formatter infrastructure. Use when working on formatters for JavaScript, CSS, JSON, HTML, or other languages. Examples:<example>User needs to implement formatting for a new syntax node</example><example>User wants to handle comments in formatted output</example><example>User is comparing Biome's formatting against Prettier</example> Source: biomejs/biome.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/biomejs/biome --skill formatter-development
Category
</>Dev Tools
Verified
First Seen
2026-02-21
Updated
2026-03-10

Browse more skills from biomejs/biome

Quick answers

What is formatter-development?

Guide for implementing formatting rules using Biome's IR-based formatter infrastructure. Use when working on formatters for JavaScript, CSS, JSON, HTML, or other languages. Examples:<example>User needs to implement formatting for a new syntax node</example><example>User wants to handle comments in formatted output</example><example>User is comparing Biome's formatting against Prettier</example> Source: biomejs/biome.

How do I install formatter-development?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/biomejs/biome --skill formatter-development Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/biomejs/biome