prettier-compare

Installation
SKILL.md

Purpose

Use packages/prettier-compare/ to inspect any differences between Biome and Prettier formatting (including IR output) before shipping formatter changes.

Prerequisites

  1. Run every command from the repository root so relative paths resolve correctly.
  2. Use bun (the CLI is a Bun script) and ensure dependencies have been installed.
  3. Always pass --rebuild so the Biome WASM bundle matches your current Rust changes.

Common workflows

Snippets passed as CLI args:

bun packages/prettier-compare/bin/prettier-compare.js --rebuild 'const x={a:1,b:2}'

Force a language (useful when the tool cannot infer it from a filename):

Related skills

More from biomejs/biome

Installs
64
Repository
biomejs/biome
GitHub Stars
24.6K
First Seen
Feb 18, 2026